Psychology without the jargon. Every claim sourced. Latest: Why Do I Procrastinate? (It’s Not Laziness) →

How Long Does It Take to Form a Habit? (Not 21 Days)

The famous number is a myth. The real one is longer, more forgiving and more useful.

Why don't my new habits ever stick?

Key takeaway

Habits form through repetition in the same setting, and for most people that takes a couple of months, not three weeks. Missing a day doesn't undo your progress. Giving up because you think you've failed does.

Try this

Attach one tiny new action to something you already do every day: "After I pour my morning coffee, I'll..."

Does this sound like you?

Key concept
Automaticity

The point where you do something without having to decide to. It builds gradually each time you repeat an action in the same situation.

How solid is the science?
Moderate evidence
Last reviewed
2026-11-14
A grid of daily ticks running past day 21 to day 66, with a few missed days along the way

It’s the third week of January. The gym kit is still in its bag, the meditation app is sending reminders you swipe away, and you’ve concluded, again, that you just don’t have the discipline.

You were told it takes 21 days to build a habit. Day 21 came and it still felt like hard work. So you stopped.

The problem wasn’t your discipline. It was the number.

So how long does it take to form a habit? Longer than you were told, and with more room for mistakes.

Where “21 days” came from

The figure is usually traced to Maxwell Maltz, a plastic surgeon who wrote in 1960 that his patients seemed to need at least about 21 days to get used to a change, such as their new appearance after surgery. It was an observation about adjusting, not a study of habits. And the words “at least” quietly disappeared as the idea was passed on.

How long does it take to form a habit? What the research found

The research: In a study at University College London, Phillippa Lally and colleagues asked 96 volunteers to pick one new daily behaviour, such as eating fruit with lunch or going for a run before dinner. They tracked how automatic it felt over 12 weeks. For the people whose progress could be modelled, the middle value was 66 days to reach near-peak automaticity. Individual estimates ranged from 18 days to 254.

Three things are worth noticing:

  • It varied enormously. Some people and some habits got there in under three weeks. Others were on course to take most of a year.
  • Simple habits were quicker. Drinking a glass of water became automatic faster than an exercise routine.
  • Missing a day didn’t matter. One skipped day made no real difference to how the habit developed.

That last point is the one to hold on to. The all-or-nothing rule most of us follow, where one missed day means we’ve failed, isn’t supported by the evidence.

Missing a day doesn’t break a habit. Deciding you’ve failed does.

How solid is this? It’s one modest study, and the longest estimates were projected, because people were only followed for 12 weeks. So treat “66 days” as a rough guide. The part to trust is that habits take longer than three weeks and vary a lot from person to person.

A curve showing a new habit feeling more automatic over time, still effortful at day 21 and levelling off around day 66
Habits build quickly at first, then level off. Simplified from Lally et al. (2010).

How habits really form

A habit isn’t a matter of willpower. It’s a link your brain builds between a situation and an action. Do the same thing in the same setting often enough, and the setting itself starts to trigger the behaviour. You stop having to decide.

How much of life is habit? When Wendy Wood and colleagues asked students to record what they were doing through the day, around four in ten actions were things they did almost daily, in the same place, usually while thinking about something else. The exact share varied between their studies, and the participants were all students.

That’s why changing your surroundings is so powerful, and why relying on motivation is so unreliable. Motivation comes and goes. Your kitchen is there every morning.

How to build one that sticks

  • Attach it to something you already do. “After I brush my teeth, I’ll stretch for two minutes.”
  • Make it tiny. Small enough to do on your worst day. You can always do more.
  • Keep the setting the same. Same time, same place, same cue.
  • Plan for the obstacle. “If it’s raining, I’ll do the indoor version.”
  • Expect two to three months, and forgive the gaps. Just pick it up again the next day.

On “if-then” plans: Deciding in advance exactly when and where you’ll act has been tested many times. A review of 94 tests found it made people noticeably more likely to follow through.

“If I miss a day, I have to start again from zero.”

Myth. In the UCL study, missing a single day made no meaningful difference to how the habit developed. Consistency matters. Perfection doesn’t.

Common questions

How long does it really take to form a habit?

There’s no single number. In the best-known study the typical time was around 66 days, with a range from under three weeks to most of a year. Simple actions become automatic faster than complex ones.

Does missing one day ruin a habit?

No. In that study, missing a single day made no real difference. What matters is getting back to it the next day.

The short version: Forget 21 days. Give a new habit a couple of months, tie it to something you already do, keep it small, and don’t treat one missed day as the end.

Sources

  1. Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998–1009. https://doi.org/10.1002/ejsp.674
  2. Wood, W., Quinn, J. M., & Kashy, D. A. (2002). Habits in everyday life: Thought, emotion, and action. Journal of Personality and Social Psychology, 83(6), 1281–1297. https://doi.org/10.1037/0022-3514.83.6.1281
  3. Gollwitzer, P. M., & Sheeran, P. (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69–119. https://doi.org/10.1016/S0065-2601(06)38002-1
  4. Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall.

This article is for education only. It isn't a diagnosis or a substitute for advice from a qualified professional.

What's really driving you? 2-minute self-awareness check

What's your experience of this?

Your email address will not be published. Required fields are marked *

Share with