Habits Take About Two Months to Form, Not 21 Days. Missing a Day Won't Reset the Clock.
The best-known study found a median of 66 days, with huge variation between people. The 21-day figure traces back to a plastic surgeon's observations, not a habit study.
Editorial · Every study described here is linked in the text and listed under Sources.
"It takes 21 days to form a habit" is one of the most repeated claims in self-help, and it doesn't come from a habit study. It traces back to Maxwell Maltz, a plastic surgeon, whose 1960 book Psycho-Cybernetics observed that it usually takes "a minimum of about 21 days" for people to adjust to a change, such as a new face after surgery. Habit researcher Ben Gardner has suggested that "getting used to something" was later retold as "forming a habit".
The study
The research behind a more realistic figure was published in 2010 by a team led by Phillippa Lally. They recruited 96 volunteers, mostly postgraduate students with an average age of 27, and asked each to pick one new healthy behaviour tied to something they did every day: eating a piece of fruit with lunch, drinking a bottle of water with lunch, going for a 15-minute run before dinner. Every day for 12 weeks, participants rated how automatic the behaviour felt, and the researchers fitted a curve to each person's ratings to find when it levelled off.
What it found
Not everyone formed a habit: the curve fitted well for 39 of the 82 people who stayed in the study long enough. Among them, the median time for the behaviour to reach 95 per cent of its peak automaticity was 66 days. The range was enormous, from 18 days to 254, and because the study lasted only 84 days, the longest times are projections from each person's curve. Exercise habits took longer on average than eating or drinking ones, 91 days against about two months, though the study was too small to be sure of that difference.
Missing a day barely mattered. A single slip produced only a small dip in the next day's automaticity rating, with no lasting effect on how the habit formed.
Missing one day didn't reset the clock. The habit kept forming.
Later studies agree on "about two months"
In a 2021 randomised trial with 192 adults, people who formed a habit took a median of 59 days to reach peak automaticity, and linking the behaviour to a daily routine worked no better than scheduling it for a set time. A 2024 review of 20 studies found median times of 59 to 66 days, average times of 106 to 154 days and individual times from 4 to 335 days, and concluded that the evidence refutes the 21-day claim. A 2023 study of more than 30,000 gym-goers estimated that a gym habit took about two to three months, while hospital workers' handwashing became habitual within weeks, around 9 to 10 shifts.
The if-then plan, and its real size
One technique reliably helps people act on their intentions: the implementation intention, an "if-then" plan of the form "when situation X happens, I will do Y". A 2006 meta-analysis of 94 tests with 8,461 participants found a medium-to-large effect on reaching goals, and that figure has been quoted ever since.
In a 2025 update covering 642 tests, the same researchers found a smaller average effect, and substantial signs that unsuccessful studies had gone unpublished. After correcting for that, the effect was small. For physical activity, if-then plans helped people who strongly intended to exercise and did essentially nothing for people whose intentions were weak.
What this research can't tell you
The 66-day figure rests on 39 motivated volunteers, mostly postgraduates, rating their own automaticity, and on a cut-off point the researchers chose. Lally herself has stressed that 66 days is not a universal number. Most if-then planning studies were done with university students on short lab tasks.
What to do with it
Plan for about two months, not three weeks, and possibly longer for exercise. Attach the new behaviour to something you already do every day, and write it as an if-then plan: "After I pour my morning coffee, I'll do ten minutes of stretching." It works best for things you genuinely want to do. And if you miss a day, carry on; in the study, a single slip didn't undo the progress.
Sources
- Lally P, van Jaarsveld CHM, Potts HWW, Wardle J. How are habits formed: modelling habit formation in the real world. European Journal of Social Psychology. 2010;40(6):998–1009. doi.org/10.1002/ejsp.674 · Free to read
- Keller J, Kwasnicka D, Klaiber P, et al. Habit formation following routine-based versus time-based cue planning: a randomized controlled trial. British Journal of Health Psychology. 2021;26(3):807–824. doi.org/10.1111/bjhp.12504
- Singh B, Murphy A, Maher C, Smith AE. Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare. 2024;12(23):2488. doi.org/10.3390/healthcare12232488 · Free full text
- Buyalskaya A, Ho H, Milkman KL, et al. What can machine learning teach us about habit formation? Evidence from exercise and hygiene. Proceedings of the National Academy of Sciences. 2023;120(17):e2216115120. doi.org/10.1073/pnas.2216115120. Correction: PNAS 2023;120(34):e2312763120, doi.org/10.1073/pnas.2312763120
- Gollwitzer PM, Sheeran P. Implementation intentions and goal achievement: a meta-analysis of effects and processes. Advances in Experimental Social Psychology. 2006;38:69–119. doi.org/10.1016/S0065-2601(06)38002-1
- Sheeran P, Listrom O, Gollwitzer PM. The when and how of planning: meta-analysis of the scope and components of implementation intentions in 642 tests. European Review of Social Psychology. 2025;36(1):162–194. doi.org/10.1080/10463283.2024.2334563
- Gardner B. Busting the 21 days habit formation myth. UCL Health Behaviour Research Centre blog. 29 June 2012. blogs.ucl.ac.uk
- University of Surrey. Does it really take 66 days to form a habit? We asked expert Dr Pippa Lally. 2026. surrey.ac.uk