Habits

How long does it take to form a habit? The 21-day myth, the real range, and why missing a day is fine

By Thomas Lovas Lokoy

Founder & builder of BrainLoop (NorwegianSpark SA). I build a habit tracker; this article reports what the research I read says, including the parts that argue against streak-chasing.

A pair of running shoes on a wooden floor
Photo: old running shoes by yoppy · CC BY 2.0 · cropped

Last updated: October 2026 · By Thomas Lovas Lokoy, founder & builder of BrainLoop. AI-assisted draft, checked against the sources at the end. Not medical or psychological advice.

Type "how long does it take to form a habit" into a search box and you will be offered 21 days, 30 days, a precise-sounding average and "it depends", often on the same page. The first is folklore, the averages are quoted from a study whose published abstract gives a range rather than a single number, and the last one is the correct answer dressed up as a shrug. This is what the study everybody is quoting actually reported, and what a habit tracker should and should not promise you because of it.

The 21-day figure

I could not find a study that produces it. It circulates as a rule of thumb, it is repeated because it is tidy, and the one piece of real-world research people cite when pressed does not support it. Treat it as a motivational slogan, not a deadline.

What the real study did

In 2009–2010 Phillippa Lally and colleagues at University College London published "How are habits formed: Modelling habit formation in the real world" in the European Journal of Social Psychology. The design, from the published abstract, was refreshingly ordinary: 96 volunteers each chose one eating, drinking or activity behaviour and performed it daily in the same context, for example after breakfast, for 12 weeks. Every day they completed a short questionnaire about how automatic the behaviour felt and recorded whether they had done it. Eighty-two people provided enough data to analyse, and the researchers fitted a curve to each person's automaticity scores over 84 days.1

Three findings matter for anyone using a tracker:

1. The range was enormous. Time to reach 95 per cent of a person's own plateau "ranged from 18 to 254 days".1 Eighteen days for one person; the best part of a year for another, doing a behaviour of their own choosing. Any single number you have heard is an average smeared across that spread, and the authors' own conclusion is that habit formation is best modelled per individual.

2. Consistency mattered. People who performed the behaviour more consistently fitted the curve better and reached their plateau sooner.1 Showing up most days is the lever.

3. One missed day did not matter. In the authors' words, "missing one opportunity to perform the behaviour did not materially affect the habit formation process".1 That sentence should be printed on every streak counter in every app, including mine.

Why that last finding changes how you should read a streak

A streak is a motivational device, and a decent one. The problem is the implied rule that a broken streak means a broken habit. The one study that measured habit formation day by day in real life found the opposite: a single miss did not materially slow the curve. The habit lives in the accumulation of repetitions in a stable context, not in the unbroken chain.

So the useful question after a missed day is not "do I start again from zero?" It is "do I do it today?" The curve resumes where it was.

Does tracking help at all, then?

Yes, and here the evidence is broader than one study. Harkin and colleagues' 2016 meta-analysis in Psychological Bulletin pooled 138 randomised studies with 19,951 participants on a simple question: does monitoring your progress toward a goal help you reach it? It does, modestly, and part of the effect runs through monitoring more often. Two moderators stand out: the effect was larger when the progress was physically recorded rather than merely noticed, and when it was made public or reported to someone.2

Ticking a box is physically recording progress. That is the part of a habit tracker the research supports. The part it does not support is the idea that the number next to the box has to be unbroken to count.

What BrainLoop's tracker does, and does not, do about this

I would rather tell you how the Habits app behaves than let you assume.

Daily reset of ticks. Each habit is unticked at the start of a new calendar day on your device, so every day is a fresh opportunity, which is the unit the study measured.

The streak is a count of ticks. It goes up by one when you tick and down by one if you untick. It does not reset itself when you miss a day. Given the research above, I have come to think that is less of a flaw than it looks: it behaves like a repetition counter, and repetitions are what the study said matter. If a chain of consecutive days motivates you, you will have to keep that chain yourself.

Starter habits are examples. The five that appear on first load come with placeholder streak numbers so the screen is not empty. They are not a record of anything. Add your own with the box at the bottom, and it starts from zero.

It lives on your device. Habits and ticks are saved in your browser's storage on this device only, with no cloud copy. Clear the site's data and they are gone.

A way to use it that matches the evidence (my opinion)

  • Pick one behaviour and one context. The volunteers chose a single daily action tied to a cue like "after breakfast". Copy that. One habit, one trigger.
  • Make the tick the ritual. Do the thing, open the app, tick it. The physical recording is the part the meta-analysis supports.
  • Expect weeks to months, not three weeks. Eighteen to 254 days is the honest window. If it still feels effortful after a month, you are not failing; you are inside the range.
  • Treat a miss as a miss. One skipped day did not materially affect the curve in the study. Do it today and move on. Two or three misses in a row is a signal to shrink the behaviour or move the cue, not a reason to abandon it.
  • Tell someone. Monitoring worked better when it was public or reported. A text message to a friend after you tick counts.

The short version

There is no fixed number of days. The real-world study found 18 to 254, found that consistency speeds things up, and found that a single missed day does not matter. Tracking does help, especially when you physically record it and share it. So tick the box, forgive the gap, and judge yourself on repetitions, not on the chain.


Sources

Footnotes

  1. 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. Published online 16 July 2009. Abstract via the publisher record: https://doi.org/10.1002/ejsp.674 ↩ ↩2 ↩3 ↩4

  2. Harkin, B., Webb, T. L., Chang, B. P. I., Prestwich, A., Conner, M., Kellar, I., Benn, Y., & Sheeran, P. (2016). Does monitoring goal progress promote goal attainment? A meta-analysis of the experimental evidence. Psychological Bulletin. Abstract via Europe PMC: https://europepmc.org/article/MED/26479070 ↩

Share this article

Send it to a friend or post it. Everyone can try it free, no email needed.

Get the BrainLoop letter

New apps, brain-training tips and a weekly trivia challenge. No spam, unsubscribe any time.

We send a confirmation email first. See our privacy policy.