How Long Does It Take to Form a Habit? (Not 21 Days)
Quick Answer: It takes about 66 days on average for a new daily behaviour to become automatic, according to a 2009 University College London study, but the range was huge: from 18 days to 254 days. The popular "21 days" rule is a myth. Simple habits form faster than complex ones, and missing a single day did not significantly derail people.
Almost everyone has heard that it takes 21 days to build a habit. It is repeated in books, apps and social media posts. It is also not based on research about habits.
Where the 21-day rule came from
The number is usually traced to Psycho-Cybernetics, a 1960 book by the plastic surgeon Maxwell Maltz. He noticed that his patients seemed to take around 21 days to get used to a new face or the loss of a limb. That was an observation about adjusting to change, not a measurement of how long it takes to build a daily routine. Over the years the sentence "at least 21 days" turned into "it takes 21 days", and the rule stuck.
What the research actually found
In 2009, Phillippa Lally and her colleagues at University College London published a study in the European Journal of Social Psychology. They asked 96 volunteers to pick a new daily behaviour, such as eating a piece of fruit with lunch or running for 15 minutes before dinner, and to report each day how automatic it felt.
The results are more useful than a single number:
- The median time to reach automaticity was 66 days.
- The range was wide: from 18 days to 254 days depending on the person and the behaviour.
- Missing one day did not make a significant difference to the habit-forming process.
- Simpler behaviours became automatic faster than more demanding ones.
Not everyone in the study reached automaticity within the period they were observed, which is another reason to treat 66 as a guide and not a deadline.
What this means for your plan
Choose a small habit. The easier the behaviour, the sooner it feels automatic. "Read 10 pages" is a better starting point than "read for an hour".
Tie it to something that already happens. Doing it after your morning coffee, or straight after you brush your teeth, gives you a cue so that you do not rely on remembering.
Do not panic about a missed day. The study suggests that one miss is not the end. What does damage is the thought "I have ruined it" followed by quitting. Plan for it in advance: if I miss a day, I do it the next day, no catching up.
Plan for about ten weeks, and expect variation. Give a new habit at least two months, and treat the 66-day mark as a point to review and not as a finish line.
Track completion, not only streaks. A 90 percent completion rate over 66 days is a real success even if the streak was broken once or twice.
How to track it
You can use a paper calendar, but a tracker that shows milestones makes the long timeline easier to see. The free 66-Day Habit Tracker on this site gives you milestone dates for your chosen length (21, 66 or 90 days) and a day-by-day checklist that saves in your browser.
If you would rather have the habit built into your daily plan, PlanBot places it in your schedule, keeps a streak and XP, and includes streak freeze so a single bad day does not wipe out your progress. It is free on Android with 3 AI plans a day.
A simple starting template
- Habit: after lunch, walk for 10 minutes.
- Start date: tomorrow.
- Length: 66 days.
- If I miss a day: do it the next day, and do not double up.
- Review: at days 21, 30 and 66, ask whether to keep it the same, make it easier, or add a second habit.
The honest answer to "how long?" is "longer than three weeks, shorter than a year, and different for everyone". Plan for ten weeks, keep the habit small, and keep going.

Naitik Baldaniya
Founder of PlanBot
Expertise: AI productivity systems and task automation. Naitik Baldaniya built PlanBot to help students and professionals manage their time and achieve their goals using advanced AI automation.
Try Our Free AI Productivity Calculators
Generate daily timetables, exam revision roadmaps, or deep work focus intervals in your browser with zero latency.
Ready to Start Planning with AI?
PlanBot is free on Android. Download now and create your first AI plan today.
Get PlanBot Free โRelated Articles
HabitsMorning Routine Optimization with AI
How to use an AI routine planner to design the perfect morning routine that sets you up for a highly productive day.
ProductivityNight Shift Schedule: A Daily Routine for Sleep & Energy
How to plan sleep, meals, exercise and personal time around night shifts. Includes a sample routine and tips for switching back to days off.
ProductivityHabit Stacking with an AI Planner: Build Unbreakable...
A practical guide to combining the science of habit stacking (James Clear's Atomic Habits method) with an AI planner to build routines that actually stick โ...