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

Koi team

The 21-day rule comes from a 1960 self-help book, not a study. The research puts the average at about two months, with a wide range. Here is what the studies found, what makes habits form faster, and what a missed day really does.

The honest answer is about two months, and often longer. The best-known study, from University College London, found that a new daily habit took 66 days on average to feel automatic, with people ranging from 18 days to a predicted 254. A 2024 review of 20 studies found medians of 59 to 66 days, with individuals anywhere from 4 to 335 days. So if you are three weeks in and it still takes effort, you are right on schedule.

Quick take: plan for about two months, not 21 days. Simple habits tend to settle sooner than exercise. Doing it at the same time and place helps most. One missed day does not undo your progress, but many missed days add up, so come back the next day.

Below: where the 21-day idea came from, what the studies actually measured, what makes a habit form faster, and what to do when you miss a day.

Where did the 21-day rule come from?

The 21 days comes from a 1960 self-help book, Psycho-Cybernetics, by Maxwell Maltz, a plastic surgeon. In the preface he wrote that it "usually requires a minimum of about 21 days to effect any perceptible change in a mental image". He noticed that patients took about three weeks to get used to a new face, and that people needed about three weeks in a new house before it felt like home. Researchers at UCL traced the claim back to that preface.

Two things got lost on the way. Maltz was talking about getting used to a change, not about building a behaviour that runs on its own. And he said "a minimum of about" 21 days, not 21 days exactly. Over the years the line turned into "21 days to a new habit", with no study behind it.

What does the research actually show?

The first study to watch habits form in everyday life was published in 2010 by Phillippa Lally and colleagues at University College London, in the European Journal of Social Psychology. They asked 96 people to pick one healthy behaviour, such as eating a piece of fruit with lunch or a 15 minute run before dinner, and do it once a day after the same daily cue for 84 days. Every day, people rated how automatic it felt.

Of the 82 people who saw the study through, automaticity rose quickly at first and then levelled off. On average it took 66 days to reach that plateau. The fastest person got there in 18 days, and the slowest was predicted to need 254. Even after 84 days, about half of the participants had not yet reached a score high enough to count as a habit.

In 2024, researchers at the University of South Australia published a systematic review and meta-analysis of 20 studies with 2,601 participants. Only four of those studies measured how long habits took to form. Their medians were 59 to 66 days, their averages were 106 to 154 days, and individual people ranged from 4 to 335 days. The authors concluded that most health habits take two to five months to become automatic, and that their results clearly refute the 21-day idea.

What the studies found
StudyHabit people builtTime to a habit
Lally and colleagues, UCL (2010)One daily eating, drinking or activity habit, 82 people66 days on average; 18 to a predicted 254
Healthy eating study (in the 2024 review)Healthier eatingMedian 59 days; 4 to 335. Only 23% reached the habit threshold
Earlier Lally study (in the 2024 review)Healthy eating and self-weighing, self-reported91 days on average
Stretching study (in the 2024 review)Daily stretches, morning or evening106 days on average in the morning; 154 in the evening
University of South Australia review (2024)20 studies, 2,601 peopleMedians 59 to 66 days; most health habits 2 to 5 months

The takeaway from all of them is the same. There is no fixed number. Two months is a fair expectation, some habits come sooner, and many take longer. Expecting 21 days mostly sets people up to give up just before the habit would have formed.

What makes a habit form faster?

None of what helps is about willpower. These are the factors the research points to.

  • The same cue, every time. Every habit in Lally's study was tied to a daily cue, such as "after breakfast". The 2024 review found that people who did the behaviour in a stable context built stronger habits. Meditating in the same chair each morning beats meditating whenever you remember.
  • A specific plan. Deciding exactly when and where you will do it helps. The review lists specific plans and daily routines among the things that strengthened habits. A cue can be a time (9:00 each morning) or a routine (after breakfast): one study in the review found both worked about as well.
  • Start simple. In Lally's study, people building an exercise habit took about one and a half times as long to level off as people building an eating or drinking habit, though the 2024 review notes the gap was not statistically significant. If your habit is big, shrink it to the smallest version that still counts, like one page or one push-up, and let it grow later.
  • Morning can help. In one study, stretching done in the morning became a habit sooner than stretching done in the evening: 106 days against 154 on average.
  • Pick something you enjoy and chose yourself. The review found that enjoying the behaviour, and choosing the habit yourself rather than being given one, went with stronger habits.

Does missing a day reset a habit?

No. Lally's team found that missing one opportunity did not materially affect the habit forming. A single missed day had little impact on later progress, early in the study or late. There is one honest catch: many missed days, even spread out, added up and lowered how automatic the habit finally became. So a missed day is nothing to worry about. Coming back the next day is what counts.

What this means in practice

If you are starting a new habit, plan on about two months before it feels automatic, and longer for something complex like exercise. Measure progress by whether the cue starts to pull the behaviour out of you, not by the number of days.

  • Pick one habit, not five.
  • Tie it to a cue you already meet every day.
  • Make the smallest version the default.
  • Expect to miss days, and come back the next one.
  • Notice whether you enjoy it, and adjust it until you do.

We built Koi around this research. Your day streak in Koi counts the days you check in and never resets: miss a day and it waits, then keeps growing when you come back. You can turn streaks off in Settings if you prefer. And a koi takes 70 fed days to grow up, close to the two months the research points to. The point is not to be perfect for 66 days. It is to keep showing up, however imperfectly, until the behaviour starts to do itself.

If you want more on the gentle approach, read why slow change lasts and the case for a habit tracker without streaks.

Questions people ask

How long does it take to form a habit?

About two months on average. In the best-known study, from University College London, a daily habit took 66 days on average to feel automatic, with people ranging from 18 days to a predicted 254. A 2024 review of 20 studies found medians of 59 to 66 days and concluded most health habits take two to five months.

Is the 21-day rule true?

No. It comes from a 1960 self-help book by a plastic surgeon, Maxwell Maltz, who wrote that people need a minimum of about 21 days to get used to a change, such as a new face after surgery. It was never a study of habits, and the research since then points to about two months.

Does missing a day reset a habit?

No. In Lally's 2010 study, missing one opportunity did not materially affect the habit forming. Many missed days did add up and made the habit a little weaker in the end, so the best response to a missed day is simply to do it the next day.

Do simple habits form faster than exercise?

Often, though not always by much. In Lally's study, people building an exercise habit took about one and a half times as long to level off as people building an eating or drinking habit, a gap the 2024 review notes was not statistically significant. Starting with a small version, like a short walk, still makes it easier to repeat.

Is 66 days the magic number?

No. It is an average, and people in the same study ranged from 18 days to a predicted 254. Treat two months as a rough guide, and judge progress by how automatic the habit feels.

What is the fastest way to build a habit?

Do it at the same time and place every day, tie it to something you already do, start with the smallest version, and pick something you enjoy. If you miss a day, do it the next day.

Sources

Try Koi

A calm habit tracker built around showing up, not streaking out.

Download on the App StoreGet it on Google Play