How long for habits to stick: what research shows
By Florian Lindner · Last updated: 4 October 2026
How long for habits to stick? Not 21 days. That figure is a myth. In the best-known study, led by Phillippa Lally at UCL, it took a median of 66 days for a behaviour to become automatic. The range was 18 to 254 days, depending on the person and the habit. The good news is that missing a single day barely slows you down. Plan in months, not weeks.
Is the 21 days habit rule true? Why it’s a myth
The 21-day rule doesn’t come from habit research. It comes from the consulting room of a 1950s plastic surgeon. No study has ever shown that habits form in three weeks.
You’ve still heard the number everywhere: in self-help books, in apps, from coaches. Maybe you’ve wondered why your running routine still takes effort after three weeks. The short answer is that nothing is wrong with you. The number is wrong. Our overview on how to build habits that last covers the basics. This article is about the time question.
Where the 21 days really come from
The figure goes back to the American plastic surgeon Maxwell Maltz. He noticed that his patients needed about three weeks to get used to their new face after surgery. Amputees sensed a phantom limb for roughly the same length of time.
In 1960, Maltz put this observation into his book Psycho-Cybernetics. He wrote that it takes “a minimum of about 21 days” for an old mental image to dissolve. The book sold millions of copies. But it was never a study of habit formation. It was the anecdote of an observant doctor.
How an observation became a rule
The self-help industry turned “a minimum of about 21 days” into plain “21 days”. The “minimum” disappeared, and so did the “about”. What was left was a catchy number that sold well: short enough to sound doable, long enough to sound serious.
Motivational speakers in the 70s and 80s quoted each other until nobody asked for the source any more. That is how a side note about facial surgery became a supposed law of the brain.
Why the myth does real damage
The problem isn’t the wrong number itself. It’s the expectation it creates. If you believe everything should be easy after 21 days, then struggling on day 25 feels like failure. In fact, it’s a normal part of the process.
That’s exactly the point where many people give up on their goals. Not because they lack discipline. Because the timeline they were given was wrong.
How long to form a habit: what the research shows
The research is clear about the general picture. In the best-known study, it took a median of 66 days, with a range of 18 to 254 days. There is no single number that applies to everyone.
The key study comes from Phillippa Lally and colleagues at University College London (2010). 96 volunteers each chose a new behaviour involving eating, drinking or an activity. They did it every day for twelve weeks in the same context, for example “after breakfast”. Each day they rated how automatic the behaviour already felt. The result: automaticity followed a curve that rises steeply at first and then levels off. The median time to reach that plateau was 66 days. The fastest person needed 18 days. For the slowest, the projected figure was 254.
In 2023, a study in PNAS using a completely different method also found that there is no universal number. A team led by Anastasia Buyalskaya and Colin Camerer used machine learning to analyse more than twelve million gym visits and over 40 million hand-washing observations in hospitals. The gym habit took around six months on average. Hand-washing took only a few weeks. Camerer, a behavioural economist at Caltech, summed it up: there is “no magic number” for habits. How long it takes depends on the behaviour and the context.
In practice, that means you should think in months. Gardner, Lally and Wardle (2012) suggest that GPs tell patients to expect around ten weeks: honest, but doable.
The Lally study: what was actually measured
The Lally study didn’t measure when people had “made it”. It measured when a behaviour felt automatic. That difference matters.
Every day, participants filled in the Self-Report Habit Index. This is a scale with statements such as “I do it without thinking”. Of the 96 volunteers, 82 provided enough data. For about half of them, the researchers could model a clean automaticity curve. The median and the range come from those curves. A habit counted as “formed” once it reached 95 percent of that person’s own maximum. The median was 66 days.
Two findings matter for your everyday life. First, a few missed days barely changed the curve, so one slip doesn’t send you back to zero. Second, the wide range shows that your pace depends on the behaviour and on you, not on a law of nature.
To be fair, the study has limits. 82 people is a small sample, and the 66 days come from an even smaller subgroup. The data are self-reports. And the 254 days are an estimate that goes beyond the twelve weeks of the study, not a direct measurement. Even so, the general finding of “months, not weeks” is considered well supported. One reason is that the 2023 PNAS study found the same pattern using objective behavioural data.
Why does a habit take so long? Complexity, context, consistency
Three factors decide your pace: how complex the behaviour is, how stable your context is and how consistent you stay in the first weeks.
Complexity. In the Lally study, a glass of water after breakfast became automatic fastest. Exercise habits were slowest. The more steps, effort and preparation a behaviour needs, the longer it takes to become automatic. The gym data from the PNAS study point to months.
Context. Habits are links between a context and a response. Your brain ties the behaviour to a cue: a place, a time of day, something you just did. If the context keeps changing, that link struggles to form. Shift work, travel and a new training plan every week all make it harder.
Consistency. The automaticity curve climbs most steeply at the start. So the first two or three weeks do the most work. Take a hypothetical example. Someone wants to read for ten minutes every morning. The first weeks feel like effort. At some point they reach for the book the way other people reach for their phone. Reading hasn’t become easier. The brain has simply taken over the chain “coffee’s ready, book open”.
There is an honest caveat. You can shape these factors, but you can’t fully control them. How quickly your brain forms these links also depends on how you’re wired. So don’t compare yourself with the 18-day person from the study.
That’s why a fixed timeframe would be too long for some people and too short for many others. If you only plan up to the median, your plan would have been too short for half of the study participants.
In practice: allow about two months for simple habits and closer to six months for exercise or more complex routines. After four weeks, check honestly whether your cue and your starting step are right, rather than questioning how long it takes.
How to make a habit automatic faster: step by step

Speeding things up isn’t magic. These five steps create the conditions that research links to easier habit formation.
Step 1: Choose a stable cue
Do the behaviour in the same context every time: same time, same place, same trigger. In the Lally study, this was the basic condition for automaticity. “After my first coffee” beats “sometime in the morning”. Every time.
Step 2: Make the start tiny
Start smaller than your ambition wants. In the Lally study, simple behaviours became automatic much faster than complex ones. Two push-ups instead of a 30-minute workout. Mini habits lower the bar so far that your inner resistance doesn’t even get going.
Step 3: Attach the new habit to an existing one
Use a routine you already have as an anchor for the new one. Brushing your teeth, making coffee, opening your laptop: there’s room right after each of them. Our guide to habit stacking with formulas and examples shows exactly how it works.
Step 4: Write an if-then plan
Decide in advance what you’ll do and when: “When I walk into the kitchen at 7 a.m., I drink a glass of water.” If-then plans take the friction out of everyday decisions. You no longer have to negotiate with yourself. You just follow the plan.
Step 5: Make your progress visible
Tick off every day you showed up. A simple habit tracker lets you watch the chain grow. Over 66 days or more, you need that visible proof, because the feeling of automaticity takes a while to arrive.
The 3 most common mistakes
Most habit projects don’t fail because of the method. They fail because of wrong expectations. We see three mistakes again and again.
Mistake 1: Giving up too soon. If you start out expecting 21 days, normal effort on day 30 looks like proof that you’ve failed. Yet day 30 sits right in the steepest part of the curve. Quitting while you’re still climbing is the most costly mistake of all.
Mistake 2: Turning one missed day into quitting. According to the Lally study, a missed day costs almost nothing. What really costs you is the all-or-nothing thinking that follows: “The streak’s broken anyway.” One slip becomes a week, and the week becomes the quiet end of the whole plan. If that pattern of putting things off sounds familiar, our article on how to stop procrastinating has strategies to counter it. The simplest rule: never miss twice in a row.
Mistake 3: Changing the behaviour but ignoring identity. If you still see yourself as “not a morning person who forces himself to run”, you fight your own self-image every single day. It works better the other way round: get clear on who you want to be first, then let the behaviour follow from that. That’s the idea behind identity-based habits.
How long for habits to stick: plan in months, start today
How long does it take for habits to stick? In the best-known study, the median was 66 days. For you it might be 40, or it might be 120. The honest answer is a range, not a single number. That’s good news, because it takes the pressure off the first few weeks.
You don’t control how fast your brain works. You do control a stable context, a tiny start and how you deal with missed days. You’ll find the tools for that throughout our methods section. The basics are in our guide on how to build habits.
Maybe this still sounds familiar. You know exactly what to do, and on day 30 it still takes effort. That’s rarely about a lack of knowledge. Often the pattern sits deeper, in the way you see yourself. Plans and trackers can’t reach that far.
That is where hypnosis comes in. You can read more about how it works on our science page. If you’d like to try it, pick a ready-made hypnosis on a topic such as motivation or procrastination and listen to it in bed at night. The free hypnosis to get you started costs nothing. After that, you can book a free 45-minute analysis session with one of our top coaches to see whether Hypnotic Rise is right for you: together you look at all 11 areas of your life, and from that comes a programme written only for you, with no fixed duration.
Try it yourself
Knowledge alone rarely changes anything. Listen to how your topic can feel different.
FAQ: how long for habits to stick
How long for habits to stick on average?
In the best-known study, the median was 66 days. Phillippa Lally’s team at University College London (2010) worked out an automaticity curve for some participants. Those participants needed between 18 and 254 days before a new behaviour ran largely on autopilot. So for half of them it took longer than 66 days. How long it takes you depends mainly on how complex the behaviour is, how stable your daily context is and how consistent you are in the first weeks.
Is the 21 days habit rule true?
No. The 21-day figure doesn’t come from habit research. It comes from the plastic surgeon Maxwell Maltz. In the 1950s he noticed that patients needed about three weeks to get used to their new face. He wrote about it in his 1960 bestseller Psycho-Cybernetics. Self-help books later turned that observation into a supposed rule for habits. Maltz never measured habit formation. The number is an anecdote, not a study.
How long does it take to form a habit of exercise?
Much longer than a simple habit. Exercise tends to take months, while simple habits take weeks. In the Lally study, simple behaviours like drinking a glass of water became automatic fastest and exercise habits slowest. A 2023 PNAS study with millions of data points points the same way: regular gym attendance took around six months on average, while hand-washing in hospitals took only a few weeks. So give exercise plenty of time.
How long for habits to stick if you miss a day?
Hardly any longer. In the Lally study, missing one opportunity made almost no measurable difference, as long as people carried on afterwards. The real danger isn’t the missed day. It’s the all-or-nothing trap that follows, when one slip turns into quitting. A simple rule of thumb follows from this: try not to miss twice in a row.
How do you make a habit automatic faster?
You can’t skip the process. But you can improve the conditions that help habits form faster. Do the same behaviour in the same context every time. Make the start tiny. Attach the new behaviour to a routine you already have, and write if-then plans. Being consistent in the first weeks matters more than motivation or willpower.
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
- Buyalskaya, A., Ho, H., Milkman, K. L., Li, X., Duckworth, A. L. & Camerer, C. (2023): What can machine learning teach us about habit formation? Evidence from exercise and hygiene. PNAS
- Gardner, B., Lally, P. & Wardle, J. (2012): Making health habitual: the psychology of habit-formation and general practice. British Journal of General Practice
- Lewis, C. S. (2007): Maxwell Maltz, psychocybernetic plastic surgeon, and personal reflections on dysmorphopathology. PubMed
Go deeper: Building habits
Free · ready to listen · no credit card
Your free hypnosis
Pick a ready-made hypnosis on your topic. Free, no credit card.
or book a free 1:1 analysis call right away
