The honest answer is: longer than 21 days, and it varies a lot. The best-known study on the question found that it took about 66 days on average for a daily behaviour to feel as automatic as it was going to get. Some people got there in under three weeks. Others were projected to need most of a year.
Here is what that study did, what it found, and what it means for how you track your habits.
The study behind the numbers
In 2010, Phillippa Lally, Cornelia van Jaarsveld, Henry Potts and Jane Wardle at University College London published “How are habits formed: Modelling habit formation in the real world” in the European Journal of Social Psychology.
What they did
- 96 volunteers each chose one eating, drinking or activity behaviour to do every day, in response to a cue in their day. Examples ranged from drinking a glass of water to doing a set of sit-ups.
- They did it daily for 12 weeks (84 days).
- Each day they rated how automatic the behaviour felt, using a standard questionnaire (the Self-Report Habit Index). It asks things like whether you do it without thinking and without having to remember.
The researchers then fitted a curve to each person’s automaticity scores over time.
What they found
- Automaticity rose quickly at first, then levelled off. The early repetitions made the biggest difference. Later ones added less and less.
- It took about 66 days on average to reach 95 percent of that plateau, among the participants whose data fitted the model well.
- The range was wide: 18 to 254 days. Some people’s habits settled within three weeks. For others, the plateau was still months away when the study ended, so their times were estimated from the curve.
- Simpler actions tended to settle sooner. Drinking a glass of water became automatic faster than a more demanding exercise.
- Missing a single opportunity did not materially affect the process. One missed day did not knock people back to the start.
What the study does not say
It is worth being careful with these numbers:
- 66 days is an average, not a deadline. Your habit might feel natural much sooner, or take far longer.
- The plateau is not the same for everyone. How automatic a habit eventually felt varied between people and behaviours.
- The study was small. The 66-day estimate comes from the subset of participants whose data fitted the curve. It is a useful guide, not a law.
- It measured how automatic a behaviour felt. It did not measure any health outcome, and this page makes no claims about one.
Where does “21 days” come from?
You will often read that it takes 21 days to form a habit. There is no research behind that figure.
A 2012 post on UCL’s Behavioural Science and Health blog traced it to a self-help book from 1960, written by a surgeon who observed that patients often took about 21 days to get used to a change, such as a new appearance. That is a claim about getting used to something, not about building a new habit. Over time, “a minimum of about 21 days” seems to have turned into “21 days to form a habit”.
The research that has actually measured habit formation points to longer, and more variable, timescales.
What this means for your habits
Expect a long middle
The first few weeks are when automaticity grows fastest, but the habit is not done. Expect a long middle stretch where the action is easier than it was but still needs the cue and a little intention. That is normal, not a sign you are failing.
Start small
Because simpler actions became automatic sooner, the fastest route to a lasting habit is often to begin with a small version. One glass of water, two minutes of stretching, one page. You can grow it once it sticks.
Keep the context the same
The study asked people to act in response to the same cue every day. That is the heart of habit stacking: the same anchor (“after I pour my morning coffee”), in the same place, every time. Consistent context gives repetition something to attach to.
66 days is not a finish line
There is no day when a habit is officially formed. Some habits feel natural after a few weeks. Others still need a nudge after months. Keep going while the habit matters to you.
Streaks, slips and the long view
If habit formation takes weeks or months, a streak counter that resets to zero after one missed day can do more harm than good. It turns a normal slip into a feeling of starting over, even though the research suggests one missed day changes little.
Two simple rules help:
- Never miss twice. One miss is fine. Make the next opportunity count.
- Plan rest days. Some habits do not need to happen every day. Decide in advance which days are off.
You can read more about both in never miss twice.
How Stackbeat tracks the long run
Stackbeat is built for habits that take months, not weeks. Your full history is free, with a calendar of every day. Streaks forgive a slip: you can mark rest days, and stacks can use “never miss twice” so one missed day does not break the run. You can also set a custom end of day, up to 6am, so a late-night habit counts for the day you meant. Everything stays on your phone.