Habits and Routines · How Habits Work

How Long Does It Take to Form a Habit? What the Studies Found

About two months for most people, and anywhere from a few weeks to most of a year.

On This Page

Short answer

Plan for about two months, often longer.

  • Median 66 days in Lally's study of 96 volunteers, with a range of 18 to 254.
  • A 2024 review found medians of 59 to 66 days and means of 106 to 154.
  • The 21-day rule comes from a self-help book, not from a study.
Three clay pots on a sunny windowsill, a seedling, a young plant and a full leafy plant, beside a watering can and a paper grid of ticked squares.

A simple daily habit takes about two months to run on its own, and harder ones take longer. In the best-known study the middle volunteer needed 66 days, and individuals ranged from 18 to 254. The 21-day rule is a myth.

So if you are on day 25 and the habit still takes effort, nothing has gone wrong. The studies say week three is early.

How Long Does It Take to Form a Habit?

About two months for a simple daily habit, and longer for harder ones. In Lally's 2010 study, the median time to reach 95 % of each person's own plateau of automaticity was 66 days, and single volunteers took anywhere from 18 to 254 days. A 2024 review found the same middle ground across other studies.

Days to Form a Habit, Study by Study
Study and habitBarDays
Keller 2021, healthy eating (median)59 days
Lally 2010, eating, drinking or exercise (median)66 days
Lally 2008, eating and self-weighing, self-reported (mean)91 days
Fournier 2017, morning stretching (mean)106 days
Fournier 2017, evening stretching (mean)154 days
Source: Singh and colleagues, 2024, reporting each study

Two things explain the spread. A median is the middle person, so half the volunteers took longer; a mean gets pulled up by the slowest few. And the habits differ: stretching every day asks more of you than one glass of water after breakfast.

The review by Singh and colleagues pooled 20 studies with 2,601 people. Only four of them measured time to habit, and across those individuals ranged from 4 to 335 days. Its conclusions put most health habits at 2 to 5 months to become automatic.

Does It Take 21 Days to Form a Habit?

No. The 21-day figure stems from the 1960 self-help book Psycho-Cybernetics by Maxwell Maltz, a plastic surgeon, and the 2024 review states that the research “clearly refute[s]” it. Gardner and colleagues trace the myth to anecdotal reports of patients adjusting to plastic surgery, which is not a habit.

In the studies above, the fastest median is 59 days.

The 21-Day Rule

  • From a self-help book
  • Based on patients adjusting to surgery
  • Sets you up to quit at week four

What Studies Measured

  • Medians of 59 to 66 days
  • Individuals from 4 to 335 days
  • Simple habits faster, hard ones slower

The first three weeks still do a lot of work. Lally found that early repetitions give the largest gains in automaticity, so those weeks build most of the link. Just do not stop counting there.

Does It Take 30 or 90 Days to Form a Habit?

Neither number is a finding, but one is closer than the other.

  • 30 days is shorter than the fastest median in the studies (59 days). A month-long plan is still a fine way to start: the 30-day water challenge ends well before the 66-day middle, so treat day 30 as the halfway mark.
  • 90 days is closer to the slow end. The review lists a mean of 91 days for Lally's 2008 study of self-reported eating and self-weighing, and Fournier's morning stretchers averaged 106.

Keep the cue going to at least day 66 whichever number you started from.

Is 66 Days to Form a Habit True?

It is true as the middle result of one small study, not as a deadline for you. Dr. Pippa Lally, who led it, told the University of Surrey that the average was 66 days “however, the range was 18 to 254 days”, and that how long habit formation takes “is highly variable”.

What the Volunteers Actually Did

Each of 96 volunteers chose one eating, drinking or activity behavior, such as a drink after breakfast, and did it daily in the same context for 12 weeks. Every day they rated how automatic it felt on a questionnaire.

Step in the study People
Volunteers who started 96
Gave enough data to analyze 82
Curve could be fitted to their scores 62
Curve fitted well 39

So the curve behind the 66-day figure fitted 62 people, 39 of them well, over 84 days of data. Volunteers who performed the behavior more consistently had a better fit.

Seen from above, a young woman with curly dark hair in a mustard sweater ticks another square in a hand-drawn grid in her notebook, a cup of tea beside her.
Only 39 of the 96 volunteers had a curve that fitted well, so the 66-day figure rests on a small group.

Why Do Some Habits Take Longer to Form?

Four things moved the timeline in the studies: how simple the action is, the time of day, who chose the habit, and how consistently it happened in the same context. You control all four.

What Made Habits Form Faster

4 items
  • A simple action rather than a complex routine
  • Practice in the morning rather than the evening
  • A habit the person chose, not one assigned to them
  • Doing it consistently, in the same context
Source: Singh and colleagues, 2024; Lally and colleagues, 2010; Gardner and colleagues, 2012

Simple Actions Get There First

Gardner, Lally and Wardle write that automaticity “peaked more quickly for simple actions” than for more elaborate routines. That fits the stretching study: Fournier's volunteers, who took on a daily stretch, needed a mean of 106 to 154 days, longer than the medians of 59 to 66 days for eating and drinking habits.

Morning Beats Evening

In Fournier's stretching study, habits practiced in the morning were stronger, and the mean time to habit was 106 days in the morning against 154 in the evening. Evenings fill up with things that push a new action aside, which is one reason to give a new habit a slot in a morning built around a fixed wake time.

A Habit You Chose

The 2024 review reports that habits people picked themselves formed more strongly than ones handed to them. A habit you want for your own reasons gets more repetitions in the weeks when it is still hard.

What the First Ten Weeks Feel Like

Fast progress at first, then a long flattening. Lally's volunteers gained the most automaticity from their early repetitions, and later ones added less until the curve leveled off; the GP paper describes this as an initial acceleration that slows to a plateau.

Phase What happens What to do
Starting You pick the action and the cue Write "after I…, I will…" and set up the object
Learning Each repeat strengthens the cue link Do it every time you meet the cue, the same way
Stable It runs with little effort Keep the cue; now you can grow the action

The names of the phases come from Gardner and colleagues, who call them initiation, learning and stability. The middle phase is the long one.

Wide view of a lakeside park at sunset, where a heavyset man in a blue polo shirt and shorts takes his after-dinner walk along a paved path.
An after-dinner walk ties exercise to a meal you never skip. Expect a harder habit like this to take longer than a glass of water.

How Do You Know When a Habit Has Formed?

When you find yourself doing it without deciding to. The GP leaflet from Gardner and colleagues describes the end point as “doing it automatically without even having to think about it”, and Lally measured exactly that feeling each day.

Signs you are there, in plain terms:

  • You start the action as the cue happens, before you have thought about it.
  • Skipping it feels odd, like leaving the house without your keys.
  • You still do it on tired or busy days, with no reminder.

Does Missing a Day Reset the Clock?

No. Lally found that “missing one opportunity to perform the behaviour did not materially affect the habit formation process”. The next morning, restart at the usual cue without making up the gap.

  • The study asked volunteers to record each day whether they did the behavior, so misses were counted.
  • Doing it more consistently went with a better fit of the habit curve, so a miss is a reason to return to the cue, not to stop.
  • The study did not test a missed week, so this page makes no claim about one.

Do You Have to Do It Every Day?

For the timelines on this page, yes: they come from daily habits. Lally's volunteers did one behavior every day in the same context, and those who did it more consistently fitted the habit curve better. The GP paper's “around 10 weeks” also assumes daily repetition.

A weekly habit, such as a Sunday long run, gets one repeat for every seven a daily one gets. No study on this page measured how long a weekly habit takes, so expect it to take much longer and make the cue hard to miss:

  • Give it a cue that never moves, such as straight after Sunday breakfast.
  • Set the shoes or the bag out the night before.
  • Keep the weekly tick on its own line, away from the daily grid.

How Long Does It Take to Break a Habit?

No study gives a number for breaking one, and the research suggests it is slow. Wood and Neal, in their 2007 review, write that habit associations “do not shift appreciably with current goal states or infrequent counterhabitual responses”: wanting to stop, or resisting now and then, leaves the old link in place.

Their discussion of change centers on managing the cue. The habit starts when the cue appears, so removing or avoiding the cue does more than willpower in the moment.

How Long Should You Plan For?

Plan by the kind of habit, and set your first check-in at 10 weeks, not 3.

Your habit Plan for Why
One small action after an existing step About two months; check in at week 10 Medians sat at 59 to 66 days
A routine of several steps, like a workout Three to five months Stretching averaged 106 to 154 days in Fournier's study
Something that only fits in the evening Longer, or move it to the morning Fournier's evening group lagged the morning group by 48 days
A habit you have missed once No change One miss did not materially affect formation

What Day 66 Looks Like on a Calendar

Two people start on the same Monday, 2 November 2026. Count the start day as day 1.

The gap between the two plans is about three months for the same start date, and it comes from the habit's size and time of day, not from how hard either person tries.

Five Dated Check-Ins Across Ten Weeks

Five steps, about five minutes, and the dates are set.

Your 10-Week Plan

  1. Write down the one habit and the cue it follows
  2. Put reminders in your calendar at week 10 and at day 66
  3. Tick each day you do it, on paper or in an app
  4. At week 10, ask if you start it without thinking
  5. Only once it runs itself, make the action bigger

When this habit runs on its own, the five research steps for choosing a cue apply again to the next one.

General information for healthy adults, not medical advice. If a doctor has set your fluid amount, follow that.

Glubbo

Drink water reminder

Try Glubbo on your phone

Log a drink in 1 tap. Every glass fills a fish tank

Get Glubbo

Free · No account needed

Scan to install on your phone