21 Days to Form a Habit? A Plastic Surgeon Made That Up.
And why the actual answer is more useful than a catchy number.
You’ve heard it a hundred times: stick to something for 21 days and it becomes automatic. The number is neat and catchy, but almost entirely made up — at least as a universal truth. The science tells a much more interesting story.
21 days may be when the brain first begins to rewire. It is rarely when the job is done.
Where the myth came from
The “21 days” idea traces back to a 1960 observation by plastic surgeon Maxwell Maltz in Psycho-Cybernetics, who noticed patients took roughly three weeks to get used to their new appearance. This was all based on anecdotal evidence, not a proper study.
The number stuck, propagate via self-help culture, and became accepted wisdom with no research to back it up.
What the research actually says
The most-cited modern study on this is Lally et al. (2010), which followed 96 participants trying to build new habits over 12 weeks. The headline finding: simple habits took as few as 18 days for some, and complex habits (e.g. an exercise routine of 50 sit-ups daily) took up to 254 days to reach full automaticity. Of course, this 254 data point could be considered an outlier.
A 2021 study by Keller et al. on healthy eating pushed that upper limit even further, with the upper limit for a dietary habit change taking 335 days. That’s basically a year!
And there’s a stat most habit-formation articles quietly skip: in some studies, only 23% of participants actually reached the automaticity threshold within the study period. For a meaningful share of people, forming a lasting habit may genuinely take longer than a year.
It depends heavily on what you’re trying to do
Complexity matters a lot here. Washing your hands every time you enter a room is a short, cued motor sequence. Going to the gym three times a week involves planning, physical exertion, logistics, and ever-depleting willpower reserves. The brain treats these as fundamentally different tasks.
Time of day also plays a quiet but measurable role. Daily stretching practised in the morning formed in an average of 106 days, but the same habit attempted in the evening took 154 days. We can guess that this is is because mornings carry more stable routines and higher cortisol levels for most people.
What’s happening in your brain
Habit formation is literally a physical process in the brain. Early on, the prefrontal cortex (which handles deliberate planning) takes care of every repetition consciously — it’s effortful.
Over time, control shifts toward the basal ganglia which is responsible automatic execution (the “autopilot”). Two biological mechanisms drive this: long-term potentiation (synaptic connections strengthen with repeated use) and myelination (a fatty sheath thickens around neurons, allowing signals to travel faster).
The more complex the behaviour, the more reps and time the brain requires to complete that restructuring.
The one thing that does matter most
Across studies, the single biggest predictor of a longer formation period isn’t complexity or timing — it’s early inconsistency. Missing an occasional day has no meaningful impact on the outcome. But people who were patchy in the first weeks almost always ended up at the long end of the curve.
So the honest answer to “how long does it take?” is: probably between two months and a year, depending on what you’re building and when you do it. That’s a less satisfying bumper sticker. It’s also considerably more useful than a number plucked from a cosmetic surgeon’s notebook in 1960.
Sources: Lally et al. (2010), “How are habits formed: Modelling habit formation in the real world,” European Journal of Social Psychology. Keller et al. (2021), “What is the role of habit strength in healthy eating?"