Skip to content

How long does it take to form a habit? Not 21 days

The 21-day rule comes from a 1960 self-help book. What research found instead, a median of 66 days with a huge range, and how to use that number to plan.

5 min read

About two months on average, and the range is enormous. In the best-known study on the question, led by Phillippa Lally at University College London, a new daily behavior took a median of 66 days to become automatic, with individual estimates from 18 to 254 days. The famous "21 days" comes from a 1960 self-help book, not from a study.

The surgeon behind the 21 days

In 1960, plastic surgeon Maxwell Maltz published Psycho-Cybernetics, a self-help book about self-image. In the preface, he wrote that it usually takes "a minimum of about 21 days" to see a change in a mental image. His evidence was what he'd noticed over the years: patients needed about three weeks to get used to a new face after surgery, amputees felt a phantom limb for roughly that long, and people needed about three weeks in a new house before it felt like home.

Those were observations, not measurements, and they were about adjusting to a change rather than building a new behavior. The book does stretch the number to habits in one exercise: put on the other shoe first, and tie your laces a different way, for the next 21 days. Decades of retelling did the rest. "A minimum of about" fell off somewhere along the way, and the number turned into a promise.

What the UCL study measured

Lally's study was published online in 2009 in the European Journal of Social Psychology. Ninety-six volunteers each chose one healthy behavior to do every day in the same context, such as eating a piece of fruit with lunch or going for a 15-minute run before dinner. For 12 weeks, they reported each day whether they'd done it and how automatic it felt.

The researchers fitted a curve to each person's data to find the point where automaticity stopped growing much. What they found:

  • A median of 66 days to reach 95% of each person's plateau, among the participants whose data fit the model well.
  • A range from 18 to 254 days. The study lasted 84 days, so the longest estimates are projections of where the curve was heading.
  • Fast gains early, slow gains later. The first repetitions added the most automaticity.
  • One missed day barely mattered. Missing a single opportunity didn't materially affect the process.
  • Exercise looked slower. Exercise habits tended to take longer than eating or drinking habits, though the sample was too small to be sure.

"Automatic" here means the cue triggers the behavior with little thought, the way your hand finds the light switch in a dark room. It doesn't mean effortless. A running habit still involves running.

What later studies found

Newer research lands in the same neighborhood, with plenty of spread:

  • In a 2021 randomized trial with 192 adults, the people who managed to build a new eating habit took a median of 59 days to reach peak automaticity. Linking the habit to a daily routine or to a set time worked about equally well; repetition was the key predictor.
  • In a 2017 study published in Health Psychology, 48 students did the same stretch every day for 90 days, either right after waking up or right before bed. Projected from their curves, the morning group reached automaticity at about 106 days and the evening group at about 154.
  • A 2024 systematic review from the University of South Australia gathered 20 studies with 2,601 participants. In the four that measured timing, the medians ranged from 59 to 66 days, the averages from 106 to 154, and individual times from 4 to 335 days.

The honest summary: two months is a reasonable middle, and plenty of people need three to five months or more.

Why your number won't match anyone else's

The same research points to what speeds a habit up or slows it down:

  • Complexity. A glass of water automates faster than a full workout. In the 2024 review, flossing showed the largest increase in habit strength of any behavior studied.
  • Frequency. Daily practice builds automaticity faster than "a few times a week," because every repetition is a lesson.
  • A stable cue. Same place, same moment, same trigger. A habit that floats around your day has nothing to attach to.
  • Choice and enjoyment. Habits people picked themselves, and ones they enjoyed, tended to be stronger.
  • Time of day. In the one study that tested it, morning beat evening. It was a small study, so don't rebuild your schedule around it.

How to tell when yours is formed

Forget the calendar for a second. Researchers measure habit strength by asking how automatic a behavior feels, and one standard tool is a four-item scale published in 2012 by a team that included Lally. Think of your habit and check how much you agree with each line:

  • It's something I do automatically.
  • It's something I do without having to consciously remember.
  • It's something I do without thinking.
  • It's something I start doing before I realize I'm doing it.

If you'd sign off on all four, the cue is doing the work and you can start growing the habit. If you're still setting reminders and negotiating with yourself every morning, it isn't there yet, whatever the calendar says. That's normal at week three, and at week eight for plenty of people. Keep it small and keep going.

How to use the number

Knowing it's closer to 66 days than 21 changes how you should plan:

  1. Plan for ten weeks, not three. Put a date on your calendar ten weeks from now and judge the habit then, not on day 21 while it still feels like work.
  2. Be stubborn early. The first weeks bring the biggest gains in automaticity, so that's where consistency pays the most.
  3. Keep it small until it's automatic. Grow it once it happens without a debate. Making it bigger too soon brings back the effort you were trying to remove.
  4. Don't panic over a miss. One skipped day is fine; just don't let it become two. How to get back on track covers the restart, and Toxic Coach's streak freezes exist for the same reason: one bad day shouldn't erase the run.
  5. Track it. A simple habit tracker shows the progress you can't feel yet.

One more thing: "formed" isn't permanent. Habits are tied to their context, so a move, a new job or a long trip can shake even an old one loose. That's annoying for the habits you want and useful for the ones you don't, and how to break a bad habit uses it on purpose.

Day one is today

Pick one habit, set its cue and start counting today. Day 66 isn't a finish line, but it's a far better checkpoint than day 21, and by then you'll know whether the habit has started running on its own. If you haven't designed the habit yet, start with how to build good habits.

Quick answers

Does it really take 21 days to form a habit?

No study shows that. The number comes from Maxwell Maltz's 1960 book Psycho-Cybernetics, where he wrote that a change in a mental image takes a minimum of about 21 days, based on what he saw in his surgery patients.

Is it 66 days to form a habit?

66 days is the median from one study, led by Phillippa Lally at University College London. Individual estimates ranged from 18 to 254 days, so treat it as a rough middle, not a deadline.

How long does it take to break a habit?

There's no reliable number. The timing research is mostly about forming new behaviors, and a 2024 review of the field left out studies about stopping habits like smoking.

Does missing a day reset a habit?

No. In Lally's study, missing one opportunity didn't materially affect how the habit formed. Missing often is what holds a habit back.

All articles →