Mivo

The Mivo team ·

How long does it take to form a habit?

Short answer: Plan for about two months, but expect wide variation. In one widely cited study, the median was 66 days. Individual results ran from 18 days to a predicted 254 days. Simple habits can form faster, and a hard habit can take much longer.

What the research found

Researchers usually ask when a behavior starts to feel automatic, which means that you do it with little thought. These studies measured different habits in different ways, so their numbers are not directly comparable.

Habit studied Typical time Important detail
Eating, drinking, or exercise (Lally, 2010) Median 66 days Range of 18 to 254 days. The study ended at 84 days, so the highest figure is a prediction.
Healthy eating (Keller) Median 59 days Range of 4 to 335 days. Only 23% of participants reached the study's habit threshold.
Daily stretching (Fournier) Mean 106 or 154 days 106 days in the morning, and 154 days in the evening.
Going to the gym (Buyalskaya, 2023) About 6 months Based on more than 12 million gym check-ins.
Hospital handwashing (Buyalskaya, 2023) A few weeks Based on more than 40 million handwashing records.

A 2024 review of 20 studies pulled much of this evidence together. Only four of those studies measured the time to reach a habit, so treat every number as a guide and not as a promise.

What about the 21-day rule?

The evidence does not support 21 days as a general rule. The 2024 review traces the popular idea to the book Psycho-Cybernetics and says that its results refute a general 21-day timeline. If a habit does not feel automatic after three weeks, you have not failed.

Does missing a day ruin a habit?

One missed day does not appear to ruin it. In the 2010 study, missing one opportunity did not materially affect habit formation. Many missed days are different, because a digest of that study reports that repeated gaps reduced the level of automaticity that people reached. The practical rule is simple: return at your next chance.

What helps a habit form

  • Choose it yourself. In the 2024 review, habits that people chose themselves tended to be stronger.
  • Keep the same context. People with a stable routine in a consistent setting showed stronger habits.
  • Tie it to a clear plan. For example: "After breakfast, I will drink a glass of water." Planning supports repetition in a consistent context.
  • Expect the early gains to be largest. In the 2010 study, early repetitions added the most automaticity, and the gains slowed later.
  • Start with something you can repeat. Drinking water formed stronger habits than exercise or eating fruit and vegetables in one study. A small first step can help you repeat a habit on hard days.

Timing has mixed evidence. Morning stretching became automatic faster than evening stretching, but time of day did not predict gym habits in the 2023 study. Pick a time that you can keep.

How to know when a habit has formed

Stop counting days, and ask how the habit feels. Do you start it without a debate? Do you feel odd when you skip it? Do you do it even when you are tired? A habit rarely has a clear finish line, because it becomes more automatic gradually.

If you want to record your progress, our guide explains what a habit tracker is and how to use one well.

Questions

Does it take 21 days to form a habit?

Not as a general rule. Some simple habits may form quickly, but many studied habits took much longer.

Does it take 66 days to form a habit?

66 days was the median in one study, and it is not a fixed rule. About half of the people in that study had not reached a high enough automaticity score by the end, at 84 days.

Why do some habits take longer?

The habit, the person, and the setting all matter. Going to the gym took months in the 2023 study, while hospital handwashing took weeks. The authors did not find one magic number.

Where our app fits

In your Mivo garden, a missed day slows a habit's growth but does not reset it. We have not studied whether the app speeds up habit formation.

Sources

  1. Lally, van Jaarsveld, Potts, and Wardle (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology. We read the abstract.
  2. Singh and colleagues (2024). Time to form a habit: a systematic review and meta-analysis. Healthcare. We read the full text. The Keller and Fournier figures come from this review.
  3. Buyalskaya and colleagues (2023). What can machine learning teach us about habit formation? Proceedings of the National Academy of Sciences. We read the research summary.
  4. British Psychological Society. Research Digest: How to form a habit.

This post is general information, not medical or psychological advice.