Daily Rituals
Does It Matter What Time You Go to Bed?
It appears to matter more than the number of hours, which is the opposite of the advice everyone gets. A 2025 study put wrist monitors on nearly 79,700 adults for a week, scored how closely each day's sleep matched the next, and then followed them for about seven and a half years. People with regular sleep had a 38% lower risk of developing depression than people with irregular sleep, and a 33% lower risk of anxiety. The finding that changes the advice came next. Irregular sleepers who were getting the recommended number of hours still had a 48% higher risk of depression than regular sleepers who were. Hitting the hours did not rescue them. This is a study that follows people rather than assigning them, so it cannot prove that irregular sleep causes anything, and sleep disturbance is itself an early sign of depression. But it was adjusted for a long list of other things, including shift work, exercise, diet and income, and the practical advice it points at is free and specific: anchor the time you get up.
Sleep advice is almost always about a quantity. Eight hours. Seven to nine. Are you getting enough.
A large study published in 2025 suggests the question is pointed at the wrong thing.
What they did
Nearly 79,700 adults wore a wrist monitor for a week. None of them had depression or anxiety at the time.
From that week the researchers worked out two numbers for each person: how long they slept on average, and how regular their sleep was — how likely it was that they would be in the same state, asleep or awake, at the same time on any two days.
Then they waited. Over the next seven and a half years or so, 1,646 of them developed depression and 2,097 developed anxiety.
What they found
People with regular sleep had a 38% lower risk of depression than people with irregular sleep, and a 33% lower risk of anxiety.
That alone would be interesting. The next bit is the one that changes the advice.
Hitting the hours did not save you

The researchers split people four ways, by whether their sleep was regular and whether they were getting the recommended number of hours. Measured against the people who had both:
- Irregular sleep, but the recommended hours: 48% higher risk of depression.
- Irregular sleep and the wrong number of hours: 91% higher.
So being in bed for eight hours does not buy you out of this. If those eight hours land at a different point each night, the association is still there, and it is substantial.
That is genuinely new advice. Almost everything written about sleep and mental health is about the total, and the total was not the whole story here.
Why regularity might matter on its own
The plausible explanation is that your body runs a clock, and the clock is set by when you are up and in the light rather than by how many hours you logged.
Move that around by two or three hours every few days and the clock never settles. Our guide on why you stay up late when you are tired covers the behaviour that usually causes it, and why anxiety is worse in the morning covers one of the things that clock is doing to you while it runs.
This is also a mechanism, not a finding. The study measured timing and outcomes. It did not watch anybody’s body clock.
How good is this evidence?
Better than most of what gets written about sleep, and still not proof.
In its favour: sleep was measured by a device rather than remembered, which removes a large source of error. Nobody had depression or anxiety at the start. The follow-up was long. And the analysis accounted for a long list of other explanations — age, sex, weight, income, education, deprivation, smoking, alcohol, exercise, diet, shift work, and even the season the monitor was worn in.
Against it: this follows people, it does not assign them. Nobody was given a schedule. That leaves the oldest problem in sleep research standing, and it is a real one: disturbed sleep timing is itself an early feature of depression. Some of these people may already have been becoming unwell during the week they wore the monitor.
A seven-and-a-half-year follow-up makes that less likely than it would be in a short study. It does not remove it.
One more honest note. The paper’s text reports the two irregular groups against the reference, but not how people with regular sleep and the wrong number of hours fared. So we cannot tell you from this whether regularity alone is enough, and we are not going to guess.
What to actually do
The useful translation is short.
- Anchor the wake time, not the bedtime. You cannot make yourself fall asleep on command. You can get up at the same time, and sleep pressure eventually drags the bedtime along behind it. This is the same principle our guide on sleep restriction therapy is built on, and that approach has much stronger evidence behind it than most things in this field.
- Treat the weekend as part of the week. A two-hour weekend shift is a big change by this measure. If that feels miserable, split the difference rather than abandoning it.
- Get light early. It is the strongest signal your clock takes, and it costs nothing.
- Do not chase the hours at the expense of the schedule. Going to bed absurdly early to hit a total, then lying awake, makes the timing worse rather than better.
And if your sleep is already badly disturbed most nights, this is not a scheduling problem to solve alone. Our guide on what to do when you wake up at 3am covers the middle-of-the-night version, and talking to your doctor covers raising it properly.
Where this leaves Moodify
Moodify does not read your phone’s sensors and does not know when you went to bed. It is not going to start. Automatic sleep tracking is a different product with different privacy trade-offs, and plenty of apps already do it.
What it does have is a log with a timestamp, and that turns out to be enough for the question here. Regularity is not something you can feel. Three weeks of entries will show you whether your week has a shape or whether it is scattered, and the scattered version is invisible from inside.
What Moodify is lists what is actually in it.
Making your own schedule visible
Four weeks, minimum. Regularity is a property of a stretch of days, so a few days tells you nothing.
- Log your mood daily, at the same time.
- Note what time you got up. Not how well you slept — what time you got up. One number.
- Note the bedtime too if you can, but the wake time is the one that matters most here.
- Read the month and look at the spread, not the average. Two weeks of seven o’clock starts and two weeks of random ones average out to something that describes neither.
Our guide on what to track besides mood covers why sleep is the first extra field worth adding, and spotting patterns covers reading a month without talking yourself into a result.
Logging takes a few seconds in Moodify, and a notebook does the same job. The depression self-check takes two minutes and gives you a score you can retake in a month.
If your sleep has been badly disrupted for weeks, or you are sleeping far more or far less than usual and it is affecting your days, that is worth taking to a doctor — sleep and mood are treated together more often than people expect. If you have been thinking about harming yourself, please talk to someone today — a doctor, a helpline, or a person you trust.
Common questions
- Does it matter what time you go to bed?
- Consistency seems to matter more than the clock time itself. In a 2025 study of nearly 79,700 adults, people whose sleep timing was regular had a 38% lower risk of developing depression over the following seven and a half years than people whose timing was irregular.
- Is sleep regularity more important than sleep duration?
- On this evidence it is at least as important, and the two are not interchangeable. Irregular sleepers who met the recommended hours still had a 48% higher risk of depression than regular sleepers who met them. Getting the right amount of sleep did not cancel out the irregularity.
- What counts as regular sleep?
- The study scored how likely you are to be in the same state, asleep or awake, at the same time on any two days. A high score means your week looks much the same from day to day. It is about matching yourself, not about any particular bedtime.
- Do weekend lie-ins ruin your sleep schedule?
- They are the most common source of irregularity, and this study would count them against you. It did not test lie-ins specifically, so treat that as a reasonable inference rather than a finding. A two-hour weekend shift is a large change by this measure.
- Should I fix my bedtime or my wake time?
- The wake time is the practical anchor, because it is the one you can actually control. You cannot make yourself fall asleep at a set hour, but you can get up at one, and a steady wake time tends to drag the bedtime into place behind it.
- Does this prove irregular sleep causes depression?
- No, and it is important to be clear about that. The study followed people rather than assigning them to a schedule. Disturbed sleep is itself an early feature of depression, so some of this could be the illness showing up before the diagnosis did.
- What if I work shifts?
- Then much of this is outside your control, and the study knew that. It accounted for shift work when it ran the numbers, and the association held. That does not make a rotating roster fixable, but it does make the parts you can steady worth steadying.
Sources
- Regular sleep patterns, not just duration, critical for mental health: association of accelerometer-derived sleep regularity with incident depression and anxiety (Psychological Medicine, 2025;55:e239; DOI 10.1017/S0033291725101281, open access). 79,666 UK Biobank participants without depression or anxiety at baseline; wrist accelerometers worn for 7 days yielded a sleep regularity index (SRI) and average sleep duration. SRI categorised as irregular (<=51), moderately irregular (52-70) or regular (>=71); duration classified by age-specific recommendations (7-9 hours for 18-64, 7-8 hours for 65+). Median follow-up 7.5 years; 1,646 developed depression and 2,097 developed anxiety. Versus irregular sleepers, regular sleepers had HR 0.62 (95% CI 0.52-0.73) for depression and HR 0.67 (95% CI 0.58-0.77) for anxiety. Joint analysis against regular sleep plus recommended duration: irregular sleep plus nonrecommended duration HR 1.91 (1.55-2.35) for depression and 1.61 (1.35-1.93) for anxiety; irregular sleep plus recommended duration HR 1.48 (1.18-1.86) for depression and 1.35 (1.11-1.64) for anxiety. Cox models adjusted for age at recruitment, sex, body mass index, ethnicity, annual household income, education level, smoking status, Townsend deprivation index, alcohol consumption status, physical activity level, healthy diet score, employment shift, and season of accelerometer wear
- Chaput et al. — Sleep regularity and major adverse cardiovascular events: a device-based prospective study in 72,269 UK adults (Journal of Epidemiology and Community Health, 2025). Accelerometer-derived sleep regularity in UK Biobank participants; irregular sleep was associated with higher risk of major adverse cardiovascular events, and adequate sleep duration was not sufficient to offset the adverse effects among irregular sleepers
- US National Institute of Mental Health — depression
General information, not medical advice. See our editorial policy for how these guides are written and corrected.