Most headaches respond to a combination of simple strategies you can start within minutes: hydrating, taking an over-the-counter pain reliever early, and reducing sensory input. The specific approach that works best depends on the type of headache you’re dealing with, but several techniques overlap and can be layered together for faster relief.
Start With Water
Dehydration is one of the most common and overlooked headache triggers. When your body is low on fluids, your brain actually shrinks slightly and pulls away from the skull, putting pressure on surrounding nerves. That mechanical tension is what you feel as pain. Drinking water can begin reversing this process within 30 minutes to a few hours.
Plain water works for mild dehydration. If you’ve been sweating heavily, exercising, or drinking alcohol, a low-sugar electrolyte drink helps replace the sodium and potassium you’ve lost. Aim for at least 16 to 32 ounces over the next hour or two, then keep sipping steadily.
Take Pain Relief Early
Timing matters more than most people realize. Taking a pain reliever at the first sign of a headache is significantly more effective than waiting until the pain peaks. This is true for both simple tension headaches and migraines. Once pain pathways in the brain are fully activated, they become harder to shut down.
For mild to moderate headaches, ibuprofen (200 to 400 mg) or acetaminophen are effective first choices. A combination of acetaminophen, aspirin, and caffeine (found in products like Excedrin) has particularly strong evidence for migraine-level pain. Ibuprofen can be repeated every four to six hours as needed, but avoid exceeding the label’s daily limit. For moderate to severe migraines that don’t respond to over-the-counter options, prescription medications called triptans are the standard first-line treatment.
One critical rule: don’t use pain relievers too frequently. Taking simple painkillers like ibuprofen or acetaminophen more than 15 days a month, or combination painkillers and triptans more than 9 days a month, can cause medication-overuse headaches. These rebound headaches create a cycle where the medication itself starts triggering pain, making your headaches more frequent over time.
Reduce Light, Sound, and Stimulation
If your headache comes with sensitivity to light, there’s a biological reason. Researchers at Harvard Medical School identified a nerve pathway running from the eyes directly to brain regions that are active during headache attacks. Light traveling along this pathway amplifies pain signals, which is why a bright room can make a headache feel dramatically worse. In one study, nearly half of participants with persistent headaches found relief simply by going into a dark room.
Move to a quiet, dim space if you can. Close blinds, turn off overhead lights, and silence your phone. If you can’t control your environment (you’re at work, for instance), tinted or wraparound glasses can reduce light input enough to help. Pair this with closing your eyes for even five to ten minutes.
Apply Heat or Cold
Temperature therapy works through two different mechanisms, and you can experiment to find which helps your particular headache. A cold compress or ice pack on your forehead narrows blood vessels and can dull pain signals. Heat applied to the back of your neck and shoulders loosens tight muscles that often contribute to tension headaches.
For cold, wrap ice or a frozen gel pack in a thin cloth and hold it against your forehead or temples for 15 to 20 minutes. For heat, try a heating pad on low, a warm towel, or even a hot shower directed at the base of your skull and shoulders. Many people find alternating between the two provides the most relief.
Try Pressure Points
Acupressure offers a drug-free option you can do anywhere. Two points have the most evidence behind them for headache relief:
- The web between your thumb and index finger (LI4). Pinch this fleshy area firmly with the thumb and index finger of your opposite hand for 10 seconds. Then make small circles with your thumb for 10 seconds in each direction. Repeat on the other hand.
- The spot between your eyebrows (Yin Tang). Press the bridge of your nose where it meets your forehead with one index finger. Apply firm, steady pressure for about 1 minute.
These won’t eliminate a severe headache on their own, but they can take the edge off while other treatments kick in.
Release Muscle Tension
Tension headaches often originate in tight muscles across the scalp, jaw, neck, and shoulders. Gently massaging your temples, the base of your skull, and along the sides of your neck with your fingertips can loosen these muscles and reduce pain. Slow, firm circles work better than light touching.
Gentle neck stretches help too. Tilt your ear toward one shoulder, hold for 15 to 30 seconds, then switch sides. Drop your chin toward your chest and hold. These stretches target the muscles most commonly involved in tension-type headaches.
For headaches that keep returning, a simple daily breathing practice can reduce their frequency. Lie on your back or sit comfortably with feet flat on the floor. Breathe in slowly and deeply, then exhale at the same pace. Continue for at least 10 minutes. This activates your body’s relaxation response and lowers the baseline muscle tension that makes you vulnerable to headaches in the first place.
Consider Magnesium
Low magnesium levels are linked to both tension headaches and migraines. The American Migraine Foundation notes that magnesium oxide at 400 to 600 mg per day is commonly used for migraine prevention and can also be taken at the same dose during an active headache. It’s available over the counter and is generally well tolerated, though it can cause loose stools at higher doses. This is more of a longer-term strategy than a quick fix, but if you get headaches regularly, it’s worth trying for a few weeks.
Warning Signs That Need Immediate Attention
Most headaches are uncomfortable but not dangerous. A few patterns signal something more serious. Seek emergency care for a headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache), as this can indicate a blood vessel problem in the brain. Also take seriously any headache accompanied by fever, weakness or numbness on one side of the body, new visual changes, or confusion. A new type of headache starting after age 50, or any headache that is clearly getting worse over days or weeks, also warrants prompt evaluation. These patterns suggest the headache may be a symptom of an underlying condition rather than a primary headache disorder.

