How long does it take to form a habit? What the research says

Updated Nov 10, 2026 · By the Mindscape team

the short answer

There's no fixed number. In the best-known study, a new daily habit took a median of about 66 days to feel automatic, but it ranged from 18 days to an estimated 254. Simple habits tied to a clear daily cue form fastest; bigger ones take months.

You’ve probably heard that it takes 21 days to form a habit. It’s a tidy number, and it’s on posters, in apps and in plenty of articles about habits. The trouble is that the research doesn’t back it up.

The real answer is less tidy but more useful: it usually takes a couple of months, it varies a lot from person to person and habit to habit, and you have more control over that time than you might think.

The short answer: about two months, with a wide range

The study most people mean when they talk about this was run at University College London and published in 2010. Volunteers picked one new healthy behaviour, like drinking a bottle of water with lunch, eating a piece of fruit with lunch, or a short run before dinner. Each one was tied to something that already happened every day. For 12 weeks, they rated how automatic the behaviour felt: did they do it without thinking, without having to remember?

For the people whose results could be modelled clearly, the median time to reach their peak automaticity was 66 days. But the range was huge: from 18 days to an estimated 254 days. The study only lasted 84 days, so the longest times are projections from the curve, not something anyone watched happen.

Source: Lally, van Jaarsveld, Potts & Wardle, “How are habits formed: Modelling habit formation in the real world”, European Journal of Social Psychology, 2010.

A newer review pulled together the studies that measured this. Four of them reported how long habits took to form: medians of 59 to 66 days, averages of 106 to 154 days, and individual times anywhere from 4 to 335 days.

Source: Singh, Murphy, Maher & Smith, “Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants”, Healthcare, 2024.

So “about two months” is a fair rough guide for a simple daily habit. “Somewhere between a few weeks and most of a year” is the honest full answer.

Where the 21-day idea came from

The 21-day number goes back to a 1960 self-help book, Psycho-Cybernetics, by Maxwell Maltz, a plastic surgeon. He noticed that patients seemed to take a minimum of about three weeks to get used to a change, like a new face in the mirror, and suggested the same might be true of other changes.

Notice the word minimum. Over the years, “at least about 21 days to adjust” was retold as “21 days to form a habit”. It was never a finding about habits, and nobody measured it.

Does that matter? A little. If you expect a habit to be easy by day 21 and it still takes effort on day 30, it’s tempting to decide you’re bad at habits. You’re not. You’re right on schedule.

Why some habits take weeks and others take months

The research points to a few things that make the difference.

How simple the behaviour is. In the UCL study, people who picked an exercise habit took about one and a half times as long to reach their peak as people who picked an eating or drinking habit. The groups were small, so treat it as a hint, not a law. But it matches common sense: a glass of water asks less of you than a run.

Whether it’s tied to a clear cue. Every habit in that study was linked to something already in the day: “after breakfast”, “with lunch”, “before dinner”. A habit with a fixed trigger has something to attach to. “Sometime today” doesn’t.

How consistent you are, mostly. Missing a single day didn’t meaningfully slow people down. Missing often did: the people who were very inconsistent didn’t form the habit at all. If you’ve just missed a day and you’re worried, our guide on what to do when you break a streak covers exactly that. And if you tend to start strong and then fade after a couple of weeks, here’s how to be more consistent by planning for that dip from day one.

Automaticity rises fast, then flattens. In the study, the biggest gains came early. Each repetition added a bit less than the one before, until the curve levelled off. That’s why the first couple of weeks feel like the hardest work, and why it can feel like nothing is changing later on, even when it is.

How to make a habit form sooner

You can’t pick your number, but you can stack the odds. These come straight from what made habits stick in the research.

  1. Make it smaller than you think it needs to be. One page, not one chapter. Five squats, not a workout. You can always do more; the small version is what you do every single day. If you’re stuck on what to start with, here are 30 small daily challenges that take a few minutes each.
  2. Pick one cue and write it down. Use the shape “After I [thing I already do], I will [new habit].” For example: “After I pour my morning coffee, I’ll read one page.” The cue should happen every day, at roughly the same time. Need ideas? Here are 30 habit stacking examples for the morning.
  3. Do it in the same place. A habit learns its surroundings. The same chair, the same counter, the same corner of the desk all help.
  4. Keep the same version for the first month. If you change it every few days, you’re practising something new each time. Hold it steady, then grow it once it feels easy.
  5. Count the days you do it, not only the days in a row. Fifty out of sixty days is real progress, even with gaps. It’s the repetitions that build the habit, and they don’t reset when a streak does.
  6. Expect a flat stretch. After the first couple of weeks, the newness wears off while the habit still takes some effort. That’s normal. It’s the part of the curve where you’re closest to giving up and still well on the way.

How to tell a habit has formed

There’s no bell that rings on day 66. The researchers measured it with questions like these, and you can ask yourself the same things:

  • Do I do it without having to remember?
  • Would it feel strange not to do it?
  • Do I start before I’ve really decided to?
  • Does it take less effort than it did at the start?

If you’re answering yes to most of them, it’s become a habit, whatever the calendar says. If you’re answering no on day 40, it’s not a failure. It’s a habit that’s still forming.

Questions people ask

Is it 21 days, 66 days or 90 days? None of them is a rule. 21 days was never measured. 66 days is a median from one study, and plenty of people took much less or much more. You’ll also see 90 days quoted; that’s a round number, not a finding from these studies. Two months is a fair rough guide for a simple habit.

Do bad habits take as long to break? The research above looked at building new habits, so it doesn’t answer this directly. What tends to help is the same idea in reverse: change the cue, change the setting, and put a small new habit where the old one used to go. Our guide to cutting screen time without deleting apps shows how that works with a phone habit.

Can I build two habits at once? You can, but it splits your attention. If one habit is already easy, adding a second tied to it (“after my run, I stretch for two minutes”) works better than starting two from scratch on the same day.

What if I’m past two months and it still feels hard? Check the cue and the size first. A habit with no fixed trigger, or one that’s too big for your busiest days, can take far longer. Shrink it, tie it to something that happens every day, and keep counting. If it’s something you’ve always struggled with, our guide on where to start with self-improvement helps you pick one thing at a time.

Quick recap

  • The 21-day rule came from a 1960 book, not from habit research.
  • In the best-known study, a simple daily habit took a median of about 66 days to feel automatic, with a range from 18 days to an estimated 254.
  • Simple habits with a clear daily cue form fastest; bigger ones take months.
  • One missed day is fine; missing often is what stops a habit forming.
  • Keep it small, tie it to a cue, keep the same version for a month, and count the days you do it.

This guide is general information, not medical advice. If you’re struggling for weeks, or thinking about harming yourself, talk to a doctor or contact your local emergency services.