HabitForge › How many days to build a habit
HabitForge Guide

How Many Days Does It Take to Build a Habit?

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 21-day rule is a myth

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.

What the research actually shows

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.

Approximate median time to automaticity by habit type, based on habit-formation research.
Habit typeMedian daysNotes
Drinking (e.g. water)~59 daysSimplest to automate
Eating (e.g. a fruit at lunch)~65 daysModerate complexity
Exercise~91 daysAbout 1.5x longer than diet habits
Overall (all behaviors)~66 daysRange across people: 18–254 days

What this means for you

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.

Track your habit for the full 66 daysFree, no sign-up — your streak stays on your device

Frequently asked questions

How many days does it take to build a habit?
There is no single number. In a landmark 2010 University College London study, the median time for a behavior to become automatic was 66 days, with individuals ranging from 18 to 254 days. A 2024 review of 20 studies found a similar median of about 59 to 66 days. A realistic expectation is roughly two months, not 21 days.
Where did the 21-day habit rule come from?
From plastic surgeon Maxwell Maltz, who noted in his 1960 book Psycho-Cybernetics that patients took about 21 days to adjust to a change in their appearance. That observation about self-image was later popularized, out of context, as a universal rule for forming any habit. It was never a habit-formation study.
Do harder habits take longer to form?
Yes. Behavioral complexity is the strongest predictor. Exercise habits took roughly 1.5 times longer than simple eating or drinking habits — about 91 days for exercise versus 59 to 65 days for diet-related habits.

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.