Short answer
Forming a habit takes about two months for a typical person, but the range is wide. In Lally et al. (2010), the median time to automaticity was about 66 days, with a range of 18 to 254 days. A 2024 meta-analysis by Singh et al. found median times of 59–66 days and a range of 4 to 335 days. The popular “21 days” figure has no research basis.
Key takeaways
- In the best-known study (Lally et al., 2010, 96 participants), the median time for a new behavior to become automatic was about 66 days, with a range of 18 to 254 days.
- A 2024 systematic review and meta-analysis (Singh et al.) found median habit formation times of 59–66 days, mean times of 106–154 days, and a range of 4 to 335 days.
- The “21 days to form a habit” claim traces to Maxwell Maltz’s 1960 book Psycho-Cybernetics, which described adjustment to change, not habit research.
- Missing a single day did not materially affect habit formation in Lally’s study.
- Simple behaviors tied to a consistent cue, such as a time, place, or previous action, become automatic more easily than complex behaviors with no fixed cue.
How long does it take to form a habit, according to research?
Research says it takes about two months for a typical person to form a habit, with very wide variation between people and behaviors. The two key sources are a 2010 field study by Lally and colleagues and a 2024 meta-analysis by Singh and colleagues.
| Source | Design | Participants | Median time to habit | Range |
|---|---|---|---|---|
| Lally et al., 2010 | 12-week field study; daily self-reports of automaticity | 96 | About 66 days | 18–254 days |
| Singh et al., 2024 | Systematic review and meta-analysis of health-behavior habit studies | Pooled from several studies | 59–66 days (means 106–154 days) | 4–335 days |
The numbers in both sources describe time to automaticity: the point where a behavior happens with little thought or effort. Automaticity is measured with self-report questionnaires, so the numbers are estimates of how automatic a behavior feels, not a clinical test.
What did the Lally 2010 study find?
The Lally 2010 study found that a new daily behavior took a median of about 66 days to reach its peak automaticity, with individual times from 18 to 254 days. It is the most cited real-world study of habit formation.
Researchers at University College London asked 96 participants to choose one new eating, drinking, or activity behavior and to do it once a day in the same context, such as “after breakfast”. Each day, participants rated how automatic the behavior felt. The researchers then modelled how automaticity grew over time for each person (Lally et al., 2010).
Four findings matter in practice:
- The median was about 66 days. Half of the modelled participants took less time and half took more.
- The range was 18 to 254 days. Some people formed the habit in under three weeks; others needed most of a year. The 254-day figure is a model estimate beyond the 84-day study period.
- Automaticity grew fast at first, then slowed. Early repetitions added the most automaticity, and later repetitions added less.
- Missing one day did not materially affect the process. A single missed opportunity did not reset progress.
The study also has limits. The sample was small, the participants were volunteers who chose their own behavior, and not every participant had data that fitted the model well. Dr Pippa Lally, the lead author, explains in a University of Surrey interview that 66 days is an average, not a target that applies to everyone (University of Surrey).
What did the 2024 meta-analysis find?
The 2024 meta-analysis by Singh and colleagues found that health-behavior habits took a median of 59 to 66 days to form, with mean times of 106 to 154 days and a range of 4 to 335 days (Singh et al., 2024). It combines several studies, so it is a broader summary than any single experiment.
The gap between the median and the mean is important. A median of about two months means that a typical person gets there in about two months. A mean of 106 to 154 days means that some people take much longer, and those slow cases pull the average up. If your habit still feels effortful after two months, you are not unusual.
The meta-analysis also has limits. The included studies used different behaviors, different populations, and different ways to measure automaticity, so the pooled numbers are approximate. Most studies focused on health behaviors such as exercise, diet, and hygiene.
Where does the “21 days to form a habit” myth come from?
The “21 days to form a habit” claim comes from Maxwell Maltz’s 1960 self-help book Psycho-Cybernetics, not from habit research. Maltz was a plastic surgeon. He observed that patients seemed to need “a minimum of about 21 days” to adjust to a change, such as a new face after surgery or the loss of a limb.
Over the following decades, “a minimum of about 21 days” was simplified to “it takes 21 days to form a habit”. The original was an informal observation about adjustment, with no measurement of habit or automaticity. Modern habit studies point to a median of about two months, roughly three times longer.
How to spot the myth when you see it:
- The number is given without a study, a sample size, or a range.
- The claim says “exactly 21 days” for every person and every habit.
- The source is a quote image, a slide, or a list of “facts about habits” with no citation.
Short challenges, such as 21-day or 30-day challenges, can still be useful. They give a clear start and finish. Just treat them as a first round, not as the moment a habit is complete. For ideas, see our list of 30-day challenge ideas with friends.
What makes a habit form faster?
A habit tends to form faster when the behavior is simple, repeated often, and tied to a consistent cue. These three factors are under your control, unlike personality or genetics.
| Factor | Faster | Slower |
|---|---|---|
| Complexity | Drink a glass of water | A full 60-minute gym session |
| Frequency | Every day | Twice a month |
| Cue | Same time, same place, after the same action | “Whenever I have time” |
| Reward | Pleasant or satisfying right away | Benefits only after months |
| Context | Stable routine | Frequent travel or shift changes |
Why does a consistent cue matter so much?
A consistent cue matters because habits are triggered by context, not by goals. Wood and Neal describe habits as responses that a context activates automatically, such as a time of day, a location, or a previous action in a routine (Wood & Neal, 2007). When the cue is the same every day, each repetition strengthens the same link between that context and the behavior.
The practical tool is an if-then plan, also called an implementation intention: “After I pour my morning coffee, I will read 10 pages.” A meta-analysis of 94 studies found a medium-to-large effect of these plans on goal attainment (d = 0.65) (Gollwitzer & Sheeran, 2006). Our guide on habit stacking shows how to choose a good cue.
Why do simple behaviors form faster?
Simple behaviors form faster because they need less decision-making and less effort, so they are easier to repeat on a bad day. In the Lally study, simpler behaviors, such as drinking a glass of water, tended to become automatic more easily than exercise behaviors. A practical approach is to start with a small version of the habit and make it bigger after it feels automatic.
What should you do in practice?
In practice, plan for about two months, expect setbacks, and judge progress by how automatic the habit feels, not by the calendar. These steps turn the research into a plan:
- Pick one habit and make it small. “Walk 10 minutes” before “run 5 km”.
- Tie it to one fixed cue. Write an if-then plan: “After [cue], I will [habit].”
- Do it at the same time and place every day. Daily repetition in a stable context is what Lally’s participants did.
- Track every repetition. A meta-analysis of 138 studies found that monitoring progress improves goal attainment, especially when progress is recorded and shared with others (Harkin et al., 2016).
- Plan for misses. One missed day does not reset your progress. The rule that matters is to come back the next day. In a megastudy with 61,293 gym members, some of the more effective programs rewarded people for returning after a missed workout (Milkman et al., 2021).
- Check in at about day 60. Ask yourself: “Do I do this without thinking about it?” If not, keep going; you may be on the slower side of the range.
- Only then make it harder. Add minutes, pages, or a second habit after the first one is stable.
A streak counter can help motivation, but a broken streak is not the same as a broken habit. Our guide on habit streaks explains how to use streaks without letting one miss end your progress.
How do you track a habit for 66 days in HabitRix?
HabitRix, our app, is a habit tracker for iPhone and Android that makes a two-month plan easy to follow. Every step in the plan above (a fixed cue, daily repetition, tracking, and sharing your progress) has a matching tool in the app.
- Personal habits: set a daily, weekly, or monthly goal. A daily habit can need several check-ins per day, such as “8 glasses of water”. Set a reminder at your cue time and check in from a Home Screen widget.
- Activity grid and calendar: every habit shows an activity grid, so you see 60+ days of repetitions at a glance. If you forget to log a day, mark it in the monthly calendar.
- Streaks with the full record: a streak counts consecutive successful days, weeks, or months, and the activity grid keeps your total visible next to it. That matches the research: one missed day does not undo the habit, so you come back the next day and keep building. Details are in how streaks are calculated.
- Shared rooms: progress that others see has a larger effect, so invite a friend to a room (a “group” on iPhone). Each member checks in for today with one tap, sees everyone’s activity grid, and gets a notification when a friend checks in.
Start free: up to 3 habits and your first shared room (on iPhone, one group you own and one you join). HabitRix Pro unlocks unlimited habits and rooms, statistics such as completion-rate charts, more widgets and backup export. Your 66 days can start today: add one small habit, set the reminder at your cue time, and invite one friend to watch your progress.
Frequently asked questions
Does it take 21 days to form a habit?
No research shows that a habit forms in 21 days. The figure traces to plastic surgeon Maxwell Maltz’s 1960 book Psycho-Cybernetics, where he observed that people needed “a minimum of about 21 days” to adjust to changes such as a new face after surgery. Habit studies, such as Lally et al. (2010), found a median of about 66 days.
Does it take 66 days to form a habit?
The 66-day figure is a median from one study, not a rule. In Lally et al. (2010), half of the participants who reached automaticity took less than about 66 days and half took more, with a range of 18 to 254 days. A 2024 meta-analysis by Singh et al. found medians of 59–66 days.
Does missing a day ruin a habit?
Missing a single day does not ruin a habit. Lally et al. (2010) found that missing one opportunity to perform the behavior did not materially affect the habit formation process. What matters is that you return to the habit the next day instead of letting one miss become a long break.
What makes a habit form faster?
A habit tends to form faster when the behavior is simple, done at the same time or place every day, and tied to a stable cue such as a previous action. Wood and Neal (2007) describe habits as responses cued by context. Complex behaviors, such as a full gym workout, tend to take longer than simple ones, such as drinking a glass of water.
Sources
- Lally P, van Jaarsveld CHM, Potts HWW & Wardle J (2010), How are habits formed: Modelling habit formation in the real world, European Journal of Social Psychology
- University of Surrey, Does it really take 66 days to form a habit? We asked expert Dr Pippa Lally
- Singh B, et al. (2024), Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants, Healthcare
- Wood W & Neal DT (2007), A new look at habits and the habit–goal interface, Psychological Review
- Gollwitzer PM & Sheeran P (2006), Implementation intentions and goal achievement: A meta-analysis of effects and processes, Advances in Experimental Social Psychology
- Milkman KL, et al. (2021), Megastudies improve the impact of applied behavioural science, Nature
- Harkin B, et al. (2016), Does monitoring goal progress promote goal attainment? A meta-analysis of the experimental evidence, Psychological Bulletin