Habbles › Guides › How many days to build a habit

How many days does it take to build a habit?

The short answer: about two months on average, but anywhere from three weeks to most of a year depending on the habit and the person. The popular “21 days” figure isn't what the research found.

Download on theApp Store7 min readSources citedFree app
Quick answer

About 66 days on average, according to the best-known study, with a range from 18 to 254 days. Easy habits form faster than demanding ones. The popular “21 days” figure comes from a 1960 self-help book, not from habit research. Missing one day does not set you back.

01What the research says

The study most often cited is by Phillippa Lally and colleagues at University College London, published in 2009 in the European Journal of Social Psychology. Ninety-six people each chose a new daily behaviour, such as drinking water with lunch or running before dinner, and reported how automatic it felt each day.

02Where “21 days” came from

It traces back to Maxwell Maltz, a plastic surgeon who wrote in 1960 that his patients seemed to need a minimum of about 21 days to get used to a change. “A minimum of about 21 days” was later shortened into “21 days to form a habit”. It was an observation, not a study of habits.

03What this means in practice

04How to keep count without it becoming a chore

You don't need to count to exactly 66. What helps is seeing that you showed up today and that the run is intact. A paper sheet does this, and so does an app that forgives the odd miss instead of wiping your streak. In Habbles a missed day lowers your momentum a little; it doesn't send you back to zero.

05How long different habits take

The 66-day average hides a lot. In the University College London study, people choosing an eating or drinking habit settled much sooner than people choosing exercise. Later research has found the same pattern.

Kind of habitExampleRoughly how long
Very simple, tied to a mealA glass of water with breakfast3 to 6 weeks
Simple daily actionTen pages before bed; a short walk after lunch6 to 10 weeks
Physically or mentally demandingA workout; 50 sit-ups after coffee3 months or more
Several times a week, not dailyGym three times a weekLonger still; fewer repetitions per week

These are rough guides drawn from the pattern in the research, not precise figures. Your own number depends on the habit, the cue you attach it to and how often you repeat it.

06What newer research adds

A 2024 systematic review and meta-analysis in the journal Healthcare looked at 20 studies of health habits with 2,601 participants in total. Four of those studies measured how long habits took to form. They reported medians of 59 to 66 days and means of 106 to 154 days (the averages are higher because some people took much longer), with individual results ranging from 4 to 335 days. Across the review, habits practised in the morning and habits people had chosen for themselves tended to form more reliably.

The authors note that the evidence is still limited, so read these as indicative ranges and not as a fixed timeline. The takeaway matches the original study: two months is a reasonable expectation, and a wide spread is normal.

07What “automatic” actually means

A habit in the research sense isn't something you do often. It is something you do without deciding to. The study measured this with questions such as whether the behaviour was hard not to do and whether it happened without thinking. You'll know a habit has formed when:

The curve isn't a straight line. Automaticity rises quickly at first and then levels off, which is why the first three weeks feel like progress and the next five feel like nothing is happening. Something is.

08Five things that make a habit form faster

  1. Attach it to a stable cue. “After I pour my coffee” works better than “in the morning”. The cue does the remembering for you.
  2. Make it small. Simple behaviours became automatic far sooner than complex ones. Shrink the habit until it is easy, then let it grow.
  3. Repeat it in the same context. Same place, same time, same preceding action.
  4. Do it early. Habits done in the morning tend to hold better, probably because less can go wrong before them.
  5. Make the result visible. A tick on paper, a streak in an app, a face that cheers up. Small, immediate rewards are what repetition feeds on.

09Does breaking a habit take the same time?

Not quite. The research above is about forming new habits. An old habit doesn't disappear on a schedule; its cue is still there. What works is replacing the response to the cue (sparkling water in the glass you used for wine, a walk at the time you used to smoke) and letting the new response become the automatic one. Expect that to take at least as long as building any other habit, and count the days you stay clear rather than waiting for a finish line. A quit counter is built for exactly that.

10Three myths worth dropping

11How we made this

We build Habbles, a habit tracker designed around this research: small habits, a streak that forgives a miss, and no reset to zero. The figures on this page come from the two papers listed under Sources. We have summarised them in plain language; where we generalise beyond the papers, we say so.

12Questions

Is it true that it takes 21 days to form a habit?

No. That figure comes from a 1960 observation about patients adjusting to change, not from habit research. The best-known study found an average of 66 days.

What is the average time to form a habit?

About 66 days in the 2009 University College London study, with individual results ranging from 18 to 254 days.

Does missing a day ruin a habit?

No. In the same study, missing one opportunity did not materially affect how the habit formed. Missing many days in a row is what matters.

What is the 21/90 rule?

A popular saying that it takes 21 days to build a habit and 90 days to make it a lifestyle. It is a rule of thumb rather than a research finding; the real time varies a lot from habit to habit.

How long does it take to form a habit according to science?

The most cited study found an average of 66 days, ranging from 18 to 254. A 2024 systematic review reported similar medians of 59 to 66 days in the studies that measured timing.

Can you build a habit in 30 days?

A simple one, sometimes. Thirty days gives a habit a strong start, but most take around two months to feel automatic.

How long does it take to build a workout habit?

Longer than most habits. Exercise was among the slowest behaviours to become automatic in the research; plan for three months or more.

How many times do you have to do something for it to become a habit?

There is no fixed count. What matters is repeating it in the same situation; for a daily habit that works out to roughly two months of repetitions on average.

Sources

A tracker that forgives a missed day

In Habbles a miss dips your momentum instead of resetting it, and a freeze you earn each week covers an empty day.

Download on theApp Store

Keep going

HabblesFree · No account
Get the app