How long does it take to form a habit? (Not 21 days)
A median of about 66 days, and anywhere from 18 to 254 — not 21. What the research actually found, why it varies so much, and what that means for you.
Updated
"It takes 21 days to form a habit" is one of the most repeated lines in self-help. It's also wrong — or at least, it's a number nobody ever measured. The research that did measure it found a median of about 66 days, and a range of 18 to 254: less tidy and, in its way, more encouraging.
Where the 21-day rule comes from
The number traces back to Maxwell Maltz, a plastic surgeon who wrote Psycho-Cybernetics in 1960. Maltz noticed that his patients seemed to take a while to get used to their new faces, and that people who lost a limb took a while to stop sensing it. He wrote that it seemed to take "a minimum of about 21 days" for an old mental image to dissolve and a new one to settle.
That was an observation about self-image, not a study of habits. And "a minimum of about 21 days" is a very different claim from "21 days". As the book's ideas were passed on through decades of self-help writing, the hedging fell away and the number stuck — probably because three weeks is short enough to sound achievable and long enough to sound serious.
What the research actually found
The study most people cite now was run by Phillippa Lally and colleagues at University College London and published in the European Journal of Social Psychology in 2010 (Lally et al., "How are habits formed").
They asked 96 people to choose one new eating, drinking or exercise behaviour and do it every day in the same situation — things like drinking a bottle of water with lunch, eating a piece of fruit with lunch, or running for 15 minutes before dinner. Every day, participants rated how automatic the behaviour felt: whether they did it without thinking, whether it would feel strange not to, whether they had to consciously remember it.
The results:
- For most people, automaticity rose quickly at first and then levelled off — a curve, not a straight line. The early days bring the biggest gains; the last stretch to "fully automatic" is slow.
- The median time to reach that plateau was about 66 days.
- The range was huge: 18 to 254 days. Some people got there in under three weeks. Others were still on their way after eight months.
- Missing one day didn't materially affect the process. A single slip didn't send people back to the start.
- Not everyone got there within the study's 84 days. For some participants the curve was still rising at the end, which is why part of the range comes from projecting the curve forward.
The study also noted that more complex behaviours — like exercise, compared with drinking a glass of water — tended to take longer to become automatic.
It's one study, of a modest group of people, and it measured how automatic a behaviour felt rather than something harder. But it's the best direct evidence we have, and its central message has held up: habits take time, and the time varies a lot.
Why it varies so much
The spread from 18 to 254 days isn't noise. A few things make a habit form faster or slower:
- How simple it is. A glass of water with lunch has one step. A run has a dozen — changing, going out, the run itself, the shower afterwards.
- How stable the cue is. A habit tied to the same moment every day — after lunch, after brushing your teeth — has a reliable trigger. One done "whenever I get a chance" doesn't. (This is the idea behind habit stacking.)
- How rewarding it feels. Something with an immediate payoff, even a small one, sticks faster than something whose benefits arrive months later.
- How much else is changing. A habit started during a calm month has an easier time than one started the week you move house.
- The person. Some people just take longer, and that's fine.
What this means in practice
Plan for two months, not three weeks
If you expect a habit to be automatic in 21 days, day 22 — when it still feels like effort — looks like failure. It isn't. For most people, a new habit still takes conscious effort a month in. Expecting that makes the middle stretch much easier to get through.
The first weeks matter most
Because the curve is steepest at the start, the first few weeks are where each repetition does the most. That's the period to protect: keep the habit small, keep the cue the same, and don't add anything else new.
Missing a day isn't the end
This is probably the most useful finding. One missed day didn't undo anything. The danger isn't the gap; it's letting one gap become several. A simple rule — never miss twice in a row — covers it.
Measure automaticity, not days
"Day 66" isn't a finish line. A better question is: do I still have to decide to do this? When the habit happens at its usual moment without you having to remember, argue with yourself or look at a list, it's formed. Until then, keep going, however many days it's been.
Keep a record
Two months is a long time to rely on memory. A record — a tick for each day you did it — shows you the curve that's otherwise invisible: the streak getting longer, the gaps getting rarer. It also tells you, honestly, whether the habit is taking hold or quietly fading. There's more on the options in how to track habits.
A realistic timeline
Every habit is different, but for a simple daily habit, something like this is common:
| Time | What it tends to feel like |
|---|---|
| Week 1 | Novel and motivating. Easy to do, easy to forget. |
| Weeks 2–4 | The novelty wears off. This is where most habits are dropped. |
| Weeks 5–8 | Starting to feel normal. You miss it a little when you skip. |
| Months 2–3 and beyond | Mostly automatic. It happens at its moment without a decision. |
Harder habits — exercise, writing, anything that takes more than a few minutes — can take longer at every stage. That's the range in the study, not a sign you're doing it wrong.
The short answer
It takes as long as it takes — usually around two months, sometimes much less, sometimes much more. The number matters less than three things: keep the habit small, keep its moment the same every day, and when you miss a day, do it again the next.
If you want to see your own curve, add the habit to the free habit tracker on Crek and tick it off each day. It works in the browser with no signup, counts your streak, and if you did it but forgot to tick, you can fill the day in afterwards. For more on getting a habit started in the first place, read how to build a habit that actually sticks.
Questions
Does it take 21 days to form a habit?
No. The 21-day figure comes from a 1960 self-help book about self-image, not from habit research. In the best-known study of habit formation, it took participants a median of about 66 days, with a range of 18 to 254 days.
Where does the 21-day rule come from?
From Maxwell Maltz's 1960 book Psycho-Cybernetics. Maltz, a plastic surgeon, observed that it seemed to take 'a minimum of about 21 days' for people to adjust to changes such as a new face. Over the years 'a minimum of about' was dropped and it became a rule.
Does missing a day reset a habit?
No. In the Lally study, missing a single day did not materially affect how the habit developed. What matters is getting back to it the next day rather than letting one gap turn into several.
How do I know when a habit has formed?
When doing it no longer takes a decision. You find yourself doing it at the usual moment without having to remember or talk yourself into it, and skipping it feels odd.