Short answer: not 21 days. The best available research puts the median at about 66 days for a behavior to become automatic — but individual times ranged from 18 to 254 days. A realistic expectation is roughly two months of consistent repetition.
The famous "21 days to form a habit" claim did not come from habit science at all. It traces back to plastic surgeon Maxwell Maltz, who observed in his 1960 book Psycho-Cybernetics that his patients took about 21 days to get used to a change in their appearance. That single observation about self-image was later repeated, stripped of context, and turned into a universal rule it was never meant to be.
In 2010, Phillippa Lally and colleagues at University College London ran the first solid empirical study of habit formation. They tracked people adopting a new daily behavior and measured how long it took to reach 95% automaticity. The result: a median of 66 days, with a wide individual range of 18 to 254 days.
A 2024 systematic review and meta-analysis of 20 studies covering roughly 2,600 participants confirmed the picture, finding the median time to habit formation ranged from about 59 to 66 days. The single biggest factor determining where you land in that range is how complex the behavior is.
| Habit type | Median days | Notes |
|---|---|---|
| Drinking (e.g. water) | ~59 days | Simplest to automate |
| Eating (e.g. a fruit at lunch) | ~65 days | Moderate complexity |
| Exercise | ~91 days | About 1.5x longer than diet habits |
| Overall (all behaviors) | ~66 days | Range across people: 18–254 days |
The takeaway: Aim for consistency over about two months. Track each day so a single miss never turns into a quit, and let repetition do the work.
Sources: Lally, van Jaarsveld, Potts & Wardle (2010), European Journal of Social Psychology — median 66 days; 2024 systematic review of habit-formation studies (median ~59–66 days). Reporting: CNN, ScienceDaily, Scientific American.