Habits

How Long It Actually Takes to Form a Habit. The 21-Day Rule Is a Myth.

The popular claim that habits form in 21 days has no real evidence behind it. The studies that have actually measured habit formation put the figure closer to two months, with enormous variation between people. Here is what the research shows, and why the real number is good news.

8 min readJune 29, 2026

The Number Everyone Repeats Is Wrong

You have heard it everywhere. It takes 21 days to form a habit. It shows up in self-help books, fitness apps, and the pep talk you give yourself every January. It is clean, it is hopeful, and it is not supported by the evidence.

The 21-day figure is usually traced back to a 1960s book by a plastic surgeon named Maxwell Maltz, who noticed his patients seemed to take about three weeks to adjust to a new face or a missing limb. That was an observation about psychological adjustment, not a measured study of habit formation. Over the decades the "about 21 days" softened into "21 days," the caveats fell away, and a casual clinical note became a rule that millions of people now use to judge whether they are succeeding or failing.

When researchers finally went and measured how long habits actually take to form, the real number turned out to be quite different. And once you understand it, it changes how you should treat the first uncomfortable weeks of any change.

What the First Real Study Found

The study that put a number on this was led by Phillippa Lally at University College London and published in the European Journal of Social Psychology in 2010. Her team asked 96 volunteers to pick one new eating, drinking, or activity behaviour and do it every day in the same context, for example after breakfast or before lunch, for 12 weeks. Each day, participants logged whether they had done the behaviour and rated how automatic it felt.

The headline result was a median of 66 days for a behaviour to become automatic, the point where it happens without you having to decide to do it. Not 21. Roughly three times that.

The more useful finding was the spread. Across the participants, the time to automaticity ranged from 18 days to 254 days. So one person locked in a new habit in under three weeks, while another was still building it more than eight months later, and both were normal. There was no single magic number, because habit formation depends on the person and the behaviour, not on a fixed countdown.

One more detail from that study deserves to be better known. Missing a single day did not meaningfully harm the habit-formation process. One slip was not the catastrophe people treat it as. That alone should take some of the pressure off.

What the Larger 2024 Review Confirmed

A single study, however good, is not the last word. The stronger evidence came in 2024, when researchers at the University of South Australia published the first systematic review and meta-analysis of habit-formation research, pulling together data from more than 2,600 participants across multiple studies. It appeared in the journal Healthcare, and it was covered widely when it landed in January 2025.

Their conclusion lined up closely with Lally's. New habits tended to begin forming within about two months, with a median in the range of 59 to 66 days. And once again the variation was the real story. Across the studies they reviewed, the time to form a habit ranged from as little as 4 days to as long as 335 days, almost a full year.

The lead author, Dr Ben Singh, put the practical takeaway plainly. The common wisdom that it takes 21 days is not evidence-based, and the most important thing is not to give up at the mythical three-week mark. If you quit at day 21 because the behaviour does not yet feel automatic, you are quitting at roughly the point the research says most people are still in the thick of the work.

Why the Bigger Number Is Actually Good News

It sounds discouraging to learn that the real figure is two months rather than three weeks. It is the opposite. The 21-day myth quietly sets you up to fail, because it tells you that if a habit has not stuck after three weeks, something is wrong with you. The honest number removes that verdict.

When you expect the work to take a couple of months, the discomfort of week three is not evidence of failure. It is evidence that you are exactly where the timeline says you should be. The behaviour still feeling effortful on day 20 is not a sign to quit. It is a sign the process is running normally. People abandon good changes constantly at the three-week mark, not because the change was wrong for them, but because they were measuring against a deadline that was never real.

This connects to one of the core ideas behind a growth mindset. Difficulty is information about where you are in a process, not a verdict on whether you belong in it. The habit research gives that idea a concrete number. The hard part is supposed to last a while.

What Actually Speeds It Up

The same body of research points to a few factors that genuinely shorten the timeline, and they are worth more attention than the day count.

Anchor the behaviour to a consistent cue

In Lally's study, the instruction was always to do the behaviour in the same context, after the same daily event. That consistency is what lets the cue and the action wire together. A habit is, at its core, a context triggering a behaviour without a decision in between. If you do the behaviour at a random time each day, there is no stable cue for it to attach to, and automaticity is slow to arrive. This is the mechanism behind if-then planning, which gives you a ready-made cue to hang the new behaviour on.

Put it in the morning if you can

The 2024 review found that habits attached to a morning routine tended to form more reliably than ones slotted into the evening. Mornings are generally more structured and less subject to the day's accumulated fatigue and interruptions, so the cue fires more consistently. If a behaviour can plausibly live in your morning, that is often the easier place to build it.

Pick something you actually enjoy, and make it easy to start

The review also found that people stuck better with behaviours they found enjoyable, and that planning and intention helped. A behaviour you dread will fight you every single day for two months, which is a long time to white-knuckle. Where you have a choice, choose the version of the habit you are most likely to look forward to, and strip the friction out of starting it. The two-minute approach to habit formation is built on exactly this idea: shrink the starting step until it is too small to refuse.

Do not let one miss become the end

Because a single missed day does not break the process, the goal is not a perfect unbroken streak. It is consistency over weeks, with the occasional gap absorbed rather than treated as a reset to zero. The people who succeed are not the ones who never miss. They are the ones who miss once and simply continue.

How to Use This

The practical version of all this is short. Expect a new habit to take roughly two months to feel automatic, not three weeks. Anchor it to a fixed daily cue, ideally in the morning, in a form you can tolerate or even enjoy. Keep going through the stretch where it still feels like effort, because that stretch is normal and is supposed to last. And when you miss a day, which you will, treat it as a single missed day rather than proof that you have failed.

The 21-day rule survived for decades because it is comforting and easy to repeat. The real number is less tidy, but it is far kinder. It tells you that the early grind is not a sign you are doing it wrong. It is the cost of admission, and it is one almost everyone has to pay.

If you are applying this to building reliable routines at work rather than at home, Office Productivity Hacks covers the tactical side of designing systems that make good behaviours the path of least resistance at your desk.

Sources

Frequently Asked Questions

How long does it really take to form a habit?

The research points to a median of about 66 days, roughly two months, not the popular 21-day figure. A 2010 University College London study found a median of 66 days with a range of 18 to 254 days, and a 2024 University of South Australia meta-analysis of more than 2,600 people found a median of 59 to 66 days with a range from 4 to 335 days. The right expectation is about two months, with a lot of person-to-person variation.

Where did the 21-day habit myth come from?

It is usually traced to the 1960s book Psycho-Cybernetics by plastic surgeon Maxwell Maltz, who observed that his patients took about three weeks to adjust to a change in appearance. That was a note about psychological adjustment, not a measured study of habit formation, and the "about 21 days" gradually hardened into a firm rule it was never meant to be.

Does missing one day ruin a new habit?

No. The 2010 University College London study found that missing a single opportunity to perform the behaviour did not meaningfully harm the habit-formation process. The goal is consistency over weeks, not a flawless unbroken streak, so one missed day should be treated as a single miss rather than a reset.

What makes a habit form faster?

Anchoring the behaviour to a consistent daily cue, attaching it to a morning routine, choosing a version you find enjoyable, and reducing the friction to start. The research also shows planning and clear intentions help, while inconsistent timing slows automaticity because there is no stable cue for the behaviour to attach to.

Related Articles

Want to Learn More?

Check out our comprehensive guides for in-depth strategies on developing a growth mindset.

Explore Guides