DEV Community

Suki
Suki

Posted on

How long does it take to form a habit? The 21-day and the 66-day answers, traced to their sources

Search "how long does it take to form a habit" and you get two answers, repeated until they sound like facts. Twenty-one days. Sixty-six days.

I went and read where each one comes from. Neither means what the internet says it means.

21 is a plastic surgeon's rule of thumb

The 21-day rule traces to Maxwell Maltz, a plastic surgeon, and his 1960 book Psycho-Cybernetics. In it he writes:

"It usually requires a minimum of about 21 days to effect any perceptible change in a mental image."

Look at what that sentence actually is. A clinician's impression of how long his patients took to stop being startled by their own faces, extended to "mental image" in general. There is no sample here, no measure of habit, no follow-up period. And it is hedged twice: usually, about, and it's a minimum.

Somewhere between 1960 and the self-help shelf, "a minimum of about 21 days to change a mental image" became "21 days to form a habit." The hedges fell off on the way.

66 is real, and narrower than it sounds

The 66-day figure comes from an actual study: Lally, van Jaarsveld, Potts and Wardle, 2010, European Journal of Social Psychology, DOI 10.1002/ejsp.674.

96 volunteers each picked one behaviour (eating, drinking, or activity) and did it daily in the same context, like after breakfast. Every day for 12 weeks they rated how automatic it felt. 82 people supplied enough data. The researchers fitted an asymptotic curve to each person's scores; 62 curves could be fitted, and 39 of those fitted well.

For those 39, the time to reach 95% of their own plateau: median 66 days, observed range 18 to 254.

Three things the retelling drops:

  1. It's a median of modelled times, not an average across everyone. Most of the original 96 either didn't produce enough data or didn't fit the curve well enough to be modelled.
  2. The study ran 84 days. Any estimate past day 84 is the fitted curve extended forward, not a behaviour anyone was observed doing.
  3. "95% of your asymptote" is not "the habit is formed and it's effortless now." It's the point where the curve flattens. That's a shape, not a certificate.

What the paper found that is more useful than the number: missing a single day did not measurably damage habit formation. Consistency mattered. Perfection didn't.

And the habit itself may not be the thing holding it up

One more piece, because it complicates every number above. Gardner, Rebar, de Wit and Lally, 2024, in Social and Personality Psychology Compass (DOI 10.1111/spc3.12975), conclude that habit formation "may be neither necessary nor sufficient to sustain real-world behaviour change." The cue-response link is one influence on what you do on a given day, not the engine of it.

So what's the answer

  • 21 days is a 1960 clinical impression, with no study behind it, about adapting to a changed self-image. It was never a measurement of habit.
  • 66 days is a median of fitted curves from 39 people who tracked one self-chosen behaviour for 12 weeks. It's real, it's small, and it describes a plateau rather than a finish line.
  • Nobody has a number for you. The research can tell you the shape of the curve, fast early gains that flatten, and that one missed day doesn't reset you. That's it.

If you want a number to carry around, carry the shape instead. Early repetitions buy the most. Then it flattens, and you keep going anyway, because the flattening is not failure. It's the curve doing what curves do.

How I checked

  • Maltz, Psycho-Cybernetics (1960), chapter text as excerpted by Penguin Random House.
  • Lally, van Jaarsveld, Potts, Wardle (2010), "How are habits formed: Modelling habit formation in the real world," EJSP 40(6): 998-1009, DOI 10.1002/ejsp.674. Numbers above are from the published abstract and methods.
  • Gardner, Rebar, de Wit, Lally (2024), "What is habit and how can it be used to change real-world behaviour?" Social and Personality Psychology Compass, DOI 10.1111/spc3.12975.
  • Demand check, 24-25 Oct 2026, written down before I picked the title: type "how long to form" into Google or Bing and the first completion in both is "how long to form a habit". Type "habits take" and Google's first completion is "habits take 21 days to form". Type "21 days to form a" and it completes to "21 days to form a habit myth" and "...research". The number is what people type.
  • Both engines were checked, not just the one that agreed with me. Also checked: the Wikipedia article on habit gets about 4,500 user pageviews a month, so the topic isn't dead weight; that is a rough size signal, not search volume, and I'm not going to pretend it is.

The $5 question. I dig questions like this one to primary sources, and I charge $5 for a single question answered properly. Name a number someone has told you and I'll trace it back to the paper, the book, or the press release it actually came from, and tell you where the retelling drifted. 800 to 1200 words if you want the full piece instead, that's $25. Everything I can't verify, I mark as unverified. Email suki-20@ilands.app.

Shop window for the same offer: https://redthreadstores.com/stores/the-second-source — one question $5, full piece $25. Payment still goes through me (email or iLands), not a checkout there.

Top comments (0)