Most headaches respond to a combination of simple strategies you can start right now: hydration, an over-the-counter pain reliever, and rest in a quiet space. The specific approach that works best depends on what type of headache you’re dealing with, but the good news is that the majority of tension headaches and mild migraines resolve within a few hours using at-home methods.
Drink Water First
Dehydration is one of the most common and most overlooked headache triggers. If you haven’t been drinking enough fluids, rehydrating is the single fastest fix. Take small, steady sips rather than gulping a large amount at once, which can cause nausea. Most dehydration headaches improve within a few hours once you start replacing fluids.
If your headache lingers more than a few hours after drinking water, dehydration probably isn’t the main cause, and it’s worth trying the other strategies below.
Over-the-Counter Pain Relievers
For a standard tension headache, ibuprofen, acetaminophen, or naproxen sodium will handle most cases. Ibuprofen and naproxen are anti-inflammatory drugs, which makes them particularly effective when headache pain involves muscle tension or inflammation. Acetaminophen works differently, blocking pain signals in the brain, and is a better choice if you have stomach sensitivity. The FDA recommends keeping acetaminophen under 3 grams per day for adults, which means no more than 650 mg every six hours.
Adding caffeine to your pain reliever genuinely boosts its effectiveness. A Cochrane review found that combining at least 100 mg of caffeine (roughly one cup of coffee) with a standard dose of ibuprofen or acetaminophen produces a small but meaningful improvement in pain relief compared to the pain reliever alone. If you don’t regularly drink coffee, a single cup alongside your medication can make a noticeable difference.
One important caution: using any OTC pain reliever more than two or three days per week can lead to medication-overuse headaches, sometimes called rebound headaches. The medicine that’s supposed to help starts causing the very problem you’re trying to fix. If you’re reaching for painkillers that frequently, it’s a sign to look at prevention strategies instead.
Rest in a Dark, Quiet Room
Light and noise both amplify headache pain, especially migraines. Lying down in a dark room with your eyes closed allows your nervous system to calm down and gives pain signals a chance to quiet. Even one to two hours of sleep can significantly reduce headache intensity. If you can’t sleep, simply resting with your eyes closed in a dim space helps.
This works for tension headaches too. Screen time, fluorescent lighting, and background noise all contribute to the muscle tension and sensory overload that keep headaches going. Stepping away from your desk and lying down for 20 to 30 minutes is sometimes all it takes.
Apply a Cold Compress
Cold therapy numbs pain and constricts blood vessels, which can reduce the throbbing sensation common in both tension headaches and migraines. Place a cold pack or a bag of ice wrapped in a thin cloth on your forehead, temples, or the back of your neck. Keep it on for no more than 20 minutes at a time, and you can repeat this several times throughout the day.
Heat works better for headaches driven by neck and shoulder tension. A warm towel draped across the back of your neck or a hot shower targeting your upper back can loosen the tight muscles pulling on your scalp. If your headache feels like a band squeezing around your head and your neck feels stiff, try heat first. If the pain is pulsing or concentrated behind one eye, go with cold.
Try Peppermint Oil
Applying diluted peppermint oil to your temples is one of the better-supported natural remedies for tension headaches. A clinical trial found that a 10% peppermint oil solution significantly reduced headache intensity within 15 minutes, performing comparably to acetaminophen. You can find roll-on peppermint oil products at most pharmacies. Apply a small amount to your temples and massage gently. Avoid getting it near your eyes.
Use the LI-4 Pressure Point
Acupressure on a specific point between your thumb and index finger has been used for centuries to relieve headache pain, and Memorial Sloan Kettering Cancer Center includes it in their patient guidance. To find it, look at the back of your hand and locate the fleshy area between your thumb and index finger. Squeeze those two fingers together, and the pressure point sits at the highest point of the muscle bulge that forms.
Press down firmly with the thumb of your other hand and move it in slow circles for two to three minutes, then switch hands. This technique is free, portable, and worth trying while you wait for medication to kick in. One note: if you’re pregnant, skip this one. Pressure on this point can stimulate contractions.
What to Do for a Migraine
Migraines are a different beast from tension headaches. They typically involve throbbing pain on one side of the head, sensitivity to light and sound, and sometimes nausea or visual disturbances. The most important thing with a migraine is to treat it as early as possible. The longer you wait, the harder it becomes to control.
Start with an anti-inflammatory drug like ibuprofen or naproxen. If that alone doesn’t provide adequate relief, the American College of Physicians recommends combining it with a triptan, a class of prescription medication specifically designed for migraines. Triptans work by narrowing blood vessels and blocking pain pathways in the brain. If you get migraines regularly but don’t have a triptan prescription, that’s a conversation worth having with your doctor, because having one on hand when a migraine starts makes a major difference in how quickly you recover.
While you wait for medication to work, retreat to a dark room, apply a cold compress to your forehead or the back of your neck, and avoid screens entirely. Sip water slowly if you can tolerate it.
Prevent the Next One
Once your current headache is gone, it’s worth thinking about what triggered it. The most common culprits are dehydration, poor sleep, skipped meals, stress, and too much screen time. Keeping a simple log of when your headaches occur and what happened in the hours before can reveal patterns surprisingly quickly.
Magnesium deficiency shows up frequently in people who get recurring headaches, particularly migraines. Research has found that magnesium levels tend to be low in migraine sufferers, and supplementation may help reduce frequency over time. Magnesium citrate and magnesium glycinate are the forms most commonly recommended for headache prevention because they’re absorbed more easily than magnesium oxide.
Consistent sleep matters more than total hours. Going to bed and waking up at roughly the same time each day, even on weekends, stabilizes the brain processes involved in pain regulation. Both too little and too much sleep can trigger headaches, so aim for a regular schedule rather than trying to catch up with long weekend sleep-ins.
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) requires emergency evaluation. The same goes for a headache accompanied by confusion, double vision, loss of consciousness, or neurological symptoms like weakness on one side of your body.
Other warning signs include a new type of headache starting after age 50, headaches that change significantly in frequency or severity, headaches accompanied by fever and weight loss, and pain that gets worse when you cough, strain, or change position. Any of these patterns warrant prompt medical evaluation to rule out structural or vascular causes.