How Long Habits Take to Form
Learn what the research shows about forming habits, why the 21-day myth is wrong, why context matters, and why missing one day isn't a disaster.
Welcome back!
Step 1 of 11Learn
The 21-day myth
You've probably heard that it takes 21 days to form a habit. The idea seems to trace back to a 1960s self-help book by a plastic surgeon, Maxwell Maltz, who observed that patients took a minimum of about 21 days to get used to their new appearance. Over decades, 'a minimum of about 21 days' turned into 'exactly 21 days', and the idea spread to habits of every kind.
In 2010, researcher Phillippa Lally and colleagues at University College London actually measured it. They asked 96 volunteers to choose a new daily behavior, such as drinking a bottle of water with lunch, eating a piece of fruit, or doing 50 sit-ups after morning coffee, and to rate every day how automatic it felt.
The results: automaticity rose quickly at first and then leveled off, following a curve rather than a straight line. The median time to reach that plateau was about 66 days. But the range was huge, from 18 to 254 days. Simple behaviors, like drinking water, became automatic faster than complex ones, like doing sit-ups. Some participants never reached a plateau within the study.
The takeaway isn't a new magic number. It's that habits take weeks to months, vary by person and behavior, and grow gradually.
Step 2 of 11Timeline
Where the "21 days" idea came from
- 1960Maxwell Maltz's self-help book
A plastic surgeon notes patients need a minimum of about 21 days to get used to a new appearance.
- 1970s–2000sThe myth grows
Retold in countless books and talks, "a minimum of 21 days" becomes "exactly 21 days" for any habit.
- 2010Lally and colleagues measure it
96 volunteers rate a new daily behavior every day. Median time to plateau: about 66 days.
- TodayThe honest answer
It depends on the person and the behavior: anything from a few weeks to many months.
Step 3 of 11Explore
The habit automaticity curve
This curve shows how automatic a behavior feels (0 to 100) after a number of days of repetition. Automaticity grows fastest early and then levels off. The speed parameter k is roughly how many days it takes to get about two-thirds of the way. Try k = 22, close to the median in Lally's study, then try a fast habit (k = 8) and a slow one (k = 60).
- Automaticity after 21 days
- 62
- Automaticity after 66 days
- 95
- Days to reach 95% of the maximum
- 66 days
Step 4 of 11Practice · Estimate
Use the explorer with k = 22. Roughly how automatic does the habit feel after 21 days, on the 0 to 100 scale?
Step 5 of 11Learn
Why context matters
A habit is a link between a context and a response. Every time you do the behavior in the same situation, the link gets stronger, until the situation itself triggers the behavior. That's why the same time, the same place and the same preceding action are so powerful.
This has practical consequences:
- Consistency of context beats intensity. A 10-minute walk at the same time every day builds a habit faster than an hour-long walk at random times.
- Pick a stable cue. 'After I pour my morning coffee' happens every day in the same way. 'When I have free time' doesn't, so it can't become a reliable trigger.
- Life changes disrupt habits. Moving house, starting a job or having a baby removes old cues. That's a risk for good habits, which can quietly disappear, and an opportunity for new ones. Researchers call this the habit discontinuity effect. In one study, people who had recently moved were more likely to change how they commuted when encouraged to, because their old commuting cues were gone.
The flip side explains why vacations can derail routines. The context changes completely, and habits tied to home cues don't fire. That's normal. Plan to restart them deliberately when you return.
Step 6 of 11Practice · Choose one
Which plan is most likely to build an automatic habit of stretching?
Step 7 of 11Note
Step 8 of 11Practice · Chart
Days until a new habit felt automatic
Tap the bar that best describes a "typical" person in the study.
Tap the bar that answers the question, then press Check.
Step 9 of 11Learn
Rewards and the brain
Why do rewards matter so much for habits? Part of the answer lies in dopamine, a brain chemical involved in learning and motivation. Experiments by neuroscientist Wolfram Schultz and others in the 1990s found that dopamine neurons fire strongly when a reward is better than expected. As an animal learns that a cue predicts a reward, the dopamine response shifts earlier, firing at the cue instead of the reward itself.
That shift is the brain learning: 'This signal means something good is coming.' Over time, the cue alone produces a pull toward the routine. This is why the sight of your phone, the smell of coffee or the sound of a notification can create an urge before you've decided anything.
Two practical lessons follow. First, immediate rewards teach habits much more effectively than delayed ones. Exercise's health benefits arrive months later, but the brain learns from what happens in the next few seconds or minutes. Adding something pleasant right after a new behavior helps it stick.
Second, unpredictable rewards are especially compelling. Slot machines and social media feeds, where you never know if the next pull will deliver something good, exploit this. That's part of why some bad habits are so sticky.
Step 10 of 11Practice · Select all that apply
Which statements about how habits form are supported by research described in this lesson? Select all that apply.
Select all that apply.
Step 11 of 11Practice · Fill in the blanks
Fill in the blanks
In Lally's 2010 study, the median time for a daily behavior to become automatic was about days. A major life change that removes old cues, such as moving house, creates a habit .
Lesson complete!