DevWorkspace Pro

Digital eye strain for programmers: what the research says

Why long coding sessions tire your eyes: blink rate, incomplete blinks and fixed focus. What studies found and practical steps for screen work.

Updated 5 min read
On this page
  1. In short
  2. How common is digital eye strain?
  3. Why coding is hard on your eyes
  4. What studies and the AAO suggest
  5. Make breaks automatic
  6. A two-minute check of your desk setup
  7. References

Ever rubbed your eyes after a long debugging session and found them dry, hot or gritty? You are far from alone.

Coding means hours of close focus at one distance, with few pauses. That pattern has a name: digital eye strain, also called computer vision syndrome. This guide sums up what peer-reviewed research and the American Academy of Ophthalmology (AAO) say about it, then gives you practical steps.

This article is general information, not medical advice. If you have persistent or severe symptoms, see an eye doctor.

In short

  • Reviews estimate that half or more of computer users have symptoms.
  • At a screen, people blink less often and less completely. Deep concentration may play a big part.
  • Screens do not permanently damage the eyes, according to the AAO. The discomfort is real, though.
  • Regular breaks, full blinks and a good screen position have the best support. Blue-light glasses may not help.

How common is digital eye strain?

Common. A review in BMJ Open Ophthalmology estimated that the prevalence may be 50% or more among computer users (Sheppard & Wolffsohn, 2018). An earlier review reported that between 64% and 90% of computer users have visual symptoms such as eyestrain, headaches, dry eye and blurred vision (Rosenfield, 2011).

The reviews describe two main groups of symptoms:

Group Examples
Focusing and eye-alignment stress Tired eyes, blurred vision, difficulty refocusing at distance
Eye-surface (dry eye) symptoms Dryness, burning, grittiness, redness

The good news: the AAO says screens do not permanently damage the eyes. The symptoms are discomfort, and they are typically temporary. But they can show up often, and they affect how well you work.

Why coding is hard on your eyes

You blink less

The AAO states that people normally blink about 15 times a minute, and that studies show about 5 to 7 blinks a minute during screen use (AAO, 2024). An early study found an average five-fold drop in blink rate during screen use (Patel et al., 1991).

Each blink spreads a fresh tear film over the eye. Fewer blinks give the surface more time to dry out.

Your blinks are only half done

A blink can be partial, where the upper lid does not close all the way. Portello et al. (2013) filmed 21 people during 15 minutes of computer reading. Symptoms were linked to the share of incomplete blinks.

Here is the interesting part. When a tone made people blink faster, symptom scores did not change. The authors suggested that complete blinks may matter as much as the blink rate.

Concentration plays a part, not only the screen

So is it the screen, or the task? Chu et al. (2014) compared reading the same text on a monitor and on paper, at the same distance, size and contrast. Blink rates were similar. The computer condition had a higher share of incomplete blinks. The authors proposed that earlier differences in blink rate came mostly from cognitive demand.

That matters for developers. Debugging and code review are high-demand tasks. The harder you concentrate, the less you may blink.

A fixed distance and wide-open eyes

Rosenfield (2011) also points to eye exposure. A monitor often sits straight ahead at eye level, which increases the exposed area of the eye surface. The review links this, together with fewer and smaller blinks, to dry eye symptoms during computer work.

What studies and the AAO suggest

The evidence for many fixes is limited, and the reviews above say so directly. These steps have support from the AAO or from studies:

Step Source
Take regular breaks. Every 20 minutes, look at something 20 feet away for 20 seconds. AAO; a 2023 trial found fewer symptoms while reminders were active (Talens-Estarelles et al.)
Blink often and fully AAO, 2024; Portello et al., 2013
Sit about 25 inches (arm's length) from the screen, and look slightly down at it AAO, 2024
Use artificial tears when your eyes feel dry AAO, 2024
Correct refractive error and get dry eye checked Sheppard & Wolffsohn, 2018

What about blue-light glasses?

A 2023 Cochrane review found that blue-light filtering lenses may not reduce eye strain from computer use in the short term. The AAO does not recommend them for computer use.

Make breaks automatic

Breaks cost nothing, which also makes them the easiest step to forget. In the 2023 trial, the benefit did not last after the reminders stopped (Talens-Estarelles et al., 2023). A reminder that stays on is the practical answer. To try it now, our free 20-20-20 timer runs in a browser tab and dims the page when a break is due.

DevWorkspace Pro includes Eye Care, which uses a 20-20-20-20 rule. Every 20 minutes, look at something at least 20 feet away for 20 seconds, and blink 20 times. That fourth 20 is a nudge toward slow, complete blinks.

  • All screens dim during the break. You can still see through the dim layer.
  • The dim layer does not take the keyboard focus. A build, a call or a terminal command keeps going.
  • Snooze 5 min and Skip are one click away.
  • When you are away from the keyboard and mouse for a few minutes, the interval starts again.

Turn it on in Preferences → Utilities. You can set the interval from 5 to 120 minutes and the break from 10 to 300 seconds.

A two-minute check of your desk setup

  • Is your screen at about arm's length?
  • Is the top of the screen at or slightly below eye level?
  • Is there a window or a far wall to look at during breaks?
  • Do you have a reminder that runs all day?
  • Have you had an eye exam recently? An uncorrected prescription adds strain.

References

FAQ

Frequently asked questions

What is digital eye strain?

Digital eye strain, also called computer vision syndrome, is a group of eye and vision symptoms linked to screen use, for example tired eyes, dryness, blurred vision and headaches. Reviews estimate that 50% or more of computer users have symptoms.

Why do my eyes feel dry when I code?

Studies found that people blink less, and less completely, during screen work. One study linked the share of incomplete blinks to symptoms. Concentration may be part of the cause, because one study found similar blink rates for screen and paper reading under matched conditions.

Does screen time permanently damage the eyes?

The American Academy of Ophthalmology says screens do not permanently damage your eyes. The symptoms of digital eye strain are typically temporary.

When should I see an eye doctor?

When symptoms are persistent or severe, for example ongoing pain, blurred vision or headaches. Uncorrected vision problems and dry eye disease can need professional care.

Related

All guides

DevWorkspace Pro

One workspace for every project

Files, Git, GitHub, AI agents, the terminal and your runtimes in one desktop app. Works with every project folder.

macOS Windows Linux