How Long Does It Take to Form a Habit? What the Research Says
The 21-day rule is a myth. Here's what the studies actually measured, why the range is so wide, and how to set up a habit so the days add up.
Key takeaways
- In a 2010 University College London study, habits took a median of 66 days to become automatic, with individual times from 18 to 254 days.
- The 21-day rule comes from a 1960 self-help book, not from research on habit formation.
- Missing one day did not materially affect habit formation: restart at your next cue.
- Small habits tied to a reliable daily cue and repeated in the same context form fastest.
- Treat 66 days as a research average, never as a deadline.
Most new habits take around two months to feel automatic, but the honest answer is a range, not a number. In a 2010 study led by Phillippa Lally at University College London, the median time for a daily habit to reach its peak automaticity was 66 days, and individual times ran from 18 to 254 days. Missing a single day didn't derail the process. What mattered was repeating the same small action after the same cue.
So if day 21 came and went and your new habit still takes effort, nothing is wrong with you. You're on schedule. Here's what the research actually found, why some habits form faster than others, and how to set yours up so the days add up.
How long habits take: the research at a glance
| Question | What the research found | What it means for you |
|---|---|---|
| Is it 21 days? | No habit study supports a fixed 21 days. The figure comes from a 1960 self-help book. | Treat week three as the start, not the finish. |
| Typical time | A median of 66 days to reach peak automaticity (Lally, 2010). | Plan for about two months of deliberate effort. |
| Range | 18 to 254 days between people in the same study. | Your number depends on you and on the habit. |
| Newer evidence | A 2024 review found medians of 59 to 66 days and means of 106 to 154 days. | Harder habits often take months, and that's normal. |
| Missing a day | One missed opportunity did not materially affect habit formation. | A missed day is a pause. Restart at the next cue. |
Where the 21-day myth comes from
The 21-day figure is usually traced to Psycho-Cybernetics, a 1960 self-help book by the plastic surgeon Maxwell Maltz. Maltz observed that his patients seemed to need a minimum of about 21 days to get used to a change, such as a new face in the mirror. It was an observation about adjusting, not a measurement of how long habits take to form.
Over the decades, "a minimum of about 21 days" was shortened to "21 days," and it stuck because it sounds achievable. The trouble starts on day 22. People who expect autopilot after three weeks often read the remaining effort as failure and quit, right in the middle of the period when the habit is actually forming.
What the 66-day study actually found
Lally's team asked 96 volunteers to pick one healthy eating, drinking or activity behavior and do it once a day in the same context, such as "after breakfast." Every day for 12 weeks, the volunteers rated how automatic the behavior felt: whether they did it without thinking and without having to remember.
66 days
median time for a daily habit to reach peak automaticity
Lally et al., 2010
254
days, the longest projected time in the study; the fastest person took 18
Lally et al., 2010
96
volunteers, each repeating one behavior once a day
Lally et al., 2010
The results traced a curve that rises fast and then flattens. Early repetitions brought big gains in automaticity. Later ones added less and less, until the curve leveled off. The researchers treated that plateau as the point where the habit had formed.
Three details matter more than the headline number:
- 66 days is a median, not a rule. It came from the participants whose data fit the model well. Half of them got there sooner, half later.
- The range was huge. From 18 to 254 days. The study ran for 84 days, so the longest times are projections from each person's curve, not observed endpoints.
- One miss didn't matter. Missing one opportunity to perform the behavior did not materially affect the habit formation process.
What newer research adds
Why are the means so much longer than the medians? Because a minority of people take a very long time, which pulls the average up. The typical person sits closer to two months. Four studies is still a small evidence base, so treat every number here as a rough guide, not a countdown.
Why some habits form faster than others
Habits form through what researchers call context-dependent repetition. In a 2012 paper in the British Journal of General Practice, Benjamin Gardner, Phillippa Lally and Jane Wardle put it simply: repeat an action in a consistent context and, over time, the context alone starts to prompt it. Four things shape how quickly that link forms.
How simple the habit is
A glass of water after breakfast asks almost nothing of you. A 30-minute run asks for clothes, time, weather and energy. The more steps and decisions a habit needs, the more chances you have to skip it before it runs on its own. Start with the smallest version you'd still be glad to have done.
How reliable the cue is
A habit needs a trigger that shows up every day: finishing your coffee, sitting at your desk, brushing your teeth. "Sometime in the morning" isn't a cue. A 2021 randomized trial by Keller and colleagues in the British Journal of Health Psychology found that tying a new nutrition habit to a daily routine and tying it to a clock time worked about equally well. What predicted habit strength was how often people actually did the behavior when their cue came up. Among participants who formed a habit, peak automaticity arrived at a median of 59 days.
How often you repeat it
Daily habits collect more repetitions per week than weekly ones, so they get more chances to become automatic. If your habit is three times a week, give it the same cue each time and expect the process to take longer.
What's in the way
Every bit of friction between cue and action is a chance to skip. Today the most common friction is the phone: you sit down to read, a notification lands, and 20 minutes later the moment has passed. Removing that one obstacle can do more for a new habit than any amount of motivation.
How to tell when a habit has formed
No alarm goes off on the day it happens. Habit researchers measure automaticity with short questionnaires, and you can ask yourself the same kind of questions:
- Do I start it without deciding to?
- Do I do it without needing a reminder?
- Would it feel strange to skip it?
- Does the cue pull me toward it, even on a busy day?
When the answer is mostly yes, the habit is carrying itself. That's the moment to add the next one, not before.
How to build a habit that sticks: 6 steps
- Choose one habit. One. Starting five at once splits the repetitions and the attention each one needs.
- Shrink it. Two pages, not a chapter. Five pushups, not a workout. You can always do more; the habit is showing up.
- Tie it to an existing cue. "After I pour my coffee, I read two pages." This is the core of habit stacking, the simplest way to give a new habit a reliable trigger.
- Keep the context the same. Same place, same order, same time of day where you can.
- Remove the biggest obstacle. For most people that's the phone. If your mornings disappear into feeds, block distracting apps on your iPhone until your habits are done.
- Count the days you show up, not perfect streaks. A record of how often you showed up tells you more than an unbroken chain, and it doesn't collapse after one bad day.
This is the loop Greatr is built around. You stack small habits into a morning or evening routine, your chosen social apps stay locked until the habits are done, and the Consistency grid on My Areas shows your last 13 weeks day by day, so one gap reads as one gap, not a broken streak. On day 1, Otto, the app's guide, keeps it simple:
Do one small habit today, and I will mark it in my notebook as day 1 of your 66-day journey.
A worked example: Mara's reading habit
Worked example
Mara, a fictional example, wants to read more but hasn't finished a book in a year. Here's how her first three months could look.
- Days 1 to 14She sets one rule: after her first coffee, she reads two pages at the kitchen table. Most mornings she remembers. Twice she doesn't, because she picks up her phone first, so she moves the charger to the hallway.
- Days 15 to 40Two pages often turn into ten. She misses day 19 when she's ill and restarts the next morning. Reading still takes a decision some days, but fewer of them.
- Days 41 to 70One morning she notices she has opened the book before finishing her coffee, without deciding to. Skipping now feels odd.
- Day 75 onwardThe habit runs itself most days. Only now does she add a second one: five minutes of stretching after reading.
Notice what Mara didn't do. She didn't count down to day 66, and she didn't restart from zero after a missed day. She kept the cue, kept it small and let repetition do the work.
What to do when you miss a day
Lally's finding on missed days is one of the most useful in habit research: a single missed opportunity did not materially change how the habit formed. A missed day isn't a reset. What the study doesn't say is that consistency is optional. Repetition builds the habit, and the repetitions you skip are ones you don't get.
- Restart at the very next cue. Not next Monday. Tomorrow's coffee.
- Don't make up for it. A double session tomorrow raises the bar and makes the next miss more likely.
- Find the cause. If you missed because the cue didn't happen (travel, a late night), pick a backup cue for those days.
- Avoid two misses in a row. This is a rule of thumb, not a research finding, but it keeps one off day from becoming a pattern.
Mistakes that make habits take longer
- Treating 21 or 66 days as a finish line. Habits don't graduate on a date. They get easier gradually.
- Starting too big. An hour at the gym is a goal. Putting on your shoes after work is a habit you can build.
- A floating cue. "When I have time" never arrives. Anchor the habit to something that already happens every day.
- Changing the context daily. Different times and places mean the cue never gets a chance to do its work.
- An all-or-nothing streak. One miss breaks a streak but not a habit. Track how many days you showed up.
- Adding habits too early. Add the next one only when the first passes the "would it feel strange to skip?" test.
Want to put this into practice tomorrow? Build a morning routine you'll actually keep from two or three small habits, then let the weeks do the rest.
Frequently asked questions
Does it really take 21 days to form a habit?
No. The 21-day figure is usually traced to a 1960 self-help book by Maxwell Maltz, who observed that patients needed at least about three weeks to adjust to changes. Studies that measured habit formation directly found much longer times: a median of 66 days in a 2010 University College London study, with individuals ranging from 18 to 254 days.
What happens if I miss a day while building a habit?
Very little, as long as it stays a single day. In the 2010 study by Phillippa Lally and colleagues, missing one opportunity to perform the behavior did not materially affect habit formation. Restart at your very next cue instead of waiting for Monday, and do not double up to compensate. A pattern of skipping is what slows a habit down.
Is 66 days enough to form any habit?
Not necessarily. 66 days was the median in one study, so half of the participants took longer, some well beyond the study's 84 days. A simple habit, like a glass of water after breakfast, is likely to become automatic sooner than a complex one, like a full workout. Treat 66 days as a realistic average, not a deadline or a guarantee.
How can I make a habit form faster?
Keep it small, tie it to a cue that happens every day, and do it in the same place and order each time. Habit research points to repetition in a consistent context as the main driver. Removing friction helps too: if your phone tends to derail the cue, lock distracting apps until the habit is done.
How do I know a habit has formed?
You start it without deciding to, you rarely need a reminder, and skipping it would feel strange. Researchers measure this as automaticity, usually with short questionnaires about exactly these feelings. Once a habit passes that test on most days, it is a good time to add the next one to your routine.
Sources
- How are habits formed: Modelling habit formation in the real world
- Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants
- Making health habitual: the psychology of 'habit-formation' and general practice
- Habit formation following routine-based versus time-based cue planning: A randomized controlled trial
About this article
Jeroen Snel is a co-founder of Greatr who writes about habit research, focus and iPhone settings: checking how a study was run before trusting its headline, then turning what holds up into steps you can take.
Read full bioHow we wrote this
Jeroen Snel wrote this guide from the studies and sources listed above, linked so you can check them. Greatr is our own app: we mention it where it fits, and it never decides what a study says. First published Aug 18, 2026. Last updated Oct 30, 2026. Read our editorial policy.