Blog · · Updated · 9 min read
How long does it take to build a habit? Not 21 days
For most people, about two months. Depending on the habit and the person, anywhere from three weeks to most of a year. The famous “21 days” was never a research finding.
Here is what researchers have measured about how habits form, where motivation fits, and what the data can and cannot tell us.
- Typical time: medians of 59 to 66 days across studies.
- Range: 18 to 254 days in the best-known study, 4 to 335 across a 2024 review.
- One missed day barely changes how a habit forms. Missing often does.
- Simple habits, like a glass of water, form faster than exercise.
- Motivation helps you start. It predicts poorly whether you continue.
What counts as a habit
In psychology a habit is narrower than “something I do often”. It is an action that a situation triggers without you deciding: you finish dinner and find yourself at the sink. The situation is the cue, and the link between cue and action is what gets built by repetition.
These links run a large part of the day. When researchers asked people to write down what they were doing every hour, between 35% and 43% of the actions recorded were things they did almost daily in the same place, usually while thinking about something else.1 That is what a habit gives you: the action gets done, and your attention stays free. Building one means it no longer depends on remembering or on feeling motivated.
Where “21 days” came from
In 1960 a plastic surgeon, Maxwell Maltz, wrote in his book Psycho-Cybernetics that his patients needed “a minimum of about 21 days” to get used to a new face or the loss of a limb. It was an observation about adjusting to a change in how you see yourself, and it came with the word “minimum”.
The book sold millions of copies. Over the years the “minimum” was dropped, the subject shifted from self-image to habits, and a surgeon’s remark became a rule. Nobody had measured anything.
The real number: about 66 days
The first study to measure it properly came from University College London in 2010. Phillippa Lally and her colleagues asked 96 volunteers to pick one new eating, drinking or exercise behaviour and do it every day after the same cue: a piece of fruit with lunch, a 15-minute run before dinner. For 84 days the volunteers reported whether they had done it and how automatic it felt.2
Automaticity rose quickly in the first weeks and then levelled off. A habit forms along a curve; there is no day on which it switches on. The typical volunteer reached 95% of their own plateau, about as automatic as the habit would get, after 66 days.
The curve also shows why 21 days feels plausible. Three weeks in, the steepest part is behind you and the action is noticeably easier. But on a curve like this one you are a little over halfway, and the action still needs a decision on a bad day.
From there, each week adds less than the one before. That can feel like stalling, even though the habit is still getting stronger. It is the shape of the curve, not a sign that something has gone wrong.
Anywhere from 18 to 254 days
66 days is the median of a very wide spread. In the London study the fastest volunteer took 18 days and the slowest was projected to need 254.2
A 2024 review from the University of South Australia gathered 20 studies with 2,601 participants. Among those that measured duration, medians were again 59 to 66 days, means, pulled up by the slowest people, ran from 106 to 154 days, and individuals ranged from 4 days to 335.3
A fair expectation is two to three months. Five would not be unusual.
Why some habits take longer
- How much the habit asks of you. In the London study, exercise habits took roughly one and a half times as long to form as eating or drinking ones.2
- How steady the cue is. The same time and place each day builds the link faster than “sometime today”.
- How often you get to repeat it. Repetitions are what build the habit. Something you do three times a week gets fewer of them per month than something you do daily.
- You. Two people doing the same thing can be months apart. The range in every study is wide.
What happens when you miss a day
To the habit itself, very little. In the London study, missing a single opportunity did not materially affect how the habit formed. The curve carried on from where it was.2
That finding is narrow. It is about one missed day, not about missing often. Repetition is still what builds the habit, and nothing in the study suggests that frequent gaps are harmless.
What a missed day does to your motivation is a separate question, and there the evidence is less comforting. Streaks are a good example: an unbroken record is a real motivator while it lasts, and a real discouragement on the day it ends, more so when you blame yourself for the break.4 There is more on streaks, and on rewards in general, in Do rewards build habits?
Dieting research found something similar long ago. In a classic experiment, dieters who had been made to break their diet ate more afterwards, not less.5 Psychologists later nicknamed this the “what-the-hell effect”. The lapse did little damage. Treating it as proof that the attempt had failed did the rest.
Motivation matters less than you think
When a routine breaks down, most of us blame motivation: I stopped because I lost the drive. The research gives motivation a smaller and more specific role.
Wanting is not doing. A review of 47 experiments looked at what happens when people are successfully persuaded to intend something. A medium-to-large rise in intention produced only a small-to-medium change in what they actually did.6 Motivation gets you started. It is a weak guarantee that you will continue.
The kind of motivation matters. Self-determination theory, one of the most tested ideas in the field, separates doing something because you enjoy or value it from doing it for a reward or to avoid guilt. The first kind lasts longer, and it grows when you feel that you chose the activity, that you are getting better at it, and that you are doing it alongside people you care about.7 Rewards can even crowd out the first kind, as Do rewards build habits? explains.
We misjudge our own motivation. Students asked why they drink coffee said tiredness mattered about twice as much as habit. When the same students logged their tiredness and their coffee every two hours for a week, habit predicted their coffee drinking just as well as tiredness did.8 We feel our moods and intentions, so we give them the credit. Habits run quietly and get overlooked.
This has a practical consequence. If you believe motivation is what keeps a routine going, a flat, unmotivated week looks like proof that it is over. But motivation was always going to rise and fall. A habit is useful precisely because it asks less of it.
Four things that help
None of this is a recipe. These are four things with good evidence behind them.
- Tie it to something you already do. “After I pour my coffee, I stretch for five minutes” works better than “I will stretch more”. Psychologists call this an implementation intention; the popular “habit stacking” is one version of it. A review of 94 tests found that it has a medium-to-large effect on whether people reach their goal.9 To write yours, fill in: “After I [something I already do every day], I will [one small action].”
- Make it small enough for a bad day. Simple habits form faster, and the version you can still do when you are tired is the one that gets repeated. It helps to write two versions before you need them, the full one and the bad-day one: a 30-minute run becomes shoes on and ten minutes outside; 20 pages before bed, one page; cleaning the kitchen, clearing the sink.
- Keep a record, and count the partial days. Across 138 experiments with nearly 20,000 people, those who tracked their progress were more likely to reach their goal, and more so when they wrote it down or shared it.10 If your routine has five parts and you did three, record three. The full routine is still the aim, but scoring that day as a failure hides real repetitions. That is how Allez! scores a day.
- Do it with someone. In a weight-loss trial of 166 people, those who joined with three friends and were given ways to support each other were far more likely to finish and to keep the weight off than those who joined alone.11 That trial measured weight, not automaticity, so treat it as a pointer.
If you would like a starting point, two of our ready-made routines are short: Morning Routine, six small things to do once you are up, and Daily Basics, five spread across the day.
What about breaking a habit?
Everything above is about building a new habit. These studies do not say how long it takes to lose an old one, and there is no good number for that.
What the research does suggest is where to push. A habit is tied to its cue, so it weakens when the cue changes. When students moved to a new university, their old habits of exercising, reading the paper or watching TV survived only where the new setting resembled the old one.12 The usual advice follows from that: change or avoid the situation that sets the habit off, and give that situation a different action, which is easier than trying to do nothing.
What this research cannot tell you
- The studies are small and short. The best-known followed 96 volunteers for 12 weeks. The longest durations quoted here are projections from a curve, not something anyone observed.
- Almost everything is self-reported. “How automatic does it feel?” is an answer on a questionnaire.
- Nearly all of it is about simple health behaviours: water, fruit, flossing, stretching, the gym. Whether the same numbers hold for writing, studying or saving money is mostly untested.
- None of it predicts your number. 66 days is the median of a wide distribution, and you may sit far from it in either direction.
- Some points rest on a single study, or on a study of something adjacent. The text says so where that is the case.
Common questions
Does the 21-day rule have any scientific basis?
No. It comes from a surgeon’s remark in a 1960 book about how long patients took to get used to a new appearance. The studies that measured habit formation found much longer times.
Is 66 days a target?
No. It is the median of a range that ran from 18 to 254 days in the same study: half the people took longer.
Which habits take longest to form?
The ones that ask more of you: in the London study, exercise took longer than eating or drinking.
What if I miss two days in a row?
The research does not say. The finding that a missed day does little harm was about single missed days. Getting back to it quickly is the safe reading.
How do I know it has become a habit?
When the cue alone gets you started. Ask yourself now and then how much deciding it still takes.
The studies behind this
- Wood, Quinn & Kashy (2002). Habits in everyday life: Thought, emotion, and action. Journal of Personality and Social Psychology.
- Lally, van Jaarsveld, Potts & Wardle (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology.
- Singh, Murphy, Maher & Smith (2024). Time to form a habit: A systematic review and meta-analysis. Healthcare.
- Silverman & Barasch (2023). On or off track: How (broken) streaks affect consumer decisions. Journal of Consumer Research.
- Herman & Mack (1975). Restrained and unrestrained eating. Journal of Personality.
- Webb & Sheeran (2006). Does changing behavioral intentions engender behavior change? Psychological Bulletin.
- Ryan & Deci (2000). Self-determination theory and the facilitation of intrinsic motivation, social development, and well-being. American Psychologist.
- Mazar & Wood (2022). Illusory feelings, elusive habits: People overlook habits in explanations of behavior. Psychological Science.
- Gollwitzer & Sheeran (2006). Implementation intentions and goal achievement. Advances in Experimental Social Psychology.
- Harkin and colleagues (2016). Does monitoring goal progress promote goal attainment? Psychological Bulletin.
- Wing & Jeffery (1999). Benefits of recruiting participants with friends and increasing social support for weight loss and maintenance. Journal of Consulting and Clinical Psychology.
- Wood, Tam & Witt (2005). Changing circumstances, disrupting habits. Journal of Personality and Social Psychology.