How long does it take to form a habit?

Myth check 2 min read Updated 6 October 2026

Short answer

Not 21 days. In a well-known study of people adding one daily behaviour, the time for it to become automatic ranged from 18 to 254 days. Doing it consistently, in the same situation, mattered most.

Key points

  • The "21 days" figure is a myth.
  • It ranged from 18 to 254 days between people and behaviours.
  • Repeating it in the same situation each day is what builds it.

Where 21 days came from

The idea that a habit takes 21 days has no solid research behind it. It has been repeated for decades because it is a tidy number.

What a study actually found

In a study at University College London, 96 volunteers chose one eating, drinking or activity behaviour to do every day in the same situation, such as "after breakfast", and rated each day how automatic it felt. The time to reach their peak automaticity ranged from 18 to 254 days. Doing it more consistently went with a smoother climb.

What that means for you

Expect weeks to months, not days, and expect simple habits to settle faster than demanding ones. The good news: a habit keeps getting easier the longer you keep it up.

In your plan

Plans run long enough for a routine to settle, and keep the same habit attached to the same part of your day.

Related questions

Does missing one day ruin a habit?

No. In the best-known study of habit formation, missing a single day did not materially affect how the habit developed. What matters is getting back to it at the next opportunity.

Read the full answer
What is a cue?

A cue is the moment that sets off a habit: a time, a place or something you already do, like "after my morning coffee". Tying a new habit to a reliable cue is what makes it automatic.

Read the full answer
Why should you start smaller than you think you can?

Because the first weeks are about building the routine, not the result. A small step taken every day becomes a habit; a big one taken twice and then skipped does not.

Read the full answer
Was this helpful?