How to build a habit: a 7-step method backed by research

Building a habit means repeating one small action after the same daily cue until it runs on autopilot. Here is how to form a new habit step by step, and how long it realistically takes.

Key numbers

  • 66 daysmedian time to reach 95% of maximum automaticity in a real-world study2
  • 18–254 daysrange between individuals in the same study1
  • d = .65effect of if-then plans on goal attainment across 94 tests5

How to build a habit: the short answer

To build a habit, pick one small behaviour, tie it to a cue you meet every day, and repeat it in that same situation until it starts to feel automatic. That is the core advice habit researchers give: repeat a chosen behaviour in the same context until it becomes automatic and effortless.4

Motivation gets you started, but it fades. Repetition in a stable context is what shifts the work from willpower to autopilot. The seven steps below turn that idea into a plan you can start today.

Why habits are worth the effort

A habit, in psychology, is an action triggered automatically by a cue that has been linked to it, such as a time, a place or a previous action.4 Once a behaviour reaches that point, you no longer have to decide to do it.

Habits already run a large part of the day. In two hourly diary studies with university students, between a third and a half of the behaviours people listed were habits: 35% in the first study and 43% in the second.3 While doing habitual actions, participants usually thought about other things, and they reported less stress than during non-habitual actions.3

That is the payoff: a new behaviour that eventually costs almost no mental effort.

How long it really takes to form a habit

The best-known study followed 96 volunteers who each picked an eating, drinking or activity behaviour and did it daily in the same context for 12 weeks.1 Among participants whose data could be modelled, the median time to reach 95% of their maximum automaticity was 66 days, with a range of 18 to 254 days.12

A 2024 systematic review of 20 studies with 2,601 participants found a similar picture: median times of 59–66 days, mean times of 106–154 days, and large individual differences (4–335 days).2 Its conclusion: habits can start forming within about two months, but the time varies a lot between people.2

Simple actions also tend to become automatic faster: automaticity peaked more quickly for actions like drinking water than for more elaborate routines like doing 50 sit-ups.4

The 7-step method to form a new habit

1. Choose one small habit you actually want

Start with a single, concrete action, such as “drink a glass of water” rather than “be healthier”. The 2024 review found that habits people chose for themselves tended to show greater habit strength.2 Small and simple beats big and impressive.

2. Anchor it to a cue you meet every day

Pick a time and place, or an existing routine, that happens every day, and do the new action right after it.4 In one study included in the review, a fixed clock time (9:00 a.m.) and a routine cue (after breakfast) worked about equally well.2

3. Write an if-then plan

Turn the cue into a sentence: “If it is after breakfast, then I will do 10 squats.” This kind of plan is called an implementation intention. A meta-analysis of 94 independent tests found it had a medium-to-large effect on reaching goals (d = .65).5

4. Keep the context stable

Do the habit in the same situation each time. People who performed a behaviour consistently in the same context developed stronger habits.2 The first repetitions bring the biggest gains in automaticity, so the early weeks matter most.2

5. Consider doing it in the morning

In one study of daily stretching, the habit formed faster in the morning (mean 106 days) than in the evening (mean 154 days).2 That is a single study, so treat it as a useful hint rather than a rule. If mornings are chaotic for you, a stable evening cue is better than an unstable morning one.

6. Track your progress where you can see it

A meta-analysis of 138 randomised studies (19,951 participants) found that interventions that increased progress monitoring also improved goal attainment (d = 0.40).6 The effect was larger when progress was physically recorded and when it was reported to others or made public.6

7. Plan for missed days and be patient

Missing one opportunity did not materially affect the habit formation process in the 2010 study.1 What matters is getting back to it the next day. Expect it to take weeks to months, and judge your progress by how automatic the habit feels, not by a calendar date.

What to do when you miss a day

One missed day is normal, and the research suggests it does not reset your progress.14 The real risk is letting one miss turn into a week.

  • Do the habit at the next cue, even in a tiny version.
  • Ask what got in the way and adjust the cue or the size of the habit.
  • Do not add “make-up” sessions; just return to the normal plan.

Do this today

  1. Pick one habit you want, and shrink it until it takes under two minutes.
  2. Choose a daily cue: a time, a place or something you already do.
  3. Write your plan: “If/After [cue], then I will [habit].”
  4. Set a reminder for the cue time and choose how you will record each day.
  5. Do it once today, then tick it off.

Frequently asked questions

How long does it take to build a habit?

In a well-known study the median time to reach near-maximum automaticity was 66 days, but individuals ranged from 18 to 254 days. A 2024 systematic review concluded that habits can start forming within about two months, with large differences between people.

Does missing one day ruin a new habit?

No. In the 2010 study, missing one opportunity did not materially affect the habit formation process. Get back to it at the next cue.

Is it true that habits take 21 days?

There is no good evidence for that. The 21-day figure seems to come from anecdotes about plastic surgery patients, while habit studies point to around two months or more.

How many habits should I start at once?

Starting with one small habit keeps the cue, plan and tracking simple. Add the next one when the first feels fairly automatic.

Sources

Every figure in this article comes from the studies below. Tap a number in the text to jump to its source.

  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. doi.org/10.1002/ejsp.674
  2. Singh, B., Murphy, A., Maher, C., & Smith, A. E. (2024). Time to form a habit: A systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 12(23), 2488. doi.org/10.3390/healthcare12232488
  3. Wood, W., Quinn, J. M., & Kashy, D. A. (2002). Habits in everyday life: Thought, emotion, and action. Journal of Personality and Social Psychology, 83(6), 1281–1297. doi.org/10.1037/0022-3514.83.6.1281
  4. Gardner, B., Lally, P., & Wardle, J. (2012). Making health habitual: The psychology of ‘habit-formation’ and general practice. British Journal of General Practice, 62(605), 664–666. doi.org/10.3399/bjgp12X659466
  5. Gollwitzer, P. M., & Sheeran, P. (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69–119. doi.org/10.1016/S0065-2601(06)38002-1
  6. 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, 142(2), 198–229. doi.org/10.1037/bul0000025

This article is for general information and is not medical advice.

Start your first habit today

Dotday lets you set a daily cue with reminders, check in with one tap and watch habit strength grow, free on Android with no account needed.

GET IT ONGoogle Play