HeroModeJoin the waitlist
Short answer · The science · Field note

How long does it take to form a habit? Longer than 21 days.

Usually longer than the popular 21 days. In a real-world study, new daily habits took between 18 and 254 days to feel automatic, with a median of 66. Simple actions formed faster than complex ones, and missing a single day did not materially slow the process. Plan for months, and plan for misses.

Last updated October 15, 2026

The short version

The ‘21 days’ figure is widely repeated but not well supported. The most cited real-world study followed people adding one new daily behavior, such as drinking water after breakfast or a short run before dinner. On average, the behavior took 66 days to reach its peak level of automaticity, and individual results ranged from 18 to 254 days.

What ‘forming a habit’ actually means

In research, a habit is a behavior triggered automatically by a familiar situation, with little deliberate thought. It isn’t the same as doing something every day. You can do a task daily by willpower for months before it starts to feel automatic, and you can have a strong habit you only perform on weekdays.

Why the range is so wide

How quickly a behavior becomes automatic depends on what it is and how consistently it is tied to a cue.

What speeds habit formation up or slows it down
FactorTends to form fasterTends to form slower
ComplexityA glass of water after breakfastA 50-minute workout
CueSame moment every day‘Sometime today’
ContextSame place and timeVaries day to day
EffortSmall and finishableLarge and draining

Missing a day is not a reset

In the same study, missing a single opportunity did not materially affect how automatic the behavior became. That matters more than the average number of days. If you expect a perfect run, the first miss feels like failure. If you expect the process to take months with some gaps, a miss is just part of it.

How to use this when you start a habit

Plan for the realistic timeline, not the hopeful one.

  1. 01Pick a small version of the behavior you could do on an average day.
  2. 02Tie it to one fixed cue: ‘after I pour my coffee’, not ‘in the morning’.
  3. 03Plan to keep going for at least two to three months before judging whether it worked.
  4. 04Decide now what you’ll do after a miss: the same small action at the next cue.

A worked example

Omar (a fictional example) wants to stretch daily. His first plan, a 30-minute routine, fades in week two. His second plan is two minutes of stretching straight after brushing his teeth at night. By week six he still misses occasionally, but he notices he starts stretching before he has decided to.

A small example
Cue: after brushing teeth. Action: two minutes of stretching. Expectation: two to three months, some misses. Rule: after a miss, same action next night.

Questions

Does it take 21 days to form a habit?

Probably not for most behaviors. A real-world study found new daily habits took 18 to 254 days to become automatic, with a median of 66 days. Simpler behaviors tended to form faster.

Does missing one day ruin a habit?

No. In the same study, missing a single opportunity did not materially affect habit formation. What matters more is returning at the next cue rather than letting the gap grow.

How do I know a habit has formed?

It starts happening with little deliberate thought when the cue appears, and skipping it feels slightly odd. That is a better signal than counting days.

Keep going

Sources

Practical guidance, not medical advice. Research findings are summarized; read the original studies for detail.

  1. Lally, van Jaarsveld, Potts & Wardle (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology.Time for a new behavior to reach peak automaticity varied from 18 to 254 days (median 66). Missing a single opportunity did not materially affect habit formation.doi.org/10.1002/ejsp.674 ↗