How long does it take to form a habit?

Habit science · 5 min read · Updated

It usually takes about two months to form a habit, not 21 days. In the best-known study, by Phillippa Lally and colleagues in 2010, the median time for a daily behavior to become automatic was about 66 days, and individual results ranged from 18 to 254 days. Simple actions done in the same context every day got there fastest.

Where the 21-day figure comes from

The 21-day rule traces back to Maxwell Maltz, a plastic surgeon who wrote Psycho-Cybernetics in 1960. He observed that his patients seemed to need a minimum of about 21 days to get used to a change such as a new face. That was an observation about adjusting to a change, not a study of building a behavior, and the word 'minimum' fell away as the idea was retold.

Twenty-one days is not harmful as a first milestone. The problem is what happens on day 22, when the habit still feels like effort and people conclude they have failed. For most habits, three weeks is roughly the point where things start to get easier, not where they become automatic.

What the 66-day study measured

Lally's team at University College London asked 96 volunteers to pick one eating, drinking or activity behavior and do it daily in the same context, for example 'after breakfast', for 12 weeks. Each day participants recorded whether they did it and rated how automatic it felt, using items from a standard habit questionnaire.

Automaticity rose quickly at first and then leveled off, like a curve approaching a ceiling. The researchers estimated when each person reached 95% of their own plateau. The median was about 66 days. The fastest was 18 days and the slowest estimate was 254.

Two details matter when you quote that study. The study ran for 84 days, so any figure beyond that is a projection of the curve, not an observed result. And it was one study of 96 people, not all of whom produced data that fit the model. The best reading is 'expect a couple of months, with wide variation', not 'exactly 66 days'.

Why some habits take 18 days and others take months

The range in the study was huge, and the reasons are easy to recognize from ordinary life.

  • Complexity. Drinking a glass of water with lunch has one step. A 30-minute run has a dozen, from changing clothes to finding time. Simpler behaviors have less to go wrong.
  • Consistency of context. Participants who performed the behavior more consistently produced cleaner habit curves. Same cue, same place, same time is what the brain learns from.
  • Frequency. The study looked at daily habits. A habit you do three times a week gets fewer repetitions per month, so it is reasonable to expect it to take longer.
  • Competition. Adding a habit to a free slot is easier than displacing an existing one, such as replacing evening scrolling with reading.
  • Payoff. A habit that feels good soon after you do it tends to stick sooner than one whose benefit arrives months later.

What automatic actually feels like

Automatic does not mean you never think about it. It means the behavior starts before you have consciously decided, you don't need to remember it, and skipping it would feel odd. Brushing your teeth is the reference point most people have.

Flossing is a good example of the slow middle stage. In week two you still have to tell yourself to do it. By week six you reach for the floss most nights, but a late night out breaks it. Somewhere after that, forgetting starts to feel like leaving the house without your keys. That shift is the plateau the Lally curve describes.

Missing a day does not reset the clock

One of the most useful findings in the study is the least quoted. Missing a single opportunity did not materially affect the habit-forming process. The curve kept rising after a one-day gap.

That should change how you plan. Aim for 'most days, in the same context' rather than a perfect run. Repeated gaps do weaken the pattern, so the practical rule is to get back to it on the next scheduled day rather than waiting for Monday.

A realistic timeline for a new habit

Here is how the first few months tend to go for a habit like 'read 10 pages after dinner'. The weeks are approximate. Yours may run faster or slower.

  1. Weeks 1 to 2: You need an external cue, such as leaving the book on the table where you eat. Most of the effort is remembering.
  2. Weeks 3 to 6: On normal days it starts without much thought. Travel, guests or a late meeting still knock it out.
  3. Weeks 7 to 10: Reading after dinner is the default on ordinary days. Disruptions cost you a day, not a week.
  4. Beyond 10 weeks: The habit survives most disruptions. A big change in routine, such as a new job or a move, can still unsettle it.

Tracking a habit through the first two months

A record helps most in the middle stretch, when the habit is no longer new but not yet automatic. If you track in ChatGPT, a message such as 'Track reading 10 pages after dinner, every day' creates the habit, and 'I read 12 pages' logs it. The contribution grid then shows the shape of the two months: a dense run of cells means the context is working, while a gap every Saturday points to a day when the cue doesn't happen.

The app doesn't send reminders, so the cue has to come from your routine, which is what the research suggests builds the habit anyway. Around day 60, ask ChatGPT to summarize the last two months and look at whether the gaps are shrinking.

Track it

Questions

Is it 21, 30 or 66 days to form a habit?

None of those is a rule. Sixty-six days was the median in one well-known study, and real results ranged from 18 to 254 days. Twenty-one and 30 are convenient challenge lengths, useful as checkpoints but not as finish lines.

Does a habit ever become fully automatic?

Automaticity levels off rather than reaching a fixed end point. Even strong habits can be disrupted when the context changes, which is why habits often slip after a move, a new job or a long trip.

Is breaking a habit faster than building one?

There is no equivalent study that gives a number. Old cues can keep triggering the behavior for a long time, so it helps to change the context and plan a replacement instead of counting days.

Sources

Read next

All guides

Turn it into a habit you can see

Free for up to 2 habits, every feature included. Log by chatting with ChatGPT or on the website.

Start tracking for free