In short: longer than most people expect, and it varies a lot. The best-known real-world study (Lally and colleagues, 2009) found new daily habits took 66 days on average to feel automatic - with individual times ranging from 18 to 254 days. And missing a single day did not measurably set people back.
Where does the 66-day number come from?
Phillippa Lally and colleagues at University College London asked 96 volunteers to pick a new eating, drinking or activity behavior and repeat it daily in the same context, like drinking a glass of water with lunch. Participants reported each day how automatic the behavior felt. Automaticity grew fastest in the early weeks, then leveled off - reaching its plateau at 66 days on average.
Is the 21-day rule real?
No fixed number of days applies to everyone. The 21-day figure traces to a 1960s self-help book, not a controlled experiment. In the Lally study the spread was wide: simple habits (a glass of water) automated quickly, while harder ones (daily exercise) took much longer, and some participants never reached full automaticity in the study period.
Does missing a day ruin it?
Not according to this data. Occasional single misses did not materially affect the habit-formation process. What predicted success was repeating the behavior consistently in the same context over weeks - not a flawless streak. One study is one study, but it remains the most-cited real-world measurement of habit formation.
How do I use this?
- Attach the new habit to an existing daily cue (after coffee, after commute).
- Expect weeks, not days: plan for about two months, longer for demanding habits.
- Missed a day? Just continue the next day. The data says it barely matters.
- Track completion so you can see the streak survive small gaps.
Also from our team: AccessStamp, a free accessibility scan for any public web page, with a dated PDF report.