Blue Light and Sleep: How Screens Disrupt Your Sleep (and What to Do About It)
Blue light and sleep have a complicated relationship. Staring at your phone before bed really does make it harder to fall asleep, and the science behind why is surprisingly straightforward. When blue light from screens hits your eyes in the evening, it blocks the release of melatonin, the hormone your brain uses to signal that it is time for sleep. The result: you lie in bed feeling wide awake long after you have put the phone down.

TL;DR
Blue light (around 480 nm) from screens suppresses melatonin, the hormone that signals your body it is time to sleep. A 2024 study found that just two hours of evening screen exposure can delay melatonin onset by about 30 minutes and push your internal clock back by over an hour. Interactive screen use in bed (gaming, messaging) is more harmful than passive viewing: a 2024 JAMA Pediatrics study found gaming in bed reduces total sleep by roughly 17 minutes per 10-minute session. Blue light blocking glasses show inconsistent results; a 2023 Cochrane review called the evidence inconclusive and of low certainty. The most effective habits: dim your lights 60-90 minutes before bed, stop interactive screen use at least 30-60 minutes before sleep, and keep your bedroom dark.
How Does Blue Light Disrupt Your Sleep Hormones?
Your eyes contain special cells called intrinsically photosensitive retinal ganglion cells (ipRGCs). These cells are packed with a photopigment called melanopsin, which is extremely sensitive to light in the 460-480 nm range. That range lands squarely in the blue-green part of the visible spectrum, which is exactly where the light from phones, tablets, laptops, and LED TVs is most concentrated.
When these cells detect blue light in the evening, they send a signal to the suprachiasmatic nucleus, the master clock in your brain. The clock then tells your pineal gland to hold off on producing melatonin. The logic made perfect sense for most of human history: blue sky means daytime, so stop preparing for sleep. The problem is that your ipRGCs cannot tell the difference between a blue sky and a bright phone screen.
A 2025 study published in the journal Life exposed 12 healthy adults to either blue LED light (464 nm) or red LED light (631 nm) for three hours starting at 9 PM. After two hours of blue light exposure, melatonin levels dropped to just 7.5 pg/mL. The red light group recovered to 26.0 pg/mL. That is a 3-fold difference in melatonin levels, just from the color of the light. The researchers concluded that blue light causes a "stronger and more sustained melatonin suppression" than red light.
The practical result is that your body takes longer to feel sleepy, takes longer to fall asleep once you do get into bed, and in some cases gets less total sleep without you even realizing it.
How Many Hours Before Bed Should You Stop Using Screens?
The evidence suggests that the type of screen activity matters as much as how long before bed you stop using screens.
A 2024 study in Chronobiology in Medicine tracked university students and found that two hours of evening screen exposure caused an average 1.1-hour delay in circadian phase. Students who read from a tablet showed a 55% decrease in melatonin compared to those reading printed materials. That same evening tablet session was enough to push back the onset of melatonin by roughly 30 minutes.
A separate 2024 study published in JAMA Pediatrics monitored 79 young people aged 11-14 across 323 nights using objective video monitoring and wrist accelerometry. The results added an important nuance: screen time in the two hours before getting into bed had surprisingly modest effects on sleep. The real damage happened once they were already in bed. Gaming in bed reduced total sleep by approximately 17 minutes for every 10 minutes of play. Multitasking across multiple devices was associated with up to 35 minutes of lost sleep.
A rough practical target: aim to stop interactive screen use (social media, messaging, gaming) at least 30-60 minutes before you want to fall asleep. If you want to be more conservative, 90 minutes is supported by the circadian research. Passive activities like watching a calm show on a dim TV across the room are less harmful than scrolling on a bright phone held six inches from your face.
"In-bed screen use causes more sleep loss than pre-bed screen use. The most important change is putting your phone away when you get into bed."
Summary from the 2024 JAMA Pediatrics study
Do Blue Light Blocking Glasses Actually Work?
Blue light blocking glasses have become a billion-dollar industry, and it is worth being honest about what the evidence shows: the results are mixed, and the highest-quality reviews are not encouraging.
A 2023 Cochrane systematic review by Singh and colleagues analyzed 17 randomized controlled trials examining blue light filtering spectacle lenses. The reviewers concluded that the evidence for improved sleep was "inconclusive and of low certainty." Study results were mixed, with some showing improvement in self-reported sleep scores while others found no meaningful difference. The reviewers could not pool the data into a meta-analysis because the study designs were too different from one another.
There is a plausible reason glasses might underperform. Commercial blue light blocking glasses vary enormously in how much blue light they actually block. Some clear blue light glasses filter only 10-20% of blue light in the 450-490 nm range, which is far below what would be needed to meaningfully reduce ipRGC stimulation. The amber-tinted versions block more but change color perception significantly.
A more fundamental issue: total light intensity matters at least as much as wavelength. A dim amber-lit room will suppress less melatonin than a bright room with blue-blocking glasses on. If you are sitting under bright overhead lights while wearing blue light glasses, you may be getting less benefit than you expect.
The bottom line: blue light glasses might help at the margins, particularly the amber-tinted versions used for 2-3 hours before bed. But they are not a substitute for reducing screen brightness and ambient light intensity overall.
Is Night Mode or Dark Mode Enough?
Night mode (which shifts screen colors toward the warm/orange end) and dark mode (which uses dark backgrounds to reduce overall brightness) are both helpful, but neither eliminates the problem.
Night mode works by reducing the proportion of blue wavelengths in the screen's output. Apple's Night Shift, Android's Night Mode, and f.lux all do a version of this. Research suggests this can reduce melatonin suppression, but does not eliminate it. A screen in night mode at full brightness still emits enough short-wavelength light to activate ipRGCs.
Dark mode reduces the overall light output of the screen, especially on OLED displays where dark pixels are literally turned off. This reduces total photons reaching your eyes, which matters because light intensity (measured in lux) is a key driver of melatonin suppression, not just wavelength. In this sense, dark mode may be more meaningful than night mode.
The most useful pairing: use both. Set your phone and computer to dark mode and night mode simultaneously. Reduce screen brightness to the minimum comfortable level in the evening. And treat these as supplements to reducing screen time, not replacements for it.
A Practical Evening Digital Routine
Here is a simple framework that works with the research rather than against it.
- 2 hours before bed: Reduce overhead room lighting. Bright ceiling lights expose you to far more lux than your phone screen, so this step has outsized impact. Use lamps with warm-toned bulbs instead.
- 90 minutes before bed: Switch to dark mode and night mode. Drop screen brightness to 30-50%. This is also a good time to shift toward passive content (reading, listening) rather than interactive content.
- 30-60 minutes before bed: Put the phone in another room. The JAMA Pediatrics study is clear that in-bed screen use is where the most sleep is lost. The physical distance creates a useful barrier.
- At bedtime: Keep your bedroom as dark as possible. Use blackout curtains or an eye mask if needed. Even small LED indicator lights on electronics can register with your ipRGCs at light levels below what you consciously notice.
How piliq Fits In
piliq measures your sleep in real time, using your phone's sensors to track sleep stages, movement, and restlessness through the night. One feature that surprises users: the sleep data often shows clearly when pre-bedtime screen use pushed back their sleep onset, even when they did not consciously notice feeling delayed. Seeing the 40-minute difference between a no-screen night and a heavy-scroll night, plotted on the same graph, makes the research feel very real.
References
- Sanchez-Cano A, Luesma-Bartolomé MJ, Solanas E, Orduna-Hospital E. Comparative Effects of Red and Blue LED Light on Melatonin Levels During Three-Hour Exposure in Healthy Adults. Life (Basel). 2025;15(5):715. DOI: 10.3390/life15050715
- Brosnan B, Haszard JJ, Meredith-Jones KA, et al. Screen Use at Bedtime and Sleep Duration and Quality Among Youths. JAMA Pediatrics. 2024. DOI: 10.1001/jamapediatrics.2024.2914
- Alam M, Abbas K, Sharf Y, Khan S. Impacts of Blue Light Exposure From Electronic Devices on Circadian Rhythm and Sleep Disruption in Adolescent and Young Adult Students. Chronobiology in Medicine. 2024. DOI: 10.33069/cim.2024.0004
- Singh S, Keller PR, Busija L, et al. Blue-light filtering spectacle lenses for visual performance, sleep, and macular health in adults. Cochrane Database of Systematic Reviews. 2023. DOI: 10.1002/14651858.CD013244.pub2
- Harvard Health. Blue light has a dark side. health.harvard.edu
piliq shows you exactly how your pre-bed screen habits affect your sleep onset time. See the data for yourself.

