The short explanation
Both can play a part. Staring at a screen for hours in a dim room makes you blink less, so the eyes dry out, burn and ache. Night work also cuts into sleep, and tired eyes strain more easily. On top of that, a small uncorrected power in the eyes can make the focusing muscles work harder, which often shows up as a headache by the end of the shift. An eye test is the simple way to separate these. If the test finds a power, glasses for screen distance can help. If the eyes are healthy, changes to lighting, breaks and sleep usually ease the strain.
What depends on your situation
The parts of this that change from person to person. Uncertainty is stated, not hidden.
- Screen glare in a dark cabin is hard on the eyes. Keeping a soft light on behind the screen, lowering screen brightness to match the room, and looking away at something far for a few seconds every 20 minutes or so helps the focusing muscles relax.
- Daytime sleep is often broken by noise and light. Dark curtains and a fixed sleep window help. Headaches that are worse on waking, wake you from sleep, or come with vomiting or blurred vision need a doctor's check rather than just glasses.
What this answer cannot determine
The boundary of online education. These need a clinician who can see you.
- This cannot tell whether you need glasses or whether something else is causing the headaches. Only an eye test and, if needed, a general check-up can show that.
Questions for your clinician
Take these with you. You can add any of them to an appointment card.
- Do I have any power that could cause strain at screen distance?
- Are my eyes dry, and what can I do about it at work?
- Could my headaches be from something other than my eyes?
- Should I have my blood pressure checked as well?
When to seek help
Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.
Emergency — call 112 now
- Call 112 (or 108 for an ambulance) or go to the nearest emergency department now if you have a sudden severe headache, sudden double vision or sudden loss of vision, face drooping, or new weakness or slurred speech.
Get help the same day
- Get seen the same day if you have a painful red eye or blurring that does not clear after rest.
Raise it at a routine appointment
- Book an eye test at a government hospital eye department or an optometrist if the aching and headaches continue for more than a couple of weeks.
Sources
The evidence this explanation is built on.
- Eye care MedlinePlus (US National Library of Medicine)
- How often can I have an eye test? NHS
- Eye diseases MedlinePlus (US National Library of Medicine)
Who wrote and reviewed this
Every AskHim answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.
- Author
- AskHim Editorial (AI-assisted)
- Clinical reviewer
- Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHim’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
- Review status
- Editorially reviewed
- Last reviewed
- Last reviewed 11 November 2026
- Version
- 1
Correction history
Substantive changes are listed, not quietly edited away.
No corrections have been made since this answer was first published.
Did this answer your question?
Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.
“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.
Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.