How to Relieve a Headache at Home, Fast

Most headaches respond well to a combination of simple strategies you can start immediately: hydration, over-the-counter pain relief, and physical relaxation. A mild tension headache can fade within 30 minutes to two hours with the right approach, while a more intense migraine may take longer and require stronger intervention. Here’s what actually works, and how to use each method effectively.

Drink Water First

Dehydration is one of the most overlooked headache triggers. When your body is low on fluid, the brain can shift slightly within the skull, pulling on the pain-sensitive lining that surrounds it. That traction is likely what produces the throbbing, pressure-like pain of a dehydration headache.

The fix is straightforward: drink 16 to 32 ounces of water. A dehydration headache typically resolves within one to two hours of rehydrating. If you’re more severely dehydrated, from exercise, heat exposure, or illness, you may need more fluids and some time lying down before the pain fully clears.

Over-the-Counter Pain Relievers

If water alone isn’t enough, common pain relievers are the fastest path to relief. Ibuprofen (400 mg), aspirin (900 to 1,000 mg), and naproxen sodium (825 mg initially, then 550 mg if needed) all have strong evidence behind them for both tension headaches and migraines. In clinical trials, aspirin at 900 to 1,000 mg outperformed placebo in 13 separate studies.

Acetaminophen is a reasonable option, but 650 mg alone was no better than placebo for migraines in one trial. The effective dose appears to be 1,000 mg. One particularly well-studied combination, 600 mg aspirin plus 400 mg acetaminophen plus 200 mg caffeine, showed a 26% therapeutic advantage over placebo across three trials. Many drugstore “headache formulas” use roughly this combination.

Timing matters more than most people realize. Take your pain reliever as early as possible once a headache starts. Waiting until the pain is severe reduces how well the medication works. There is no evidence that taking a second dose an hour or two later improves effectiveness if the first dose didn’t help.

The Rebound Headache Trap

Using any pain reliever too frequently can create a vicious cycle called medication overuse headache. Taking OTC painkillers on more than 15 days per month puts you at risk, but the safer threshold is lower than that. Keep use 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, the headaches themselves may be partly caused by the medication cycle.

Apply Cold or Heat

Temperature therapy is one of the simplest non-drug options. A cold pack on your forehead or temples constricts blood vessels and reduces blood flow around the brain, which can ease throbbing pain. A heating pad or warm rice bag on the back of your neck does the opposite, increasing blood flow and loosening tight muscles. Which works better depends on the type of headache and personal preference. For migraines, most people find cold more effective. For tension headaches driven by muscle tightness, heat tends to help more. Try 15 to 20 minutes at a time, with a cloth between the pack and your skin.

How Caffeine Helps (and Hurts)

Caffeine narrows the blood vessels around your brain. During a headache, those vessels often swell and press on surrounding nerves, which is partly why you feel pain. A cup of coffee or tea can counteract that swelling and speed relief, which is why caffeine appears in many OTC headache formulas.

The catch: if you drink caffeine regularly, your blood vessels adapt to its narrowing effect. When you skip your usual coffee, the vessels expand again, increasing blood flow and triggering a withdrawal headache. This is why weekend headaches are so common among daily coffee drinkers. If caffeine helps your headaches acutely, use it strategically rather than daily, or keep your daily intake consistent.

Relaxation Techniques That Work

Tension headaches often start in the muscles of your neck, shoulders, and scalp. Progressive muscle relaxation, where you systematically tense and then release each muscle group from your feet to your forehead, has solid clinical evidence behind it. In one study, women with episodic tension headaches who practiced this technique twice a week for six weeks saw significant drops in monthly attack frequency, pain intensity, and headache-related disability. The improvements were large, not marginal.

You don’t need a therapist to do this. Sit or lie in a quiet room, close your eyes, and work through each muscle group: feet, calves, thighs, abdomen, hands, arms, shoulders, neck, face. Tense each area for five seconds, then release for 30 seconds. The whole process takes about 15 minutes. Even during an active headache, releasing tension in your jaw, forehead, and neck muscles can take the edge off.

Supplements for Fewer Headaches Over Time

If headaches are a recurring problem, two supplements have the strongest evidence for prevention. Magnesium oxide at 400 to 500 mg daily helps stabilize overexcitable nerve activity in the brain. The American Headache Society recommends this dose specifically for migraine prevention. Magnesium citrate is another well-absorbed option. Effects typically build over several weeks of consistent use.

Riboflavin (vitamin B2) at 400 mg daily reduced migraine frequency significantly in a randomized controlled trial published in the journal Neurology. After three months, 59% of people taking riboflavin had at least a 50% reduction in attacks, compared to just 15% on placebo. That’s a large effect for a vitamin with minimal side effects. Both magnesium and riboflavin are preventive strategies, not acute treatments, so they won’t help a headache you have right now, but they can reduce how often you get them.

When Headaches Are Frequent or Severe

For migraines that don’t respond well to OTC options, newer prescription medications called gepants block a protein involved in migraine pain signaling. These are available as oral tablets or a nasal spray and can be used both to stop an active migraine and to prevent future ones. Unlike older prescription options, gepants tend to cause fewer side effects. If you’re getting migraines regularly and OTC painkillers aren’t cutting it, these are worth discussing with your doctor.

Headaches that come on suddenly and severely, feel like “the worst headache of your life,” or are accompanied by fever, stiff neck, confusion, or vision changes are a different category entirely and need immediate medical evaluation.