Science · November 8, 2026 · 5 min read

How Long Does It Take to Form a Habit? (It's Not 21 Days)

How Long Does It Take to Form a Habit? (It's Not 21 Days)

You have probably heard that it takes 21 days to form a habit. It is a nice, round number. It is also not what the research says.

Short answer

On average, about 66 days, with a huge range: from 18 days to 254 days depending on the person and the habit. Simple habits form faster than hard ones, and missing a single day does not reset your progress.

Where the "21 days" myth comes from

The idea goes back to Maxwell Maltz, a plastic surgeon who wrote Psycho-Cybernetics in 1960. He noticed his patients took a minimum of about 21 days to get used to a change, like a new face in the mirror. Over time "a minimum of about 21 days" turned into "21 days", and the number stuck.

What the research actually says

The most cited study is by Phillippa Lally and colleagues at University College London, published in the European Journal of Social Psychology in 2010. 96 volunteers each picked a new daily behavior, like drinking water with lunch or running before dinner, and reported every day how automatic it felt.

So the honest answer is: roughly two months, and longer for harder habits. If you are on day 25 and it still feels like effort, nothing is wrong with you. You are just in the middle.

Why it takes some people longer

How to make a habit stick faster

  1. Start smaller than feels useful. Two push-ups, one page, one glass of water. Grow it later.
  2. Attach it to a cue. Use habit stacking: "After I pour my coffee, I will write one line in my journal." See 25 habit stacking examples.
  3. Make progress visible. A streak or heatmap turns invisible effort into something you can see and protect.
  4. Never miss twice. One missed day barely matters. Two in a row starts a new pattern. Plan your comeback, not perfection.
  5. Add a little accountability. A friend who can see your progress, or nudge you, makes skipping less comfortable.
HabitPal app icon

Try HabitPal free

Track your first 66 days: streak flames, a heatmap that fills up day by day, and friends who nudge you when you slip.

Download

FAQ

Is it 21 days or 66 days? The best evidence points to an average of about 66 days. 21 days is a myth based on a loose observation from the 1960s.

Does missing a day ruin a habit? No. In Lally's study, a single missed day did not meaningfully affect habit formation. Just get back on track the next day.

How long to break a bad habit? There is less research on breaking habits, but the same ideas apply: change the cue, make the habit harder to do, and replace it with a better routine.

Your next streak starts today.

Join 200,000+ people building better habits with HabitPal.

Private by designYour data stays on your device
Free to startNo account needed