Streako

6 min read · September 25, 2026

How long does it take to form a habit?

Is it 21 days or 66? What the research actually says about how long it takes to form a habit, why the range is so wide, and what that means for you.

"It takes 21 days to form a habit" is one of the most repeated self-help claims in the world. It is also not what the research says. The real answer is more useful, and a little more forgiving, than a single magic number.

This guide explains where the 21 day idea came from, what the best-known study actually found, and how to use that knowledge to build habits that last.

The short answer

In a well-known 2009 study at University College London, researchers led by Phillippa Lally found that it took 66 days on average for a new daily behaviour to become automatic. The range was wide: roughly 18 to 254 days, depending on the person and the habit.

So the honest answer is: usually a couple of months, sometimes much less, sometimes much more.

Expect a habit to take around two months, not three weeks. And expect your number to be different from anyone else's.

Where the 21 day myth comes from

The 21 day figure traces back to Maxwell Maltz, a plastic surgeon who wrote the 1960 book Psycho-Cybernetics. He observed that patients seemed to take a minimum of about 21 days to adjust to changes, such as getting used to a new face after surgery.

Maltz was describing how long it took people to get used to a change, and he framed it as a minimum. Over time, as the idea was retold, "a minimum of about 21 days to adjust" became "21 days to form a habit". The number stuck because it is short, specific and encouraging. It just was not based on research into habit formation.

What the UCL study actually did

Lally and her colleagues asked volunteers to choose a new healthy behaviour to do every day in the same context. Examples included drinking a glass of water with lunch, eating a piece of fruit, or doing a short exercise routine.

Each day, participants rated how automatic the behaviour felt, for example whether they did it without thinking or would find it hard not to do. The researchers then tracked how that sense of automaticity grew over time.

Key findings

Why the range is so wide

If the average is 66 days, why did some people get there in 18 and others need more than 250? A few factors matter.

The difficulty of the habit

Simple, low-effort habits like drinking water settle faster than complex or effortful ones like daily exercise or deep work. The more steps and effort involved, the longer it tends to take.

The strength of the cue

The study asked people to do their habit in a consistent context. A habit tied to a clear, daily cue ("after lunch") has a better chance than one done "sometime today". This is why habit stacking is so effective: it gives every repetition the same trigger.

Consistency

Automaticity comes from repetition in the same situation. The more consistently you repeat the behaviour in response to the same cue, the faster the link builds.

The person

People differ in routines, environments and how much else is going on in their lives. Your timeline depends on your circumstances, not a universal clock.

What this means for you

Knowing the real timeline changes how you should approach a new habit.

1. Plan for months, not weeks

If you expect a habit to feel easy by day 21, you may feel like you are failing when it still takes effort on day 30. That is normal. Give yourself a runway of two to three months before judging whether it is working.

2. Keep the habit small at first

Because early repetitions drive most of the progress, the priority is getting lots of them. A tiny version you do every day builds automaticity faster than an ambitious version you do occasionally. See Start small: the power of tiny habits.

3. Do not panic over a missed day

One of the most useful findings is that a single missed day did not materially affect habit formation. Missing once is fine. The danger is letting one miss become several. Our guide to never missing twice explains how to recover.

4. Focus on the process, not the finish line

There is no day when a habit is suddenly "done". Automaticity grows gradually. Instead of counting down to a deadline, focus on showing up today and letting the repetitions add up.

A rough guide by habit type

The study did not produce exact timelines for specific habits, so treat this as a practical way to set expectations, not a precise forecast.

Habit typeExamplesWhat to expect
Simple, single actionDrink water, take vitamins with breakfast, make your bedOften at the faster end of the range
Short routineStretch, floss, one page of readingSomewhere in the middle
Effortful or longExercise, deep work, practising an instrumentOften at the slower end

How to tell a habit is forming

Instead of counting days, notice the signs of automaticity:

When you notice these, the habit is taking root, whether that happens on day 20 or day 120.

Try it in Streako

Streako's per-habit calendar and insights show your completion rate by week and month, so you can see consistency building even when a habit still feels like effort. Badges mark real milestones along the way, including On a Roll at 7 days, Habit Formed at 30, Centurion at 100 and Year of Discipline at 365, through gamification. Freeze tokens protect your streak from an occasional missed day, which matches the research finding that a single slip does not undo your progress. You can also backfill check-ins up to 7 days if you forgot to log.

Start your first streak today

It takes ten seconds to add a habit. The flame does the rest.

Share this page

Know someone building a habit?

Habits stick better with company. Send this to a friend, then start a challenge together.

streako.app/guides/how-long-to-form-a-habit

Coming soon on Google Play

Streako is almost here

Be the first to know when it launches. Leave your email and we'll send you one message, with the download link, the day it goes live.

  • One email at launch, nothing else
  • Free to start, no ads on any plan
  • Unsubscribe any time with a reply

We only use your email to tell you about the launch. Privacy policy

What's coming

  • Streaks that forgive
  • XP, levels and 14 badges
  • Challenges with friends
  • Reminders that fit your day
  • Stats that show progress