How to Get Rid of a Bad Headache: Home Remedies

The fastest way to get rid of a bad headache is to take an over-the-counter pain reliever, drink a full glass of water, and apply something cold to your forehead or something warm to the back of your neck. Most headaches respond to this combination within 30 to 60 minutes. If yours doesn’t, or if the headache came on suddenly and severely, you may be dealing with something that needs more targeted treatment.

Start With the Right Pain Reliever

Ibuprofen and acetaminophen are the two most common options, and they work differently. Ibuprofen reduces inflammation, which makes it especially effective for tension headaches where tight muscles are part of the problem. A standard adult dose is 200 to 400 mg every six to eight hours, up to 1,200 mg per day for over-the-counter use. Acetaminophen works on pain signals in the brain rather than inflammation, and the typical dose is 500 to 1,000 mg every four to six hours.

With acetaminophen, the safety window matters. Harvard Health Publishing recommends staying at or below 3,000 mg per day whenever possible, even though the absolute ceiling is 4,000 mg. The liver processes every dose, and people who drink alcohol are at higher risk for liver damage. If you drink regularly, keep your acetaminophen use conservative.

One important limit to know: using any pain reliever more than 10 to 15 days per month can actually cause more headaches, not fewer. This is called medication overuse headache, and it creates a cycle where the pills that once helped start triggering the pain instead. Simple analgesics like ibuprofen hit that threshold at about 15 days per month.

Add Caffeine, but Not Too Much

Caffeine on its own doesn’t do much for headache pain. A 200 mg dose (roughly two cups of coffee) showed no significant pain relief compared to placebo in clinical testing. But when you combine caffeine with a pain reliever, the effect is noticeably stronger. In one study, a standard anti-inflammatory pill alone relieved headache pain within 60 minutes for 27% of participants. Adding just 100 mg of caffeine bumped that number to 41%.

The catch is that regular caffeine consumption above 200 mg per day for more than two weeks sets you up for withdrawal headaches if you skip a day. And drinking three or more caffeinated beverages in a single day is associated with higher odds of triggering a migraine. So if you’re reaching for coffee to help with your headache, one cup alongside your pain reliever is the sweet spot.

Use Cold and Heat Strategically

Cold and heat target different parts of the headache. A cold compress or ice pack on your forehead or temples constricts blood vessels and numbs pain, which works well for throbbing, migraine-type headaches. Hold it there for 15 to 20 minutes at a time with a cloth between the ice and your skin.

Heat is better for tension headaches, the kind that feel like a tight band around your head or stiffness radiating from your neck and shoulders. A heating pad on low, a warm towel draped across your neck, or even a hot shower can loosen the muscle tension that’s feeding the pain. The Mayo Clinic recommends trying both and seeing which one your headache responds to, since many headaches involve elements of both tension and vascular pain.

Try Pressure Point Relief

Acupressure won’t replace a pain reliever for a severe headache, but it can take the edge off while you wait for medication to kick in. The most studied point for headache relief is called LI-4, located on the back of your hand between the base of your thumb and index finger. Squeeze those two fingers together and you’ll see a small bulge of muscle. The pressure point sits at the peak of that bulge.

Press firmly into that spot with the thumb of your opposite hand and move it in small circles for two to three minutes. Then switch hands. You can repeat this several times throughout the day. Memorial Sloan Kettering Cancer Center includes this technique in their patient resources for pain management. One note: if you’re pregnant, skip this point entirely, as it can stimulate contractions.

Drink More Water Than You Think You Need

Dehydration is one of the most underestimated headache triggers. A 2020 survey study of 266 participants found that people who drank more water had significantly lower headache frequency, shorter headache duration, and less severe pain overall. The relationship held across all measures of headache severity.

If you have a headache right now, drink a full glass of water immediately and continue sipping over the next hour. Dehydration headaches often develop gradually throughout the day, especially if you’ve been drinking coffee (a mild diuretic), exercising, or simply forgetting to drink. You don’t need a precise ounce count. If your urine is dark yellow, you’re behind on fluids.

Create the Right Environment

Light and sound amplify headache pain, particularly migraines. If you can, move to a dark, quiet room and lie down. Close your eyes and breathe slowly. This isn’t just about comfort. Sensory input genuinely increases the firing of pain signals during a headache, so reducing stimulation gives your nervous system a chance to calm down.

Screens are especially problematic. The blue light and constant focal adjustment required by phones and computers can make a bad headache significantly worse. If you can step away from screens for even 20 to 30 minutes while your other interventions take effect, you’ll likely notice a difference.

If Headaches Keep Coming Back

Frequent headaches that respond to painkillers but keep returning are worth addressing at the root. Magnesium deficiency is linked to migraines, and the American Headache Society recommends 400 to 500 mg of magnesium oxide daily for prevention. This isn’t a quick fix for today’s headache, but over weeks it can reduce how often they occur.

Common recurring triggers include poor sleep, skipped meals, neck posture (especially from desk work), alcohol, and hormonal shifts. Tracking your headaches for a few weeks, noting what you ate, how you slept, and what you were doing before the pain started, often reveals a pattern that’s surprisingly easy to address once you see it.

Headaches That Need Emergency Attention

Most headaches are uncomfortable but not dangerous. A few patterns, however, signal something more serious. The most important red flag is sudden onset: a headache that reaches maximum intensity within seconds, sometimes described as the worst headache of your life. This can indicate bleeding in the brain and warrants an emergency room visit immediately.

Other warning signs include headache with fever and stiff neck, new neurological symptoms like weakness on one side of your body, numbness, or vision changes, and headaches that are clearly getting worse over days or weeks rather than coming and going. A headache that changes intensity when you shift positions (standing to lying down) or that’s triggered by coughing or straining can point to a pressure problem inside the skull. New headaches during or shortly after pregnancy also need evaluation, as they can signal vascular complications.

None of these are common, but they’re the reason a headache that feels different from your usual pattern deserves attention rather than just another dose of ibuprofen.