Most headaches that come from desk work are tension-type headaches: a steady, pressing ache on both sides of the head, or a band around the forehead, sometimes with tight neck and shoulders. The NHS describes them as the most common type of headache, and lists poor posture, eye strain, stress, dehydration and skipping meals among the things that bring them on.

A computer does not cause headaches by itself. What it does is gather several triggers into one long, still session. The trick is working out which of them is doing the most damage for you.

The usual suspects

  • Eye strain. Hours of close focus, reduced blinking and squinting at small text add up. The American Academy of Ophthalmology lists headaches as one of the main symptoms of digital eye strain. These headaches tend to sit around the eyes, brow or temples.
  • Uncorrected vision. A mild prescription you have never had corrected, an out-of-date one, or the normal age-related focusing change that starts in the forties, can all leave your eyes working harder all day. The American Optometric Association names uncorrected vision problems as a key contributor to screen symptoms.
  • Glare and brightness. A screen much brighter than the room, a window reflecting off the display, or flickering overhead lighting all make you squint and tense the muscles of your face and forehead.
  • Posture and neck tension. Leaning toward a laptop, craning up at a high monitor, or holding your shoulders up while you type loads the muscles of the neck and upper back. Mayo Clinic notes that tight neck and shoulder muscles are commonly involved in tension-type headaches.
  • Dehydration and skipped meals. Absorbing work makes it easy to forget to drink or to push lunch back. Both are well-known headache triggers, and the NHS lists headache among the early signs of dehydration.
  • Long uninterrupted sessions. This is less a separate cause than an amplifier. Two hours without moving lets every other trigger build at once: stiff neck, dry eyes, no water, no food.

Work out which is yours

For a week, when a headache arrives, jot down three things: where it hurts, what time it started, and what you were doing. Then compare your notes with the table.

If you noticeSuspectQuick test
Ache behind the eyes or across the brow, with tired or blurry visionEye strainTake regular distance breaks for a week and see if it eases
Worse after reading small text; you lean in or squintUncorrected visionEnlarge text to 125% for a few days; book an eye exam
Worse near a window, in bright offices, or late in the day as light changesGlare or brightnessTurn the desk side-on to the window and match screen brightness to the room
Starts at the base of the skull or neck and spreads forward; shoulders feel tightPosture and neck tensionRaise the laptop or lower the monitor; roll your shoulders each hour
Arrives mid-afternoon, especially on busy days with no proper lunchDehydration or low foodKeep a full glass on the desk; eat at a set time
Only on days with long meetings or deep-focus blocksLong sessions without breaksStand and move for a few minutes every hour
Throbbing, one-sided, with nausea or light sensitivityPossibly migraine, not just strainTalk to a GP or doctor about it

Change one or two things at a time. If you change everything at once, you will feel better but will not know which change mattered, and that makes it harder to keep the useful habit.

Fixes, cause by cause

For eye strain

Follow the 20-20-20 rule: every 20 minutes, look at something about 20 feet away for 20 seconds. In a 2023 trial, computer users prompted to take these breaks reported less eye strain after two weeks, although the benefit faded once the reminders stopped. Add a few slow, complete blinks each time, especially if your eyes also feel dry. Our guide to dry eyes from screens covers that side.

For uncorrected vision

Book a routine eye exam and tell the optometrist how far away your screen sits. Glasses that are right for driving or reading a book are not necessarily right for a monitor at arm’s length. If you are over 40 and your headaches started alongside trouble with small print, this is a strong lead.

For glare and brightness

  • Place the screen at a right angle to windows rather than facing or backing onto them.
  • Set brightness so a white page looks similar to a sheet of paper on your desk.
  • Use a desk lamp to light papers instead of turning the room lights up.
  • Try a matte screen filter if reflections persist, as the Academy suggests.

For posture and neck tension

  • Put the top of the screen at or slightly below eye level, around an arm’s length away.
  • On a laptop, use a stand with a separate keyboard so you are not looking down all day.
  • Rest your feet flat and your forearms on the desk or armrests, shoulders down.
  • Every hour, stand up, roll your shoulders back and gently tilt your head side to side.

For dehydration and skipped meals

Keep water within reach and refill it at each break, so drinking becomes part of a routine you already have. Eat lunch away from the desk at a regular time, and keep a simple snack around for long afternoons.

For long sessions

Plan short breaks rather than relying on noticing when you need one, because by then the ache has usually started. Our guide to how often to take screen breaks suggests a rhythm of short eye breaks plus a longer stand-and-move break every hour or so. If remembering is the problem, a reminder helps: EyeRest Flow, for example, prompts eye breaks from your Mac’s menu bar, adds optional posture nudges, and waits until your call or recording has finished before it interrupts.

A ten-minute end-of-day routine

Many work headaches peak just as the day ends. A short wind-down helps stop the ache following you into the evening.

  1. Close the laptop and look out of a window for a minute. Let your eyes rest on the furthest thing you can see.
  2. Drink a full glass of water.
  3. Loosen your neck and shoulders: five slow shoulder rolls backward, then hold a gentle ear-to-shoulder stretch on each side for 20 seconds.
  4. Close your eyes and breathe slowly for two minutes. A warm cloth over the eyes feels good if they are tired.
  5. Walk for five minutes, outside if you can, before picking up your phone.
  6. Note whether you had a headache today and roughly when. Over a couple of weeks, the pattern tells you more than any single day.

A note on painkillers

Over-the-counter pain relief is fine for an occasional headache. But the NHS warns that taking painkillers on many days a month can itself cause headaches, known as medication-overuse headaches. If you find yourself reaching for tablets most working days, that is a sign to look harder at the causes above and to speak to a pharmacist or doctor.

When to see a doctor

Get urgent help if a headache

Comes on suddenly and severely, like the worst you have ever had. Comes with weakness, numbness, drooping on one side of the face, slurred speech, confusion or loss of vision. Follows a blow to the head. Comes with a high temperature, stiff neck or a rash. Comes with a painful red eye.

These are not screen headaches. The NHS advises calling emergency services or going to A&E.

Make a routine appointment with your doctor if headaches are getting more frequent or more severe, wake you up at night, are worse when you cough or strain, started after age 50 with no obvious reason, or have not improved after a few weeks of the changes in this guide. A pattern of headaches together with blurry or changing vision is a reason to see an optometrist as well.

Sources

This article provides general information and is not medical advice. If you are worried about a headache, speak to a doctor.