The short answer
There is no fixed number of days. In one influential study, modelled estimates ranged from 18 to 254 days, with a median of 66. Choose a repeatable cue and a small action, then watch whether starting becomes easier.
Key facts
- In a 12-week study, 96 volunteers repeated one eating, drinking or activity behaviour daily in the same context and rated how automatic it felt.
- Estimated time to reach 95% of each person's peak automaticity ranged from 18 to 254 days, with a median of 66.
- Missing one opportunity to perform the behaviour did not materially affect habit formation in that study.
- A 2024 systematic review found four studies that reported time to habit, with medians of 59 to 66 days and individual times from 4 to 335 days.
- The 21-day figure is traced to Maxwell Maltz's book Psycho-Cybernetics, and the 2024 review says its results refute it.
- In the review, habits people chose for themselves and habits practised in the morning tended to be stronger.
Three weeks into a new routine, it still takes effort. The obvious conclusion is that you have done it wrong. That conclusion rests on an assumption worth questioning: that a habit should have finished forming by now.
How many days to form a habit, according to research?
The 21 days people often quote come from Maxwell Maltz’s book Psycho-Cybernetics, not from a study of habits. A 2024 systematic review of habit formation found four studies that measured how long a new health habit took to become automatic, and none of them comes close to three weeks.
| Study, as the 2024 review reports it | The habit | How the time was measured | Days |
|---|---|---|---|
| Lally et al. (2010) | Eating, drinking or exercise, once a day | Modelled time to 95% of each person’s peak automaticity | 18 to 254, median 66 |
| Keller et al. | Healthy eating | Time to a set habit threshold, which only 23% of participants reached | 4 to 335, median 59 |
| Lally et al., an earlier study | Healthy eating and self-weighing | Participants’ own estimates | Mean 91 |
| Fournier et al. | Daily stretching | Time to habit, mornings and evenings compared | Mean 106 in the morning, 154 in the evening |
The review’s authors conclude that habits can start forming within about two months, and that the time varies a great deal between people and behaviours. Most of the 20 studies they included had a high risk of bias, so the numbers are rough guides.
What does the 66-day figure actually mean?
Lally and colleagues followed people repeating a chosen behaviour in a consistent context. Among participants whose patterns could be modelled, estimated time to reach a near-plateau in automaticity varied widely. The often-repeated 66-day figure was a median, not a prescription. Some estimates extended beyond the observation period.
Does missing a day reset a habit?
Missing one opportunity did not materially disrupt the process in that study. That is a reason to resume after a miss, rather than treat a broken streak as a return to the beginning. It is not evidence that frequency never matters.
Pick a cue that already exists
For your own experiment, replace “every day” with a moment you can recognise. Every day is an intention. Putting your breakfast bowl in the sink is an event.
Choose one action you want to repeat and one existing routine in the same place. Write a sentence connecting them, in the form of an if-then plan. For example: after you put the bowl in the sink, open the notebook and write one sentence about the day ahead.
This gives you a specific setup to test. It also gives you a useful question when the action does not happen: did the cue occur, and were the materials close enough to use?
Make the starting version deliberately small
The first version should fit a difficult day. If you want a regular reading practice, one page is a clearer starting commitment than “read more”. You can read further when you want to. Keep the minimum small enough that it does not need renegotiating every evening.
This is a practical design choice. The study above did not establish that this particular one-page exercise is the best method. Treat it as an experiment and look at what actually happens in your circumstances.
Run a week of observation
Use a scrap of paper or a one-page habit tracker printable, rather than building a tracking system that becomes another project.
- Write the cue and the minimum action at the top.
- Each day, note whether the cue happened and whether you started.
- Add a short note if something got in the way.
- At the end of the week, change one part of the setup if needed.
If the book was in another room all week, bring it closer; if the cue rarely happened, choose a more dependable one. If you started but kept stopping, make the minimum smaller. The aim is to learn about the routine, rather than grade your character.
How do you know a habit has formed?
Researchers measure this as automaticity: how far the behaviour happens without a decision. In practice, ask whether starting feels easier than it did at the beginning, whether the action comes to mind at the right moment, and whether it needs less preparation. Those observations tell you more than declaring success or failure on a particular date.
A short checkpoint helps you adjust the conditions. A longer horizon gives the routine room to settle. Neither is a guarantee. For a related way to make the setup easier, read about changing your environment.
Questions people ask
Can you form a habit in 21 days?
The research makes 21 days unlikely as a rule. In the best-known study, estimates ran from 18 to 254 days with a median of 66, and a 2024 review concluded that the evidence refutes the 21-day idea.
Who said it takes 21 days to form a habit?
The idea is traced to Psycho-Cybernetics, a book by Maxwell Maltz, rather than to a study of habit formation. Later research measuring automaticity found much longer and more variable times.
How long does it take to form an exercise habit?
Few studies have measured it. In one study included in a 2024 review, daily stretching took a mean of 106 days to become habitual when done in the morning and 154 days in the evening.
Does missing a day break a habit?
In the best-known study, missing one opportunity did not materially affect habit formation. That is a reason to resume after a miss, though it does not show that frequency never matters.
How do you know when a habit has formed?
Researchers measure automaticity: how far the behaviour happens without a decision. A practical check is whether starting takes less effort than it did, and whether the action comes to mind at the cue without a reminder.
What this article doesn’t cover
Breaking an addictive habit such as smoking is outside this article, and so is forming habits with ADHD specifically. A GP or a stop-smoking service can help with quitting. The Short Version covers tiny habits and habit stacking alongside this idea.
Sources & context
The habit-formation finding comes from a study of everyday health behaviours, and a 2024 review of 20 studies found similar medians with wide individual variation. It is a useful correction to a universal deadline, not a timetable for every person or every habit.
- Lally et al. (2010): How are habits formed? ↗
A real-world study modelling changes in self-reported automaticity. Its estimates varied substantially across people and behaviours.
- Singh et al. (2024): Time to form a habit, a systematic review and meta-analysis ↗
A review of 20 studies of health habits. Four reported time to habit: medians of 59 to 66 days, means of 91 to 154 and individual times from 4 to 335 days; most studies had a high risk of bias.
The practical exercises in this article are suggestions, not individually validated interventions. How we use evidence.