Hoppibits

How long does it take to build a habit?

Last reviewed

You may have heard that a habit takes 21 days. The best-known study on this found something different, and a bit more forgiving.

Key points

  • In a study of 96 volunteers, the time for a daily habit to become close to automatic ranged from 18 to 254 days among the participants whose data could be modeled; the longest times were projections beyond the 84 days the study ran. [1]
  • On average it took about 66 days, so expect weeks, not days. [2]
  • Missing one day did not materially affect how the habit formed. [1]
  • Repeating the same action in the same situation, such as "after breakfast", is what builds a habit. [2]
  • Planning "if X happens, then I will do Y" has a medium-to-large effect on reaching goals across 94 tests. [3]

The study behind "66 days"

In a study published in the European Journal of Social Psychology, researchers asked 96 volunteers to pick one eating, drinking or activity habit and do it every day in the same situation, such as "after breakfast", for 12 weeks. [1] Each day they rated how automatic it felt. [2] 82 people gave enough data to analyze. [1]

The time it took people to get close to their peak level of automaticity ranged from 18 to 254 days. [1] A later paper by the same research group summed it up: on average the habit leveled off after about 66 days, with a lot of variation between people and behaviors. [2] So if a new habit still feels like effort after three weeks, that's normal.

Simple actions became automatic faster than complicated ones. Drinking a glass of water got there more quickly than doing 50 sit-ups. [2]

Missing a day doesn't reset you

This is the finding many people find most useful. In the study, missing one opportunity to do the behavior did not materially affect the habit-forming process. [1] The follow-up paper puts it this way: missing the occasional opportunity did not seriously impair habit formation, and progress soon picked up again after a missed day. [2]

That's one reason we built Hoppi's streaks to forgive a missed day, with freezes and a way to repair a streak. A bad day is part of building a habit, not the end of it.

Cues: tie it to something you already do

Psychologists define a habit as an action that is triggered automatically by a cue you've linked it with. [2] The advice that comes out of this research is simple: repeat a chosen action in the same situation until it becomes automatic. [2] A cue that's already part of your day, like "when I go on my lunch break", makes a good, steady starting point. [2]

Some examples:

  • After I brush my teeth in the morning, I drink a glass of water.
  • When I finish lunch, I go for a 10-minute walk.
  • When I make dinner, I add one vegetable to my plate.

If-then plans

Psychologists call these "implementation intentions": a plan in the form "if situation Y happens, then I will do X". A review of 94 tests found they had a medium-to-large positive effect on reaching goals. [3] Writing your plan down that specifically, with the when and where, is a small step that seems to help.

Start small

Because simple actions become automatic sooner, [2] it makes sense to start with something small enough to do on a busy day. You can always add more once it sticks. For ideas, see daily habits: what to expect and walking for beginners.

Common questions

Does it take 21 days to form a habit?

The best-known study found a much wider range: 18 to 254 days, [1] and about 66 days on average. [2]

Does missing a day ruin a habit?

No. In the study, missing one opportunity did not materially affect habit formation. [1]

Not medical advice. This page is general information, not advice for you. Talk to a doctor, pharmacist or dietitian about your situation, especially if you have a health condition or take medicines.

Hoppibits is a free iPhone app, coming soon, for keeping small daily habits. Join the waitlist.

Sources

  1. Lally P, van Jaarsveld CHM, Potts HWW, Wardle J. How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6):998–1009 European Journal of Social Psychology (Wiley). Accessed 2026-11-16.
  2. Gardner B, Lally P, Wardle J. Making health habitual: the psychology of 'habit-formation' and general practice. British Journal of General Practice, 2012 British Journal of General Practice (PubMed Central, NIH). Accessed 2026-11-16.
  3. Gollwitzer PM, Sheeran P. Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 2006, 38:69–119 Advances in Experimental Social Psychology (Elsevier). Accessed 2026-11-16.