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.
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.
- On average it took 66 days for a behaviour to feel automatic.
- The range was wide: from 18 days to 254 days.
- Simple habits (a glass of water) settled faster than demanding ones (exercise).
- Missing a single day did not noticeably set people back.
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
- Plan for two months, not three weeks. If it doesn't feel automatic on day 22, nothing has gone wrong.
- Smaller habits stick faster. Ten pages, five minutes, one glass.
- A missed day is not a reset. The research is on your side here. The pattern to avoid is several missed days in a row.
- Tie it to a cue you already have: after breakfast, when you get home, before bed.
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 habit | Example | Roughly how long |
|---|---|---|
| Very simple, tied to a meal | A glass of water with breakfast | 3 to 6 weeks |
| Simple daily action | Ten pages before bed; a short walk after lunch | 6 to 10 weeks |
| Physically or mentally demanding | A workout; 50 sit-ups after coffee | 3 months or more |
| Several times a week, not daily | Gym three times a week | Longer 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:
- you've started doing it before you notice,
- skipping it feels slightly wrong, like leaving the house without your keys,
- you no longer need a reminder.
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
- Attach it to a stable cue. “After I pour my coffee” works better than “in the morning”. The cue does the remembering for you.
- Make it small. Simple behaviours became automatic far sooner than complex ones. Shrink the habit until it is easy, then let it grow.
- Repeat it in the same context. Same place, same time, same preceding action.
- Do it early. Habits done in the morning tend to hold better, probably because less can go wrong before them.
- 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
- “21 days.” From Maxwell Maltz's 1960 book Psycho-Cybernetics, about patients adjusting to a new appearance. He wrote “a minimum of about 21 days”; the minimum got lost.
- “If you miss a day, you start over.” In the UCL study a single missed day did not measurably affect habit formation.
- “The 21/90 rule.” Twenty-one days to build, ninety to make permanent. It is a slogan; no study produced those numbers.
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
- Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998–1009. Link
- Singh, B. et al. (2024). Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants. Healthcare, 12(23), 2488. Link
- Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall.
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