Do habits take 21 days? Studies say 18 to 254 days

Wren Ashby, Psychology writer (AI-assisted) ·

It is widely said that a new habit forms in 21 days, but the two studies read for this page show that is not typical [1]. In studies that followed adults day by day, simple daily behaviours took anywhere from a few days to nearly a year to become automatic, and 21 days was near the fast end, not the rule [1].

The evidence: results from the best-known habit study

The best-known study of habit formation followed 96 volunteers [1]. Each chose an eating, drinking or activity behaviour to carry out daily in the same context (for example "after breakfast") for 12 weeks, filled in a habit questionnaire each day and recorded whether they had done the behaviour [1].

Here is what the study found, in numbers from the study's abstract, collected on this site's data page [1]:

What was measuredNumber of peopleShortest timeLongest time
Days to 95% of personal automaticity96 started18 days254 days
(cleanest model fit: 39 people)
  • The shortest time to reach near-automaticity was 18 days.
  • The longest was 254 days, about 14 times the fastest [1].
  • The popular "21 days" claim sits just 3 days past the fastest, but 233 days before the slowest [1].

The study measured "automaticity," meaning how much the behaviour felt like it ran on autopilot—not just "not missing a day." With repetition in a consistent context, automaticity rose along a curve that flattens toward a limit, which the researchers modelled person by person [1].

The curve fitted well for 39 of the 96 people who started, which is fewer than half [1].

The 2024 review: habits take a median of about two months

A 2024 systematic review combined results from 20 habit-formation studies, covering 2,601 participants with mean ages from 21.5 to 73.5 years [3]. These studies included daily habits like physical activity, flossing, healthy eating, drinking water and even microwaving a dishcloth.

What stands out from the review [1, 3]:

  • Four studies in the review reported a median time to habit formation between 59 and 66 days [1, 3].
  • Mean times reported ranged from 106 to 154 days [1, 3].
  • Individual times ranged from 4 to 335 days [1, 3].

The review also measured how much stronger habits felt after an intervention, finding a standardised mean difference of 0.69 (medium, leaning large, on the usual scale) [1].

Despite the wide range, the review’s summary is clear: habits can start forming within about two months, but the time required varies greatly from person to person [3].

Table: Habit formation times from the 2024 review [1]

StatisticValue (across 4 studies)
Shortest time4 days
Median time59 to 66 days
Mean time106 to 154 days
Longest time335 days

The 2010 study and the 2024 review point the same way: the review's medians of 59 to 66 days are well above the popular 21-day figure, and the real range is much wider [1].

What makes a habit stick: consistency and context

What the two sources report [1, 3]:

  • Performing the behaviour more consistently was linked to better model fit (meaning the habit formed in a more predictable way) [1].
  • Missing one opportunity to perform the behaviour did not materially affect the habit formation process [1].
  • Habits chosen by the participant and those done in the morning were generally stronger [3].
  • The type of habit, frequency, and context (doing it the same way, in the same place or time) all influenced how strong the habit became [3].

Neither source tests one particular routine, so these are patterns across people, not a recipe [1].

How certain are these numbers?

Both the 2010 study and the 2024 review have limits [1, 3]:

  • The 2010 study’s results rest on 82 of the 96 who started, with good model fits for just 39 people. Projections for the longest times are based on the shape of each person’s habit curve, not on observed days [1].
  • The 2024 review rated more than half its included studies (11 of 20) as high risk of bias, meaning there could be issues with how the studies were run or reported [3].
  • Only four studies in the review reported how long habit formation took, so the timing figures come from a small subset [3].

Even with these caveats, both sources point to the same pattern: habit formation is slower and more variable than the "21 days" rule suggests [1].

A concrete example: what does "21 days" really cover?

Suppose you decide to start a daily habit—say, drinking a glass of water after breakfast. In the 2010 study, one participant reached near-automaticity in 18 days, but another took 254 days [1]. At 21 days you would be near the quick end of that study. In the 2024 review, the studies that reported a time gave medians of 59 to 66 days [1].

If you check in with a friend after three weeks, it is normal for one of you to feel the habit is building and the other to feel it is still an effort. Both are within the expected range [1].

Questions readers ask

Why do people believe in the 21-day rule if it is rarely true?

This page did not trace where the figure came from. What the studies show is that 21 days sits near the fast end of a very wide range [1].

Does missing a day mean I have to start over?

No. In the 2010 study, missing one opportunity to perform the behaviour did not materially affect the habit formation process [1].

How much stronger does a habit get after a programme?

Across 20 studies, the improvement in habit strength after an intervention was medium to large (standardised mean difference of 0.69, 95% CI: 0.49 to 0.88) [1, 3]. This means that, for many people, habits felt noticeably stronger after a focused effort.

---

How the numbers work

Computed from the numbered sources and the assumptions named below; change an assumption and the results change with it.

FigureValueWhere it comes from
Shortest time to form a habit (2010 study)18 dayssource [1]
Longest time to form a habit (2010 study)254 dayssource [1]
Shortest time to form a habit (2024 review)4 dayssource [1]
Longest time to form a habit (2024 review)335 dayssource [1]
Popular claim: days to form a habit21 dayssource [1]
Popular claim compared to shortest time (2010 study)3 dayscomputed: Popular claim: days to form a habit - Shortest time to form a habit (2010 study)
Popular claim compared to longest time (2010 study)233 dayscomputed: Longest time to form a habit (2010 study) - Popular claim: days to form a habit
Spread between shortest and longest (2010 study)14.1computed: Longest time to form a habit (2010 study) ÷ Shortest time to form a habit (2010 study)
Spread between shortest and longest (2024 review)83.8computed: Longest time to form a habit (2024 review) ÷ Shortest time to form a habit (2024 review)
Work it out with your own numbers
  • Popular claim: days to form a habit: 21 days
  • Shortest time to form a habit (2010 study): 18 days
  • Longest time to form a habit (2010 study): 254 days

Works out: Popular claim compared to shortest time (2010 study); Popular claim compared to longest time (2010 study)

Sources

  1. Our own data, 28 Nov 2026: How long a habit takes to form: the 2010 study and the 2024 review, read 28 November 2026
  2. How are habits formed: Modelling habit formation in the real world
  3. Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants

More articles