Most headaches respond well to a combination of over-the-counter pain relievers, simple physical remedies, and a few lifestyle adjustments. The right approach depends on what type of headache you’re dealing with, but for the most common kind, a tension headache, relief usually comes within 30 to 60 minutes of taking the right steps.
Over-the-Counter Pain Relievers
For a standard tension headache, ibuprofen and acetaminophen are the two most widely used options. A meta-analysis comparing the two found that at lower doses, there’s no meaningful difference in effectiveness between them. Higher-dose anti-inflammatory drugs like ibuprofen at 400 mg showed a slight edge in pain relief, but also came with more side effects, particularly stomach irritation. If you have a sensitive stomach or kidney concerns, acetaminophen is generally the safer pick. If inflammation is part of the picture, ibuprofen or aspirin tends to work better.
Caffeine gives pain relievers a measurable boost. Doses of 100 to 130 mg of caffeine (roughly one strong cup of coffee) enhance the effectiveness of common pain relievers for both tension headaches and migraines. Many combination products already include caffeine for this reason. If you’re taking plain acetaminophen or ibuprofen, drinking a cup of coffee alongside it can genuinely help. One caution: regularly consuming caffeine to treat headaches more than two or three days a week can lead to rebound headaches, where the remedy itself becomes the trigger.
Cold and Heat Therapy
A cold compress applied to your forehead or temples is one of the fastest non-drug options. Cold numbs the area and constricts blood vessels, which can reduce throbbing pain. Keep the compress on for no more than 20 minutes at a time, and use a cloth barrier between ice and skin. This works especially well for migraines and headaches with a pulsing quality.
Heat, on the other hand, is better for tension headaches that feel like a tight band around your head. A warm towel draped across your neck and shoulders loosens the muscles that often drive that squeezing pain. Some people get the best results by alternating: cold on the forehead, heat on the neck.
Peppermint Oil
Peppermint oil applied to the temples is more than folk medicine. A 10% peppermint oil solution (diluted in a carrier like ethanol or a neutral oil) has been shown in controlled studies to be as effective as acetaminophen or aspirin for tension headaches. It works through multiple pathways, including a cooling sensation that relaxes muscles and modulates pain signals. Professional headache societies in Europe include it in their official treatment guidelines. You can find peppermint oil roll-ons designed for this purpose at most pharmacies. Apply it to the temples and forehead, avoiding your eyes.
Hydration
Dehydration is one of the most overlooked headache triggers. Even mild dehydration, losing as little as 1 to 2% of your body weight in fluid, can bring on a dull headache. If you haven’t had much water today, drink a full glass or two and give it 30 minutes. This won’t fix every headache, but when dehydration is the cause, relief can come surprisingly fast. Coffee and alcohol both accelerate fluid loss, so if either has been part of your day, extra water is worth trying before reaching for medication.
Relaxation Techniques for Tension Headaches
Tension headaches are the most common type, affecting roughly 78% of people at some point, and they’re tightly linked to stress and muscle tightness. Progressive muscle relaxation, where you systematically tense and release muscle groups from your feet to your scalp, has strong evidence behind it. A study comparing this technique in people with tension headaches and migraines found significant decreases in attack frequency, pain intensity, and headache-related disability after six weeks of practice. The effects were especially pronounced for tension headaches, with large reductions in monthly attack frequency and pain scores.
You don’t need a therapist to try this. Sit or lie in a quiet room, close your eyes, and work through each muscle group: clench for five seconds, release for 30 seconds, notice the difference. The whole process takes about 15 minutes. Even a simpler version, slowly rolling your neck, dropping your shoulders away from your ears, and unclenching your jaw, can ease a headache that’s already underway.
Sleep and Routine
Both too little and too much sleep trigger headaches. The sweet spot for most adults is seven to eight hours on a consistent schedule. Weekend sleep-ins of two or more extra hours are a classic migraine trigger. Irregular meal timing matters too. Skipping meals causes blood sugar dips that can set off a headache within hours. If you woke up with a headache, think about whether you slept poorly, skipped dinner, or had alcohol before bed. Fixing the pattern prevents the next one.
Magnesium for Recurring Headaches
If you get frequent headaches, especially migraines, magnesium supplementation is worth considering. The American Headache Society recommends 400 to 500 milligrams daily of magnesium oxide for migraine prevention. Magnesium citrate is an alternative that some people absorb more easily, though it can have a laxative effect at higher doses. This isn’t a quick fix for the headache you have right now. It’s a preventive strategy that builds up over weeks. Many people with migraines have lower magnesium levels than average, and supplementation reduces the frequency and severity of attacks over time.
When a Headache Needs Urgent Attention
Most headaches are harmless, but certain features signal something more serious. A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) is a red flag that warrants an emergency room visit, as it can indicate bleeding in the brain. Other warning signs include:
- Headache with fever, stiff neck, or confusion: possible signs of infection affecting the brain
- New neurological symptoms: weakness on one side, vision changes, slurred speech, or difficulty walking
- A brand-new headache pattern after age 65: higher likelihood of a secondary cause
- Headache that steadily worsens over days or weeks: progressive headaches need investigation
- Headache triggered by coughing, sneezing, or exercise: can indicate structural problems
- New headache during pregnancy: especially in the third trimester or with high blood pressure
A headache that simply feels different from your usual pattern, particularly one that’s new within the last three months, is also worth getting checked. The vast majority of headaches are benign, but these specific features have a high rate of identifying serious underlying conditions when they’re present.

