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

By , co-founder of Motivum · · Updated · 3 min read

Short answer: about two months on average — but anywhere from 18 to 254 days. The popular “21 days” figure is a myth. How long it takes depends on how complex the habit is, how consistently you do it, and how strong the cue is.

Where the 21-day myth comes from

In 1960, plastic surgeon Maxwell Maltz wrote in Psycho-Cybernetics that it “usually requires a minimum of about 21 days” to adjust to a change in self-image, describing patients getting used to a new face or a lost limb (UCL habit researcher Benjamin Gardner traces the quote). Over decades of self-help retelling, “a minimum of about 21 days to adjust” became “21 days to form a habit”. It was never a study about habits.

What the research actually found

The most-cited study is by Phillippa Lally and colleagues at University College London, published in the European Journal of Social Psychology in 2010. Ninety-six participants picked a new daily eating, drinking or exercise behavior, did it in the same context each day (for example, after breakfast), and reported each day how automatic it felt.

Key findings:

  • Median time to reach automaticity: 66 days. That’s for the 39 participants whose data showed a clear habit curve.
  • Range: 18 to 254 days. Some got there in under three weeks; for others the curve pointed to most of a year. The study ran 12 weeks, so the longest times are projections.
  • Simpler habits tended to form faster. In the researchers’ words, automaticity peaked sooner for simple actions like drinking water than for routines like doing 50 sit-ups.
  • Missing one day didn’t derail it. Missing a single opportunity did not materially affect habit formation.

A 2023 study that ran machine learning on gym check-ins and hospital handwashing data (Buyalskaya and colleagues, PNAS) found a similar story: handwashing habits formed within weeks, while gym habits took months. To see dates for your own habit, try the habit formation calculator.

What makes a habit form faster

1. Make it smaller than you think

The more complex the behavior, the longer it takes. Start with a version so small it feels almost pointless: one push-up, one page, one minute of meditation. Expand once it’s automatic.

2. Attach it to an existing routine

Habits are triggered by cues. The strongest cues are things you already do every day: brushing your teeth, pouring coffee, sitting down at your desk. “After I pour my coffee, I’ll write one sentence in my journal.” This is often called habit stacking.

3. Same cue, same days

Consistency of context matters, but the cue doesn’t have to be a clock time. Lally’s participants tied their habit to a moment like “after breakfast”. In the gym study, the exact time of day mattered little; what predicted the habit was going on the same days each week and not letting long gaps build up. Pick your cue and your days, and stick to them.

4. Make progress visible

You won’t feel a habit forming day to day — automaticity creeps up slowly. A visible tracker shows you the progress your brain isn’t reporting yet, which keeps you going through the boring middle. Motivum’s habit tracker puts it in a progress ring and on your home screen.

iPhone home screen with three Motivum widgets: a daily quote, the year as a grid of days with 206 days left, and a Your Goals list with a progress bar for each goal
Motivum's widgets keep the year and every goal's progress on the home screen.

5. Don’t miss twice

Since one miss barely matters, don’t treat it like failure. Treat two misses in a row as the thing to avoid. Weekly goals (e.g. “4 times a week”) build this flexibility in.

A realistic habit timeline

PhaseRoughlyWhat it feels likeWhat helps
HoneymoonDays 1–10Exciting, easySet up cues and tracking now
The dipWeeks 2–6Boring, effortful, easy to skipShrink the habit, rely on reminders
SettlingWeeks 6–10Less effort, occasional skipsKeep the cue consistent
Automatic~2+ monthsYou feel weird not doing itConsider adding the next habit

Most people quit in the dip, thinking something is wrong because it isn’t automatic yet. Nothing is wrong. It’s just not day 66. If you’re in the dip right now, these strategies to stay motivated are built for it.

The takeaway

Plan for two months, not three weeks. Start small, anchor the habit to a routine, track it where you’ll see it, and forgive the occasional miss. That’s a system, and it beats willpower (more in discipline vs motivation). If you want motivation for the dip, Motivum sends reminders written for your motivation style, during the hours of the day you choose.

Key takeaways

  • The 21-day rule comes from a 1960 self-help book about adjusting to change, not from habit research.
  • In the best-known study, habits took a median of 66 days to become automatic, ranging from 18 to 254 days.
  • Missing a single day didn't materially slow habit formation; long gaps are what hurt.
  • Small habits tied to a consistent cue (after breakfast, on the same weekdays) form faster.

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. doi:10.1002/ejsp.674
  • Gardner, B., Lally, P., & Wardle, J. (2012). Making health habitual: the psychology of “habit-formation” and general practice. British Journal of General Practice, 62(605), 664–666. doi:10.3399/bjgp12X659466
  • Buyalskaya, A., Ho, H., Milkman, K. L., Li, X., Duckworth, A. L., & Camerer, C. (2023). What can machine learning teach us about habit formation? Evidence from exercise and hygiene. PNAS, 120(17), e2216115120. doi:10.1073/pnas.2216115120 (correction, revising the gym estimate to about 2–3 months)
  • Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall. Quote and context: Gardner, B. (2012). Busting the 21 days habit formation myth. UCL Health Behaviour Research Centre.

Put this into practice

Motivum turns goals into daily progress with personalized motivation. A habit tracker that actually gets you to do the habit →

Frequently asked questions

Does it take 21 days to form a habit?

Usually not. The 21-day figure traces back to a 1960 book by plastic surgeon Maxwell Maltz about adjusting to changes, not habit formation. Research by Phillippa Lally's team found a median of 66 days among participants with clear results, ranging from 18 to 254 days.

What happens if I miss a day while building a habit?

In Lally's study, missing a single day did not meaningfully affect habit formation. What matters is getting back on track quickly — don't miss twice.

What's the fastest way to form a habit?

Make it small, attach it to an existing routine, do it at the same time and place every day, and make progress visible.

Start with one goal today

Take the 30-second quiz, set your first goal and get motivation that fits how you work. Try it free for 7 days on iPhone.

Download on the App Store

Or scan with your iPhone camera