Halfstep
← All articles

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

You have probably heard that it takes 21 days to form a habit. It is a nice, round number. It is also not what the research shows. For most people and most habits, it takes longer, and the range is very wide.

That is good news, not bad news. If day 22 comes and your new habit still feels like work, nothing is wrong with you. You are right on schedule.

Quick answer

  1. On average, a new habit takes about 2 to 5 months to feel automatic.
  2. In the best-known study, the median was 66 days, with a range of 18 to 254 days.
  3. Simple habits, like drinking water, form faster than hard ones, like exercise.
  4. Missing one day does not reset the clock.
  5. Repeating the habit in the same place and at the same time helps most.

Where the 21-day idea came from

The number goes back to Psycho-Cybernetics, a 1960 self-help book by Maxwell Maltz, a plastic surgeon. He noticed that his patients seemed to need "a minimum of about 21 days" to get used to a change, such as a new face in the mirror.

That was an observation about adjusting to change, not a study of habits. Over the years, "a minimum of about 21 days" got shortened to "21 days." It spread because it is easy to remember, not because anyone tested it.

What the research actually found

The 66-day study

In 2010, Phillippa Lally and her team at University College London asked 96 people to pick one new daily habit, such as eating a piece of fruit with lunch or running for 15 minutes before dinner. Every day for 12 weeks, people reported whether they did it and how automatic it felt.

For the people with enough data to measure, it took a median of 66 days for the habit to reach its peak level of automaticity. But the range ran from 18 days to 254 days. Some people never got there within the 12 weeks.

A bigger review in 2024

A 2024 systematic review by Singh and colleagues pulled together 20 studies with more than 2,600 people. Across those studies, the median time to form a health habit was about 59 to 66 days, while the averages were longer, around 106 to 154 days. The shortest times were just a few days, and the longest was close to a year.

The gap between the median and the average tells you something useful: most people land around two months, but a smaller group takes much longer, and that is normal.

Why some habits form faster than others

Your habit will not follow the exact number from a study. These are the things that tend to move it faster or slower.

FasterSlower
Small and simple (a glass of water)Big and effortful (a 45-minute workout)
Done every dayDone once or twice a week
Same time and place each dayWhenever you find a gap
Linked to a clear cue ("after I make coffee")No cue, just willpower
Something you chose and enjoySomething you feel you "should" do

In Lally's study, drinking and eating habits became automatic faster than exercise habits. That makes sense: the simpler the action, the less there is to learn.

What "formed" actually means

A habit is formed when it feels automatic. You do it without debating it first, and it would feel strange to skip it. It does not mean the habit is easy or that you will never miss it again.

A quick check: if you no longer need a reminder, and you start the habit before you have really thought about it, it is close to formed. If you still have to talk yourself into it each time, keep going.

Does missing a day reset your progress?

No. This is one of the most useful findings from Lally's study. Missing a single day did not have a real effect on how the habit formed over time. People who missed a day and carried on reached automaticity just like people who did not miss.

What matters is what you do next. One miss is noise. Several misses in a row start to build a new pattern: the habit of not doing it. A simple rule protects you: never miss twice. If you missed yesterday, do the smallest version of the habit today.

How to make a habit form faster

  1. Start smaller than you think. One push-up, one page, one minute. A small habit done daily forms faster than a big one done sometimes.
  2. Pin it to a cue. Pick something you already do every day and add the new habit right after it. This is called habit stacking.
  3. Keep the time and place the same. The brain links habits to context. Same chair, same time, same order.
  4. Have a Mini version for hard days. On tired days, do the tiny version instead of skipping. See how to keep a habit on low-energy days.
  5. Track it. Marking a habit done each day keeps it in view and shows you the pattern. Here is how to use a habit tracker without burning out.
  6. Make it pleasant. Pair it with music, a good drink, or a place you like. Habits you enjoy stick better.

21 days, 30 days, or 66 days: which goal should you pick?

A goal length is useful because it gives you a finish line to aim for. Just treat it as a checkpoint, not a deadline.

  • 21 days is a good first checkpoint. You will not be done, but you will know if the habit fits your life.
  • 30 days works well for a monthly challenge and lines up with a calendar page.
  • 66 days matches the median from the research and is a solid target for most habits.

When you reach the goal, ask yourself one question: does this feel automatic yet? If not, keep tracking. Nothing is lost by going longer.

Frequently asked questions

Is it 21 days or 66 days to form a habit?

The 21-day idea comes from a 1960 self-help book, not a study. Research puts the median closer to 66 days, and many habits take longer.

Can a habit form in 2 weeks?

Simple habits sometimes can. In Lally's study, the fastest person reached automaticity in 18 days. Most people need longer, especially for harder habits.

How long does it take to break a habit?

There is less research on breaking habits, but it is usually harder than forming one, because the old cue still triggers the old behavior. Replacing the habit with a new one tends to work better than stopping cold.

Does it take longer to form a habit if I miss days?

Missing one day makes little difference. Missing many days in a row slows things down, so get back to it the next day, even with a tiny version.

Is 90 days enough to form a habit?

For many people, yes. Ninety days covers the median found in research, though some habits take longer. If the habit still feels like effort after 90 days, make it smaller or change the cue.

Sources

  • Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998-1009.
  • Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024). Time to form a habit: A systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 12(23), 2488.
  • Gollwitzer, P. M., & Sheeran, P. (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69-119.

Track a habit until it feels automatic

In Halfstep you can give a habit a goal length of 21, 30 or 66 days, or no end at all. Each habit has a Mini version, so tired days still move you forward.

See how Halfstep works →