The 21-Day Rule Is a Myth: Habits Take a Median of 66 Days
Twenty-one days is the number that apps, books and motivational mugs all repeat, and it’s wrong. The first study that actually measured how long it takes to form a habit found something less convenient: there is no single number.
The magic number has a curious backstory. The deeper story, why habits exist at all, was told by William James in 1890 better than almost anyone since.
The 21 days come from a plastic surgeon in 1960
Not from a lab, but from an operating room. Maxwell Maltz was a plastic surgeon. In Psycho-Cybernetics (1960) he wrote that “it usually requires a minimum of about 21 days for an old mental image to dissolve and a new one to jell.” He was describing patients getting used to their new faces.
The word that matters is “minimum.”
Over the years, the line passed from book to book and seminar to seminar. Two things got lost along the way:
- the word “minimum,”
- and the fact that Maltz was talking about adjusting to a self-image, not acquiring a behavior.
Result: a clinical observation turned into a universal law.
The first real study found a median of 66 days
The first serious measurement arrived in 2010.
Phillippa Lally and her team at University College London followed 96 volunteers for 12 weeks. Each picked a simple behavior (eating, drinking or a bit of physical activity) and repeated it daily in the same context.
Every day, they rated how automatic it felt.
The data:
- The median was 66 days to reach 95% of peak automaticity (calculated for participants whose data allowed the curve to be modeled).
- The range was huge: 18 to 254 days.
- Exercise took somewhat longer than eating or drinking, although with so few cases the difference wasn’t statistically significant.
A systematic review by Singh and colleagues (2024), covering 20 studies and 2,601 participants, confirms the pattern: medians of 59 to 66 days, means of 106 to 154, and individual variation from 4 to 335 days.
Plain translation: 21 days is possible for someone, with something. It isn’t the rule.
Four studies, four figures: the time depends on the habit and the hour
Of the 20 studies in Singh’s review, only four measured how long it took to reach a habit. We have set them side by side, with the behaviour practised and how the time was calculated, because that is where it becomes clear why there is no single number.
| Study | Which habit | People | How it was measured | Time to habit |
|---|---|---|---|---|
| Lally and colleagues (2010) | Eating, drinking or moving, self-chosen | 96 | Median time to 95% of peak automaticity | 66 days (18 to 254) |
| Keller and colleagues (2021) | One daily eating behaviour | 192 | Median among those who formed the habit | 59 days (4 to 335) |
| Lally and colleagues (2008) | Healthy eating and self-weighing | 104 in the trial | Mean of the time each person said they needed | 91 days |
| Fournier and colleagues (2017) | One daily stretch | 48 | Mean estimated from learning curves | 106 days in the morning, 154 in the evening |
Three details change how those figures read:
- Not everyone gets there. In Keller’s study, according to Singh’s review, only 23% reached the habit threshold within the 84 days of follow-up. The 59 days are the median for those who did.
- The hour matters. In Fournier’s experiment, the same stretch became automatic about 48 days sooner when done on waking than when done before bed. The authors link this to the daily rhythm of cortisol, which is higher in the morning.
- The type of cue matters less. Keller compared tying the behaviour to a set time (“at 9:00”) or to a routine (“after breakfast”), and both worked equally well.
Singh’s review adds two more factors: habits chosen by the person themselves took hold better than assigned ones, and context stability, doing the same thing in the same place and at the same moment, came up again and again.
The four rows fit the review’s own conclusion: two to five months for a health habit, with some people taking much less and others much more. For anyone who tends to put things off, that margin can be a relief, and the procrastination test helps show which kind of delaying is their own.
William James saw habit as the flywheel of society
Long before habit apps, James devoted chapter IV of The Principles of Psychology to habit (first published in Popular Science Monthly in 1887).
His starting point is physical. Living matter has plasticity: “a structure weak enough to yield to an influence, but strong enough not to yield all at once.” His examples, borrowed from Léon Dumont, are domestic: a garment that takes the shape of the body, paper that folds more easily the second time, water that carves out its own channel.
Then comes the image that has survived more than a century:
Habit is thus the enormous fly-wheel of society, its most precious conservative agent.
William James, The Principles of Psychology
A flywheel is the heavy wheel that keeps a machine turning when the push falters. For James, that’s what keeps the fisherman at sea through the winter and the miner in the dark.
James was also a great collector of anecdotes. The oddest in the chapter: in an 1884 railroad accident involving a traveling menagerie, a tiger escaped its broken cage… and walked back in on its own. And an observation most people have lived, quoting a German author: “we learn to swim during the winter and to skate during the summer.” Practice settles during the rest.
Missing a day doesn’t undo a habit, whatever James believed
Here’s the part that has aged worst.
James, partly following Alexander Bain, laid out a set of maxims for acquiring a habit. They were his rules, written as advice for readers in 1890:
- Launch the new habit with as strong an initiative as possible, including public pledges.
- “Never suffer an exception to occur till the new habit is securely rooted in your life.” Each lapse, he wrote, is like dropping a ball of string you’ve been carefully winding: one slip undoes many turns.
- Act on the first opportunity.
- Keep up a little “gratuitous” daily exercise of effort, like an insurance premium.
The second maxim is the famous one. It’s also the one the data contradict.
In Lally’s study, missing a single day did not materially affect the automaticity process. The ball of string didn’t unravel over one lost turn.
Another blunt claim from James: “by the age of thirty, the character has set like plaster, and will never soften again.” That doesn’t hold up either. When Roberts, Walton and Viechtbauer pooled 92 samples followed over years in 2006, they saw conscientiousness and emotional stability keep rising in adulthood, especially between 20 and 40.
James got the mechanism right. He overstated the rigidity.
Around 43% of what we do each day is habit
In two diary studies by Wood, Quinn and Kashy (2002), about 43% of recorded behaviors were performed almost daily and in the same context.
And while doing them, people were usually thinking about something else.
That fits another of James’s ideas: the misery of the indecisive person, for whom lighting every cigar or drinking every cup becomes a matter of deliberation. Habit frees up attention. Without it, everything would be a decision.
People who tend to put things off know the problem is rarely a lack of rules, as the profile of the avoidant procrastinator shows. And the routine or spontaneity quiz shows which way each person leans.
What still stands of the flywheel
The drunken Rip Van Winkle, in the play James cites, excused every fresh lapse with “I won’t count this time!” James’s reply: the nerve cells are counting.
We are spinning our own fates, good or evil, and never to be undone.
William James
Current science qualifies the line: one dropped thread doesn’t undo the weave. What holds it together is the sum of many, as in the profile of the steady planner.
Sources
- James, W. (1890). The Principles of Psychology. Henry Holt and Company.
- Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall.
- 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
- Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024). Time to form a habit: A systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 12(23), 2488. https://doi.org/10.3390/healthcare12232488
- 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.
- Roberts, B. W., Walton, K. E., & Viechtbauer, W. (2006). Patterns of mean-level change in personality traits across the life course: A meta-analysis of longitudinal studies. Psychological Bulletin, 132(1), 1-25. https://doi.org/10.1037/0033-2909.132.1.1
- Fournier, M., d’Arripe-Longueville, F., Rovere, C., Easthope, C. S., Schwabe, L., El Methni, J., & Radel, R. (2017). Effects of circadian cortisol on the development of a health habit. Health Psychology, 36(11), 1059-1064. https://doi.org/10.1037/hea0000510
- 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. https://doi.org/10.1111/bjhp.12504
- Lally, P., Chipperfield, A., & Wardle, J. (2008). Healthy habits: Efficacy of simple advice on weight control based on a habit-formation model. International Journal of Obesity, 32(4), 700-707. https://doi.org/10.1038/sj.ijo.0803771
Want to know more about yourself?
Discover your result with one of our related tests.
Frequently asked questions
Does it take as long to break a habit as to form one?
There is no comparable figure. The studies in this article, including the review by Singh and colleagues (2024), measured how long it takes to acquire new behaviours, not to drop old ones. Breaking a habit largely means that the same cue in the environment stops triggering the behaviour, and research on that process does not yet offer a median in days.