How Long Does It Take to Make Exercise a Habit?

To make exercise a habit, expect months of practice, not a 21-day fix.

Two pairs of worn, muddy running shoes on a weathered wooden deck, a sign of the steady routine it takes to make exercise a habit
Photo by Sandra Luimes.

HABIT BUILDING · MEMBER JOURNEYS

The first weeks of a new routine run on good intentions and a fair amount of willpower. What you are really working toward is the day exercise stops being a decision you have to remake every morning.

You have probably heard that it takes 21 days to form a habit. The research tells a slower, more forgiving story. This guide walks through what scientists have learned about how long it takes to make exercise a habit, why gym routines can take longer than simpler habits, what a missed day really costs you, and the cues and plans that help a new routine settle in for good.

What a Habit Really Is

In behavioral science, a habit is an action that has become automatic: a cue in your day triggers it with little conscious thought. Health psychologists Gardner, Lally and Wardle, writing in the British Journal of General Practice, describe how repeating a simple action in the same context gradually makes it automatic, and they note that a cue located within an existing daily routine provides a convenient and stable starting point.

That distinction matters for your expectations. Early on, getting to the gym or out for a walk takes effort and planning. As the habit forms, the cue starts doing more of the work. Your goal during this stage is to repeat the behavior in a predictable setting, not to push for heroic sessions.

How Long It Takes to Make Exercise a Habit

The best-known study comes from Lally and colleagues, published in 2010 in the European Journal of Social Psychology. Ninety-six volunteers chose an eating, drinking or activity behavior to carry out daily in the same context, and 82 provided enough data for analysis. The time it took participants to reach 95 percent of their eventual plateau in automaticity ranged from 18 to 254 days, with a median of 66 days.

A 2024 systematic review and meta-analysis in Healthcare pulled together 20 studies involving 2,601 participants, with average ages ranging from 21.5 to 73.5 years. Among the studies that reported timing, median times to habit formation ran from 59 to 66 days and mean times from 106 to 154 days, with individual results stretching from 4 to 335 days. The authors write that their findings clearly refute the popular notion that habits form in about 21 days and suggest anticipating at least two to five months.

Gardner, Lally and Wardle offer a realistic rule of thumb: expect habit formation built on daily repetition to take around 10 weeks. Think of it as a season, not a sprint.

Why Gym Routines Can Take Longer

Exercise is more complex than drinking a glass of water. It involves travel, clothes, time and physical effort, and that shows up in the data. A 2023 study in PNAS by Buyalskaya and colleagues used machine learning to analyze gym check-ins and hospital handwashing. According to the study abstract, it typically takes months to form the habit of going to the gym but weeks to develop the habit of handwashing in a hospital. Caltech’s summary notes that the data tracked more than 30,000 gymgoers over four years and found that the gym habit took an average of about six months.

Frequency helps. In a longitudinal study of 111 new gym members followed for 12 weeks, published in the Journal of Behavioral Medicine, Kaushal and Rhodes found that exercising at least four times a week for six weeks was the minimum requirement to establish an exercise habit, and they described the first six weeks as critical. Those sessions don’t all need to be long workouts. A brisk walk on the same route can be one of your four.

Missed Days Won’t Undo Your Progress

Here is the forgiving part. In the Lally study, missing one opportunity to perform the behavior did not materially affect the habit formation process. Life will interrupt you with travel, a cold or a busy week at work, and a single skipped session does not send you back to the start.

Gaps that grow are a different matter. The Caltech researchers found that for 76 percent of gymgoers, the time since their previous visit was an important predictor of whether they would go again. In practical terms, one missed day is noise, while two weeks away starts to unwind the routine. A useful personal rule is to avoid missing twice in a row. If you do drift, our guide to restarting after a break shows how to ease back in without overdoing it.

Cues, Plans and Consistency That Make It Stick

Habits form around cues, so give your exercise a clear one. Gardner and colleagues advise planning when and where you will act and then staying consistent, and they suggest tying a new behavior to something you already do each day. An if-then plan puts this into words: “If it is Monday, Wednesday or Friday at 7 a.m., then I walk the neighborhood loop.” A 2013 meta-analysis of 26 studies summarized by McMaster Optimal Aging found that these implementation intentions increased physical activity, with an effect the authors describe as small to medium.

Your calendar can act as a cue too. In the gym study, 69 percent of gymgoers were more likely to go on the same days of the week, while time of day had no effect on habit formation. The 2024 review did find that morning practices tended to produce stronger habits in the studies it covered, so if mornings suit you, use them, but don’t force a dawn workout you will dread. The best slot is the one you can protect week after week.

Kaushal and Rhodes identified the factors most strongly tied to habit strength in new gym members: consistency, low complexity, a supportive environment and enjoyment. Their advice to trainers was to keep exercises fun and simple for new clients and to set a consistent exercise schedule.

Keep It Simple, Enjoyable and Social

Simplicity lowers the bar for showing up. Keep your first program short enough to remember without notes, and lay out your shoes or gym bag the night before. The CDC suggests scheduling activity for times in the day or week when you feel energetic and making it a regular part of your schedule.

Other people make routines sturdier. The CDC also recommends inviting friends and family to be active with you. A training partner adds accountability on mornings when motivation dips, and a regular group fitness class builds a time, place and set of familiar faces into your week.

Tracking helps you see progress that feels invisible day to day. Gardner and colleagues note that some people find it helpful to keep a record while forming a new habit, and the CDC suggests monitoring your daily activities for one week before you plan. A paper calendar with a check mark for each session works as well as any app.

Your First Three Months, Stage by Stage

Every journey is different, and the research shows huge individual variation. Still, it helps to know what each stage tends to ask of you. Use this as a loose map rather than a deadline, keeping in mind the federal guideline target of 150 to 300 minutes of moderate aerobic activity plus two days of muscle strengthening each week, described in the Physical Activity Guidelines for Americans.

StageYour focusA sign it is working
Weeks 1 to 2Pick fixed days, a time and a cue; keep sessions short and easyYou show up on the planned days, even briefly
Weeks 3 to 6Aim for about four sessions a week, mixing walks and workoutsPacking your bag or heading out takes less debate
Weeks 7 to 12Add a little challenge while keeping the schedule steadyA missed session feels odd rather than a relief
Months 4 to 6Protect the routine through holidays, travel and busy spellsYou restart within days after an interruption

If you are starting from very little activity, or you have heart disease, diabetes, joint problems or new symptoms, check in with your doctor before building up to four sessions a week. Starting gently is not a compromise. It is often what makes the habit last.

YOUR HABIT PLAN

Write your if-then plan in five minutes

  1. Choose three or four fixed days and write them down.
  2. Name your cue: “After I drop off the car,” “After my morning coffee,” or a set time.
  3. Name the action, small enough to do on a bad day: “I walk for 20 minutes.”
  4. Decide your backup: “If it rains, I do the band workout at home.”
  5. Mark each session on a calendar and promise yourself never to miss twice in a row.

This article is for general information and is not a substitute for personal medical advice.

Are you a fitness or wellness professional with a member journey to share?

Share This Article