The short answer
About two months. In the best-known study, a daily habit took a median of 66 days to feel automatic, but individual times ranged from 18 to 254 days. Simple habits with a clear cue form faster, and missing a single day doesn't reset the clock.
Where the 21-day myth comes from
The idea that habits take 21 days traces back to Psycho-Cybernetics, a 1960 self-help book by the plastic surgeon Maxwell Maltz. He noticed that patients took "a minimum of about 21 days" to get used to a change like a new face or a missing limb. Over decades of retelling, "a minimum of about 21 days" turned into "21 days to form a habit."
It's a catchy number, and it was never tested on habits. When researchers finally did measure it, the answer came out much longer.
What the research says: 66 days, give or take
In 2010, Phillippa Lally and colleagues at University College London asked 96 volunteers to pick one new daily health habit, such as eating a piece of fruit with lunch, drinking a bottle of water after breakfast, or going for a 15-minute run before dinner. Every day for 12 weeks, participants rated how automatic the behavior felt.
Automaticity rose quickly at first and then levelled off, like a curve approaching a ceiling. For the 82 people with enough data, the median time to reach 95% of their personal plateau was 66 days. The fastest took 18 days. For the slowest, the model projected 254 days.
Habits don't flip on at a fixed day. They get easier every repetition, fast at first and slower later, until one day you notice you did it without thinking.
A 2024 systematic review by Singh and colleagues pooled 20 studies with 2,601 participants. Among the studies that measured time to habit formation, medians ranged from 59 to 66 days, means from 106 to 154 days, and individual times from 4 to 335 days. The headline holds: plan for months, not weeks.
Why some habits form faster
The same research points to what speeds things up:
- Simpler behaviors. In Lally's study, drinking water became automatic faster than doing 50 sit-ups. The less effort a habit takes, the sooner it runs on autopilot.
- A stable cue. Doing the habit at the same time and place, or right after something you already do ("after I pour my coffee, I take my vitamin"), gives your brain a reliable trigger.
- Doing it daily. Repetition in the same context is what builds automaticity. Daily habits form faster than weekly ones.
- Enjoying it. The review found that liking the behavior and feeling rewarded by it were linked to stronger habits.
Does missing a day reset the clock?
No. Lally's team found that missing a single opportunity did not materially affect habit formation. People who skipped a day picked up where their curve left off.
The real danger isn't the missed day. It's the all-or-nothing feeling that follows: "I broke my streak, so why bother?" That's why the most useful rule for a new habit is simple: never miss twice. If you want a full plan for getting back on track, read what to do when you break a habit streak.
How to get through the first 66 days
- Start smaller than you think. Two pages, not a chapter. One push-up, not a workout. You can grow it once it's automatic.
- Attach it to an anchor. Pick something you already do every day and put the new habit right after it.
- Track it. A review of 138 studies found that monitoring progress helps people reach goals, especially when the progress is physically recorded. Checking off a habit counts.
- Make it rewarding now. The benefits of most good habits arrive months later. A small immediate reward fills the gap while the habit forms.
- Plan for bad days. Decide in advance what the "minimum version" of the habit looks like on a sick or busy day.
For a step-by-step version, see our guide on how to build a habit that sticks.
Make the 66 days rewarding
FarBit is a habit tracker that turns every check-off into coins and energy for a cozy farm game. Streaks pay more each day, and a missed day costs only the streak bonus, never your farm. It's a small, immediate reward for showing up while the habit forms. Try it free.
Frequently asked questions
Does it really take 21 days to form a habit?
No. The 21-day figure comes from a 1960 self-help book, not from habit research. In the best-known study, a daily habit took a median of 66 days to feel automatic, and individual times ranged from 18 to 254 days.
How long does it take to build a habit?
Around two months on average. Lally et al. (2010) found a median of 66 days, and a 2024 systematic review found medians of 59 to 66 days, but the range is wide: from a few days to most of a year, depending on the person and the habit.
Does missing one day ruin a habit?
No. In Lally's study, missing a single opportunity did not materially affect how automatic the habit became. What matters is getting back to it the next day.
Why do some habits form faster than others?
Simple habits tied to a clear cue, like drinking a glass of water after breakfast, become automatic faster than complex or effortful ones like a daily workout. Doing the habit at the same time and place every day also helps.
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.
- Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024). Time to form a habit: A systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 12(23), 2488.
- Harkin, B., et al. (2016). Does monitoring goal progress promote goal attainment? A meta-analysis of the experimental evidence. Psychological Bulletin, 142(2), 198–229.
- Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall.