Skip to main content
  • how long to form a habit
  • 21 day rule
  • habit tracking
  • getting started
  • consistency

How long does it take to form a habit? About 66 days, with a huge range

About 66 days on average, anywhere from 18 to 254 in the best-known study. Why 21 days is a myth, and a test for your own habit.

8 min readUpdated 12 October 2026
A calendar month with a habit row filling in unevenly across the weeks

On average it takes about 66 days to form a habit, but the range is huge: from 18 days to 254 in the best-known study on the subject. Twenty-one days, the figure you have probably seen more than once, has no study behind it at all. It is the most repeated claim in the whole subject and there is nothing underneath it.

The honest answer to how long it takes to form a habit is that it depends on the habit, on you, and on where you put it in your day, and the spread between the easy end and the hard end is enormous. A glass of water after brushing your teeth and a 5am gym session are not the same problem wearing different clothes.

That is an unsatisfying answer, so the rest of this is about what to do with it. There is a better question than how long, and there is a test you can run on your own habit that beats any number somebody else publishes.

Why any single number is wrong

Averages hide the thing you need. The best-known study, by Phillippa Lally and colleagues at University College London, published in 2009, followed 96 people building one new daily habit each and found a median of 66 days to automaticity. Taken at face value, that is the middle of a range, and in this subject the range is wide enough that the middle describes almost nobody. One person in the study settled their habit in 18 days and another was projected to need 254. The average is a number neither of them experienced.

There is a second problem, which is that "formed" has no agreed definition. Formed as in you no longer have to decide? Formed as in it feels odd when you skip it? Formed as in it survives a week of travel? Those arrive at different times, in that order, sometimes months apart.

Where 21 days came from, and the 21/90 rule

The 21-day figure traces back to Maxwell Maltz, a plastic surgeon who wrote Psycho-Cybernetics in 1960. He noticed that his patients seemed to take a minimum of about 21 days to get used to a changed face or a lost limb. Minimum became average in the retelling, getting used to a change became forming a habit, and a passing observation turned into a rule.

The 21/90 rule builds on it: 21 days to build a habit, 90 days to make it part of your life. It has no study behind it either. As a planning device it is not useless, because it at least tells you the first three weeks are not the finish line. As a description of what will happen to you, it is about as reliable as a horoscope with a calendar attached.

If you want a number to plan around, 66 days is the honest one, with the warning that your habit could take a third of that or four times as long. The rest of this piece is about how to tell which.

What changes the answer more than time does

Four things matter more than how many days have passed.

  • Whether it is attached to something already fixed in your day. A habit anchored to an existing event has a trigger that fires without you. A habit set for "the evening" relies on you remembering, every evening, forever.
  • Size. Two minutes settles faster than forty. This is not about discipline, it is about how many days the habit can survive being inconvenient.
  • How often it comes round. A daily habit gets 30 repetitions a month. A Tuesday and Thursday habit gets 8, so it needs roughly four times the calendar to reach the same number of reps.
  • Whether skipping it is comfortable. A habit with an immediate cost when you skip settles faster than one where nothing happens for months.

That third one catches people out constantly. Somebody tries a three-times-a-week habit, gives it a month, concludes it has not stuck, and quits. They gave it twelve repetitions. The daily version of the same habit would have had thirty by then and would feel entirely different, despite the same number of days on the calendar.

The test that replaces the number

Stop asking whether the habit is formed and start asking what happens when it is threatened. There are three specific moments, and each one tells you something the calendar cannot.

First: the disrupted day. A day where your routine breaks, you are out of the house, you get home at 11pm. Does the habit happen in some reduced form, or does it evaporate? A habit that survives in a smaller version on a bad day has a foothold. One that vanishes entirely is still a decision, not a habit.

Second: the gap. Miss two days deliberately and watch what happens on the third. If you come back without a negotiation, that is the strongest signal available. If day three requires the same effort as day one did, you are earlier in the process than the calendar suggests.

Third: the boring week. Around week three or four, most habits stop being interesting. The novelty was carrying it and the novelty is gone. Whatever gets it through that week is the thing that will keep it going for the following year, and if nothing does, no amount of additional days would have helped.

A habit row showing a two day gap followed by the habit resuming

What a tracked month actually shows

Recording a habit for a month will not tell you whether it is formed, because a grid records behaviour and not the feeling of automaticity. What it does show is the shape of the effort, and the shape is diagnostic.

Pattern across the monthWhat it usually means
Strong week one, thinning afterThe novelty was doing the work. Shrink the habit before week three.
Even rate throughout, with gapsIt is real. The gaps are worth reading for a day-of-week pattern.
Weak start, stronger second halfIt took a while to find a slot. This is the healthiest pattern of the four.
Perfect, no gaps at allEither it was already a habit, or the target was too easy to be informative.

The fourth row surprises people. A flawless first month is not usually a triumph, it is a sign the bar was set low enough that you learned nothing about your own limits.

So what do you tell someone who wants a number

Plan for a season, not for three weeks. If you want a working expectation for a daily habit of modest size, attached to an existing anchor, assume it will demand real attention for the first month, feel tedious in the second, and start being unremarkable somewhere in the third. Bigger habits and anything less than daily take longer, sometimes much longer.

And here is the cost of that framing, because it has one. Planning for three months means accepting that the first month will feel like failure compared to the 21 day promise, and some people find that discouraging enough to quit at exactly the moment the honest version says to keep going. If a shorter horizon keeps you moving, use a shorter horizon and simply do not treat day 22 as a finish line.

What I cannot tell you is where you personally fall. I have no data on that, and neither does anyone publishing a figure with your name nowhere near it.

How long does it take to form a habit on average?
About 66 days, the median in Lally and colleagues' 2009 study of 96 people. The range ran from 18 to 254 days, so the average is a rough guide, not a deadline.
What is the 21/90 rule?
A popular rule that says it takes 21 days to build a habit and 90 days to make it a lifestyle. Neither number comes from research. The 21 days traces back to a 1960 observation about plastic surgery patients.
Is the 21 day rule true?
No. It is a widely repeated figure with no solid grounding, and it persists because it is short, memorable and encouraging. Some very small habits attached to strong anchors do settle in about three weeks, which keeps the claim alive, but as a general rule it sets expectations too early.
Does missing one day break a habit?
No, and the research-flavoured panic around this is unhelpful. One missed day is a missed day. What matters is what happens on the day after, because two consecutive misses is where a habit starts becoming optional again. Treat the second day as the one to protect.
How long does it take to break a bad habit?
Usually longer than building a new one, because you are competing with an existing trigger that still fires. Removing or changing the trigger does more than willpower does. Replacing the behaviour with another one in the same slot is more reliable than trying to leave the slot empty.
Do habits form faster if you do them every day?
In calendar terms, yes. A daily habit accumulates repetitions roughly four times faster than a twice-weekly one, so it reaches any given number of reps much sooner. If the habit only makes sense a few times a week, expect the calendar to stretch accordingly and do not read that as failure.

The short version

  • The 21 day figure has no real basis. Averages that replace it hide a spread wide enough to be useless for one person.
  • Repetitions matter more than days. A twice-weekly habit needs about four times the calendar of a daily one.
  • Anchoring to an existing event beats setting a time of day, because the trigger fires without you.
  • Test it with a disrupted day, a deliberate two day gap, and the boring fourth week.
  • Plan for a season. Accept that this feels slower than the promise, and that the promise was made up.

If you want to watch the shape rather than count days, a month grid makes the pattern obvious by about week three. That is earlier than any number would have told you anything.

Try this on your own month

BeHabitual is free while it is in early access. Three habits and one month is enough of a test.

Start free