HABITS · WHAT THE RESEARCH SAYS
How Long Does It Take to Form a Habit? What the Studies Actually Found
Not 21 days. The best-known study found a median of 66 days, and a 2024 review of 20 studies puts the realistic range at two to five months, with huge differences between people. Here is what each study measured, what speeds a habit up, and a day-by-day plan you can track in a spreadsheet.
THE SHORT ANSWER
About two months for a typical person, often longer
In the best-known study, by Phillippa Lally and colleagues at University College London (2010), it took a median of 66 days for a daily behavior to reach 95% of its peak automaticity, with a range of 18 to 254 days. A 2024 systematic review in Healthcare found medians of 59 to 66 days and means of 91 to 154 days across the four studies that measured time to habit (the review's abstract quotes 106 to 154, leaving out a self-reported 91), and concluded that people should expect at least two to five months. That estimate rests on only four studies, and the spread between people is huge.
THE MYTH
Where the 21-day rule came from
The 21-day figure is usually traced to Psycho-Cybernetics (1960), a self-help book by plastic surgeon Maxwell Maltz. He observed that patients needed a minimum of about 21 days to get used to a change, such as a new face in the mirror. That was an observation about adjusting to a change, not a measurement of habit formation, and the word "minimum" was lost as the idea spread.
The 2024 review is explicit: the evidence does not support the claim that habits form in 21 days. In Lally's data, the fastest person reached the plateau in 18 days; the median took more than three times as long.
THE EVIDENCE
The four studies that measured time to habit
Most habit research measures how much stronger a habit gets, not how long it takes. Only four studies in the 2024 review reported days to habit formation:
| Study | Behavior | Time to habit | Note |
|---|---|---|---|
| Lally et al., 2010 | Daily eating, drinking or exercise behavior chosen by each person (96 volunteers, 84 days) | Median 66 days; range 18–254 | Median from participants whose data fitted the model well; values beyond 84 days are model projections |
| Keller et al., 2021 | Healthy eating | Median 59 days; range 4–335 | Only 23% of participants reached the habit threshold |
| Lally et al., 2008 | Healthy eating, self-weighing | Mean 91 days | Self-reported by participants |
| Fournier et al., 2017 | Daily stretching | Mean 106 days (morning) vs 154 days (evening) | Morning routines became automatic faster |
Two lessons stand out. First, the average hides a wide spread: for some people a habit sticks in weeks, for others it takes most of a year. Second, in Keller's study fewer than one in four people formed the habit at all within the study period. A habit is not guaranteed by the calendar; it comes from repetition in a consistent context.
WHAT HELPS
What makes a habit form faster
| Factor | What the studies found | How to use it |
|---|---|---|
| Simple behavior | Drinking water reached stronger automaticity than exercise or eating fruit (the time to the plateau did not differ much) | Start small: one push-up, one page, one glass of water |
| Same cue, same place | Stable contexts produced stronger habits | Tie it to something you already do: "after I pour my coffee, I…" |
| Morning timing | Morning stretching became automatic in 106 days on average, evening in 154 | Put new habits early in the day when you can |
| Your own choice | Self-chosen habits were stronger than assigned ones | Pick a habit you want, not one you think you should have |
| Enjoyment | Enjoying the activity helped exercise habits form | Choose the version you like: walking, not running, if you hate running |
| A specific plan | Flossing habits depended on intention and concrete plans | Write the when and where: "7:00 a.m., kitchen, 10 minutes" |
THE PLAN
A 66-day plan, in three phases
Lally's data shows a curve, not a straight line: the biggest gains in automaticity come from the early repetitions, then progress flattens. Plan for that shape:
- 1
Days 1–21: make it tiny and daily
Do the smallest version that still counts, at the same time and place. Check it off every day. The only goal is repetition.
- 2
Days 22–66: protect the streak, then grow
Gains slow down here, which is when most people quit. Keep the cue fixed, apply the never-miss-twice rule and increase the size by small steps.
- 3
Days 67–154: check if it runs on its own
Rate automaticity once a week (see below). When the score stays high for a few weeks, the habit can stay on your tracker as a weekly check instead of a daily one.
CALENDAR
If you start on January 1, 2027
New Year is the most common starting point. These are the milestones counting January 1 as day 1:
| Milestone | Day | Date |
|---|---|---|
| The 21-day myth | 21 | Thursday, January 21, 2027 |
| Keller median | 59 | Sunday, February 28, 2027 |
| Lally median | 66 | Sunday, March 7, 2027 |
| Morning stretching mean | 106 | Friday, April 16, 2027 |
| Evening stretching mean | 154 | Thursday, June 3, 2027 |
| Slowest projection in Lally's study | 254 | Saturday, September 11, 2027 |
In a spreadsheet, the same dates come from =start_date + 65 for day 66 (Excel and Google Sheets). Many January resolutions fade in February, right in the middle of this curve, so plan for February rather than hoping to be done by then.
MEASURE IT
How to know a habit has formed
Researchers do not count days; they ask how automatic the behavior feels. The short version of their questionnaire, the Self-Report Behavioural Automaticity Index, has four statements rated from 1 (strongly disagree) to 7 (strongly agree):
- [Habit] is something I do automatically.
- [Habit] is something I do without having to consciously remember.
- [Habit] is something I do without thinking.
- [Habit] is something I start doing before I realize I'm doing it.
Add a weekly row to your habit tracker with the four scores and their average: =AVERAGE(B2:E2). Chart the average by week and you will see your own curve: a fast rise, then a plateau. When the average stays near the top of your curve for several weeks, the habit is doing its own work. For the full tracker build with streak and completion formulas, see how to make a habit tracker in Google Sheets and Excel.
READY-MADE TEMPLATE
A habit tracker that counts for you
If you'd rather not build it, our habit tracker for Google Sheets and Excel has monthly checkboxes for up to 30 habits, automatic completion percentages and progress charts. Check the product page for the current features.
Habit Tracker Spreadsheet for Google Sheets & Excel
Check off daily habits, see completed and missed days, and watch the monthly percentages and charts update by themselves. Space for weekly habits and notes.
- Up to 30 daily habits
- Automatic completion rates
- Progress charts
Working on bigger goals too? The goal planner breaks a yearly goal into monthly steps. Features are listed on each product page and may change.
Tracking your 66 days in a spreadsheet? Count the days you kept the habit with COUNTIF.
FAQ
Habit formation questions
How long does it take to form a habit?
About two months for a typical person: a median of 66 days in Lally's 2010 study, with a range of 18 to 254 days. A 2024 review of 20 studies suggests expecting two to five months.
Is it 21 days to form a habit?
No. The 21-day idea comes from a 1960 self-help book about adjusting to change, not from habit research. Studies that measured habit formation found medians of 59 to 66 days.
How long does it take to form a habit of working out?
Usually longer than simple habits. In Lally's study, exercise reached lower automaticity than drinking water, and in a stretching study the average was 106 days for a morning routine and 154 for an evening one.
Does missing a day ruin a habit?
No. In Lally's study, missing one opportunity did not materially affect habit formation. Long gaps and inconsistency did. Aim never to miss two days in a row.
How long does it take to break a habit?
There is much less research on breaking habits than on forming them, and no reliable day count. Changing the cue or context and replacing the old routine with a new one tends to work better than willpower alone.
Sources
- Lally P, van Jaarsveld CHM, Potts HWW, Wardle J. How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology 40 (2010): 998–1009.
- Singh B, Murphy A, Maher C, Smith AE. Time to Form a Habit: A Systematic Review and Meta-Analysis of Health Behaviour Habit Formation and Its Determinants. Healthcare 12, no. 23 (2024): 2488.
- Keller J, Kwasnicka D, Klaiber P, et al. Habit formation following routine-based versus time-based cue planning: A randomized controlled trial. British Journal of Health Psychology 26, no. 3 (2021): 807–824.
- Gardner B, Abraham C, Lally P, de Bruijn GJ. Towards parsimony in habit measurement (the four-item automaticity index). International Journal of Behavioral Nutrition and Physical Activity 9 (2012): 102.
- Lally P, Chipperfield A, Wardle J. Healthy habits: efficacy of simple advice on weight control based on a habit-formation model. International Journal of Obesity 32 (2008): 700–707.
- Fournier M, et al. Effects of circadian cortisol on the development of a health habit. Health Psychology 36, no. 11 (2017): 1059–1064.
- Maltz M. Psycho-Cybernetics. Prentice-Hall, 1960.
Dates calculated with January 1, 2027 as day 1. Checked November 25, 2026. General information, not medical advice.