What Can Help With a Headache: Remedies That Work

Most headaches respond well to a combination of over-the-counter pain relievers, hydration, and simple physical remedies like cold compresses. The fastest relief usually comes from taking ibuprofen or acetaminophen at the first sign of pain, drinking water, and resting in a quiet space. What works best depends on the type of headache you’re dealing with and what’s triggering it.

Over-the-Counter Pain Relievers

For a standard tension headache, ibuprofen and acetaminophen are the two most effective options. They work differently: ibuprofen reduces inflammation, while acetaminophen blocks pain signals in the brain. Both typically start working within 30 to 60 minutes.

A combination of 250 mg acetaminophen and 125 mg ibuprofen (sold together in some products) can be taken as two tablets every eight hours, up to six tablets per day. If you’re taking acetaminophen alone, the hard limit is 4,000 mg in 24 hours, though some brands recommend staying at or below 3,000 mg to reduce the risk of liver damage. This matters more than people realize: acetaminophen is in dozens of products (cold medicines, sleep aids, combination painkillers), so it’s easy to accidentally double up.

Aspirin is another solid option, and it works particularly well when combined with caffeine. Some OTC formulations pair aspirin, acetaminophen, and caffeine together for this reason.

Why Water Might Be All You Need

Dehydration is one of the most common and most overlooked headache triggers. If you haven’t been drinking enough fluids, especially on a hot day or after exercise, try drinking 16 to 32 ounces of water before reaching for medication. A dehydration headache typically resolves within one to two hours of rehydrating. The pain tends to feel like a dull, pressing ache across the whole head rather than throbbing on one side. If water alone clears it up, that’s your answer for next time too.

Cold Compresses and Rest

Placing a cold pack on your forehead or the back of your neck can dull headache pain noticeably. Cold constricts blood vessels and has a mild numbing effect that works especially well for migraines and tension headaches. Wrap ice or a cold pack in a thin towel and apply it for 15 to 20 minutes at a time.

Heat works better for headaches driven by muscle tension in the neck and shoulders. A warm towel draped across the back of the neck or a hot shower can loosen tight muscles that radiate pain upward into the skull. If your headache started after hours at a desk or a stressful day, heat is often the better choice.

Caffeine: Helpful in Small Doses

Caffeine narrows blood vessels and can boost the effectiveness of pain relievers when taken together. A cup of coffee or tea alongside ibuprofen or acetaminophen often produces faster relief than the medication alone. But this only works if you don’t already consume a lot of caffeine daily. Heavy caffeine users may actually get headaches from withdrawal, and adding more just resets the cycle. If your headache hits on mornings when you skip coffee, caffeine withdrawal is the likely culprit.

When Headaches Keep Coming Back

If you get frequent headaches (more than a few per month), prevention matters more than treatment. Two supplements have strong evidence behind them for reducing how often migraines occur.

Riboflavin (vitamin B2) at 400 mg daily reduced migraine frequency significantly in a randomized controlled trial published in the journal Neurology. After three months, 59% of people taking riboflavin saw their headache days drop by at least half, compared to just 15% on placebo. That’s a meaningful difference for something available without a prescription and with virtually no side effects.

Magnesium supplements (typically 400 to 600 mg of magnesium oxide daily) are also widely recommended for migraine prevention. Low magnesium levels are common in people who get frequent migraines, and correcting the deficiency can reduce both the frequency and severity of attacks.

For migraines that don’t respond to OTC options, prescription medications called triptans are the standard treatment. These target the specific brain chemistry involved in migraines and come in tablets, nasal sprays, and injections. They work best when taken early in an attack. If you regularly need more than OTC pain relievers, this is worth discussing with your doctor, because overusing OTC painkillers (more than two or three days per week) can actually cause a rebound pattern where the headaches get worse over time.

Lifestyle Fixes That Prevent Headaches

Many recurring headaches have a pattern, and identifying yours is the single most useful thing you can do. Common triggers include irregular sleep (both too little and too much), skipped meals, alcohol, prolonged screen time, and stress. Keeping a simple log of when headaches hit and what preceded them for a few weeks often reveals a clear trigger.

Regular exercise reduces headache frequency for most people. Even 30 minutes of moderate activity like walking, three to five times per week, can make a noticeable difference. The effect builds over weeks rather than being immediate, so consistency matters more than intensity. Sleep regularity is equally important: going to bed and waking up at roughly the same time each day, including weekends, helps stabilize the brain’s sensitivity to headache triggers.

Headaches That Need Urgent Attention

Most headaches are harmless, but a few patterns signal something serious. A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) can indicate a blood vessel problem in the brain and needs emergency evaluation immediately.

Other warning signs include headaches accompanied by fever and unexplained weight loss, new neurological symptoms like weakness on one side of the body, numbness, or vision changes, and headaches that are clearly getting worse over weeks. A new type of headache starting after age 50 is also more likely to have a secondary cause worth investigating. Headaches that change with body position, getting significantly better or worse when you stand up or lie down, can point to a pressure issue inside the skull. If any of these apply, skip the home remedies and get evaluated.