How Long Does It Actually Take to Build a Habit?
Direct answer: There is no fixed number. Lally et al.’s 2010 UCL study found habits took a median of 66 days to become automatic, ranging from 18 to 254 days depending on the behavior and the person. The famous “21 days” figure is a myth traced to a 1960s plastic surgeon’s observation about patients adjusting to a new face, not a habit-formation study.
What the Real Research Actually Shows: A 66-Day Median With Enormous Variation
The most-cited real evidence on habit timelines comes from Phillippa Lally, Cornelia van Jaarsveld, Henry Potts, and Jane Wardle’s 2010 study at University College London, published in the European Journal of Social Psychology (40(6): 998-1009). Ninety-six volunteers each picked one everyday eating, drinking, or activity behavior to repeat daily in the same context for 12 weeks (84 days), rating how automatic the behavior felt each day using a self-report habit index. Eighty-two participants provided enough data to analyze.
Researchers fitted a nonlinear curve to each person’s daily automaticity scores to estimate when the behavior plateaued. The median time to reach that plateau was 66 days, but the individual range ran from 18 days for the fastest person up to a projected 254 days for the slowest. That spread matters as much as the median itself: a habit that takes someone else three weeks to lock in might genuinely take a different person eight months, and both outcomes are consistent with the same study.
The study also found that missing a single day here or there did not meaningfully derail the process. One skipped morning did not reset the automaticity curve back to zero, which is a useful, concrete detail for anyone tracking their own progress day by day.
The honest takeaway for readers: 66 days is a median across simple, self-chosen daily behaviors in one study, not a guaranteed timeline for any habit. More complex or less rewarding behaviors took considerably longer for many participants, and nothing in the data supports treating 66 days as a target date to circle on a calendar.
Where “21 Days to Form a Habit” Actually Came From, and Why It Doesn’t Hold Up
The 21-day figure traces to Dr. Maxwell Maltz, a plastic surgeon, in the preface to his 1960 self-help book Psycho-Cybernetics. Maltz wrote that it took his patients roughly 21 days to get used to a new face after surgery, and that a phantom limb sensation after amputation also tended to persist for about 21 days. That was a clinical observation about adjusting to a physical change, not a controlled study of forming a new voluntary behavior, and Maltz never claimed it applied to habits like exercise or diet.
Over decades of repetition in self-help books and seminars, that anecdote got generalized into the now-familiar claim that any habit takes exactly 21 days. The number’s appeal is obvious: it is short, tidy, and easy to put on a calendar. None of that makes it accurate for the very different question of how long it takes to build a new automatic behavior from scratch.
UCL’s own Behavioural Science and Health research blog, the group behind the Lally study, has directly addressed this claim, concluding that while 21 days might describe adjustment to plastic surgery, it is unfounded as a basis for habit formation in general. The clearest distinction for readers: Maltz was describing habituation, the process of getting used to a change that already happened, not the process of building a new automatic behavior that later research actually measured.
What Actually Determines How Long a Habit Takes
Since the honest answer is a wide range rather than a single number, the more useful follow-up question is what pushes someone toward the 18-day end versus the 254-day end. The Lally study’s own data pointed to the behavior itself as a major factor: simple habits attached to an existing routine, like drinking a glass of water after breakfast, plateaued faster than habits requiring more effort or planning, like a 50-situp exercise routine.
Consistency of the cue and context mattered more than sheer willpower in the study’s design, since every participant repeated their chosen behavior in the same setting each day. An occasional missed day did not reset progress either, which runs counter to the popular belief that one slip means starting over from day one.
For a family or wellness audience, the practical implication is straightforward: expect variability rather than a fixed finish line, choose a stable daily trigger for the new behavior, and treat a missed day as noise rather than failure. Aiming for an arbitrary 21-day or 66-day deadline sets up a false sense of either success or failure that the underlying research never actually supports.
Related Reading
Sources: Lally, van Jaarsveld, Potts & Wardle (2010), “How are habits formed: Modelling habit formation in the real world,” European Journal of Social Psychology, 40(6), 998-1009 (onlinelibrary.wiley.com/doi/10.1002/ejsp.674), the original peer-reviewed study establishing the 66-day median and the 18-254 day range based on 96 volunteers tracked over 84 days; UCL Behavioural Science and Health research blog, “Busting the 21 days habit formation myth” (blogs.ucl.ac.uk/bsh/2012/06/29/busting-the-21-days-habit-formation-myth), which confirms the 18-254 day range and traces the 21-day myth to Maxwell Maltz’s 1960 book Psycho-Cybernetics. Verified habit-formation timelines against these sources on 2026-07-31.
