How to Help a Headache: Home Remedies That Work

Most headaches respond well to a combination of simple strategies you can start right now: hydrating, resting in a quiet space, and applying a cold compress to your forehead or temples. If those aren’t enough, over-the-counter pain relievers are effective for the majority of tension-type headaches and mild migraines. The key is matching your approach to the type of headache you’re dealing with.

Figure Out What Type of Headache You Have

The two most common types feel noticeably different. A tension headache produces mild to moderate pain that feels like a tight band squeezing around your head. It can radiate into your upper back and neck, and it typically lasts anywhere from 30 minutes to several hours. There’s no nausea, no sensitivity to light, and moving around doesn’t make it worse.

A migraine is a different experience. The pain is moderate to severe, often throbbing, and frequently concentrated on one side of your head. It gets worse with physical activity or head movement and can last 4 to 72 hours. Migraines also come with at least one additional symptom: nausea, sensitivity to light or sound, or visual disturbances like flashing lights or tingling (called aura). Knowing which type you’re dealing with helps you choose the right relief strategy.

Drink Water First

Dehydration is one of the most overlooked headache triggers, and it has a straightforward mechanism. When your body is low on fluid, your brain and surrounding tissues shrink slightly, pulling away from the skull. That traction on nearby nerves is what creates the pain. Drinking a full glass or two of water won’t produce instant relief, but within 30 minutes to an hour many dehydration headaches begin to ease. If you’ve been sweating, skipped meals, or had alcohol recently, dehydration is a likely contributor.

Try a Cold Compress

Placing a cold pack on your forehead or temples is one of the simplest ways to dull headache pain. Cold numbs the area and can reduce the sensation of throbbing. Wrap ice or a cold pack in a thin towel and apply it for no more than 20 minutes at a time. You can repeat this several times throughout the day. This works for both tension headaches and migraines, though migraine sufferers often find it especially helpful on the side where the pain is concentrated.

Rest in a Dark, Quiet Room

If your headache involves any sensitivity to light or sound, reducing sensory input makes a real difference. Close the blinds, turn off screens, and lie down if you can. Even for a tension headache without light sensitivity, giving your eyes and neck muscles a break from screens and overhead lighting helps the muscles around your head and neck relax. Fifteen to thirty minutes of quiet rest can sometimes resolve a mild headache on its own.

Peppermint Oil for Tension Headaches

This one has more evidence behind it than you might expect. A 10% peppermint oil solution applied to the forehead and temples produces a significant reduction in tension headache pain compared to placebo in controlled studies. It’s approved for this use in adults and children over six in parts of Europe. You can find peppermint oil roll-ons marketed for headaches at most pharmacies. Apply it to the temples and across the forehead, avoiding the eyes. The cooling sensation works within minutes and can be reapplied as needed.

When to Use Over-the-Counter Pain Relievers

If non-medication strategies aren’t cutting it, ibuprofen or acetaminophen are effective choices for most headaches. For acetaminophen, the maximum safe dose is 4,000 milligrams in 24 hours, though staying well below that limit is wise for your liver. Take the lowest effective dose and give it 30 to 45 minutes to work.

Adding caffeine to a pain reliever boosts its effectiveness noticeably. In one study, 59% of people taking a caffeine-combination painkiller experienced headache relief, compared to only 33% on placebo. Another trial found that pairing a standard pain reliever with caffeine resolved migraines in 41% of patients versus 27% with the pain reliever alone. Some OTC headache formulas already include caffeine, or you can take your pain reliever with a cup of coffee or tea.

Watch Out for Rebound Headaches

This is the trap many frequent headache sufferers fall into. Using OTC pain relievers on more than 15 days per month puts you at risk for medication overuse headaches, where the pain reliever itself starts triggering headaches as it wears off. Harvard Health recommends limiting as-needed headache medications to no more than two to three days per week, or fewer than 10 days per month. If you’re reaching for painkillers more often than that, it’s worth exploring preventive strategies instead.

Caffeine: Helpful and Harmful

Caffeine constricts blood vessels and enhances pain relievers, making it genuinely useful during an active headache. But it cuts both ways. If you drink caffeine daily and miss your usual dose, withdrawal itself can trigger a headache, typically starting 12 to 24 hours after your last cup. If your headache showed up on a morning you skipped coffee, a cup may resolve it quickly. For people who get frequent headaches, though, reducing overall caffeine intake over time can lower headache frequency.

Preventing Headaches From Coming Back

If headaches are a recurring problem rather than a one-time event, prevention matters more than treatment. A few strategies have strong evidence behind them.

Magnesium supplementation is one of the most well-studied options for migraine prevention. People with migraines tend to have lower magnesium levels, and at adequate levels, magnesium helps calm overactive nerve signaling in the brain. The American Headache Society recommends 400 to 500 milligrams of magnesium oxide daily for migraine prevention. It’s inexpensive, widely available, and generally well tolerated, though it can cause loose stools at higher doses.

Consistent sleep matters more than most people realize. Both too little and too much sleep trigger headaches. Going to bed and waking up at roughly the same time each day, even on weekends, reduces headache frequency for many people. Skipped meals are another common trigger, particularly when combined with dehydration or poor sleep. Eating at regular intervals keeps blood sugar stable and removes one variable from the equation.

Stress and muscle tension in the neck and shoulders are the primary drivers of tension headaches. Regular stretching, particularly of the neck and upper back, and brief movement breaks during desk work can reduce both the frequency and severity of these headaches over time.

Headaches That Need Medical Attention

Most headaches are uncomfortable but not dangerous. A few patterns, however, signal something more serious. A headache that comes on suddenly and reaches severe intensity within seconds (sometimes called a “thunderclap” headache) needs emergency evaluation. The same goes for headaches accompanied by focal neurological symptoms like weakness on one side of the body, difficulty speaking, seizures, or a high fever with a stiff neck. A headache pattern that changes noticeably from what you’ve experienced before, or one that gets significantly worse with physical activity or straining, also warrants prompt medical evaluation.