Most people need longer than three weeks to turn a new action into a habit. In the best known study on the topic, a daily habit took a median of 66 days to feel automatic, and the time ranged from 18 to 254 days depending on the person and the behaviour [1].
That range explains why the popular 21-day rule often disappoints. Some people feel a new routine settle within a few weeks, while others still need effort after two months. Neither result means the habit is failing, because the pace depends on the action, how often you repeat it and how you plan it into your day [2].
This guide explains where the 21-day idea comes from, what research measured and how a habit forms. It then turns to practical steps for making a new habit stick, what to do after a missed day and how to tell when the habit has formed.
Where the 21-day rule comes from
An observation about change, not a habit study
The idea that a habit forms in 21 days is usually traced to Maxwell Maltz, a plastic surgeon and the author of the 1960 book Psycho-Cybernetics. He wrote that his patients needed at least about 21 days to get used to a changed appearance and other changes in their lives [2]. His remark described how people adjust to something new. It was never a measurement of how long a repeated action takes to become automatic.
Why the number is still repeated
Three weeks sounds short enough to try and long enough to feel serious, so the figure spread through self-help books and challenges. Along the way the words at least disappeared, and a rough observation turned into a fixed rule. Research that tracked habit formation day by day found a longer timeline, and knowing it can stop you from deciding too early that a habit is not working.
What research says about how long habits take
The study behind the 66-day figure
In a study published in 2010, researchers at University College London asked 96 volunteers to choose one eating, drinking or physical activity behaviour and repeat it once a day in the same situation. Examples included drinking a bottle of water with lunch or going for a run before dinner. For 12 weeks the volunteers rated each day how automatic the behaviour felt [1].
The researchers then modelled the point at which these ratings stopped rising. For the participants whose data fitted the model, the median time was 66 days, and individual times ranged from 18 to 254 days. Automaticity grew fastest in the first weeks and then levelled off, so the early repetitions mattered most [1].
What a 2024 review of 20 studies found
A systematic review published in 2024 pooled 20 studies with 2,601 participants that tried to build health habits such as physical activity, healthy eating, drinking water and flossing. Four of these studies reported how long habit formation took. Their medians ranged from 59 to 66 days, their means from 106 to 154 days, and individual times from 4 to 335 days [2].
| Source | Participants | Typical time | Range between people |
|---|---|---|---|
| Lally et al., 2010 | 96 adults | 66 days (median) | 18 to 254 days |
| Singh et al., 2024, four studies | Adults in four trials | 59 to 66 days (median) | 4 to 335 days |
The means are higher than the medians because a few people take much longer, which pulls the average up. For a single person the median is the more useful guide, and the range is a reminder that a slow start is common.
Why the range is so wide
The 2024 review looked at what helped habits form. Repeating the behaviour more often, doing it in the morning, enjoying it and planning when and where to do it were linked to stronger habits [2]. People also choose very different behaviours, so drinking a glass of water and starting a new workout are not expected to take the same time.
What a habit actually is
An action triggered by a situation
Psychologists describe a habit as an action that a situation starts automatically because you have repeated it in that situation many times [3]. Putting on a seatbelt when you sit in the car is a typical example. The cue is the car seat, the action follows without a decision, and the habit no longer depends on motivation.
How much of the day runs on habit
In a diary study, participants recorded what they were doing at regular moments through the day. About 43% of the actions they reported were performed almost daily and usually in the same place, which researchers classed as habitual [4]. A large part of daily life already follows this pattern, and a new habit joins it through the same mechanism.
How to build a habit that sticks
Start with one small action
A small action is easier to repeat on a busy or tiring day, and repetition is what builds automaticity. Choose a version you can do in a few minutes, such as one page of journaling or a short walk after lunch. Once it runs without effort, you can extend it.
Link it to a cue with an if-then plan
An if-then plan names the moment and the action in one sentence, for example after I pour my morning coffee I will write down three tasks for the day. A meta-analysis of 94 tests found that such plans, known as implementation intentions, had a medium to large effect on reaching goals [5]. The plan works because the cue, not memory, starts the action.
- Pick an existing daily moment that happens at the same time and place.
- Write your plan as after this moment I will do this action.
- Do the action right after the cue, even in its smallest form.
- Keep the cue and the place the same for the first two months.
Make it pleasant to repeat
Enjoyment was one of the factors linked to stronger habits in the 2024 review [2]. Pair the new action with something you like, choose a format that suits you, and remove small obstacles such as equipment you have to search for each time.
What to do when you miss a day
One missed day does not reset the process
In the 2010 study, missing a single opportunity to perform the behaviour did not noticeably affect how the habit developed [1]. A break of one day is part of normal life. What matters is the next repetition in the same situation.
Return at the next cue
Treat a missed day as information rather than failure. Check whether the cue happened and whether the action was too large for that day, then adjust the plan and return at the next cue. Keeping the same time and place helps the habit continue where it stopped.
How to tell a habit has formed
Notice how automatic it feels
Researchers measure habit strength with short questionnaires about automaticity. They ask whether you do the action without having to remember it, without thinking, and before you realise you have started [3]. When most of these feel true, the habit is close to formed, whatever day number you are on.
Track repetitions, not perfection
A simple tracker shows how many times you repeated the action and helps you see the trend rather than single misses. You can use paper or an app such as Ultiself, where a habit sits inside your daily routine and each completion is recorded. Over several weeks the record shows whether the cue and the action have started to link.
Common questions
Is 21 days enough to build a habit?
For most people it is not. In the 2010 study the median time was 66 days, and only some participants reached automaticity in under three weeks.
Does missing a day reset a habit?
No. In the same study a single missed opportunity did not have a noticeable effect on how the habit developed. Return to the action at the next cue.
Why do some habits form faster than others?
Simpler actions repeated often in a stable situation tend to become automatic sooner. The 2024 review also linked morning timing, enjoyment and planning to stronger habits.
How do I know when a habit is formed?
When you do the action without having to remember it or decide to do it, the habit is close to formed. This feeling of automaticity matters more than a fixed number of days.
Sources
- Lally P, van Jaarsveld CHM, Potts HWW, Wardle J. How are habits formed: modelling habit formation in the real world. European Journal of Social Psychology, 2010.
- Singh B, Murphy A, Maher C, Smith AE. Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 2024.
- Gardner B, Lally P, Wardle J. Making health habitual: the psychology of habit formation and general practice. British Journal of General Practice, 2012.
- Wood W, Quinn JM, Kashy DA. Habits in everyday life: thought, emotion, and action. Journal of Personality and Social Psychology, 2002.
- Gollwitzer PM, Sheeran P. Implementation intentions and goal achievement: a meta-analysis of effects and processes. Advances in Experimental Social Psychology, 2006.








