Most headaches respond well to a combination of over-the-counter pain relievers, hydration, and simple physical techniques you can do at home. The right approach depends on what type of headache you’re dealing with and how often it happens, but for the occasional tension headache or mild migraine, relief usually comes within 30 to 60 minutes of taking the right steps.
Over-the-Counter Pain Relievers
For a standard tension headache, ibuprofen is generally the most effective first choice. In head-to-head trials, 400 mg of ibuprofen provided better pain relief than 1,000 mg of acetaminophen, and it worked faster. Solubilized (liquid gel) ibuprofen kicked in at around 39 minutes, compared to 47 minutes for acetaminophen.
Naproxen sodium is another strong option. At a 220 mg dose, it performs about equally to 200 mg of ibuprofen, and it’s absorbed quickly, reaching peak levels in the blood within an hour. The advantage of naproxen is that it lasts longer, so you’re less likely to need a second dose.
Acetaminophen still works, especially if you can’t take anti-inflammatory medications due to stomach sensitivity or other reasons. Meaningful headache relief typically shows up around the 60-minute mark. It’s a solid backup, just not quite as fast or potent for most people.
The Rebound Headache Trap
If you’re reaching for pain relievers frequently, there’s an important threshold to know: using simple analgesics on 15 or more days per month for longer than three months can actually cause a new type of headache called medication-overuse headache. The pain relievers that once helped start making things worse. If you find yourself taking something for headaches more than two or three times a week on a regular basis, that pattern itself needs attention.
Drink Water First
Dehydration is one of the most overlooked headache triggers, and the fix is free. When your body is low on fluids, your brain and surrounding tissues physically shrink and pull away from the skull. That traction on the nerves around the brain is what produces the pain.
Rehydrating is the fastest way to resolve this type of headache. Sip water steadily rather than gulping a large amount at once, which can cause nausea. As a baseline, aim for six to eight glasses of water per day (roughly 1.5 to 2 liters). If you’ve been sweating, drinking coffee, or skipping fluids, you likely need more. Many people who get frequent afternoon headaches find they disappear simply by drinking more water in the first half of the day.
Peppermint Oil on the Forehead and Temples
Applying diluted peppermint oil to the forehead and temples is one of the better-studied natural remedies for tension headaches. The menthol in peppermint oil activates cold receptors in the skin, creating a long-lasting cooling sensation. When combined with a carrier like ethanol (as found in many commercial roll-on products), peppermint oil produces a measurable reduction in headache pain sensitivity.
To use it, apply a thin layer across the forehead and both temples. You can reapply every 15 to 30 minutes. It works best for mild to moderate headaches, and some people find it effective enough to skip a pain reliever entirely.
Muscle Relaxation and Cold Therapy
Tension headaches often start in the muscles of the neck, shoulders, and scalp. Progressive muscle relaxation, where you systematically tense and then release muscle groups from your feet up to your head, has been shown to reduce both pain intensity and migraine frequency. In clinical trials, patients who practiced this technique saw significant improvements in how often headaches occurred and how disabling they were.
Cold application works through a different mechanism. Placing a cold pack on the back of your neck or forehead constricts blood vessels and reduces inflammation. Combining cold therapy with muscle relaxation appears to be more effective than either one alone, particularly for reducing the number of monthly headache episodes. A bag of frozen peas wrapped in a thin towel works fine. Keep it on for 15 to 20 minutes at a time.
Caffeine: Helpful in Small Doses
Caffeine narrows blood vessels and enhances the absorption of pain relievers, which is why it’s an ingredient in many headache formulas. A cup of coffee or tea at the onset of a headache can speed up relief, especially when paired with acetaminophen or ibuprofen. The catch is that regular caffeine use creates dependence, and skipping your usual dose triggers withdrawal headaches. If you’re getting headaches every morning that vanish after coffee, caffeine withdrawal is the likely culprit. Keeping intake moderate and consistent matters more than the exact amount.
Preventing Headaches Before They Start
If headaches are a recurring problem, prevention is worth more than treatment. A few daily habits make a significant difference.
Magnesium: Many people who get frequent migraines have low magnesium levels. Taking 400 to 600 mg of magnesium oxide daily can help prevent migraines by blocking pain-signaling chemicals in the brain and keeping blood vessels from constricting abnormally. It takes a few weeks of consistent use to see results, and loose stools are the most common side effect. Starting at the lower end of the dose range helps.
Vitamin B2 (riboflavin): A daily dose of 400 mg of riboflavin has been tested in randomized trials for migraine prevention over three-month periods and shown to reduce attack frequency. It’s inexpensive, widely available, and has virtually no side effects. Like magnesium, it’s a preventive strategy, not an acute treatment.
Sleep consistency: Both too little and too much sleep trigger headaches. Irregular sleep schedules are particularly problematic. Going to bed and waking up at roughly the same time each day, even on weekends, eliminates one of the most common headache triggers.
Stress management: Tension headaches tend to arrive at the end of a stressful period rather than during it. Regular physical activity, even a 20-minute walk, lowers baseline muscle tension in the head and neck and reduces headache frequency over time.
Headaches That Need Medical Attention
Most headaches are harmless, but certain patterns signal something more serious. A sudden, explosive headache that reaches maximum intensity within seconds, sometimes called a thunderclap headache, can indicate a vascular emergency like an aneurysm and needs immediate evaluation. New headaches that come with fever, unexplained weight loss, or night sweats suggest a systemic illness driving the pain.
Neurological symptoms alongside a headache, like new weakness in an arm or leg, numbness, or vision changes that aren’t part of your usual migraine pattern, also warrant prompt medical evaluation. The same goes for headaches that are clearly getting worse over weeks or months, new headaches starting after age 50, and headaches that change with body position or are triggered by coughing and straining. These features don’t always mean something dangerous is happening, but they’re the patterns that distinguish routine headaches from those that need investigation.

