A wooden nightstand with a stack of books and a black alarm clock beside an unmade bed

Insomnia

Can't Fall Asleep at Night? Causes and What Helps

Why you cannot fall asleep: racing thoughts, a late body clock, caffeine, evening light. How to tell which fits, a two-week plan, and when to see a doctor.

Typical costFree
TimeAbout 2 weeks to test
DifficultyPro needed for some steps

Key takeaways

  • Common causes are racing thoughts, a late body clock, stimulants and evening light.
  • Keep a fixed wake time, get morning daylight and wind down in dim light.
  • If you stay awake and frustrated in bed, get up and do something quiet until sleepy.
  • See a doctor if it happens three nights a week for three months or affects your days.

You usually cannot fall asleep because your body or mind is still alert when you get into bed. The most common causes are stress and racing thoughts, caffeine or other stimulants too late in the day, an irregular schedule, bright light in the evening, and a body clock set later than your bedtime. Often several stack up, and worrying about not sleeping adds more alertness on top.

The causes are often identifiable and the fixes are mostly behavioral. This page goes through the main ones, how to tell which fits you, and what to try.

First, what counts as a problem

Taking up to about half an hour to fall asleep is generally considered normal. Taking much longer than that on most nights, especially if it happens at least three nights a week and bothers you in the day, is the kind of pattern clinicians pay attention to. One or two slow nights, such as before an exam or after a stressful day, are normal.

It also helps to separate tired from sleepy. Tired means low energy or a heavy day. Sleepy means your eyes are drooping and you could nod off. You can be tired but not sleepy, and then going to bed just starts a long wait. If that sounds familiar, the timing and alertness fixes below matter more than going to bed earlier.

Cause 1: Your mind is still on

Sleep needs lowered alertness, and worry raises it. In bed with no distractions, unresolved concerns tend to surface. Over time your brain can learn to link bed with alertness and frustration, which clinicians call conditioned arousal. Trying harder to sleep then makes it worse, because sleep cannot be forced.

What helps:

  1. Write it down earlier in the evening. Spend a few minutes listing worries and one next step for each, away from the bedroom. This works better than trying to solve them at midnight.
  2. Give yourself a buffer. Half an hour or more of wind-down in dim light, without work or heavy news.
  3. Use slow breathing or muscle relaxation. For example, breathe out for longer than you breathe in, or tense and release muscle groups from your feet up to your face.
  4. Lower the stakes. Telling yourself that resting quietly is still useful removes some of the pressure.
A glass of tea beside an open book and a stack of books on a table near a bright window
A quiet, low-stimulation activity before bed gives your mind a ramp down.

Cause 2: Your body clock says it is not night yet

If you go to bed at 10:30 p.m. but your clock is set for midnight or later, you will lie awake however tired you feel. This is common in teenagers, young adults, night owls and anyone who has recently slept in. Late-evening light and late wake-ups push the clock later. How circadian rhythm works explains the mechanism.

Signs it is a timing problem: you fall asleep easily when it is very late, sleep well once you do, and struggle with early alarms.

Clue More likely a racing mind More likely a late clock
Holidays with no alarm Still hard to fall asleep You fall asleep easily at your natural late time
What you are thinking Worries, plans, replaying events Not much, just not sleepy
Mornings Tired whenever you wake Hard to wake early, better later
Weekends Little change Sleep comes at about the same late hour

Both can be true at once. Treat this as a rough sorting tool, not a diagnosis.

Fixes:

  • Keep a fixed wake time every day, even after a poor night.
  • Get daylight outdoors soon after waking.
  • Dim the lights in the last hour or two before bed.
  • Shift gradually, moving bedtime and wake time earlier in small steps every day or two.

Cause 3: Stimulants and substances

Substance Effect on falling asleep
Caffeine Can stay in the body for hours; late coffee, tea, cola, energy drinks and some medicines can delay sleep
Nicotine A stimulant; smoking or vaping near bedtime can make it harder to settle
Alcohol May feel sedating but disrupts sleep later in the night
Some medicines Certain decongestants, steroids, some antidepressants and ADHD medicines can affect sleep. Ask a pharmacist or doctor, and do not stop a medicine on your own
Heavy late meals Discomfort and reflux can delay sleep

A simple experiment is to stop caffeine after early afternoon for two weeks and see whether falling asleep gets easier.

Cause 4: Light, screens and late stimulation

Light at night tells your clock it is still daytime. Bright overhead lights and screens can delay the body’s release of melatonin, though how much depends on brightness, distance and how long you use them. Content matters too. Email, social media and thrillers keep your brain active whatever the color of the light.

Try:

  • Switching to lamps and warm lighting after dinner
  • Lowering screen brightness, or putting devices away well before bed
  • Keeping the phone out of reach, with the alarm across the room if you tend to scroll
  • Avoiding hard exercise, arguments or work in the last hour

Cause 5: An irregular schedule and too much time in bed

Staying up late and sleeping in on weekends drifts your clock later, so Sunday night is hard. Long naps or evening dozing on the couch reduce your drive to sleep at bedtime. Going to bed very early “to make sure I get enough” can backfire by stretching the time you lie awake.

Go to bed when you feel sleepy rather than at an arbitrary time, but keep your wake time fixed. Keep naps short and earlier in the day.

For illustration, suppose your weekday bedtime is 11:00 p.m., but on weekends you go to bed at 2:00 a.m. and wake at 10:00. By Sunday night your clock is closer to 2:00 a.m., so lying down at 11:00 feels like trying to sleep in the afternoon. The usual result is a poor Sunday night and a rough Monday. Keeping weekend wake times within about an hour of weekday ones removes most of the problem, even if the late night stays.

Cause 6: Environment and body factors

Check the basics: a bedroom that is cool, dark and quiet, and a bed that is comfortable. Cheap fixes come first: cover standby lights, use curtains or a sleep mask, and try earplugs or a fan.

Physical contributors include pain, restless legs (an urge to move the legs in the evening that eases with movement), reflux, an overactive thyroid, night-time urination and menopause symptoms such as hot flashes. These need medical attention, not more sleep hygiene.

A step-by-step plan for the next two weeks

  1. Pick a fixed wake time and keep it daily.
  2. Get outside in daylight every morning.
  3. Cut off caffeine early in the afternoon and keep alcohol light and away from bedtime.
  4. Start a wind-down of half an hour or more in dim light.
  5. Do your worry list earlier in the evening.
  6. If you are awake in bed and frustrated, get up, do something quiet in dim light, and return when sleepy.
  7. Stop clock checking and avoid long naps.
  8. Keep a simple sleep diary: bed time, estimated time to fall asleep, wake time, caffeine and alcohol.

For illustration, a diary line might read: “Bed 11:15 p.m., asleep about 12:10 a.m., woke 6:45 a.m., coffee at 3 p.m., one glass of wine at 9 p.m.” After two weeks you may see that the slow nights follow a late coffee or a late drink. Note any anxiety, pain or breathing symptoms too. The diary helps you and any clinician spot patterns.

If you also wake very early, see what to do if you wake up too early and cannot fall back asleep. For a wider checklist, see sleep tips that actually help.

When to see a doctor

Talk to a doctor if:

  • Trouble falling asleep happens at least three nights a week for three months or more.
  • It causes daytime problems such as fatigue, poor focus or low mood.
  • You feel an uncomfortable urge to move your legs at night.
  • You snore loudly, gasp or seem to stop breathing in your sleep.
  • You are using alcohol or sleep aids regularly to fall asleep.
  • Sleeplessness comes with persistent anxiety, depression or panic.

For ongoing insomnia, the American College of Physicians and the American Academy of Sleep Medicine recommend cognitive behavioral therapy for insomnia (CBT-I) as the first treatment. Medicines may be considered in some cases, but should be chosen with a doctor. Seek urgent care for chest pain or severe shortness of breath. If you are having thoughts of harming yourself, contact your local emergency number or a crisis line in your country right away.

To spot patterns before you change anything, keep the one-week sleep diary.

Where this comes from

This page draws on the Centers for Disease Control and Prevention’s sleep hygiene guidance, the NIH’s National Heart, Lung, and Blood Institute information on insomnia and sleep, and the American College of Physicians’ and American Academy of Sleep Medicine’s recommendations on cognitive behavioral therapy for insomnia. The two-week plan applies those habits and is not a medical treatment. It is general information, not medical advice, and it was reviewed on 7 October 2026. Check the source organizations for current guidance.