You've almost certainly heard it: "it takes 21 days to build a habit." It gets repeated in productivity blogs, life-coaching content, and probably by a well-meaning friend at some point. It's also not true, and believing it can quietly sabotage you.

Here's where it actually came from. In the 1960s, a plastic surgeon named Maxwell Maltz noticed that his patients took about three weeks to get used to their new appearance after surgery, and roughly the same amount of time to stop feeling phantom sensations after an amputation. He wrote about this observation in a personal development book. Somewhere along the way, "it took my patients about 21 days to adjust to a physical change" got flattened into "it takes 21 days to build any habit." It was never a study. It wasn't even really about habits.

What the actual research says

The number most habit researchers point to instead comes from a 2009 study at University College London, led by health psychologist Phillippa Lally. Her team asked 96 people to pick a new habit, things like drinking water with lunch or doing 50 sit-ups after morning coffee, and tracked how long it took before the behavior felt automatic.

66 days
The average time it took participants to form a new habit, roughly three times longer than the "21 days" myth suggests.

But the average is almost the least interesting part of the finding. The real number that matters is the range: depending on the person and the habit, it took anywhere from 18 days to 254 days. That's not a typo. Some habits in the study took the better part of a year to feel automatic.

Why the range is so wide

A few things drove that huge spread:

The part everyone forgets to mention

There's another detail from Lally's study that rarely makes it into the "21 days is a myth" posts: missing a single day here and there didn't meaningfully affect whether a habit eventually formed. A slip-up didn't reset the clock. What mattered was getting back to it, not maintaining a flawless streak from day one.

That matters more than it sounds like it should, because a lot of people quit exactly when they hit a missed day and assume they've "broken" the habit and have to start over. You haven't. You've just had a normal, expected part of the process.

What this actually means for you

The uncomfortable truth is that habit formation just takes longer than we want it to. The useful truth is that knowing the real timeline, and knowing that a missed day isn't the end of the world, is often the exact thing that keeps people going long enough to actually get there.