Guide
Tension headache from computer work
The band-around-the-head feeling that arrives around 3 pm is rarely a mystery. Here’s why screens set it off, how to tell it apart from the headaches that need a doctor, and a short daily habit that office-worker trials actually support.
Updated
Why computer work sets off tension headaches
Tension-type headache is the most common kind of headache there is. Cleveland Clinic describes it as a dull, constant pressure, often like “a tight band wrapped around your head,” that tends to feel better in the morning and worse in the evening. If that’s the arc of your workday, you’re in good (if achy) company.
Nobody knows the exact cause. One leading idea is that tight muscles between the head and neck play a part, and the list of known triggers reads like a job description for desk work:
- Poor posture and neck strain. As your head drifts toward the screen, the muscles at the back of your neck and the top of your shoulders work harder to hold it up, for hours.
- Eye strain. Holding close focus on a screen all day tires the eyes, and Cleveland Clinic names eye strain from long screen use as a trigger.
- Stress. Deadlines, a busy inbox, and shoulders that creep up toward your ears during a tense call.
- Sleep problems. A short night makes the next screen day harder on your head.
- Caffeine. The NHS lists it as a common trigger, and too much, or a sudden drop when you skip your usual cup, can both play a part.
A headache specialist at Premier Health makes the same point: the bright screen may contribute, but posture, office lighting such as fluorescent tubes, and caffeine deserve just as much suspicion. Turning your brightness down and calling it fixed rarely works on its own.
Is it a tension headache? A quick check
“Computer headache” is not one thing. Most desk headaches are tension type, but eye strain, a problem in the neck itself, and migraine can all show up at the keyboard, and they don’t all want the same fix.
| What you feel | Likely type | What helps first |
|---|---|---|
| Dull pressure on both sides, like a tight band; tender neck and shoulders; you can keep working | Tension-type headache | The routine below, regular breaks, setup fixes |
| Ache around or behind the eyes and forehead, tired or dry eyes, blurry focus late in the day | Eye strain (often alongside tension headache) | 20-20-20 breaks, less glare, an eye test |
| One-sided pain that starts at the base of the skull or neck and moves forward; worse when you move your neck | Possibly cervicogenic headache (from the neck) | Gentle neck work; see a physio if it keeps coming back |
| Throbbing, often one-sided pain with nausea, or light and noise feel painful | Possibly migraine | Rest, your usual treatment, see a GP if new or frequent |
The table is a rough guide, not a diagnosis. Cleveland Clinic’s cervicogenic headache page notes that neck-driven headaches can feel like migraine because both tend to be one-sided, but come without the light sensitivity, sound sensitivity, and nausea. If your headaches change pattern, a doctor is the right person to sort out which is which.
Why stretching alone isn’t the whole fix
Most articles on this topic stop at two neck stretches and a glass of water. The research on office workers suggests that leaves the better half of the answer out.
In a 12-month randomized trial in the Journal of Rehabilitation Medicine, 180 female office workers with chronic neck pain did one of three programs. Headache fell by 69% in the group doing strength exercises plus stretches, 58% in the endurance group, and 37% in the group that only stretched. Stretching helped, but it was the weakest of the three.
A Danish team then tested a simpler workplace version. In a 20-week cluster trial of 351 office workers, three 20-minute sessions a week of shoulder exercises with dumbbells (front raises, lateral raises, reverse flies, and shrugs) reduced headache intensity and headache days compared with no training, and it worked just as well with minimal supervision as with close coaching.
The part that matters most for a busy desk day comes from a follow-up analysis of 573 office workers published in Musculoskeletal Science and Practice in 2017. One hour a week of neck and shoulder strength training cut headache frequency and intensity by roughly 50% compared with no training, whether people did it as one 60-minute session, three 20-minute sessions, or nine 7-minute sessions. The authors’ conclusion: how you split the hour barely matters.
A few honest caveats. These trials studied office workers, many with existing neck pain, so they don’t prove the same results for everyone. The first trial wasn’t blinded, and exercise programs are hard to blind in general. Still, the direction is consistent across all three: stretch, yes, but also give your neck and shoulders some light work to do, and spread it through the week.
The 7-minute desk routine
This combines the release stretches that feel good in the moment with the kind of light shoulder work used in the trials. Do the stretches whenever tension starts to build. Do the strength moves once or twice a workday to work toward the hour a week used in the trials. For the shoulder exercises, use light dumbbells (1–3 kg is plenty to start), a resistance band, or two full water bottles in a pinch.
1. Chin tucks
- Setup: sit tall, shoulders relaxed, eyes level with the horizon.
- Move: glide your head straight back, as if making a double chin, without tipping your face up or down. You should feel a gentle stretch where the skull meets the neck.
- Reps: hold 5 seconds, 10 times.
- Don’t: nod or push your chin down to your chest. It’s a slide, not a bow.
2. Side neck stretch
- Setup: sit tall and hold the edge of your chair seat with your right hand to anchor that shoulder down.
- Move: tilt your left ear toward your left shoulder until you feel a stretch along the right side of your neck. Rest your left hand lightly on your head if you want a little more.
- Hold: about 30 seconds per side.
- Don’t: pull with your hand or lift your shoulder to meet your ear. If it causes pain, ease off.
3. Back-of-neck stretch
- Setup: sit tall, looking straight ahead, back in line with your head.
- Move: slowly lower your chin toward your chest until you feel a stretch at the back of your neck and the base of your skull. This is a Penn State Health pick for tension headaches.
- Hold: about 30 seconds, then raise your head slowly.
- Don’t: round your whole back to get your chin lower. The bend comes from the neck.
4. Shoulder blade squeezes
- Setup: sit or stand tall, arms by your sides.
- Move: draw your shoulder blades back and slightly down, as if tucking them into your back pockets.
- Reps: hold 5 seconds, 10 times.
- Don’t: shrug up or arch your lower back to fake it.
5. Shrugs
- Setup: stand with a light weight in each hand, arms hanging straight.
- Move: lift your shoulders straight up toward your ears, pause, then lower them slowly over about three seconds.
- Reps: 2 sets of 10–12.
- Don’t: roll your shoulders in circles or jerk the weight up.
6. Lateral raises
- Setup: stand tall, a light weight in each hand, elbows very slightly bent.
- Move: raise both arms out to the sides until they’re level with your shoulders, then lower slowly.
- Reps: 2 sets of 10–12.
- Don’t: swing, or lift above shoulder height. If the last few reps aren’t smooth, the weight is too heavy.
7. Reverse flies
- Setup: stand with knees soft and hinge forward at the hips with a flat back, arms hanging down, a light weight in each hand. A band pulled apart in front of your chest works too.
- Move: with a slight bend in the elbows, open your arms out to the sides, squeezing your shoulder blades together, then lower slowly.
- Reps: 2 sets of 10–12.
- Don’t: round your back or crane your neck up to look ahead. Keep your gaze on the floor.
Finish with a 20-second eye break: look at something at least 20 feet away and let your focus relax. The 20-20-20 rule guide explains why that tiny pause does so much for screen-tired eyes. If your neck has already settled into a forward-head habit, the tech neck stretches are the natural next step.
Fix the setup that keeps restarting it
Exercise helps you cope with the load. Your desk decides how big the load is. A few changes that come up again and again in clinical advice:
- Screen at eye level. The top of your monitor should sit at or just below eye height, about an arm’s length away. On a laptop, a stand plus a separate keyboard is the single biggest upgrade for your neck.
- One main screen in front of you. If you use two, put the one you look at most directly ahead instead of splitting the difference and twisting all day.
- Kill the glare. Position screens side-on to windows, tilt them away from overhead lights, and match brightness to the room. Squinting is a tension headache in slow motion.
- Get your eyes checked. An old prescription makes your eyes and face work harder to focus, especially at screen distance.
- Watch the caffeine curve. Keep intake steady and moderate, and don’t skip your usual coffee on a busy day and then wonder about the afternoon.
- Drink water. Keeping a bottle on the desk is cheap insurance, and refilling it is a free excuse to stand up.
- Check your shoulders during calls. If they’ve climbed toward your ears, drop them and breathe out. Stress lands in the upper traps first.
A workday plan that keeps the band loose
The trials point to roughly an hour a week of strength work, spread however you like. Tension headaches also build across the day, so breaking up long screen stretches matters as much as the total. Here’s one way to fit both into a normal workday:
| When | What | Time |
|---|---|---|
| Every 20 minutes | 20-second look into the distance | 20 s |
| Every 30–60 minutes | Stand up, chin tucks, side neck stretch | 1–2 min |
| Once a day, most days | The full 7-minute routine, strength moves included | 7 min |
| After long or tense calls | Shoulder blade squeezes, drop the shoulders, refill water | 1 min |
| End of the day | Back-of-neck stretch and a short walk | 5–10 min |
Seven minutes on each of five workdays is 35 minutes. Do the strength half twice on some days, or add a session at the weekend, and you’re near the hour a week that worked in the trial. The hard part is remembering when you’re deep in a spreadsheet. Tie the routine to things that already happen (the end of standup, the post-lunch coffee) and use reminders for the rest. There’s more on making it stick in how to remember to stretch at work, and on timing breaks in how often you should stretch at work. A stretch reminder app like Stiff keeps nudges inside your work hours, has a “Snooze 10 min” for calls that run over, and hands you the stretch so you don’t have to decide. The sloth mascot has never had a headache, mostly because it has never worked a day in its life.
Common mistakes
- Taking painkillers most days. Over-the-counter pain relief is fine now and then, but Cleveland Clinic suggests keeping it to about 10 days a month, because overuse can cause rebound headaches. If you’re past that, talk to a doctor or pharmacist.
- Cranking on your neck. Stretches should feel like a gentle pull. Yanking your head with your hand or rolling it in fast circles won’t loosen anything faster.
- Only stretching once it hurts. Relief stretches help, but the trials that cut headaches used regular strength work over weeks. Prevention is the part that adds up.
- Blaming the screen alone. Night mode and blue light glasses won’t fix a laptop that has your chin pointing at your desk.
- Going heavy. Lifting weights that are too heavy makes you shrug, hold your breath, and clench your jaw, which is the tension pattern you’re trying to escape. Light and controlled wins.
- Powering through until 6 pm. One break at the first sign of tightness beats two hours of “I’ll finish this first.”
When to see a doctor
Most desk tension headaches are a nuisance, not a warning sign. The NHS says tension headaches are not a sign of an underlying condition. But see a doctor if:
- You get headaches several times a week, or they’re severe.
- Painkillers, breaks, and relaxation don’t help.
- The pain is throbbing at the front or on one side of your head, or comes with feeling sick, vomiting, or finding light or noise painful, which may point to migraine.
- Your headaches feel different from usual or are becoming more frequent.
- Pain only appears in certain positions, or one-sided pain keeps starting from your neck.
Get urgent help for a headache that comes on suddenly and is extremely painful, or one that follows a head injury. The same goes for a headache with jaw pain when eating, blurred or double vision, a sore scalp, numbness or weakness in the arms or legs, trouble speaking or remembering, confusion, or a high temperature with a stiff neck. The NHS and Cleveland Clinic both list these as signs that need prompt medical care, and none of them belong in a desk-stretch guide.
If the ache sits more in your neck and shoulders than your head, start with the neck and shoulder pain from sitting guide.
The bottom line
- Desk tension headaches feel like a band of pressure on both sides of the head, often with tight neck and shoulders.
- The usual suspects are a craned neck, tired eyes, stress, skipped water, and caffeine timing, not the screen’s brightness alone.
- Stretching helps, but in office-worker trials, adding light neck and shoulder strength work helped headaches more.
- About an hour a week worked even when split into 7-minute sessions, so little and often is enough.
- A sudden, severe, or new kind of headache, or one with numbness, vision loss, or confusion, needs urgent care, not a stretch.
Stiff shares general wellness information, not medical advice. If you have an injury, chronic pain, or a medical condition, check with a healthcare professional before starting a stretching routine, and stop any stretch that causes pain.
Frequently asked questions
Can sitting at a computer all day cause tension headaches?
It can contribute. Cleveland Clinic lists poor posture, neck strain, eye strain from long screen use, and stress among the common triggers for tension-type headaches, and a day at a computer can supply all four. The exact cause of tension headaches still isn’t fully understood, so think of the desk as a frequent trigger rather than the single cause.
Where do you feel a tension headache from computer work?
Usually on both sides of the head, often as a band of pressure across the forehead, temples, or the back of the head, sometimes with tight, tender neck and shoulder muscles. The NHS describes it as feeling like something is pressing on your head or being tightened around it. Pain that is one-sided and throbbing, or comes with nausea and sensitivity to light, points more toward migraine.
What stretches help a tension headache at your desk?
Gentle chin tucks, a side neck stretch (ear toward shoulder), a chin-to-chest stretch for the back of the neck, and shoulder blade squeezes are the usual desk picks. Hold stretches for about 30 seconds without forcing them. In office-worker trials, adding light neck and shoulder strength exercises helped headaches more than stretching alone.
Can eye strain from a screen cause a headache?
Yes. Long stretches of close focus tire the eyes, and eye strain from screen use is on Cleveland Clinic’s list of tension headache triggers. The 20-20-20 rule (every 20 minutes, look at something 20 feet away for 20 seconds), reducing glare, and an up-to-date glasses prescription are the standard fixes.
How long does a tension headache last?
Cleveland Clinic says episodes can last from 30 minutes to a week, with an average of four to six hours. Desk-related ones often build through the afternoon and feel worse by evening. If you get them on 15 or more days a month for three months, that counts as chronic tension-type headache and is worth discussing with a doctor.
Why do I get a headache every day after work?
A daily end-of-day headache often comes from hours of unbroken screen focus, a craned neck, skipped water, and caffeine timing, all stacking up. Regular movement breaks, a better screen setup, and steady hydration help many people. Frequent painkiller use can also cause rebound headaches, so if you take something most days, talk to a doctor or pharmacist.
Is there an app that reminds you to stretch your neck before a headache starts?
Stiff sends stretch reminders inside the work hours you choose, every 30 to 120 minutes, and each one opens 1–3 illustrated, timed stretches that can include neck, shoulder, and eye exercises. It also has guided programs such as Neck & Shoulder Reset and Screen Break for when the tightness has already started.
Learn more
Desk stretches by body area
Neck, shoulders, eyes, and the rest in one office-safe library.
Read more →Neck & shoulder pain from desk work
Six release stretches for the ache that often comes first.
Read more →The 20-20-20 rule for eye strain
The eye half of the computer headache, in 20 seconds.
Read more →Tech neck stretches
Bring your head back over your shoulders, where it’s lighter.
Read more →Download Stiff
Stop your neck from writing the 3 pm headache
Stiff nudges you through the workday with a quick neck, shoulder, or eye stretch, long before the tension band tightens. Your head just has to show up.
Free to download on iPhone and Android.