What Helps a Headache? Treatments That Actually Work

Most headaches respond to a combination of over-the-counter pain relief, hydration, and simple physical strategies like cold or heat. The fastest option is usually an anti-inflammatory like ibuprofen (400 mg), which can start working within 30 minutes in liquid-capsule form. But medication is only one piece. What you drink, how you rest, and what you do in the hours after a headache starts all influence how quickly it fades.

Over-the-Counter Pain Relievers

Three common medications work well for most headaches: ibuprofen, acetaminophen, and naproxen. They differ in how fast they act, how long they last, and how often you can take them.

Ibuprofen at 400 mg is a strong starting point, and you can repeat the dose every four to six hours up to 1,200 mg per day. It reduces inflammation, which makes it particularly effective for tension headaches and migraines. Liquid-filled capsules absorb faster than standard tablets, so if speed matters, look for the “liqui-gel” versions on the shelf.

Acetaminophen works differently. It doesn’t reduce inflammation but is gentler on the stomach. A single 1,000 mg dose is effective for mild to moderate headaches, and you can repeat it after six hours. The daily ceiling is 4,000 mg for most adults, but drops to 3,000 mg if you’re over 65 or have any liver concerns.

Naproxen lasts longer than ibuprofen, so it’s a good choice if your headaches tend to linger or come back. A 500 mg dose can be repeated every six to eight hours, up to 1,250 mg per day. The tradeoff is a slightly slower onset.

Why Caffeine Makes Pain Relievers Work Better

Adding at least 100 mg of caffeine to a standard dose of ibuprofen or acetaminophen produces a small but meaningful boost in pain relief. That’s roughly one strong cup of coffee or two cups of black tea. Some combination products (like Excedrin) already include caffeine for this reason. If you’re using a plain pain reliever, drinking coffee alongside it can help it work harder. Just be cautious if you’re caffeine-sensitive or if it’s late in the day, since poor sleep can trigger more headaches.

Hydration and Dehydration Headaches

Dehydration is one of the most underestimated headache triggers. When your body loses too much fluid, the brain physically contracts and pulls away from the skull, putting pressure on surrounding nerves. That’s the pain you feel. It often shows up as a dull ache on both sides of the head that gets worse when you stand up, bend over, or walk.

If dehydration is the cause, rehydrating is the fastest fix. Take small, steady sips rather than gulping a full glass at once, which can cause nausea. Aim for six to eight glasses of water daily (roughly 1.5 to 2 liters) as a baseline. If you’ve been sweating, drinking alcohol, or skipping fluids, you likely need more. Many people find their headache starts to ease within 30 minutes to an hour of drinking water.

Cold and Heat Therapy

Placing something cold on your forehead, temples, or the back of your neck is one of the oldest headache remedies, and clinical research supports it. In a controlled trial, both cold and heat therapy applied for 25 minutes significantly reduced headache intensity compared to no treatment. Cold tends to work better for throbbing, migraine-like headaches because it numbs the area and constricts blood vessels. Heat is often more comfortable for tension headaches, where tight muscles in the neck and scalp are contributing to the pain. A simple approach: try whichever feels better, apply it for 15 to 25 minutes, and repeat after an hour if needed.

Muscle Relaxation for Tension Headaches

Tension headaches feel like a tight band squeezing around your head, and they’re closely tied to muscle tightness in the neck, shoulders, and jaw. Progressive muscle relaxation, a technique where you deliberately tense and then release muscle groups one at a time, has strong evidence behind it. In a clinical study, people with episodic tension headaches who practiced this technique twice a week for six weeks cut their monthly headache attacks nearly in half (from about 3.5 to 2 per month) and saw their pain intensity drop by roughly 50%.

You don’t need a therapist to do it. Start by taking a few slow, deep breaths from your diaphragm. Then, beginning with your feet and working upward through your legs, torso, arms, and face, tense each muscle group for 10 to 20 seconds, then release for 30 to 40 seconds. The whole process takes about 15 to 30 minutes. Over time, regular practice also reduced how much headaches interfered with daily activities and work in the same study.

Supplements That Reduce Headache Frequency

Two supplements have enough clinical backing to be worth considering if you get frequent headaches, particularly migraines.

Magnesium at 600 mg daily, taken for at least 12 weeks, has been shown to reduce migraine frequency compared to placebo. Common forms include magnesium oxide, citrate, and glycinate. Citrate and glycinate tend to be better absorbed and easier on the stomach than oxide. The recommended supplemental range in clinical guidelines is 200 to 600 mg daily.

Riboflavin (vitamin B2) at 400 mg daily reduced headache frequency from 4 days per month to 2 days per month in a clinical study, with effects visible by the three-month mark. Participants also needed fewer rescue medications. Riboflavin is water-soluble, so excess is excreted rather than stored, making side effects rare. The most noticeable one is bright yellow urine, which is harmless.

Neither supplement works as a fast-acting treatment for a headache you have right now. They’re preventive strategies that pay off over weeks.

Prescription Options for Migraines

If over-the-counter options aren’t enough and your headaches are migraines, a newer class of prescription medications blocks a protein called CGRP that plays a central role in migraine attacks. Three options are currently approved for stopping a migraine once it starts. One is a tablet that dissolves on your tongue, another is a standard pill, and a third is a nasal spray. These work differently from traditional pain relievers. Instead of broadly blocking pain signals, they target the specific pathway that drives migraines, which means fewer side effects like drowsiness or stomach irritation for many people.

When a Headache Needs Medical Attention

Most headaches are uncomfortable but not dangerous. A few patterns, however, signal something more serious. Neurologists use a screening framework that flags these warning signs:

  • Sudden, explosive onset: A headache that reaches maximum intensity within seconds (sometimes called a “thunderclap” headache) needs emergency evaluation.
  • Neurological symptoms: Confusion, vision changes, weakness on one side of the body, difficulty speaking, or decreased consciousness alongside a headache.
  • Fever with headache: Especially with a stiff neck, which can indicate an infection.
  • New headache pattern after age 65: First-time or distinctly different headaches in older adults have a higher chance of being secondary to another condition.
  • Headache after head injury: Even if the injury seemed minor.
  • Progressive worsening: A headache that gets steadily worse over days or weeks rather than coming and going.
  • Positional headaches: Pain that dramatically changes when you stand up or lie down.

A headache that responds to the strategies above and follows your usual pattern is rarely cause for alarm. One that breaks the pattern, especially in any of the ways listed, warrants prompt attention.