How long does it take to form a habit?
Not 21 days. In the best-known study of real-world habits, it took a median of about 66 days for a daily behavior to feel automatic, and individual results ranged from 18 to 254 days. Missing a day here and there didn't derail it.
The short answer
There is no single number. The most-cited real-world study (Lally et al., 2010) asked volunteers to pick one new eating, drinking or activity behavior and do it daily in the same situation, such as "after breakfast". They rated how automatic it felt each day for 12 weeks. For the people whose data could be modeled, the median time to reach their plateau of automaticity was about 66 days, and the range was 18 to 254 days.
So a simple habit might settle in within a few weeks, and a harder one can take most of a year. Both are normal.
Where "21 days" came from
The 21-day figure is usually traced to Psycho-Cybernetics (1960) by Maxwell Maltz, a plastic surgeon who observed that patients seemed to take a minimum of about 21 days to adjust to changes such as a new face. Over decades of retelling, "a minimum of about 21 days to adjust" became "21 days to form a habit". It was never a measurement of habit formation.
The myth isn't harmless. If you expect a habit to be automatic in three weeks and it isn't, it's easy to decide you've failed, at roughly the point where you were making progress.
What the 66-day study actually tells you
| Finding | What it means for you |
|---|---|
| Median about 66 days | Plan for months, not weeks |
| Range 18 to 254 days | Comparing your timeline to someone else's isn't useful |
| Automaticity rose fastest early, then leveled off | The first weeks feel like the biggest gains; later progress is quieter |
| Simpler behaviors (like drinking water) tended to become automatic sooner than harder ones (like exercise) | Shrink the habit to speed it up |
| Missing one opportunity didn't materially affect the outcome | One missed day isn't a reset |
The study was small (96 volunteers started, and the model fit well for 39 of them), and automaticity was self-reported. It's the best-known estimate, not the final word. But its central message has held up in later reviews: habits form through repetition in a consistent context, and that takes time (Gardner, Lally & Wardle, 2012).
What helps a habit form
- Same cue, same place. Tie the habit to something you already do. That's habit stacking, and it's the most practical way to create a consistent context.
- Make it smaller. A two-minute version you do every day beats a 30-minute version you do twice a week. You can grow it once it's automatic.
- Repeat it a lot. Frequency matters more than intensity in the early weeks.
- Plan for misses. Decide now what you'll do on a bad day: the smallest possible version. Our low-energy day plan has examples.
- Make progress visible. Seeing a run of check-offs is motivating, as long as one gap doesn't wipe it out.
Why a forgiving streak fits the evidence
If missing a day doesn't undo a habit, an app that resets you to zero after one miss is working against you. That's why Daily Wins keeps your streak alive with one small win, gives everyone a free weekly Streak Freeze, and lets your flame keep growing through ordinary bad days. More on how the streaks work.
It's also why we suggest weekly targets for some habits ("3 days a week") rather than forcing everything to be daily. A target you hit most weeks keeps you repeating the behavior, and repetition is what forms the habit.
A realistic 10-week plan for one habit
- Weeks 1–2: pick one small habit and one fixed cue, such as "after I pour my coffee." Do the smallest version every time.
- Weeks 3–6: keep the cue the same. If you miss a day, restart the next day without trying to "make up" for it.
- Weeks 7–10: notice whether you start the habit without thinking. If it still takes effort, keep going; many habits need longer.
Only add a second new habit once the first feels mostly automatic. Ten weeks sounds slow, but one habit that sticks beats five that fade by February.
How to tell a habit has formed
You'll notice it's a habit when:
- you do it without deciding to;
- skipping it feels odd, like leaving the house without your keys;
- you need fewer reminders;
- you'd keep doing it even without the tracker.
At that point, keep the tracker for the next habit rather than this one, and celebrate. Writing it down as one of your daily wins is a good start.
Questions
Does it take 21 days to form a habit?
There is no good evidence for a fixed 21 days. The figure is usually traced to a 1960 self-help book by plastic surgeon Maxwell Maltz, who wrote that it takes a minimum of about 21 days to adjust to a change. It was never a study of habits.
Is it 66 days to form a habit?
66 days was the median in a 2010 study by Lally and colleagues, not a rule. Individual results ranged from 18 to 254 days, depending on the person and the behavior.
Does missing a day reset a habit?
In the Lally study, missing a single opportunity did not materially affect habit formation. What matters is getting back to it, which is why forgiving streaks are useful.
What makes a habit form faster?
Simpler behaviors, the same cue and context every time, and consistent repetition. Linking the habit to something you already do (habit stacking) gives it a reliable cue.
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.
- 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.
This page is general information about habits and planning your day, not medical, psychological or professional advice. Daily Wins is a productivity and wellness app, not a treatment for any condition.