How to Fix Your Sleep Schedule and Stop Waking at 3 a.m.
By Bodhih Training · UpdatedThe short answer
To fix your sleep schedule, get up at the same time every day, including weekends, and get outdoor light within an hour of waking. Go to bed only when sleepy, use the bed only for sleep, and get up if you are wide awake. Keep a sleep diary for a week, then match your time in bed to the sleep you actually get. See a doctor if problems persist or you snore with pauses in breathing.
- Fix the morning first: one rise time, seven days a week, plus daylight
- A sleep diary shows where the wakefulness sits and what to change
- Bed is for sleep; get up when wide awake and return when sleepy
- Less time in bed can mean more solid sleep, but it is not suitable for everyone
- Move worrying to the early evening and keep a no-clock plan for 3 a.m.
- Loud snoring with pauses, daytime sleepiness or months of poor sleep need a doctor
Why is my sleep schedule such a mess?
Two forces decide when you sleep. The first is sleep drive, a pressure that builds for every hour you are awake and is paid off by sleeping. The second is your body clock, a roughly 24-hour rhythm that sends an alerting signal through the day and withdraws it at night. Sleep comes easily when pressure is high and the alerting signal has dropped.
Most messy schedules come from accidentally working against one of the two. A Saturday lie-in until ten delays the start of pressure building and shifts the clock later, so Sunday night you are not sleepy until 1 a.m. An 8 p.m. doze on the sofa spends pressure you needed at eleven. A bright, busy evening tells the clock the day is still going.
There is a third factor: arousal. After enough bad nights the bed itself becomes a cue for alertness and frustration, so you can be sleepy on the sofa and wide awake the moment you lie down. That is learned, which means it can be unlearned.
The NHS says adults need 7 to 9 hours of sleep on average, and the American Academy of Sleep Medicine recommends seven or more hours a night for healthy adults. Treat those as population guides, not a nightly exam. For the next few weeks, aim for solid sleep at a steady time. Length tends to follow.
What is the first thing to change?
Your rise time. You cannot make yourself fall asleep, but you can make yourself get up, so behavioural sleep programmes start with the morning. Choose the earliest time you need on your most demanding regular day and keep it seven days a week, with at most half an hour's leeway on free days. NHS advice for insomnia says the same: wake up and get out of bed at the same time every day, and only go to bed when you feel sleepy.
Then get light. Spend 20 to 30 minutes outdoors within an hour of waking: tea on the balcony, a walk to the further bus stop, the dog round the block. Daylight is far brighter than indoor lighting, even under cloud, and it is the main signal that sets your body clock. In the evening do the reverse and dim the lights about two hours before bed.
Expect a few unpleasant mornings. A short night followed by a normal-length day builds a stronger sleep pressure for the next night. That is the plan working.
How do I keep a sleep diary, and what is sleep efficiency?
Memory is a poor witness to sleep, because we remember the awake parts. A diary takes about two minutes each morning. Record when you got into bed, when you tried to sleep, roughly how long it took to drop off, how long you were awake in the night, when you woke for the last time and when you got up. Estimates are fine; do not watch the clock at night.
From those you get three numbers. Time in bed is the stretch from getting in to getting out. Total sleep time is lights-out to final wake, minus the minutes spent awake. Sleep efficiency is total sleep divided by time in bed. Someone in bed for 8 hours 40 minutes who sleeps 5 hours 40 has an efficiency of about 65 per cent. Clinicians generally treat around 85 per cent or more as solid sleep.
After seven nights, look at the pattern rather than any single night. Is the wakefulness at the start, in the middle or at the end? How much does your rise time drift? The Sleep Diary and Analyser workbook in Bodhih's Sleep Well in 21 Days kit does this arithmetic for you, including bedtimes that fall either side of midnight.
| Measure | How to work it out | What it tells you |
|---|---|---|
| Time in bed | Into bed to out of bed | How much opportunity you are giving sleep |
| Total sleep time | Lights out to final wake, minus minutes awake | How much sleep you are really getting |
| Sleep efficiency | Total sleep time divided by time in bed | How solid your sleep is; about 85% or more is good |
| Rise-time drift | Difference between each day's rise time and your chosen time | How steady your body clock signal is |
What should I do when I can't fall asleep?
Use the bed for sleep only, and leave it when you are wide awake. This is called stimulus control. It was developed by the psychologist Richard Bootzin and remains a core part of cognitive behavioural therapy for insomnia (CBT-I). The idea is to rebuild the link between bed and sleep by repetition.
Set up an awake spot before you need it: a chair, a dim warm lamp, a blanket and something mildly absorbing that involves no screen. Getting up swaps frustrated wakefulness for calm wakefulness, and the time you spend up adds to tomorrow's sleep pressure. If getting up in the dark is risky for you, for example if you are unsteady or take medication that makes you dizzy, sit up on the edge of the bed with a low light instead.
- Go to bed only when sleepy: heavy eyelids, nodding head, not just tired
- Keep reading, television, email, food and scrolling out of the bed
- If you are awake and alert or wound up, get up and go to the awake spot
- Return when sleepy, and repeat as often as needed
- Get up at your fixed time whatever happened, and skip naps if you safely can
Should I spend less time in bed?
For some people, yes, and it is the most counter-intuitive part of behavioural sleep treatment. If you sleep six hours but spend eight and a half in bed, the sleep is spread thin and broken. Narrowing your time in bed towards the amount you actually sleep raises sleep pressure at lights-out, so you fall asleep faster and wake less. Clinicians call this sleep restriction or bedtime restriction.
A gentle self-help version works like this. Take your average total sleep time from a week of diary entries and add 30 minutes. That is your sleep window, with a floor of 6 hours. Count back from your fixed rise time to find the earliest lights-out. Each week, if your sleep efficiency is 85 per cent or more, add 15 minutes; if it is between 80 and 84 per cent, hold; if it is under 80, trim 15 minutes but never below the floor.
This technique is not suitable for everyone. The Sleep Foundation notes that sleep restriction is not recommended for people with conditions that can be made worse by losing sleep, such as bipolar disorder and seizures. Check with a clinician first if you have epilepsy, bipolar disorder, untreated sleep apnoea, are pregnant, or drive or operate machinery for a living. If you feel dangerously sleepy, stop, widen the window and do not drive. The mildest version, simply ending early nights and lie-ins, is where most people should start.
Reading helps; measuring tells you what to work on. These AI-graded assessments on AssessAll pair with this topic:
- Shift-Work Adaptability Profile (AssessAll)
- Resilience & Stress Management (AssessAll)
- Work Strain and Recovery Self-Check for Employees and Managers (AssessAll)
How do I stop waking up at 3 a.m. with a racing mind?
Start by knowing that waking in the night is normal. Everyone surfaces briefly between sleep cycles. The trouble is the planning meeting the mind holds at 3 a.m., when you are at the low point of your body clock and problems look larger than they are.
Hold the meeting earlier. Book 15 minutes of worry time in the early evening, at least two hours before bed and not in the bedroom. Write down everything on your mind, sort each item into things you can act on and things you cannot do anything about tonight, and write the next small step and a time for the first group. When a worry arrives in the night you have an honest answer: it is on the list.
Then keep a simple night plan. Do not check the time. Lengthen your out-breath and relax your jaw, shoulders and hands. Give your mind a dull task, such as naming a city for each letter of the alphabet or counting back from 300 in threes. Stop trying to sleep; effort keeps you awake. If you are still alert or wound up, get up and use your awake spot. In the morning, get up at your usual time.
For people whose nights are bound up with pressure at work, a measured starting point helps. AssessAll's Resilience & Stress Management assessment is one way to see where the strain is coming from.
Do screens, caffeine and alcohol really matter?
They matter as supporting habits. On their own they rarely fix insomnia, but any one of them can undo the work above.
Screens affect sleep in three ways: evening light can nudge the body clock later, stimulating content keeps you alert, and endless feeds keep you up past your bedtime. The CDC suggests turning off electronic devices at least 30 minutes before bed. The most practical fix is to let your phone charge out of reach and to build a 45 to 60 minute wind-down with three parts: close the day, change state with a shower or stretch, and do something calm you enjoy. That last part is the answer to revenge bedtime procrastination, where you stay up to claw back time for yourself. An if-then plan helps here, and Jobulary has a useful guide to writing them.
Caffeine blocks the feeling of sleep pressure. The US Food and Drug Administration cites 400 mg a day as an amount not generally associated with negative effects in most adults, and stresses that sensitivity varies widely. The NHS advises avoiding tea and coffee for at least six hours before bed; during a reset, eight hours is a sensible experiment.
Alcohol helps you drop off and then fragments the second half of the night. The Sleep Foundation suggests stopping at least three hours before bed. Regular exercise helps sleep; the NHS suggests avoiding it in the four hours before bed, though gentle evening movement suits many people. Keep the bedroom dark, quiet and cool.
| Habit | Rule of thumb | Source |
|---|---|---|
| Caffeine | Stop at least 6 hours before bed; try 8 during a reset | NHS |
| Alcohol | Finish at least 3 hours before bed, or skip it | Sleep Foundation |
| Hard exercise | Finish about 4 hours before bed | NHS |
| Screens | Off at least 30 minutes before bed; phone out of reach | CDC |
| Morning light | 20 to 30 minutes outdoors within an hour of waking | Body clock principle |
When should I see a doctor about sleep?
Some sleep problems are not habits, and no routine will fix them. The NHS lists the main symptoms of sleep apnoea as breathing that stops and starts, gasping, snorting or choking noises, waking a lot and loud snoring at night, with tiredness, poor concentration, mood swings and morning headaches in the day. It says the condition can be serious if it is not diagnosed and treated.
See a doctor if someone has noticed you stop breathing in your sleep, if you fall asleep in the day without meaning to, if poor sleep has lasted for months or makes it hard to cope, or if low mood or anxiety come with it. Take two weeks of your sleep diary. The American College of Physicians recommended in 2016 that adults with chronic insomnia receive CBT-I as the initial treatment, so it is reasonable to ask whether it is available locally.
The NHS says GPs now rarely prescribe sleeping pills for insomnia, and then only for a short time. Do not stop a prescribed sleeping tablet suddenly, and ask a doctor or pharmacist before trying melatonin or over-the-counter sleep aids. This article is educational content, not medical advice.
What does a 21-day sleep reset look like?
Three weeks is long enough for the arithmetic to work. In week 1 you measure and anchor. In week 2 you rebuild the link between bed and sleep. In week 3 you adjust using your numbers and plan for real life: late nights, travel, shifts and the occasional bad night.
The rule for a bad night is short. Get up at the usual time, get light, keep caffeine normal, skip the long nap and go to bed when sleepy. It is the rescue attempts, the lie-in and the early night, that turn one bad night into a bad month.
| Week | Focus | Main actions |
|---|---|---|
| 1 | Measure and anchor | Daily diary, fixed rise time, morning light, caffeine cut-off, bedroom set-up |
| 2 | Rebuild | Bed only for sleep, sleep window if suitable, wind-down, worry time, 3 a.m. plan |
| 3 | Adjust and protect | Widen or hold the window by efficiency, test unhelpful beliefs, write a relapse plan |

Want the whole plan with the arithmetic done for you?
The Sleep Well in 21 Days kit from Bodhih Training includes the full e-book, a Sleep Diary and Analyser that calculates your sleep window, fillable worksheets, bedside calm cards and a 21-day calendar. Educational content, not medical advice.
Sources
- NHS: Insomnia
- NHS: Sleep apnoea
- CDC: About Sleep
- American Academy of Sleep Medicine: Seven or more hours of sleep per night, a health necessity for adults
- American College of Physicians: Management of Chronic Insomnia Disorder in Adults (Annals of Internal Medicine, 2016)
- Sleep Foundation: Cognitive Behavioral Therapy for Insomnia (CBT-I)
- Sleep Foundation: Alcohol and Sleep
- US FDA: Spilling the Beans: How Much Caffeine Is Too Much?
More from the Bodhih family
Questions people ask next
How long does it take to fix a sleep schedule?
It varies. A shifted body clock often starts to settle within a week or two of a fixed rise time and morning light. Rebuilding solid sleep after a long spell of insomnia often takes several weeks. If there is no change after three to four weeks of consistent effort, see a doctor.
Should I go to bed earlier to catch up on sleep?
Usually not. Going to bed early means arriving before sleep pressure is high, which leads to more time awake in bed. Keep your rise time fixed and go to bed when you are sleepy. Extra sleep tends to arrive once sleep is consolidated.
Is it bad to nap during the day?
A nap spends sleep pressure, so during a reset it is best to skip naps if you safely can. If you must nap, for example before driving or a night shift, keep it to 15 to 20 minutes and before mid-afternoon.
What is a good sleep efficiency?
Clinicians generally treat about 85 per cent or more as solid sleep. Nobody reaches 100, since it is normal to take a few minutes to fall asleep and to wake briefly. Below about 80 per cent suggests a lot of time awake in bed.
Does getting out of bed at night really help?
For many people, yes. Leaving the bed when you are alert or frustrated, and returning when sleepy, weakens the learned link between bed and wakefulness. It is tedious for the first week. Take care if you are at risk of falls, and use a sit-up-in-bed version instead.
Can I use a sleep window if I work shifts?
Not on a rotating pattern, and not in a safety-critical job, without a clinician's advice. Shift workers do better protecting a regular anchor block of sleep, using bright light during the shift and darkness afterwards, and napping with a plan. AssessAll's Shift-Work Adaptability Profile can help you see how well your habits fit your roster.
Is CBT-I better than sleeping pills?
That is a question for your doctor. For context, the American College of Physicians recommended CBT-I as the initial treatment for chronic insomnia in adults in 2016, and the NHS says GPs now rarely prescribe sleeping pills for insomnia.