Starting a new habit often comes with a quiet question in the background: how long until this becomes easy? You may have heard that it takes 21 days, or perhaps 66. The real answer is more interesting and more forgiving. In this guide, we look at what research says about how long habits take to form, what speeds the process up, what to do when you miss a day and how to tell that a habit has truly settled in.
How long does it take to form a habit?
A habit is a behavior you do automatically in response to a cue, without much conscious thought. Research suggests that for most people, simple daily habits start to feel automatic after about two months of consistent repetition. More complex habits, such as regular exercise, often take longer, while very simple ones, like drinking a glass of water with breakfast, may form faster.
The most cited study comes from University College London. Phillippa Lally and colleagues asked 96 volunteers to choose a new daily eating, drinking or activity behavior and to rate how automatic it felt each day for 12 weeks. Automaticity rose quickly at first and then levelled off, and the median time to reach that plateau was 66 days [1]. Some people got there in less than three weeks, while for others it was predicted to take most of a year.
| Study | Who took part | What it found |
|---|---|---|
| Lally et al., 2010 | 96 adults adding one daily eating, drinking or exercise behavior | Median 66 days to automaticity, range 18 to 254 days [1] |
| Kaushal and Rhodes, 2015 | 111 new gym members | Exercising at least four times a week for about six weeks was linked with a stable exercise habit [3] |
| Buyalskaya et al., 2023 | Tens of thousands of gym users and hospital workers | Gym habits took months to form, while handwashing habits formed within weeks [4] |
| Singh et al., 2024 | Review of 20 studies with 2,601 participants | Median 59 to 66 days, with individual times from 4 to 335 days [2] |
These studies use different methods, so their numbers are not directly comparable. Together they point to the same practical message: expect a few months, not a few weeks, and expect your own timeline to differ from the average.
Where the 21-day myth comes from
The popular idea that habits take 21 days to form comes from the 1960 book Psycho-Cybernetics by plastic surgeon Maxwell Maltz. He observed that his patients seemed to take a minimum of about 21 days to get used to changes in their appearance, such as a new face after surgery or the loss of a limb [5]. He also noticed that it took him around three weeks to form new habits himself.
Maltz described 21 days as a minimum for adjusting to change, not as a rule for forming habits. Over the years, self-help books and articles simplified his observation into "it takes 21 days to form a habit." Modern research does not support that figure as a typical timeline.
Many people give up at three weeks when a habit still feels effortful, believing they have failed, when they are actually in the middle of a normal process. Knowing the real timeline makes it easier to keep going through the awkward middle stage, when the habit is no longer new but not yet automatic.
Why some habits take longer
Habit formation time depends on the behavior, the person and the circumstances. Simple actions with clear cues form faster than complex behaviors that require effort or planning. In Lally's study, drinking water with lunch became automatic sooner than doing 50 sit-ups before dinner [1]. Exercise habits, which involve more effort and more decisions, tended to take longer in several studies. This does not mean exercise is harder for you personally, only that it is worth expecting a longer runway.
Consistency matters too. Doing a behavior in the same context each day, such as after brushing your teeth, links it to a stable cue and speeds up automaticity. Enjoying the habit, choosing it yourself and doing it in the morning were also linked with faster habit formation in the 2024 review [2]. Stress, changes in routine and travel can slow the process.
Rough timelines for common habits
Based on the research so far, very simple habits such as drinking water at a set time, taking a vitamin with breakfast or flossing after brushing often start to feel automatic within a few weeks. Moderate habits, such as a short daily walk, journaling or a healthier snack, tend to take around two months. Effortful habits, such as regular gym workouts or early waking, may take three to six months or longer.
These are rough ranges, not promises. Your timeline depends on how often you repeat the habit, how stable your cue is and how much you enjoy it. Treat them as a guide for patience rather than a deadline.
A few patterns appear again and again in the research. Simple behaviors tend to form faster than complex ones, and daily habits faster than weekly ones. A stable cue and a fixed time of day help a lot, enjoyable habits are easier to repeat, and habits you choose yourself usually stick better than ones imposed by someone else.
How to build a habit faster
You cannot rush automaticity, but you can make repetition easier and more consistent, which is what drives it. Start with a habit so small that it is hard to skip, such as one push-up or one page of reading. Once it is automatic, you can make it bigger. Starting small feels almost too easy, but it means you can keep going on tired or busy days, which is exactly when most new habits fail.
Attach the new habit to an existing routine. This method, called habit stacking, uses something you already do as the cue for the new behavior, for example "After I pour my morning coffee, I will write my top three tasks." Our guide on [what is habit stacking](https://ultiself.com/blog/what-is-habit-stacking) explains how to design these links.
- Choose one small habit you genuinely want.
- Pick a clear cue, such as a time, place or existing routine.
- Do it at the same time and place every day.
- Make it easy to start by preparing what you need in advance.
- Make it enjoyable or pair it with something you like.
- Track it daily so you can see your progress.
- Increase the size or difficulty only after it feels automatic.
Planning ahead helps
Implementation intentions, or if-then plans, describe exactly when and where you will act, such as "If it is 7 a.m. on a weekday, then I will walk for ten minutes." A meta-analysis by Peter Gollwitzer and Paschal Sheeran found that this kind of planning had a medium to large effect on reaching goals [6].
Writing your plan down makes it more specific and easier to follow, and keeping it somewhere visible reminds you of it at the right moment. Sharing the plan with a friend adds a little accountability. It also helps to plan for obstacles with a second if-then rule, such as "If it is raining, then I will walk indoors on the stairs for ten minutes."
What to do when you miss a day
Missing a day does not ruin a habit. In Lally's study, missing a single opportunity did not significantly affect the habit formation process [1]. What matters is returning to the habit quickly rather than letting one missed day turn into a week, which is where most habits are actually lost.
A helpful rule is "never miss twice." If you skip a day, make the next day a priority, even if you only do a tiny version of the habit. Planning for obstacles also helps, because most missed days are predictable. Decide in advance what you will do on busy days, during travel or when you feel unwell, such as a two-minute version of your habit. Our guide on [how to stay motivated](https://ultiself.com/blog/how-to-stay-motivated) offers ideas for days when energy is low.
- Return to the habit the very next day.
- Do a tiny version if time or energy is short.
- Plan ahead for travel and busy weeks.
- Avoid harsh self-criticism after a slip, since guilt tends to make restarting harder.
How to tell a habit has formed
A habit has formed when the behavior feels automatic, meaning you do it without needing to decide or remind yourself. You might notice that you start the habit almost before thinking about it, that skipping it feels strange or that it takes little effort even on tired days.
Researchers measure this with questions such as whether the behavior is something you do without thinking or start before you realize you are doing it. You can ask yourself the same questions. If the answer is yes most days, the habit is well established, even if it still takes a little effort now and then.
Even then, major life changes can disrupt habits, so it helps to protect the cue and routine that support them. After a move, a new job or a holiday, it is normal to need a few weeks of conscious effort to rebuild a habit that once felt automatic.
There are a few practical signs that a habit has formed. You do it without deciding each time, and skipping it starts to feel odd. It takes little willpower even on hard days, and you rarely need reminders to get started.
How to form a habit step by step
Habits form through repetition in a stable context. Each step in this plan connects to a habit, so you can practice building habits deliberately and track how quickly they become automatic.
Start with one habit and give it at least two months of consistent practice before adding another. Building habits one at a time feels slower, but it is far more reliable than starting five at once and dropping them all. Our guide on [how to break bad habits](https://ultiself.com/blog/how-to-break-bad-habits) covers the opposite process.
| Step | Why it may help | Habit to practice |
|---|---|---|
| Set a daily intention | Links the habit to a clear plan | [Set daily intentions](https://ultiself.com/habits/set-daily-intentions) |
| Plan the cue and timing | If-then plans support follow-through [6] | [Goal-setting and planning session](https://ultiself.com/habits/goal-setting-and-planning-session) |
| Reward yourself for repetitions | Makes the habit more satisfying | [Self reinforcement](https://ultiself.com/habits/self-reinforcement) |
| Review your progress weekly | Helps you notice slips early | [Weekly review and reflection](https://ultiself.com/habits/weekly-review-reflection) |
| Respond to slips with kindness | Makes it easier to restart | [Practice self-compassion affirmations](https://ultiself.com/habits/practice-self-compassion-affirmations) |
Ultiself is built around this process. You can choose habits, attach them to your routine and track each day, which makes it easy to see how close you are to a habit that runs on autopilot. Seeing the streak grow during the effortful early weeks is often what keeps people going until the habit sticks.
Common questions
How long does it take to form a habit?
Research suggests about two months on average. In one study, it took a median of 66 days for a daily behavior to become automatic, with a range of 18 to 254 days.
Is it true that it takes 21 days to form a habit?
No. The 21-day figure comes from a 1960s observation by Maxwell Maltz about adjusting to change. Modern research shows most habits take longer, often around two months.
Why do some habits take longer to form?
Complex or effortful behaviors, such as exercise, usually take longer than simple ones. Consistency, a stable cue, enjoyment and personal choice all affect how quickly a habit forms.
Does missing a day ruin a habit?
No. Missing one day does not significantly affect habit formation. The key is returning to the habit quickly rather than skipping several days in a row.
How do I know a habit has formed?
A habit has formed when it feels automatic, takes little effort and you do it without needing to decide or remind yourself.
Sources
- 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, 2010.
- Singh B, Murphy A, Maher C, Smith AE. Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 2024.
- Kaushal N, Rhodes RE. Exercise habit formation in new gym members: a longitudinal study. Journal of Behavioral Medicine, 2015.
- Buyalskaya A, Ho H, Milkman KL, Li X, Duckworth AL, Camerer C. What can machine learning teach us about habit formation? Evidence from exercise and hygiene. Proceedings of the National Academy of Sciences, 2023.
- Maltz M. Psycho-Cybernetics. Prentice-Hall, 1960.
- Gollwitzer PM, Sheeran P. Implementation intentions and goal achievement: a meta-analysis of effects and processes. Advances in Experimental Social Psychology, 2006.












