Most headaches respond well to a combination of simple strategies: hydration, over-the-counter pain relief, and addressing the underlying trigger. The right approach depends on the type of headache you’re dealing with, but several techniques work across the board and can bring relief within minutes to a couple of hours.
Identify What Kind of Headache You Have
Tension-type headaches are the most common. They feel like constant pressure on both sides of your head, sometimes described as a belt tightening around your skull. The pain is mild to moderate, lasts anywhere from 30 minutes to 7 days, and doesn’t get worse when you walk or climb stairs. You might feel sensitive to light or sound, but not both at the same time, and you won’t feel nauseous.
Migraines are different: moderate to severe throbbing pain, usually on one side of the head, often accompanied by nausea and sensitivity to both light and sound. Physical activity makes them worse. Cluster headaches are rarer but intense, producing sudden, severe pain behind or around one eye that peaks within 5 to 10 minutes and lasts up to three hours. The eye and nose on the affected side often get red, swollen, and teary. Cluster attacks frequently wake people from sleep.
Knowing your headache type matters because the relief strategies differ. Most of what follows targets tension-type headaches and migraines, which account for the vast majority of headaches people experience.
Drink Water First
Dehydration is one of the most overlooked headache triggers. When your body is low on fluids, your brain tissue actually shrinks and pulls away from the skull, putting pressure on surrounding nerves. That pressure is the pain you feel. A dehydration headache can come on after exercise, a hot day, skipping meals, or simply not drinking enough throughout the day.
If you suspect dehydration, drink a full glass of water and continue sipping over the next hour or two. Aim for six to eight glasses of water per day (roughly 1.5 to 2 liters) as a baseline. Many people find their headache eases within 30 to 60 minutes of rehydrating, especially if they also rest in a cool, dim room.
Over-the-Counter Pain Relievers
Ibuprofen and acetaminophen are the two most widely used options. Combination tablets containing both are available and can be taken every eight hours as needed. For any product containing acetaminophen, stay under 4,000 milligrams total in a 24-hour period to protect your liver. Take pain relievers early, ideally at the first sign of a headache. Waiting until the pain is severe makes them less effective.
One critical caveat: using pain relievers too frequently can cause a cycle of worsening headaches known as medication overuse headache. The International Headache Society defines this as headache occurring 15 or more days per month in someone who has been using acute headache medication on 10 or more days per month for longer than three months. If you find yourself reaching for painkillers multiple times a week, that pattern itself may be fueling your headaches.
Use Caffeine Strategically
Caffeine can both relieve and cause headaches, depending on how you use it. In small amounts, it narrows blood vessels and boosts the effectiveness of pain relievers. Controlled studies have found caffeine alone can be as effective as acetaminophen for tension-type headaches. A small cup of coffee or tea at the onset of a headache is a reasonable first step.
The problem is that caffeine dependency develops fast. Regular daily use of as little as 100 milligrams (roughly one cup of coffee) for just seven days can create dependence. Once dependent, skipping your usual dose triggers a withdrawal headache. Some people are remarkably sensitive: over 30 percent of individuals can feel the effects of 18 milligrams or less. If you’re getting frequent headaches, look at whether your caffeine habits are part of the cycle. Keeping intake low and inconsistent (not daily) prevents your body from building dependence in the first place.
Try Cold or Peppermint Oil
A cold compress on the forehead or the back of the neck can dull headache pain by constricting blood vessels and reducing inflammation. Apply it for 15 to 20 minutes, take a break, and reapply if needed.
Peppermint oil applied topically is another option with some clinical support. Research has found that a topical gel containing 6 percent menthol (the active cooling compound in peppermint) decreased pain intensity after two hours. To use it safely, dilute 3 to 5 drops of peppermint essential oil in one ounce of a carrier oil like coconut or almond oil. Massage a small amount onto your temples, the back of your neck, and your shoulders. Before your first use, test the mixture on the inside of your forearm and wait 24 to 48 hours to check for a skin reaction.
Prevent Recurring Headaches
If headaches are a regular part of your life, daily habits matter more than any single remedy. Sleep consistency is one of the strongest preventive factors. Going to bed and waking up at the same time each day, even on weekends, reduces headache frequency for most people. Stress management through exercise, stretching, or simply taking breaks during prolonged screen time helps prevent the muscle tension in the neck and shoulders that triggers many headaches.
Two supplements have solid evidence for migraine prevention specifically. The American Headache Society recommends 400 to 500 milligrams per day of magnesium oxide. Vitamin B2 (riboflavin) at 400 milligrams per day has also shown benefit. Neither works overnight. Expect to take them consistently for two to three months before seeing a meaningful reduction in headache frequency.
Acupuncture is worth considering for chronic tension-type headaches. Clinical protocols that have shown effectiveness typically involve 20 sessions over eight weeks, with each session lasting 30 minutes. That’s a significant time commitment, but for people with frequent headaches who want to reduce their reliance on medication, the evidence supports it.
Red Flags That Need Immediate Attention
Most headaches are uncomfortable but not dangerous. A few warning signs, however, point to something more serious. Seek emergency care for a “thunderclap” headache that reaches maximum intensity within seconds or minutes, especially if it’s your first episode or the worst headache of your life. Other red flags include headache with fever, confusion, seizures, vision changes, personality shifts, or a stiff neck. Headaches that start after age 50 for the first time, get progressively worse over weeks, or are triggered by coughing, bearing down, or exertion also warrant urgent evaluation. A headache that changes dramatically in pattern, frequency, or severity compared to your usual headaches is another signal to take seriously.

