Most headaches can be relieved at home with a combination of over-the-counter pain relievers, physical techniques, and simple environmental changes. The approach that works best depends on what type of headache you’re dealing with, since tension headaches, migraines, and cluster headaches each respond to different strategies. Here’s what actually helps, and why.
Identify Your Headache Type First
Before reaching for a remedy, it helps to know what you’re treating. Tension headaches feel like a tight band of pressure around your head, usually on both sides. They’re the most common type and are often triggered by stress, poor posture, or staring at a screen too long. The pain is steady and dull rather than throbbing.
Migraines are more intense. They typically affect one side of the head, produce a pulsing or throbbing sensation, and often come with nausea, light sensitivity, or visual disturbances. They can last anywhere from four hours to three days if untreated.
Cluster headaches are rarer but extremely painful, usually centered around one eye. They come in bouts lasting weeks or months, with multiple attacks per day. If you suspect cluster headaches, you’ll need a different playbook than what works for tension headaches or migraines.
Over-the-Counter Pain Relievers
For tension headaches, standard pain relievers like acetaminophen, ibuprofen, or naproxen are the first line of defense. They work best when you take them early, as soon as you feel the headache building, rather than waiting until the pain is fully established.
Adding caffeine to a pain reliever gives it a measurable boost. A Cochrane review of the evidence found that combining at least 100 mg of caffeine with a standard analgesic increased the number of people who achieved meaningful pain relief by 5% to 10%. That’s roughly the amount in a strong cup of coffee. Products like Excedrin Tension Headache pair 500 mg of acetaminophen with 65 mg of caffeine for this reason, though a slightly higher caffeine dose (around 100 to 150 mg) appears to work better based on the pooled data. You can get a similar effect by taking a plain acetaminophen or ibuprofen tablet with a cup of coffee.
One important caution: using any pain reliever more than two or three days per week on a regular basis can cause rebound headaches, where the medication itself starts triggering new headaches. If you find yourself reaching for pills that often, it’s worth looking at preventive strategies instead.
Cold and Heat Therapy
Temperature therapy is one of the simplest ways to get relief without medication. For migraines, a cold pack on your forehead or the back of your neck helps constrict blood vessels and has a mild numbing effect on the area. For tension headaches, warmth tends to work better because the pain is often driven by tight muscles in your neck and shoulders. A warm towel draped across the back of your neck or a heated rice sock can loosen those muscles quickly.
Clinical trials have applied both heat and cold for about 25 minutes per session. You can repeat this after an hour if needed. Both approaches reduced headache intensity in a controlled trial comparing them, so if one doesn’t help, it’s worth trying the other.
Stretches and Physical Techniques
Tension headaches are closely linked to tight muscles in the neck, shoulders, and upper back, especially if you spend long hours at a desk or looking at a phone. Two things make the biggest difference: slow breathing and neck and spine relaxation.
When you feel a headache coming on, try a few minutes of gentle neck rolls. Slowly drop your ear toward one shoulder, hold for 15 to 20 seconds, then switch sides. Cat-cow stretches (alternating between arching and rounding your back on all fours) help release the upper spine. Bridge pose, where you lie on your back with knees bent and lift your hips, targets the same area from a different angle. These movements stretch the muscles that tighten during desk work while also slowing your breathing, which dials down the stress response that feeds the headache cycle.
For more immediate relief, try pressing your thumbs firmly into the base of your skull where the neck muscles attach. Apply steady pressure for 30 to 60 seconds, release, and repeat. This targets the suboccipital muscles, which are a frequent source of tension headache pain.
Hydration
Dehydration is one of the most overlooked headache triggers. When your body is low on fluid, your brain can actually shrink slightly, pulling away from the skull and putting traction on pain-sensitive membranes and blood vessels. The exact mechanism isn’t fully mapped out, but the connection between inadequate fluid intake and headaches is well documented.
If you suspect dehydration is playing a role, drinking water can start to relieve the headache within 30 minutes to a few hours. For long-term prevention, aiming for at least 2 liters (roughly eight cups) of water per day is the general recommendation that shows up consistently in the headache literature. People who are physically active, live in hot climates, or drink a lot of coffee may need closer to 3 liters.
Managing Migraines Specifically
Migraines don’t always respond to the same remedies that knock out a tension headache. Over-the-counter anti-inflammatory drugs like ibuprofen and aspirin help in about 46% to 52% of cases within two hours, which is decent but far from guaranteed.
If OTC options aren’t cutting it, prescription medications called triptans are the standard next step. These work by narrowing blood vessels in the brain and blocking pain signals. In a large systematic review, standard-dose triptans relieved headaches within two hours in 42% to 76% of patients, depending on the specific drug. Complete freedom from pain at two hours was lower, ranging from 18% to 50%. Combination therapies that pair a triptan with an anti-inflammatory performed slightly better, with response rates of 62% to 80%.
Beyond medication, migraines respond strongly to environmental changes during an attack. A dark, quiet room is not just comforting, it removes the light and sound stimulation that actively worsens migraine pain. Lying down with a cold compress on your forehead in a dim room is one of the most effective non-drug approaches during an acute attack.
Preventing Headaches Before They Start
If you get frequent headaches, prevention is more effective (and safer) than repeated treatment. A few supplements have solid evidence behind them for reducing migraine frequency. Riboflavin (vitamin B2) at 400 mg per day and magnesium at 300 mg per day have both been studied in clinical trials for migraine prevention. These aren’t quick fixes. They typically need to be taken daily for two to three months before you see a reduction in headache frequency.
Sleep consistency matters more than sleep duration. Going to bed and waking up at roughly the same time every day, even on weekends, helps regulate the brain systems involved in headache generation. Both too little and too much sleep can trigger headaches.
Regular aerobic exercise, even 30 minutes of brisk walking three to five days a week, reduces both the frequency and severity of tension headaches and migraines over time. The effect is partly from stress reduction and partly from changes in how your brain processes pain signals.
Cluster Headache Relief
Cluster headaches require a different approach entirely. Standard pain relievers are too slow to help because cluster attacks peak within minutes and can be over before an oral medication kicks in. The most effective acute treatment is inhaling 100% oxygen at high flow rates (12 to 15 liters per minute) through a non-rebreather mask for 15 to 30 minutes. Higher flow rates, up to 15 liters per minute, appear to work better than lower ones. This requires a prescription and an oxygen setup at home, but for people in the middle of a cluster cycle, it can abort an attack within minutes. If you’re experiencing recurring severe headaches around one eye, getting a proper diagnosis is the critical first step, since the treatment pathway is so specific.

