How Long Does It Take to Form a Habit? What the Research Shows
The 21-day rule is a myth. Here is what controlled studies found, and how to plan for the real timeline.

Direct answer
Research suggests a simple daily habit takes around two months to become automatic, not 21 days. A 2024 meta-analysis found median times of 59 to 66 days, with individual results ranging from 4 to 335 days. Simpler actions form faster, and missing a single day does not reset your progress.
Key takeaways
- The 21-day figure is a myth; studies report medians of about 59 to 66 days for simple daily habits.
- Individual times vary hugely, from 4 to 335 days, depending on the person and the behaviour.
- Simple actions tied to a fixed daily cue become automatic fastest.
- Missing one day does not reset a habit; a run of misses is what stalls it.
- Judge a new habit at 8 to 10 weeks, when automaticity typically levels off.
"21 days to form a habit" is one of the most repeated lines in self-improvement, and one of the least supported. The research on how habits actually form gives a slower, messier and more useful answer. Once you know what the studies measured, you can plan for the real timeline instead of quitting in week four because the habit still feels like work.
What does the research actually say about habit formation time?
The best-known study followed volunteers who picked one healthy behaviour (eating a piece of fruit, going for a walk, drinking water) and did it in response to a single daily cue, such as after breakfast. Each day they rated how automatic the behaviour felt. As summarised by the same UCL research group in the British Journal of General Practice (Gardner, Lally and Wardle, 2012), automaticity rose quickly at first, then slowed and levelled off after an average of 66 days.
A 2024 systematic review and meta-analysis from the University of South Australia pulled together 20 studies with 2,601 participants. Singh and colleagues (Healthcare, 2024) found that the four studies reporting a time to habit formation gave medians of 59 to 66 days and means of 106 to 154 days, with individual results ranging from 4 to 335 days. Most of the included studies carried a high risk of bias, so treat these as rough guides rather than precise numbers.
So the honest answer is: about two months for a simple daily habit, often longer, and with huge variation between people and behaviours.
Where did the 21-day myth come from?
The 21-day figure circulated in popular self-help writing long before anyone measured habit formation in the real world. It is a nice round number, but it was never the result of a study that tracked people building new behaviours. None of the controlled studies above found 21 days to be a typical figure; in the 2024 review even the fastest medians were close to two months.
What counts as a habit, in plain words?
In psychology, a habit is not just something you do often. It is an action that is triggered automatically by a cue you have repeatedly paired it with: buckling your seatbelt when you sit in the car, or washing your hands after using the toilet. The BJGP paper defines habits exactly this way, as automatic responses to contextual cues learned through repetition.
This matters because the goal is not "doing it a lot". The goal is that the cue does the deciding for you. Research by Wood and Neal (Psychological Review, 2007) describes how, once a habit forms, the context can trigger the response even when your goals or motivation have shifted. That is why a formed habit survives a bad week and a willpower-driven routine often does not.
How long does it take for different kinds of habits?
The studies point in a consistent direction: simpler actions become automatic faster than complex routines. The UCL work found automaticity peaked sooner for something like drinking a glass of water than for doing 50 sit-ups. The 2024 review also found that frequency, timing and whether a person chose the habit themselves all affected habit strength, with morning practices and self-selected habits tending to be stronger.
| Habit type | Example | What the research suggests | Planning assumption |
|---|---|---|---|
| Single simple action | Glass of water after waking | Automaticity builds fastest for simple actions | Expect several weeks, possibly less |
| Short daily routine | 10-minute walk after lunch | Typical medians around 59 to 66 days | Plan for about two to three months |
| Effortful or multi-step routine | Full gym session, 50 sit-ups | Slower to plateau than simple actions | Plan for three months or more |
| Habit chosen by someone else | A routine prescribed to you | Self-selected habits showed greater strength | Adapt it until it feels like your choice |
Does missing a day reset a habit?
No. In the UCL study, missing the occasional opportunity did not seriously impair habit formation, and automaticity gains resumed after a single missed day (Gardner et al., 2012). This is the research basis behind the rule of thumb in our guide to the two-day rule: one miss is a normal part of the process; a run of misses is what stalls it.
What the evidence does not support is the all-or-nothing streak mentality, where one missed day feels like failure and becomes the reason to stop. The damage usually comes from the reaction to the miss, not the miss itself.
How do you form a habit faster?
You cannot skip the repetition, but you can remove the things that slow it down. The steps below follow the simple advice the BJGP authors suggest giving patients, with a little added structure.
- Pick one small action. Choose something you can do every day in a few minutes. Shrink it until it feels almost too easy.
- Attach it to a fixed cue. Use something that already happens daily at the same time and place: after your first coffee, when you get home from work, after brushing your teeth.
- Write the plan as an if-then sentence. "After I park the car at home, I walk around the block." Specific plans like this are known as implementation intentions.
- Repeat it in the same context every day. Consistency of context is what builds the cue-response link. Doing it at random times is slower.
- Track it simply. A tick sheet or calendar is enough. The BJGP paper suggests a simple tick sheet for self-monitoring during the learning phase.
- Plan for misses. Decide in advance what you will do the day after a miss: the minimum version, at the usual cue, with no catch-up penalty.
- Review at 8 to 10 weeks, not 3. Judge the habit when the research says automaticity typically levels off, not after the first few weeks when it still feels effortful.
Why do most new habits fail before they form?
The common failure points are predictable:
- Relying on motivation. Motivation fades within weeks, which is exactly when the habit has not yet become automatic. Our piece on why motivation fails covers this gap.
- Starting too big. An hour at the gym is a routine made of dozens of decisions. A walk after dinner is one.
- No stable cue. "Sometime in the evening" is not a cue. "When I close the laptop" is.
- Stacking five new habits at once. Each needs its own repetition in a stable context. Add the next one once the first runs on its own.
- Quitting at the 21-day mark. If you expected automatic behaviour in three weeks, week four feels like failure. It is actually the middle of the curve.
Is walking a good first habit to build?
Walking is one of the habits the original studies used, and it suits habit formation well: it needs no equipment, it fits easily after a fixed cue such as lunch or dinner, and it can be scaled down to a few minutes on a bad day. If you want a target, our guide to how many steps a day you need summarises the research on daily step counts. If you like seeing the count build during the day, StepIsland's step counter for iPhone shows your steps on the Lock Screen and Dynamic Island (StepIsland is made by TodayForge's sister business). A tracker is a prompt, though, not the habit itself: the cue and the repetition still do the work.
How do you know a habit has actually formed?
Researchers measure habit strength with short questionnaires such as the Self-Report Behavioural Automaticity Index, which asks whether you do the behaviour automatically, without having to consciously remember, without thinking and before you realise you are doing it. You can use the same questions on yourself. If the cue appears and you start the behaviour before you have decided to, the habit is doing its job. If you still have to talk yourself into it every day, keep repeating it in the same context, and consider whether the action is too big or the cue too vague.
General information. Today Forge essays are education, not professional, medical or financial advice.
References
- Time to Form a Habit: A Systematic Review and Meta-Analysis (Singh et al., Healthcare, 2024)pubmed.ncbi.nlm.nih.gov
- Making health habitual: the psychology of habit-formation and general practice (Gardner, Lally and Wardle, British Journal of General Practice, 2012)pmc.ncbi.nlm.nih.gov
- A new look at habits and the habit-goal interface (Wood and Neal, Psychological Review, 2007)pubmed.ncbi.nlm.nih.gov
FAQ
Is it really 66 days to form a habit?
66 days was the average time to plateau in one well-known UCL study. Later reviews found medians of 59 to 66 days, but individual times ranged from a few days to almost a year.
Why do some habits take longer than others?
Complex or effortful routines take longer to become automatic than simple single actions. Timing, frequency and whether you chose the habit yourself also affect how strong it becomes.
Does missing a day ruin a new habit?
No. Research found that a single missed opportunity did not meaningfully slow habit formation. Get back to it at the next cue rather than trying to make up for the miss.
Is it easier to break a bad habit or build a good one?
Building a replacement habit tied to the same cue is usually more practical than trying to suppress an old habit on willpower alone, because the cue keeps triggering the old response.
Are morning habits easier to form?
The 2024 meta-analysis found morning practices generally showed greater habit strength, likely because mornings offer more stable, predictable cues.