To fix your sleep schedule, fix the wake time first: choose one, keep it every day including the weekend, and let bedtime follow. Move bedtime towards where you want it in steps of 15 to 30 minutes every night or two, get outside light in the first hour of the day, and dim the evening. Most people feel the shift within a week; a badly drifted schedule can take two or three.

Why does a sleep schedule drift in the first place?

Your body runs a clock that cycles roughly every 24 hours. The NHLBI explains that this clock tries to line up your sleep and waking with cues from outside: light and dark, when you eat, when you move. Late nights with a bright screen, lie-ins at the weekend, a holiday or a week of studying late all feed the clock the wrong cues, and it obligingly moves. That is why "I'll just go to bed early tonight" rarely works on its own: the clock is not ready.

Which end should I fix first?

The wake time. You can decide when to get up; you cannot decide when to fall asleep. Hold the same wake time for a week and the need for sleep builds through the day, so bedtime starts to move by itself. The NHS puts "wake up and get out of bed at the same time every day" near the top of its advice for insomnia, and adds "do not sleep in after a bad night's sleep". It feels harsh for two or three days; it is also the part that works.

The seven-day plan

DayWhat to do
1Pick a work-day wake time. Alarm across the room. Go to bed when sleepy, not at a target time.
2Same wake time. Ten minutes of daylight within an hour of getting up, outside if possible. No caffeine after lunch.
3Same wake time. Move bedtime 15 to 30 minutes earlier than last night, only if you were sleepy. Dim the lights and put screens away an hour before.
4Same wake time. Keep the new bedtime. Walk through the afternoon dip rather than napping.
5Same wake time. Another 15 to 30 minutes earlier if you fell asleep within 20 minutes last night.
6The weekend. Wake within an hour of your weekday time. Daylight again.
7Same again. Note when you got sleepy: that is next week's bedtime.

Step size matters. The NHLBI's healthy sleep habits page advises keeping weeknight and weekend sleep times within about an hour of each other, because staying up late and sleeping in late at the weekend disrupts the body clock's rhythm. Big jumps undo themselves; small ones hold.

What about light, caffeine and exercise?

Light is the strongest cue the clock has. Morning light pulls everything earlier; bright light at night pushes everything later. So get outside soon after you wake, even on a grey day, and keep the hour before bed dim. The NHLBI notes that the light from a TV or computer screen may signal the brain that it is time to be awake, and that the effects of caffeine can last up to eight hours, so keep coffee to the morning while you reset.

What if I cannot fall asleep at the new time?

Do not lie there trying. The NHS Every Mind Matters advice is that if you are still awake after around 20 minutes, get up, sit somewhere comfortable in low light, do something quiet, and go back when you feel sleepy. A slow breath with a longer exhale helps once you are back in bed; 4-7-8 breathing for sleep is the one most people find easiest lying down. If you feel light-headed, stop and breathe normally.

When the night goes wrong anyway

One bad night does not reset the week. Get up at the wake time regardless, get your light, and get through the day with the ideas in a short night, a better day. If you must rest, twenty minutes before 3 pm. Day three is when most people want to give up; day four is usually where it turns.

A little help with the two ends

CalmSpace.ai is a calm app for iPhone, Apple Watch and the web with Bliss, a voice companion who remembers you. Its Wake gently alarm starts the day with a soft chime instead of a jolt (iOS 26 and later), and after a short night Bliss can offer to move tonight's wind-down reminder earlier. You can start free. For the evening itself, a wind-down routine that actually sticks is the companion to this post, and the sleep page is the short version.

When to see a doctor

If you have kept a steady wake time for three or four weeks and still cannot sleep, are falling asleep in the day, or low mood is part of the picture, talk to a doctor. Schedules can drift for reasons that need a proper look.

FAQ

How long does it take to fix a sleep schedule?

Often about a week for a drift of an hour or two; two or three weeks if you have been going to bed at 3 am for months.

Should I stay up all night to reset?

No. It usually produces one wrecked day and a nap that puts you back where you started.

Does this work for shift work?

The principles do, but the plan differs; see can't sleep before a night shift.

CalmSpace.ai is a wellness app, not a medical service, and Bliss is not a therapist. If you are in crisis, contact the crisis line for your country; in the United States, call or text 988.