Lying awake while the clock ticks is one of the most frustrating experiences. But inability to sleep is rarely random — it almost always has specific, identifiable causes. Here are the 8 most common reasons you cannot sleep at night and what to do about each one.

Why You Cannot Sleep

The most common causes of inability to sleep are: too much screen light before bed, a racing mind and anxiety, consuming caffeine too late, irregular sleep schedules, a sleep environment that is too warm or bright, conditioned wakefulness, sleep apnea, and underlying anxiety or depression.

1 Blue Light from Screens

Easy Fix

Your body clock relies on light to know when to release melatonin. Blue light from phones, tablets, and laptops mimics daylight and suppresses melatonin production by up to 85% for hours after exposure. Scrolling your phone in bed is biologically equivalent to staring at the morning sun.

Fix: Stop screens at least 60 minutes before bed. Enable Night Mode or Warm Color on your devices for the evening hours. Use dim, warm-toned lighting in the evening rather than bright overhead lights.

Pro Tip: Even switching to an audiobook or podcast on your phone with the screen off is far better than active screen use at night.

2 Anxiety and Racing Thoughts

Medium Fix

The quiet darkness of bedtime removes all the distractions that kept anxious or worrying thoughts at bay during the day. The moment you stop being busy, suppressed thoughts surface. This is extremely common and is the primary driver of sleep-onset insomnia.

Fix: Schedule a “worry time” earlier in the evening — 20 minutes to write down your concerns and any action steps. This externalizes the thoughts so your brain does not need to rehearse them at bedtime. Progressive muscle relaxation and deep breathing exercises also directly activate the parasympathetic nervous system, making sleep easier to achieve.

3 Caffeine Too Late in the Day

Easy Fix

Caffeine has a half-life of 5-7 hours — meaning half of a 3 PM coffee is still active in your system at 10 PM. It blocks adenosine receptors, the brain’s sleep-pressure signals, directly delaying sleep onset. Many people do not connect their nighttime wakefulness to caffeine consumed hours earlier.

Fix: Cut your last caffeine intake to before 2 PM. Remember that tea, soft drinks, chocolate, and some medications also contain caffeine. Within 1-2 weeks you will notice significantly easier sleep onset.

4 Irregular Sleep Schedule

Easy Fix

Your circadian rhythm is a precise biological clock that prepares your body for sleep at a consistent time each night. Varying your sleep and wake times by even 1-2 hours (as most people do between weekdays and weekends) disrupts this clock, making it genuinely harder to fall asleep at your intended time.

Fix: Set a fixed wake time and maintain it every day, including weekends. Do not vary it by more than 30 minutes. The wake time is more important than the bedtime — consistent waking regulates the entire clock.

5 Room Too Warm or Bright

Easy Fix

Core body temperature must drop 1-2 degrees Fahrenheit to initiate sleep. A warm room prevents this drop. Similarly, even small amounts of light through eyelids can suppress melatonin and prevent deep sleep stages. Street lights, standby LEDs, and early morning light all interfere.

Fix: Set your bedroom temperature to 65-68 degrees Fahrenheit. Use blackout curtains or a sleep mask. Cover or remove LED indicators from electronics in your bedroom.

6 Conditioned Wakefulness

Medium Fix

If you have spent many nights lying awake in bed, your brain has been conditioned to associate your bed with wakefulness and frustration rather than sleep. This is a form of learned insomnia and one of the main reasons short-term sleep problems become chronic.

Fix: Only go to bed when genuinely sleepy (not just tired). If you have been awake for 20 minutes, get up and do something quiet in dim light until you feel sleepy, then return to bed. Staying in bed awake strengthens the wrong association.

7 Sleep Apnea

See a Doctor

Sleep apnea does not just cause snoring and daytime fatigue — it can also cause repeated awakenings through the night, difficulty staying asleep, and waking gasping. Many people with sleep apnea have no idea they have it.

Fix: If a partner reports snoring, gasping, or breath-holding during your sleep, ask your doctor for a sleep study. Modern home sleep tests make this easy. CPAP therapy resolves virtually all sleep disruption caused by apnea.

8 Underlying Anxiety or Depression

See a Doctor

Anxiety and depression are among the most common causes of chronic insomnia. Anxiety typically causes difficulty falling asleep (the mind won’t quiet). Depression often causes early morning waking (waking at 3-4 AM and being unable to return to sleep) which is a classic symptom.

Fix: If sleep problems are accompanied by persistent low mood, constant worry, or loss of interest in things you used to enjoy, speak with your doctor. Treating the underlying condition almost always resolves the insomnia along with it.

Bottom Line

Tonight: stop screens an hour before bed, make your room cooler and darker, and cut off caffeine at 2 PM. These three changes alone resolve sleep-onset insomnia for many people within a week. For persistent problems, Cognitive Behavioral Therapy for Insomnia (CBT-I) is the most effective treatment available — more effective than sleep medication and with no side effects.