Tension headaches respond well to a combination of pain relievers, physical techniques, and lifestyle adjustments. Most episodes resolve within 30 minutes to a few hours with the right approach, and many can be prevented entirely once you identify your triggers. Here’s what works, starting with the fastest relief.
Quick Relief for a Current Headache
Over-the-counter pain relievers are the most effective first-line option. Ibuprofen and acetaminophen both work, and combining them can be more effective than either alone. A combination tablet typically contains 250 mg of acetaminophen and 125 mg of ibuprofen, taken every eight hours as needed, with a maximum of six tablets per day. If you’re taking acetaminophen on its own, stay below 4,000 mg in 24 hours to protect your liver.
One important caution: using pain relievers more than two or three days a week can cause rebound headaches, where the medication itself starts triggering new headaches. If you find yourself reaching for pills that often, it’s time to shift your focus to prevention.
While you wait for medication to kick in, apply heat to your neck and shoulders with a heating pad on low, a warm towel, or a hot shower. Tight muscles in the neck and upper back are a primary driver of tension headaches, and heat relaxes them. For forehead pain, try the opposite: a cool washcloth or ice pack across your forehead. Many people find combining both (heat on the neck, cold on the forehead) gives the best results.
Identify and Avoid Your Triggers
Tension headaches rarely appear out of nowhere. The most common triggers are stress, poor sleep, dehydration, and certain foods. Keeping a simple headache diary for two to three weeks, noting what you ate, how you slept, and what was happening before each headache, can reveal patterns you’d otherwise miss.
Sleep is one of the biggest factors. Both too much and too little sleep trigger tension headaches, so sticking to a consistent schedule matters more than logging extra hours on weekends. Dehydration is another reliable trigger, especially during exercise or hot weather. If you’re not drinking water regularly throughout the day, that alone could be your problem.
Food triggers vary from person to person, but the usual suspects include aged cheese, red wine, chocolate, and anything with high caffeine content. Caffeine is tricky because small amounts can actually help a headache (it’s an ingredient in some pain relievers), but regular overconsumption sets you up for withdrawal headaches whenever you skip a cup.
Fix Your Desk Setup
If your headaches hit in the afternoon or after long stretches at a computer, your workstation is a likely culprit. Poor monitor placement forces your neck into unnatural positions for hours, gradually tightening the muscles that wrap from your shoulders up to the base of your skull.
The key measurements: place your monitor directly in front of you, about an arm’s length away (20 to 40 inches from your face). The top of the screen should sit at or just below eye level. If you wear bifocals, lower the monitor an extra inch or two. Your feet should rest flat on the floor with your thighs parallel to it, and your hands should be at or slightly below elbow level while typing. Keep your wrists straight and your upper arms close to your body rather than reaching forward.
Even with a perfect setup, sitting still for hours creates tension. Stand up and move for a minute or two every 30 to 45 minutes. Roll your shoulders, gently tilt your head side to side, and let your arms hang loose.
Relaxation Techniques That Actually Work
Progressive muscle relaxation is one of the best non-drug treatments for tension headaches. The technique is simple: starting at your feet and working up, tense each muscle group for five seconds, then release for 30 seconds. When you reach your shoulders, neck, and jaw (where tension headache pain originates), spend extra time there. Most people notice a difference within the first session, though the real benefit comes with daily practice.
Biofeedback, a technique where sensors track your muscle tension and teach you to consciously relax specific muscles, has shown mixed but promising results. Earlier studies found it reduced tension headache frequency by 40% to 60%, and one large study reported that 68% of patients improved in severity, duration, and frequency. A typical course involves about ten 50-minute sessions. That said, some later research has found the biofeedback equipment itself doesn’t add much beyond what you get from learning relaxation skills on your own. The takeaway: the relaxation practice matters more than the technology.
Acupuncture for Frequent Headaches
If you’re getting tension headaches regularly, acupuncture is worth considering. In a large clinical trial, 48% of people receiving acupuncture achieved at least a 50% reduction in headache frequency over three months, compared to just 19% of those receiving only routine care. That’s a meaningful difference, and the effects tend to build over a series of sessions rather than appearing after a single visit. Most acupuncture protocols for headaches involve weekly sessions for six to eight weeks.
When Headaches Become Chronic
If you’re experiencing tension headaches more than two days a week despite trying the strategies above, preventive treatment becomes the better approach. At that point, daily medication aimed at reducing headache frequency (rather than treating individual episodes) is typically recommended. The goal is a 50% reduction in headache days per month, which is realistic for most people.
Magnesium supplementation is one option that sits between lifestyle changes and prescription medication. Low magnesium levels are associated with more frequent headaches, and correcting a deficiency can help. One pediatric study found that daily magnesium supplementation reduced headache days by nearly 70% over a year of follow-up. The evidence is stronger in children than adults, and the optimal dose varies, so this is worth discussing with your doctor if you suspect a deficiency (common signs include muscle cramps, poor sleep, and fatigue).
For headaches that don’t respond to over-the-counter approaches, prescription preventive options exist, typically taken daily in low doses. These work by lowering the baseline tension in your nervous system rather than blocking pain after it starts. Most take two to four weeks to reach full effect, and your doctor will likely suggest continuing lifestyle modifications alongside any prescription.

