How long does it really take to form a habit?

It takes around 66 days, on average, for a new habit to become automatic, according to the best-known study on the subject.
But the average hides a huge range: from 18 days to 254, depending on the person and the habit. More recent research backs this up, with most habits taking two to five months.
So if you’re on day 22 and it still feels like effort, you haven’t failed. You’re right on schedule.
The short answer
| Question | What the research suggests |
|---|---|
| Average time to form a habit | Around 66 days (UCL study) |
| Range | From 18 to 254 days |
| Simple habits (a glass of water) | Faster, often a few weeks |
| Harder habits (exercise) | Slower, often months |
| Does missing a day reset it? | No. Missing the odd day made little difference |
| Is 21 days enough? | For most habits, no |
Verify every figure in this table against the papers in the sources before publishing.
Can you form a habit in 21 days?
Sometimes, for very simple habits. But for most of the things people actually want to build (exercise, practice, learning), 21 days is too short.
The 21-day idea traces back to Psycho-Cybernetics, a 1960 book by plastic surgeon Maxwell Maltz. He noticed his patients took a minimum of about 21 days to get used to a change, like a new face in the mirror. Note the word minimum. Over the years “at least 21 days” got shortened to “21 days”, and a tidy myth was born.
It’s a lovely number. It fits neatly into three weeks. It just isn’t what the research found.
What the UCL study found
In the study most people cite, researchers at University College London asked 96 volunteers to pick a new daily behaviour, like drinking water with lunch, eating a piece of fruit, or going for a run before dinner, and do it in the same situation every day for 12 weeks. Each day, participants rated how automatic the behaviour felt.
In plain English, they found:
- The average was around 66 days before the behaviour reached its peak automaticity.
- The range was enormous, from 18 days to 254. Some estimates went beyond the 12 weeks of the study.
- Simpler behaviours tended to become automatic faster than more demanding ones like exercise.
- Missing a day didn’t undo progress. Skipping a single opportunity didn’t make a meaningful difference to how the habit formed.
That last point deserves more attention than it gets. You don’t need a perfect streak. You need to keep turning up.
What newer research says
The UCL study is small, so it’s worth knowing what’s come since.
A large review of habit studies pulled together research on health behaviours and found median times to form a habit of around two months, with averages closer to four or five months and an overall range from a few days to almost a year. In other words, the 66-day figure holds up as a typical middle, but plenty of habits take much longer.
A study of gym-goers and hospital hand-washing used data from thousands of people and found a striking difference: hand-washing at work became habitual within weeks, while going to the gym typically took months. The more complicated the behaviour, and the less consistent the setting, the longer it took.
Why it varies so much
A few things affect how quickly a habit sticks.
How complex it is. Drinking a glass of water is easier to automate than 30 minutes of piano practice. The more steps and effort involved, the longer it takes.
How consistent the cue is. Habits form when a behaviour gets linked to a cue, a time, place or something you already do. “After my morning coffee” is a far stronger cue than “sometime today”.
How often you repeat it. Daily habits form faster than weekly ones, simply because you get more repetitions.
How much you enjoy it. It’s much easier to repeat something that feels good (or at least not awful).
What’s going on in your life. A new job, a new baby or a bad month will slow anything down. That’s normal, not a personal failing.
Habit vs routine vs skill
These often get muddled, and it changes how long you should expect things to take.
| What it means | Example | How long | |
|---|---|---|---|
| Habit | Something you do almost automatically when a cue appears | Picking up the guitar after dinner | Weeks to months |
| Routine | A sequence you choose to follow, with some effort | A 20-minute practice plan | Ongoing |
| Skill | How good you are at the thing itself | Playing a song cleanly | Months to years |
The good news: the habit of practising usually forms long before the skill does. Once turning up is automatic, all your effort can go into getting better.
How to make a habit stick faster
- Plan for months, not weeks. If you expect it to take two or three months, week three won’t feel like failure.
- Keep sessions small. The easier it is to start, the more often you’ll do it. Ten minutes counts.
- Attach it to something you already do. “After I brush my teeth, I’ll stretch for five minutes.”
- Same time, same place. Consistency is what turns a behaviour into a habit.
- Track it. Research on goal monitoring suggests that keeping a record of progress helps people reach their goals, especially when the record is physical or shared. [Link: Do habit trackers work?]
- Don’t stress about missed days. Turn the page and pick it up again. The research is on your side.
What this means for a 30-day challenge
A 30-day challenge is a great way to start a habit, but on average it’s not long enough to finish one. Think of 30 days as getting the ball rolling, and the following two months as where the habit settles in.
Why Doary is 100 days
This is exactly why we made Doary 100 days long. It takes you past the 66-day average with room to spare, so you’re not stopping just before the habit sticks. And because you log sessions rather than dates, a missed day is just a turned page, not a broken streak. [check: confirm pages are undated]
Not ready to commit to 100? The 30-day Doary Mini is a simple way to get started, and you can step up when you’re ready.
FAQs
Does 21 days make a habit?
Rarely. It can for very simple habits, but research suggests most take around two months or longer.
What is the 21/90 rule?
A popular idea that it takes 21 days to build a habit and 90 days to make it a lifestyle. It’s a rule of thumb, not a research finding, though 90 days is closer to what studies suggest.
Does missing a day reset a habit?
No. In the UCL study, missing a single opportunity didn’t meaningfully affect habit formation.
How do I know when something is a habit?
When you’d feel odd not doing it, and you start without having to talk yourself into it.
Sources
- Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W. and Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6). [add DOI link]
- Singh, B. et al. (2024). Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare. [add link]
- Buyalskaya, A. et al. (2023). What can machine learning teach us about habit formation? Proceedings of the National Academy of Sciences. [add link]
- Harkin, B. et al. (2016). Does monitoring goal progress promote goal attainment? Psychological Bulletin. [add link]
- Maltz, M. (1960). Psycho-Cybernetics. Prentice-Hall.





