How Many Days to Make a Habit? Research Says (2026)
# How Many Days Does It Really Take to Make a Habit? (Research, Not Myths)
TL;DR: A new behavior becomes a habit after a median of 66 days of daily repetition, according to a 2009 University College London study by Phillippa Lally and colleagues. The full range in the data was 18 to 254 days. How many days to make a habit comes down to four things: how complex the behavior is, whether it has a daily cue, how well it matches who you want to be, and how much friction sits in your way.
This is the canonical answer to the time question. For the broader theory of how habits form in the brain, see our guide on habit formation.
Quick answer box
| Question | Best evidence |
|---|---|
| Median days to form a habit | 66 days (Lally et al., UCL 2009) |
| Observed range | 18 to 254 days |
| Is the 21-day rule true? | No. It comes from a 1960 self-help book, not a study. |
| Biggest predictor of success | Daily repetition in the same context |
| Best way to know it's a habit | Score yourself on a 4-item automaticity test (below) |
Where did "21 days" come from?
The 21-day claim did not come from a habit study. It came from a 1960 self-help book called Psycho-Cybernetics by Maxwell Maltz, a plastic surgeon. Maltz noticed his patients took "a minimum of about 21 days" to stop feeling startled when they looked in the mirror after surgery.
He was describing how long it took people to adjust to a new face. Not how long it took to build a new behavior. The line was a personal observation — no experiment, no control group, no measurement.
The book sold millions of copies. Self-help authors copied the "21 days" line for decades, and it lost the surgery context along the way. By the 1990s it was treated as a scientific fact. It never was.
The first real study on the time it takes to make a habit was published almost 50 years later.
How many days to make a habit? What the UCL study actually found
In 2009, Phillippa Lally and her team at University College London ran the study most people now point to. It was published in the European Journal of Social Psychology under the title "How are habits formed: Modelling habit formation in the real world."
Here is the design:
- 96 volunteers chose one new daily behavior, like drinking a glass of water with lunch, eating a piece of fruit, or doing a 15-minute run.
- They did the behavior once a day for 12 weeks in the same context (after a chosen cue, like lunch).
- Each day they rated how automatic the behavior felt on a self-report scale (later refined into the SRBAI tool).
- The researchers fit a curve to each person's data to find the point of 95% of maximum automaticity — the point where extra practice barely added anything.
The headline number: the median time to that plateau was 66 days. The range across people was 18 to 254 days.
That gap matters. Some people locked in a new water-drinking habit in under three weeks. Others were still pushing on a daily exercise habit at week 36. Same study, same protocol, very different timelines.
A 2024 review in PMC covering multiple follow-up studies found medians between 59 and 66 days for similar daily health habits, with means in some samples stretching as long as 154 days. The 66-day number holds up; the spread does too.
What predicts where you fall in the range
Four factors do most of the work in predicting how many days it takes you, specifically, to make a habit.
1. Behavior complexity
Simple, single-action behaviors form fastest. Drinking a glass of water, taking a vitamin, or flossing one tooth all have a small number of moving parts and a clear stopping point.
Complex behaviors take longer. Going to the gym means deciding what to wear, packing a bag, getting there, choosing exercises, doing them, and coming home. Every extra step is a place to drop the chain.
Pattern from the data: Lally's water-drinking participants averaged habit formation in roughly four to seven weeks. Exercise participants needed closer to twelve to twenty-four weeks.
2. Daily versus intermittent cue
Habits depend on a consistent cue — the trigger that fires the behavior. Daily cues like "after breakfast" or "before I brush my teeth" work much better than weekly or random ones.
If your target is "go to the gym on Tuesdays and Thursdays," the cue only appears twice a week. Each instance of the behavior is more spaced out, so the brain associates the cue and action more slowly. Daily walking, by comparison, gets 7 reps for every 2 the gym-goer gets.
This is one reason habit stacking works — it bolts a new behavior onto a cue you already encounter every day.
3. Identity alignment
People who saw the behavior as "the kind of thing I do" tended to reach automaticity faster than people who saw it as a chore. A runner who already thinks of themselves as a runner doesn't need willpower to lace up at 6 a.m. — they need an alarm.
This is the core of identity-based habits: when the action matches who you believe you are, friction drops and consistency climbs.
4. Environment friction
Anything that sits between you and the behavior adds days. The water bottle in the next room. The running shoes in the closet. The book on the shelf instead of the nightstand.
Lally's participants who chose contexts where the cue was unavoidable (lunch is always at noon, the bathroom mirror is always there) formed habits faster than those whose cues were inconsistent.
A practical rule from BJ Fogg's Tiny Habits: cut the steps between cue and action to as few as possible. If you want to read more, the book lives on your pillow.
How long specific habits take to form (a 6-habit comparison)
These ranges blend findings from Lally (2009), follow-up reviews, and BJ Fogg's behavior model. They are typical bands, not promises.
| Habit | Typical days to automaticity | Range | Why |
|---|---|---|---|
| Drinking a glass of water after a meal | 20–40 | 14–80 | Simple, daily cue, near-zero friction |
| Flossing one tooth at bedtime | 20–40 | 14–80 | Single action, fixed cue, low energy cost |
| Reading 10 pages before sleep | 40–80 | 30–150 | Daily cue, moderate energy, book must be present |
| Meditating 10 minutes in the morning | 60–120 | 30–200 | High mental effort, requires quiet, easy to skip |
| Writing 200 words daily | 80–150 | 40–254 | Cognitively demanding, easy to delay |
| Exercising 30 minutes daily | 90–180 | 60–254 | High friction, often complex setup, weather-dependent |
Notice the pattern: anything that takes more than ten minutes of focused effort, or needs prep, lives in the longer end of the range.
How to tell if a behavior is actually a habit
Doing something for 66 days doesn't mean it's a habit. A habit is a behavior that runs on autopilot — the cue fires, you do the thing, you don't deliberate.
The cleanest way to measure this is the Self-Report Behavioral Automaticity Index (SRBAI), developed by Benjamin Gardner in 2012. It's four questions. Rate each on a 1–7 scale.
For the behavior I'm tracking, doing it is something I do…
- …automatically.
- …without having to consciously remember.
- …without thinking.
- …before I realize I'm doing it.
Add the four scores and divide by four. Scoring guide:
- 6.0 or higher — formed habit. Acts on autopilot.
- 4.5 to 5.9 — strong habit in progress. Stay consistent.
- 3.0 to 4.4 — emerging habit. Still requires conscious effort.
- Below 3.0 — not yet a habit. Behavior is intentional, not automatic.
Score yourself every two weeks. The trend matters more than any single reading. If the score isn't drifting up after a month, the cue or the friction usually needs an adjustment, not more willpower.
Days completed vs. consistency rate: which matters more?
Both. But consistency wins ties.
Lally's team found that missing a single day did not break the trajectory. Participants who skipped occasionally still reached automaticity, just slightly slower. What stalled people was clusters of missed days — 3 or more in a row, especially early on.
Practical translation: if you miss Tuesday, do not turn it into a four-day gap. Just hit Wednesday. The day you missed is gone; the chain after it is what counts.
This is also why daily-check-in tools beat once-a-week reflection. Seeing a calendar fill in pulls on loss aversion — you don't want to break the visible chain.
If you want to track this on your phone, HabitBox keeps a simple streak and a calendar heatmap on iOS and Android, with smart reminders so the daily cue actually fires. No account, no cloud — just the visible chain you're trying to keep.
Why some habits never stick (even past 66 days)
Three common reasons people grind past day 90 and still feel like the habit hasn't taken hold.
The cue is unstable. "Whenever I have time" is not a cue. "After I pour my morning coffee" is.
The reward arrives too late. Habits lock in faster when the payoff is immediate — even if it's small, like ticking a box or feeling a brief sense of completion. Save-for-retirement is famously hard for the same reason: the reward is decades away.
The behavior conflicts with identity. Trying to make yourself a "morning person" when you've been a night owl for 30 years pits the habit against a deep self-concept. You can shift this — see identity-based habits — but it takes longer than swapping a snack.
If you're at day 90 with low SRBAI scores, the answer is usually to shrink the behavior, not push harder. Two pushups, not twenty. One page, not a chapter. The shrink lowers friction, restores consistency, and gives the cue a chance to take.
A realistic 12-week plan
If you want a default timeline that matches the research, here's a structure that fits the median case.
- Weeks 1–2: Pick one behavior, one daily cue, and the smallest possible version. Track every day. Expect to forget twice; that's fine.
- Weeks 3–4: Aim for a 6-out-of-7 hit rate. Run your first SRBAI check at the end of week 4. Expect a score around 3.
- Weeks 5–8: Hold the behavior steady. Resist the urge to expand it. Most people see automaticity climb noticeably in this window.
- Weeks 9–12: Run SRBAI again. If you're above 5.5, the habit is close to formed. If you're below 4, audit the cue and the friction before adding anything.
If you're stringing a longer behavior together — like couch-to-30-minutes of exercise — you may need to repeat this cycle two or three times. A daily walk usually locks before a daily run does.
FAQ
The bottom line
Plan for 60 to 90 days of consistent daily repetition for most habits, and longer for anything that needs significant effort or setup. Use a 4-item automaticity check, not just a calendar, to know when you've crossed the line. And shrink the behavior — don't push harder — when the streak keeps breaking.
If you're tracking more than one habit at once, a dedicated tracker like HabitBox makes the calendar heatmap visible, sends a daily reminder at your chosen cue, and stores everything locally on your device. The point isn't the app — it's keeping the chain in your line of sight long enough for the brain to take over.
Sources
- Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2009). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998–1009.
- Gardner, B., Abraham, C., Lally, P., & de Bruijn, G.-J. (2012). Towards parsimony in habit measurement: Testing the convergent and predictive validity of an automaticity subscale of the Self-Report Habit Index. International Journal of Behavioral Nutrition and Physical Activity, 9(102).
- Clear, J. How long does it actually take to form a new habit? (Backed by science). jamesclear.com.

Mira Hartwell
Editor, HabitBoxEditor at HabitBox. Writes about habit science and productivity, grounding every post in named research (Lally, Wood, Walker, Huberman) instead of recycled advice. Read full bio →
Ready to build better habits?
HabitBox makes it easy to track your habits, build streaks, and achieve your goals — no fluff, just results.