Forming a new habit takes time, but how long? Some behaviors begin to feel natural quickly, while others can take months of repetition before they become more automatic. But how long does it take to form a new habit, and what determines that time?
In this article, we’ll look at what the research says about how long habit formation takes, why the timeframe varies, and which factors can make a new habit easier or harder to build.
Key points
- There is no fixed number of days it takes to form a habit.
- Research suggests around two months can be a useful reference point, but some habits form much faster or slower.
- Missing one day doesn’t reset the process. What matters more is returning before one miss becomes a pattern of missing.
- Habit formation depends on the behavior itself, how well it fits your identity, and the environment and routines around it.
How long does it take to form a habit?
There isn’t one set number of days it takes to form a habit. Some behaviors become automatic within days, while others can take several months.
One of the most commonly mentioned studies comes from researcher Phillippa Lally and her colleagues. They followed people as they repeated a new behavior and found that the median time to make the behavior automatic, a habit, was 66 days. But the individual estimates ranged from 18 to 254 days.
More recent research supports the same conclusion: habit formation varies depending on the person and the behavior. So while around two months can be a useful reference point, it shouldn’t be treated as a deadline.
The things isn’t whether you have reached day 21, 66, or 90. It’s whether you’re repeating the behavior often enough, in a consistent enough context, for it to gradually require less conscious effort.
What about the 21-day rule?
The 21/90 rule is another commonly cited idea about habit formation. It suggests that it takes 21 days to form a habit and 90 days to turn it into a permanent lifestyle. As we saw above, it’s possible for some habits to form within 21 days, but that isn’t guaranteed. For most behaviors, it takes far longer.
The idea of a habit becoming permanently fixed after 90 days is also too simple. Habits can become more automatic and stable over time, but changes in your routine, environment, or priorities can still weaken or break them.
So unless the behavior is simple and already fits well with your life, 21 days is usually better treated as a motivational goal than a reliable rule.
Does missing one day reset habit formation?
Missing your habit for one day doesn’t reset the habit formation process. One miss doesn’t make much difference if you simply accept it and return to the behavior as normal the next day. What matters more is how you react.
If one missed day turns into frustration, self-punishment, or waiting for the perfect moment to start again, it becomes much easier for one miss to turn into two, three, and eventually a new pattern of not showing up.
So one missed day isn’t the problem. The important thing is to return before the miss becomes a habit of its own.
What determines how long habit formation takes?
As we saw above, there was a big difference in how long it took participants in the study to form a habit – 236 days between the fastest and slowest.
That variation comes down to several factors. Three of the most important are the behavior itself, how well it fits your identity, and the environment and routines around it.
1. The behavior
The behavior itself has a big influence on how long it takes to form a habit. A simple behavior, such as flossing, may become automatic relatively quickly, while something more demanding, such as going to the gym regularly, will often take longer.
In general, the more effort, planning, and adjustment a behavior requires, the longer it tends to take before it feels natural. A complex habit also has more opportunities for things to get in the way, which means you may need time to adjust the routine and build systems that make repeating it easier.
2. How well the habit fits your identity
How you see yourself influences which behaviors feel natural and which create more resistance. The closer a habit feels to the person you see yourself as, the easier it is to repeat consistently.
For example, if you already see yourself as an active or healthy person, building an exercise habit will often feel more natural than if exercise clashes with how you currently see yourself.
But your identity isn’t fixed. As you repeat a new behavior, you create more evidence that it is something you do. Over time, that can slowly change how you see yourself and make supporting habits easier to maintain.
3. Your environment and routine
Your environment nudges you towards certain behaviors. When the habit fits naturally into where you are and what you already do, it becomes easier to repeat consistently.
For example, building a reading habit is easier if the book is already next to your bed and you normally have ten quiet minutes before sleeping. The same habit becomes harder if you have to remember to find the book, create the time, and remove distractions every evening.
Your routine works in the same way. When a new behavior can be attached to something that already happens consistently, there are fewer decisions involved and fewer opportunities to forget. The more your environment and routine support the habit, the easier it becomes for conscious repetition to turn into something more automatic.
Final thoughts
There isn’t one set number of days it takes to form a habit. Some behaviors might begin to feel automatic within a few weeks, while others can take several months.
What matters more than reaching a specific number is continuing to repeat the behavior long enough for it to become easier and more natural. The behavior itself, how well it fits your identity, and the environment and routines around it will all influence how quickly that happens.
So instead of worrying about whether you’ve reached day 21, 66, or 90, focus on making the habit realistic enough to keep repeating. Over time, consistency is what gives the behavior a chance to stick.
Further reading
- Habits
- The 21/90 Rule
- The 2-Day Rule
- Identity-Based Habits
- Small Habits
- Habit Stacking
- Systems
- Exercise Habit
- Reading Habit
- Mindset and Discipline: The Foundation of Sustainable Change - March 4, 2026
- Thinking Vs. Reflection – What is the difference? - February 20, 2026
- Why we do things we later regret – and how to interrupt the pattern - February 13, 2026
