Photo of a woman lying in bed, on her side, wearing an eye mask. In the foreground is a white alarm clock.

How to harness psychology to change your sleep habits

Good sleep isn’t built on willpower. It’s built on habits that work even when you’re tired, stressed, or unmotivated. This article breaks down the science of habit formation and shows how to turn sleep intentions into behaviours that actually stick, without relying on discipline or perfect routines.
Contents

⏱ Estimated reading time: 13 minutes

Let's start with some honesty...
Most people don’t need more sleep advice. They need their behaviour to improve while they’re tired, stressed, and running low on cognitive fuel. Which is… ambitious. Knowing what supports good sleep is not the same as doing it. You can value sleep, understand the research, even give other people excellent advice, and still find yourself sabotaging your own bedtime on a random Tuesday night. Behavioural science has been pointing this out for decades, usually while being politely ignored. Beliefs and intentions feel important, but they are unreliable predictors of behaviour 1. Across health behaviours, only about half of people who intend to change actually follow through 2. Intention alone is rarely enough. A classic example comes from the US “5-A-Day” fruit and vegetable campaign. It dramatically increased awareness and positive attitudes. Actual eating behaviour barely changed 3. Why? Because eating, like sleeping, happens largely on autopilot 4. Sleep is no different. If we want changes that last longer than a motivated fortnight, we have to talk about habits.
Sleep is both the goal and the obstacle
Here’s the slightly cruel twist. Sleep is not just what we’re trying to improve. It also determines how capable we are of changing behaviour in the first place. When sleep is short or disrupted, self-regulation suffers. Attention slips. Self-control weakens. The brain starts conserving energy by leaning more heavily on habit 5. On days when we are sleepier than usual, our behaviour becomes more automatic 6. This isn’t laziness. It’s the brain economising. From a sleep perspective, this creates a feedback loop. Poor sleep makes behaviour change harder. Unchanged behaviour maintains poor sleep. The way out is not heroic willpower. It’s smart habit design.

Why we should harness our habits for better sleep

Habit is the brain doing what it evolved to do: reduce effort and use resources efficiently. Habits allow action to continue without constant decision-making. 

One of my favourite demonstrations of this comes from a study where people with strong popcorn-eating habits continued to eat stale popcorn at the cinema, even while reporting that it tasted unpleasant 7. 

Our brains create default pathways for familiar activities – the more we perform a behaviour the more automatic it becomes 8. This allows us to perform many behaviours with minimal conscious effort. Consider putting on a car seatbelt – when was the last time you had to actively think about doing it?

These default pathways are like a well-trodden route through a field of tall grass. The more often you walk it, the clearer and easier it becomes to follow. Equally, if you’re trying to create a new pathway it can be easier to fall back into the easier, well-trodden pathway. This is why habits, good or bad, are so persistent and also why they are so valuable. 

When a behaviour has become automatic it happens efficiently, with little conscious effort. This is precisely why habits are so powerful for sleep. You do not want your bedtime routine to rely on enthusiasm, insight, or moral resolve. You want it to happen because “this is just what I do.”

Good sleepers don’t have super strong will power and an elaborate bedtime routine – they have good habits.

Default pathways and why sleep patterns are stubborn

If you’ve been sleeping during the day for some time, your body will expect that. If bedtime has crept later and later, that pathway is now well rehearsed. Changing it means deliberately creating a new route and walking it often enough that it becomes easier than the old one.

Small, gradual shifts work better than dramatic overhauls. Nudging bedtime earlier in 15-minute increments, paired with a slightly earlier morning alarm, allows the system to adapt without provoking rebellion.

Think less about blocking the old path and more about gently diverting it.

How long does it really take to form a habit?

Despite what popular culture insists, habits do not reliably form in 21 days 9. 

Average habit formation takes closer to two months, with huge individual variation. Estimates range from as little as four days to almost a year 8. Only around a quarter of people who start a new habit reach automaticity at all 10.

Research tells us that habits form faster and more easily when:

  • the new behaviour is clear and simple (“I will go to bed 10 minutes earlier” rather than “I will improve my sleep”)
  • the behaviour can be repeated often (e.g. something you can do daily rather than weekly)
  • the context for performing the behaviour is stable (e.g. you’re sleeping in the same bed every night)

 

Simple behaviours in consistent environments form faster. Complex behaviours in chaotic lives take longer 8.

This matters because unrealistic timelines quietly sabotage motivation. If a behaviour still feels effortful after three weeks, that’s not a failure of character. It’s a failure of expectation.

For sleep, the goal is not instant effortlessness. The goal is noticing that, over time, it requires less thought, less negotiation, and less energy.

Cues drive habits

Habits are fundamentally cue-driven. Encountering the cue triggers the behaviour 6. Remember the popcorn eating example from earlier? Those cinema-goers were being driven by the environmental cue of being in the cinema, where they usually ate popcorn. The cue triggered the behaviour. Taste barely mattered.

Successful habit formation involves creating new cue–behaviour links, not just stronger resolve. External cues are powerful because they reduce reliance on memory, motivation, and self-control. Once initiation is handed over to the environment, behaviour becomes easier to repeat.

The same principle applies to breaking habits. Removing or altering cues disrupts automatic responding and creates space for new patterns to form.

Remove or alter the cue, and the habit loses its grip. Create a new cue, and a new pattern can emerge 12.

Making habits is not the same as breaking them

We often talk about habit change as though making and breaking habits are mirror images. They’re not.

You cannot easily form a habit for not doing something 11. “Don’t scroll.” “Don’t check email.” “Don’t watch another episode.” These all rely on inhibition, which relies on self-control. Self-control is weakest late at night.

Breaking habits works best by either:

  • disrupting the cue, or
  • replacing the response 

 

Habit substitution is particularly effective. If the same cue reliably triggers a new behaviour, the old one gradually loses its grip 13.

This is where much sleep advice falls down. Telling someone to stop doing something at night without offering a concrete alternative places the entire burden on willpower, exactly when willpower is least available.

The role of cognitive and emotional resources

Self-control is a fluctuating resource, not a personality trait.

As the day progresses, cognitive resources decline. After roughly 14 hours awake, our executive functioning weakens and habit increasingly overrides intention 14. This explains why people make sensible decisions in the morning and baffling ones at night. It’s biology, not a moral failing.

Sleep loss and stress make this effect stronger. Sleep deprivation reduces self-regulatory capacity, while stress increases cognitive and emotional load, making it harder to override existing habits (15). When a behaviour relies on willpower to survive the evening, it is unlikely to survive long term.

This means two important things:

  1. You will not perform equally well every day.
  2. That variability is normal, not a personal flaw. 

 

Effective planning means accounting for low-resource days rather than pretending they will not happen. Anticipating periods of fatigue, stress, or low motivation and deciding in advance how to respond reduces the risk of derailment

Successful habit formation can be the difference between interpreting a slip as a personal failure, versus interpreting it as a problem to be solved, or a tweak to be made.

How to create a new sleep habit

Now that you understand what actually drives habit formation, here’s a practical guide to building sleep habits that last. To make it easier to put this into action, I’ve also created a Sleep Habit Builder you can download for free, below. 

Step one: Decide what you’re changing

Trying to change everything at once is a reliable way to change nothing.

When people take on too many sleep behaviours simultaneously:

  • failure becomes more likely
  • it’s harder to tell what’s helping
  • everything starts to feel unsustainable 

 

A better approach is to choose a small number of targets. Three is often a sensible upper limit.

When choosing, consider:

  • How easy is this to do?
  • How much impact is it likely to have?
  • How closely does it align with my goals?
  • How likely am I to stick with it when I’m tired? 

 

Targeting simple, repetitive behaviours with clear cues and immediate rewards creates early wins and builds momentum 8.

Step two: Make a plan that survives real life
Intentions do not automatically turn into behaviour. Planning bridges the gap. Plans work best when they are specific. When, where, and how matter 16. Preparation matters too. If an earlier bedtime requires other tasks to be done first, those need to be planned explicitly.

Setting the scene for success – Environmental cues​

People often credit success to strong self-control, but research suggests that people with high self-control are often better at avoiding tempting situations altogether. They engineer their environment to support the behaviour they want, rather than relying on willpower 6.

For you this could mean disabling the autoplay feature on Netflix, or keeping your phone on the opposite side of your bedroom while you sleep. Small nudges lead to long-term behaviour change.

Anchoring your habit – Routine-based cues

New habits are easier to form when they are attached to routines you already have. Linking a behaviour to an existing action reduces the need for effort, planning, and memory.

Routine-based cues like “after brushing my teeth” often work better than fixed time-based cues because they don’t require clock-watching. The routine itself becomes the trigger, which lowers cognitive load and increases follow-through 10.

Routine-based cues also allow flexibility. Even when evenings run late or schedules shift, the cue still appears, making the behaviour more likely to happen. For sleep, anchoring habits to stable evening routines helps them survive real life, not just ideal conditions.

Habit stacking

Pairing a new behaviour with a behaviour you already perform automatically reduces cognitive load and makes you more likely to perform the new behaviour 16. Effectively you’re using an existing habit to trigger a new one. 

In the context of sleep, this might mean pairing a new wind-down behaviour with something you already do every night, such as starting your skincare routine, brushing your teeth, or setting your alarm. The established habit provides the cue, so the new behaviour requires far less effort to initiate.

Step three: Stick to the plan by making it easier

Habit formation requires repetition. The more often you perform the behaviour, the easier it becomes to keep doing it. And the more you enjoy the behaviour the more likely you are to perform it in the first place. 

  • Motivation matters, especially early on 16. Celebration does not have to be dramatic, but noticing progress sustains effort.
  • Anticipating barriers means you’re less likely to be derailed by them. If a new behaviour is incompatible with your current schedule, change the schedule or change the behaviour. Don’t set yourself up to fail.
  • Aiming for consistency rather than perfection gives you wiggle room for low resource days and slips, without leaving you feeling like you’ve failed. 
Making sleep change stick

The research is remarkably consistent. Sustainable behaviour change is not about trying harder. It is about allowing enough time, enough repetition, and enough environmental support for new behaviours to become automatic.

For sleep, the most important question is not “what should I do?” but “how will I keep doing this?” 

You might be feeling highly motivated to make changes right now, but If a behaviour depends on motivation alone, it will eventually fail. If it is built into your routines and environment, it can persist.

Make it easy. Make it repeatable. Make it fit your real life. That’s how sleep changes last.

If you’re ready to turn this into a clear, realistic plan,  download my Sleep Habit Builder for free below. 

And if you’re not sure which habits are worth focusing on yet, my Sleep Sheet (also free to download) can help you decide where to start.

References
  1. Armitage, C. J., & Conner, M. (2001). Efficacy of the theory of planned behaviour: A meta‐analytic review. British journal of social psychology, 40(4), 471-499.
  2. Sheeran, P. (2002). Intention—behavior relations: a conceptual and empirical review. European review of social psychology, 12(1), 1-36.
  3. Casagrande, S. S., Wang, Y., Anderson, C., & Gary, T. L. (2007). Have Americans increased their fruit and vegetable intake?: The trends between 1988 and 2002. American journal of preventive medicine, 32(4), 257-263.
  4. Wood, W. (2017). Habit in personality and social psychology. Personality and social psychology review, 21(4), 389-403.
  5. Guarana, C. L., Ryu, J. W., O’Boyle Jr, E. H., Lee, J., & Barnes, C. M. (2021). Sleep and self-control: a systematic review and meta-analysis. Sleep Medicine Reviews, 59, 101514.
  6. McLaurin, T., Gardner, B., Shriane, A. E., Rebar, A. L., & Vincent, G. E. (2024). Do people rely more on habits when sleepy? An ecological momentary assessment study. Journal of sleep research, e14421.
  7. Neal, D. T., Wood, W., & Drolet, A. (2013). How do people adhere to goals when willpower is low? The profits (and pitfalls) of strong habits. Journal of Personality and Social Psychology, 104(6), 959.
  8. Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024, January). Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants. In Healthcare (Vol. 12, No. 23, p. 2488). Multidisciplinary Digital Publishing Institute.
  9. Maltz, M., & Furey, M. (2022). Psycho-Cybernetics; Updated and Expanded Edition ed.
  10. Keller, J., Kwasnicka, D., Klaiber, P., Sichert, L., Lally, P., & Fleig, L. (2021). Habit formation following routine‐based versus time‐based cue planning: A randomized controlled trial. British Journal of Health Psychology, 26(3), 807-824.
  11. Gardner, B., Lally, P., & Wardle, J. (2012). Making health habitual: the psychology of ‘habit-formation’and general practice. The British Journal of General Practice, 62(605), 664.
  12. Lally, P., & Gardner, B. (2013). Promoting habit formation. Health psychology review, 7(sup1), S137-S158.
  13. Gardner, B., Rebar, A. L., de Wit, S., & Lally, P. (2024). What is habit and how can it be used to change real‐world behaviour? Narrowing the theory‐reality gap. Social and Personality Psychology Compass, 18(6), e12975.
  14. Gardner, B., Lally, P., & Rebar, A. L. (2020). Does habit weaken the relationship between intention and behaviour? Revisiting the habit‐intention interaction hypothesis. Social and Personality Psychology Compass, 14(8), e12553.
  15. ten Broeke, P., & Adriaanse, M. A. (2023). Understanding the setback effect in everyday self‐regulation. European Journal of Social Psychology, 53(4), 703-719.
  16. Kaushal, N., Rhodes, R. E., Meldrum, J. T., & Spence, J. C. (2018). Mediating mechanisms in a physical activity intervention: a test of habit formation. Journal of Sport and Exercise Psychology, 40(2), 101-110.

About the Author

Dr Nicola Cann is a sleep psychologist who works with families, adults, and organisations to improve sleep health.


Share this Post:
More Articles