How long does it take to form a habit?
The 21-day rule is a myth — real research puts the average closer to two months, and the exact number matters far less than you think.
The 21-day myth (and where it came from)
You’ve probably heard that it takes 21 days to form a habit. It’s one of the most repeated claims in self-improvement — and it isn’t really true.
The number traces back to a 1960 book, Psycho-Cybernetics, by a plastic surgeon named Maxwell Maltz. He noticed his patients took about 21 days to adjust to a new face or a missing limb, and wrote that it takes a minimum of about 21 days for a mental image to settle. Over the decades, the careful phrase “minimum of about” got dropped, and 21 days hardened into a rule.
The problem is that adjusting to a change and building an automatic behavior aren’t the same thing. Twenty-one days is a floor at best, and for most everyday habits it’s far too short. If you’ve ever quit a new routine around week three and assumed you failed, the myth may be part of why.
What the research actually says: about 66 days
The most cited real research comes from a 2009 University College London study. Researchers asked people to adopt a new daily behavior — like drinking water at lunch or taking a short walk — and tracked how long it took to feel automatic.
The average was 66 days. But the range was enormous: anywhere from 18 to 254 days, depending on the person and the habit. A 2024 systematic review landed in similar territory, putting most habits at roughly two months to stick.
So a more honest answer is: expect around two months, and don’t panic if it takes longer. The exact number matters less than the takeaway — a habit isn’t a switch you flip on day 21. It’s a behavior that gets easier every time you repeat it, until one day you notice you did it without deciding to.
Why some habits take longer than others
Not all habits are created equal. In the UCL study, simple habits like drinking a glass of water became automatic quickly. Harder habits — a daily walk, or going to the gym — took much longer.
Three things stretch the timeline:
- Difficulty. A two-minute habit forms faster than a 45-minute one. The more effort a behavior takes, the more repetitions it needs.
- Consistency. Doing it at the same time and place every day builds automaticity faster than a scattered schedule.
- Reward. Habits that feel good — or that you can see progress on — lock in sooner, because your brain has a reason to repeat them.
This is why comparing yourself to someone else’s timeline is pointless. A friend who built a reading habit in a month isn’t more disciplined than you; they may just have picked an easier, more enjoyable habit.
Missing a day won’t reset the clock
Here’s the most freeing finding in the research: missing a single day does not reset your progress. In the UCL data, one slip had no measurable effect on how quickly the habit formed.
What matters is what you do next. Behavior researchers call it the never miss twice rule — one missed day is a slip, two in a row is the start of a new (bad) habit. Get back on track within about 24 hours and the streak in your head stays intact.
So stop treating a perfect record as the goal. The goal is a durable behavior, and durable behaviors survive the occasional missed day. If you want the full playbook on bouncing back, see our guide on how to keep a streak going without breaking it.
How to make the 66 days feel shorter
You can’t shortcut the two months, but you can make them easier to get through:
- Start smaller than feels necessary. One push-up, one page, one minute. A tiny habit you actually do beats an ambitious one you skip.
- Anchor it to an existing routine so an established behavior reminds you — a technique called habit stacking.
- Make progress visible. Seeing a chain of completed days is one of the strongest motivators there is, especially in weeks three to eight when the habit still takes effort.
The last one is where most people quietly give up. Daily progress is invisible up close — you don’t feel yourself getting better — so the streak becomes your evidence that it’s working.
Let the streak carry the momentum
Two months is a long time to run on willpower alone. The trick is to stop relying on memory and motivation, and let something else carry the momentum for you.
That’s exactly what HabitFlow is built for. Every time you complete a habit, you log it in a single tap, and your visual streak grows — a simple grid that fills in as you show up, day after day. During those crucial first two months, watching the grid grow gives you a concrete reason to keep going when the habit itself still feels like work.
Pick one of its 50+ ready-made habits, keep it small, and let the streak do the motivating. Then read how to build a habit that sticks for the full method.
Put this into practice with HabitFlow
HabitFlow brings visual streaks that grow as you show up right into your practice — so you can put this into action, not just read about it.