habit formation

How long does it take to form a habit? What the research found

Short answer

In the best-known study, by Lally and colleagues (2010), it took about 66 days on average for a daily behaviour to reach its peak level of automaticity, with individual times ranging from 18 to 254 days. Simple actions tended to become automatic sooner than more demanding ones. The popular “21 days” figure does not come from habit research.

· 4 min read

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

The researchers then fitted a curve to each person’s automaticity scores over time.

What they found

What the study does not say

It is worth being careful with these numbers:

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:

  1. Never miss twice. One miss is fine. Make the next opportunity count.
  2. 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.

Questions

Does it take 21 days to form a habit?

There is no good evidence for a fixed 21 days. The figure appears to trace back to a mid-20th-century self-help book that described how long people took to get used to changes, not research on habit formation. The main study on the question found an average of about 66 days, with wide variation.

Why does it take some people longer than others?

In the 2010 study, times ranged from 18 to 254 days. Simpler actions, such as drinking a glass of water, tended to become automatic sooner than demanding ones, such as a set of sit-ups. People and contexts also differ.

Does missing a day reset habit formation?

No. The same study found that missing a single opportunity did not materially affect the habit formation process. Coming back to the routine matters more than a perfect record.

How do I know when something has become a habit?

Researchers measure how automatic an action feels: whether you do it without thinking, without having to remember, and would find it odd not to. If the cue reliably triggers the action without effort, it is behaving like a habit.

Sources

  1. Lally, van Jaarsveld, Potts & Wardle (2010), How are habits formed: Modelling habit formation in the real world, European Journal of Social Psychology
  2. Gardner, Lally & Wardle (2012), Making health habitual: the psychology of ‘habit-formation’ and general practice, British Journal of General Practice
  3. UCL Behavioural Science and Health blog (2012), Busting the 21 days habit formation myth

Stackbeat is a habit and routine tool, not medical advice.

Keep reading

Put it into practice.

Track a habit in Stackbeat for the long run, with streaks that forgive a slip.

Build your first stack Free on iPhone, early 2027