DeskFit DeskFit
Neck & Shoulders

Tension headache from computer work: causes and simple fixes

A tight band around your head after hours at a screen? Here's why tension headaches happen at your desk and what helps.

Stewart Gauld
·
November 25, 2026
·
7
min read
Tension headache from computer work: causes and simple fixes

You're a few hours into a screen-heavy day and a dull ache creeps in. It feels like a tight band around your head, with stiffness in your neck and shoulders to match. A tension headache from computer work is one of the most common complaints among desk workers, and the good news is that it usually responds well to simple changes.

This guide explains what a tension headache is, why long stretches at a screen can set one off, and what you can do about it today: at your desk, in your routine and in the moment. You'll also find clear signs that mean it's time to see a doctor.

What a tension headache feels like

Tension-type headaches are the most common kind of headache. The NHS describes them as pain on both sides of the head, face or neck, often with a feeling of pressure or tightening around the head. Typical signs include:

  • A dull, aching pain rather than a throbbing one
  • Tightness or pressure across your forehead, or on the sides and back of your head
  • Tender muscles in your scalp, neck and shoulders
  • Pain that lasts at least 30 minutes, and sometimes much longer
  • You can usually carry on with your day, and moving around doesn't make it worse

That last point helps tell it apart from a migraine. According to Mayo Clinic, tension headaches usually don't come with visual disturbances, nausea or vomiting, and physical activity doesn't make them worse. A one-sided, throbbing headache with sickness or sensitivity to light is more likely to be something else and is worth discussing with a GP.

Doctors also split tension headaches by how often they happen. Episodic headaches occur on fewer than 15 days a month. Chronic tension headaches happen on 15 or more days a month for at least three months, and need a proper medical review.

Why computer work can trigger them

The exact cause of tension headaches isn't fully understood. Mayo Clinic notes that the old idea that they're simply caused by tight muscles isn't well supported, and that people who get them may be more sensitive to pain. Stress is the most commonly reported trigger.

A long day at a screen tends to stack several likely triggers on top of each other:

  • Stress and deadlines. Busy days, back-to-back meetings and a full inbox all add up.
  • Holding one position. Sitting still for hours, often with your head drifting forward towards the screen, leaves your neck and shoulders working hard with little relief. If neck pain often comes first, our guide to neck pain from sitting at a desk covers it in more detail.
  • Tired eyes. Focusing on a screen for long periods can cause eye strain, which often comes alongside headaches.
  • Skipped basics. Poor sleep, too much caffeine, not drinking enough water and missed meals are all common contributors.

You may not be able to remove every trigger, but you can reduce several of them at once.

Set up your desk to take the load off

A comfortable setup won't cure headaches on its own, but it can reduce the strain that builds up over a long day. Mayo Clinic's advice for sitting posture is to keep your thighs parallel to the floor and avoid letting your head slump forward. Here's how to get there:

  1. Adjust your chair first. Set the height so your feet rest flat on the floor and your thighs are roughly level.
  2. Bring the screen to you. Position your monitor about an arm's length away, with the top of the screen at or slightly below eye level, so you're not craning forward or looking down for hours. Our guide to monitor height walks you through it.
  3. Keep your keyboard and mouse close. Reaching forward pulls your shoulders up and in. Keep them near the edge of the desk so your elbows can rest by your sides.
  4. Cut the glare. Angle your screen away from bright windows and match its brightness to the room, so you're not squinting.
  5. Check in with yourself. A few times a day, notice whether your shoulders have crept up towards your ears or your chin has pushed forward, and reset.
Tension headaches rarely have one cause. Small changes to your setup, your breaks and your stress levels add up to fewer and milder headaches.

Gentle moves to ease head, neck and shoulder tension

These simple movements can help release tension during the day. Move slowly, go only as far as is comfortable and stop if anything hurts or makes your headache worse.

Man sitting upright on an office chair doing a gentle chin tuck with his shoulders relaxed
A gentle chin tuck helps bring your head back over your shoulders.

Chin tuck

Sit tall and look straight ahead. Gently draw your chin straight back, as if making a small double chin, keeping your eyes level. Hold for a few seconds, then relax. Repeat five to ten times.

Shoulder rolls

Lift your shoulders up towards your ears, roll them back and then let them drop down. Repeat five to ten times, keeping the movement slow and smooth.

Side neck stretch

Sit tall and let your right ear lower towards your right shoulder until you feel a gentle stretch along the left side of your neck. Hold for 15 to 20 seconds, breathing slowly, then swap sides. Don't pull on your head.

Slow breathing

Breathe in through your nose for a count of four, letting your belly rise, then breathe out slowly for a count of six. Repeat for a minute or two. It's a quick way to let your shoulders drop and take the edge off a stressful moment.

For more ideas, try our forward head posture exercises.

Habits that help prevent tension headaches

Changes to your routine often make the biggest difference. Both the NHS and Mayo Clinic point to stress management, regular exercise and good sleep as key parts of prevention.

Older woman standing by a window next to her desk, looking into the distance during a screen break
Stand up, look into the distance and give your eyes and shoulders a rest.
  • Take regular screen breaks. Stand up, look out of a window and move for a minute or two. The 20-20-20 rule is an easy way to rest your eyes too.
  • Watch your caffeine. The NHS lists caffeine as a common cause and suggests cutting down on tea, coffee and cola.
  • Protect your sleep. Sleep problems are a known trigger, so aim for a regular bedtime and wind down away from screens.
  • Eat and drink regularly. Don't skip lunch, and keep water on your desk.
  • Move every day. Regular exercise, yoga or a walk can help you relax and manage stress.
  • Keep a headache diary. Note when headaches start, what you were doing and what helped. Patterns often show up within a few weeks, and the notes are useful if you see a GP.

What to do when a headache starts

If a tension headache has already set in, these steps can help:

  • Step away from the screen for a few minutes and rest your eyes.
  • Use heat or cold. Mayo Clinic suggests rest, an ice pack or a long, hot shower. A warm compress or wheat bag on tight neck and shoulder muscles can also feel soothing.
  • Try the gentle moves above and some slow breathing.
  • Consider over-the-counter pain relief such as paracetamol or ibuprofen, following the label. A pharmacist can help you choose.

Be careful not to rely on painkillers too often. Mayo Clinic warns that repeated use can cause medication overuse headaches, and advises seeing a doctor if you need medicine for tension headaches more than twice a week.

When to see a doctor

Most tension headaches are harmless, but see a GP if:

  • You get headaches several times a week, or they're severe
  • You need painkillers for headaches more than twice a week
  • Painkillers and self-care aren't helping, or headaches are getting worse
  • Your headaches change pattern or suddenly feel different
  • You have throbbing pain on one side or at the front of your head, or feel sick, vomit or find light or noise painful

Get urgent medical help (call your GP, a health line or emergency services) if you have:

  • A sudden, extremely painful headache
  • A headache after a head injury, such as a fall or knock
  • A headache with fever, a stiff neck, confusion, drowsiness, seizures, or problems speaking or remembering
  • A headache with numbness, tingling or weakness in your arms or legs
  • A headache with blurred or double vision, loss of vision, jaw pain when eating or a sore scalp

The bottom line

A tension headache from computer work is common and usually manageable. Set up your desk so your head stays level and your shoulders stay relaxed, take regular breaks from the screen, keep stress, caffeine and sleep in check, and use gentle movement, heat or rest when a headache starts. If headaches are frequent, severe or changing, get them checked.

This post is general information, not medical advice. If you have ongoing, severe or worsening symptoms, see a doctor or physiotherapist.

← All posts

Reading about it is step one.

DeskFit gets you up every 20 minutes and won't let you skip the reps. Claim your 7-day free trial, then only $49.99 per year.

Get DeskFit
© 2026 DeskFit Limited. All rights reserved.
Terms and ConditionsPrivacy Policy