How long does it take to break a habit?
There is no fixed number of days. We found no study that measures how long it takes to stop an old habit. The numbers you see online, 21 days or 66 days, come from research on forming new habits, and even there the time ranged from 18 to 254 days in the best-known study, run at University College London (UCL).
Researchers from the same UCL department put it plainly: it is “unwise to attempt to assign a number to this process”, because it depends on who you are and what you are trying to change. So expect a slow fade rather than a finish line on a set date.
Where does the 21 days to break a habit idea come from?
Researchers at UCL traced the figure to a 1960 book, Psycho-Cybernetics, by Maxwell Maltz, a plastic surgeon turned psychologist. In its preface, as they quote it, Maltz wrote that “it takes about 21 days for the average patient to get used to his new face”, and that it takes “a minimum of about 21 days for an old mental image to dissolve and a new one to jell”.
That is about getting used to a change, not about habits. The UCL team suggests that the difference between habituation, or “getting used” to something, and habit formation was lost in translation, and calls 21 days “unfounded as a basis for habit formation”. A peer-reviewed paper by the same group (Gardner, Lally and Wardle, British Journal of General Practice, 2012) calls it a myth based on anecdotes about plastic surgery patients. A 2024 systematic review also traces the idea to Maltz’s book.
We could not open Maltz’s book ourselves, so his words appear here as the UCL researchers quote them.
How long does it take to form a habit? What the 66-day study measured
In a study by Lally, van Jaarsveld, Potts and Wardle (European Journal of Social Psychology, 2010), 96 volunteers each chose one eating, drinking or activity behaviour and did it daily in the same setting, such as “after breakfast”, for 12 weeks. Every day they rated how automatic it felt.
- The range. The time to reach 95% of each person’s peak automaticity ranged from 18 to 254 days. The abstract gives this range and no average.
- The average. The UCL researchers report that it took on average 66 days for the habit to form. The 254 days was a forecast for one person who had not got there within the 84 days of the study.
- Simple or complex. A habit of drinking a glass of water peaked sooner than doing 50 sit-ups.
- A practical guide. The same group suggests telling people to expect around 10 weeks of daily repetition.
A later review by Singh, Murphy, Maher and Smith (Healthcare, 2024) pooled 20 studies with 2601 participants. Four reported times: medians of 59 to 66 days, means of 106 to 154 days, and individual times from 4 to 335 days. Most studies had a high risk of bias, and the behaviours were mostly new healthy actions such as exercise, drinking water, flossing and diet, with one study on sitting less.
The authors call their evidence base modest and advise expecting two to five months rather than 21 days. They add that brief 21-day challenges are unlikely to be enough.
Is breaking a habit different from forming a new one?
Yes. The UCL group writes that “it is not possible to form a habit for not doing something”, and that breaking an existing habit needs “different and altogether more effortful strategies than making new habits”.
The reason is how habits work. A habit is an action triggered automatically by cues that have been linked to it, and it tends to persist even after your motivation fades. Once a habit forms, the setting itself brings the response to mind, that memory resists change, and the response is activated whatever your goals are. So the old pull can show up on a day you want nothing to do with it. That is how habit memory works, not proof you lack willpower.
This is also why the timelines above fit poorly. They measure a new action getting easier, not an old one going quiet. For more on how cues and routines get wired in, see our guide to habit science.
How to break a habit: what helps
Research on breaking habits is thinner than research on forming them, but a few approaches have support:
- Know your cues. A habit links a setting to a response. The UCL example: if you snack every time you get home, getting home can come to prompt the snack without much thought. Notice when, where and with whom yours shows up.
- Plan a replacement, not just a “no”. In three experiments, plans that named an alternative response for the critical situation could overrule habits, though behaviour shifted only as far as people really wanted the alternative. Plans that said only what not to do, in the form “if this happens, then not that”, backfired, most of all when the habit was strong. So try “When I get home, I’ll make tea” rather than “When I get home, I won’t snack”.
- Change the setting. When students moved to a new university, old habits survived only where parts of the old context stayed the same. A quit-vaping guide from Smokefree.gov suggests a different route to work or school, and replacement behaviours for your hands and mouth.
- Make the old habit harder. The same guide says getting rid of the physical reminders helps. A Cochrane review found people ate less of a food placed farther away, across 12 studies, but the certainty was low and no study tested alcohol or tobacco. If your habit lives on your phone, our look at the dopamine detox covers what a break from screens can and cannot do.
- Watch for the moment. In two diary studies, people controlled strong bad habits best by thinking “don’t do it” and watching carefully for slip-ups. This sits oddly next to the advice on plans above: the studies tested different things, and neither settles which works better for you.
- Keep your reasons close. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the NIH, suggests you track your progress and recall your reasons for changing when slip-ups occur.
When an urge hits in the middle of all this, urge surfing is one way to ride it out. Our guide on how to break unhealthy habits has more ideas.
Does missing a day ruin your progress?
Not according to the research on forming habits. The Lally abstract says it plainly: “Missing one opportunity to perform the behaviour did not materially affect the habit formation process.” The UCL group adds that automaticity gains soon resumed after one missed performance.
NIDDK’s advice on setbacks points the same way: a setback does not mean you have failed, and the key is to get back on track as soon as you can.
What the research does not tell us is what several missed days in a row do. The study looked at single misses. If it helps to see what a habit costs you in time or money, our calculators put plain numbers on it.
When is it more than a habit?
Some habits are hard to stop because they have become something stronger. The NHS describes this as “not having control over doing, taking or using something to the point where it could be harmful to you”, and notes that gambling can turn into “a habit that becomes very hard to stop”. It also calls this “a treatable condition” and suggests seeing a GP for advice. If that sounds like you, getting support matters more than any day count.
When a craving hits, tap “Ride out an urge”. Pip shows you your why and breathes with you until it passes. Then tap “I rode it out”. If you slip, only that habit starts again. The days you won stay in the garden, and you can save a plan for the next time: “When ___ comes up, I’ll…”.
