Get WakeYa

How long does it take to form a habit? Not 21 days

The 21-day rule comes from a self-help book, not a study. The best-known study found a median of 66 days, and anything from 18 to 254. What that means for a new routine.

A small green sprout in a clay pot on a windowsill, lit by the first warm light of the morning.
AI-generated illustration

Where “21 days” comes from

The idea that a new habit takes 21 days goes back to Psycho-Cybernetics, a self-help book by Maxwell Maltz. Researchers who reviewed the evidence in 2024 describe it as “a widely cited idea in popular culture” and note that the timeline “has been questioned”.⁠[1]

It is easy to see why the number stuck. Three weeks sounds doable, and it makes a nice challenge. It just was not measured.

What the research actually found

The study most people mean when they say “66 days” followed 96 volunteers. Each chose one new eating, drinking or exercise behaviour, did it every day in the same situation for 12 weeks, and rated each day how automatic it felt.⁠[2]

How long a new daily habit took to feel automatic

From a study of 96 volunteers over 12 weeks; the habit curve could be fitted cleanly for 39 of them. Source: [2, 1]

Show the numbers
Fastest to slowest volunteer18–254 days
The popular claim, from a self-help book21 days
Median in the study66 days

Two numbers matter. The median was 66 days to reach the point where the habit stopped getting more automatic,⁠[1] and individual times ranged from 18 to 254 days.⁠[2] Some people got there in under three weeks; others needed most of a year.

There is a detail most retellings leave out: of the 96 volunteers, 82 kept good enough records, and for only 39 did the data form a clear habit curve.⁠[2] So 66 days describes people for whom the habit did form. It is not a promise that it will form for everyone in two months.

A 2024 review of 20 studies with 2,601 participants found the same picture: medians of 59 to 66 days, and individual times from 4 to 335 days.⁠[1]

Why some people take 18 days and others 254

Across the studies in that review, a few things made habits stronger:⁠[1]

  • A stable cue. Doing the behaviour in the same context each time made the habit stronger. The cue can be a clock time or an existing routine: in one study, “at 9 a.m.” and “after breakfast” worked equally well.
  • Your own choice. Habits people chose for themselves grew stronger than assigned ones.
  • Liking it. How people felt about the behaviour mattered.
  • The morning. In one study, a stretching habit became automatic faster when it was done in the morning (106 days on average) than in the evening (154 days).

That last one is a single study about a single habit, so treat it as a hint, not a rule. But it is a hint worth having if your goal is a better morning.

Missing a day is fine

This may be the most useful finding of all: missing one opportunity to perform the behaviour did not materially affect the habit formation process.⁠[2]

So a missed morning is not a reset to day one. A streak can motivate you, but it is not what builds the habit: repetition in the same context is,⁠[1] and one gap does not undo the repetitions before it.

Fast at first, then slow

The habit curve is steep at the start and flat at the end: early repetitions add much more automaticity than later ones.⁠[1] That is why the first weeks feel like real progress and week six can feel like nothing is happening. Nothing is wrong. You are on the flat part of the curve, and the habit is still getting stronger there, only more slowly.

If the habit you want is waking up for Fajr, the practical side of that is its own article: how to wake up for Fajr.

Sources

  1. 1 Singh B, Murphy A, Maher C, Smith AE (2024). Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare. Review of 20 studies with 2,601 participants pmc.ncbi.nlm.nih.gov/articles/PMC11641623
  2. 2 Lally P, van Jaarsveld CHM, Potts HWW, Wardle J (2010). How are habits formed: modelling habit formation in the real world. European Journal of Social Psychology. 96 volunteers, one new daily habit each, 12 weeks doi.org/10.1002/ejsp.674