Life · Guide

How to Build Habits That Actually Last, According to Research

Published:

Good Habits Poster
Image credit: AbbythePup · CC BY-SA 4.0 · Wikimedia Commons

In brief

Forming a lasting habit typically takes far longer than the popular "21 days" claim — research puts the average closer to 66 days, with wide individual variation. Scientists point to small, specific actions, consistent cues and self-tracking as the factors that most reliably make a new behavior stick.

People searching for a quick fix on habits usually run into one number: 21 days. That figure has no basis in behavioral research — it traces back to a 1960s self-help book by a cosmetic surgeon who observed how long it took his patients to adjust to a new nose or a lost limb, not to any controlled study of habit formation, according to Scientific American.

How long habit formation actually takes

The most cited scientific estimate comes from a 2009 study led by University College London health psychologist Phillippa Lally, who tracked volunteers trying to adopt one of three new daily actions: eating fruit with lunch, drinking water with meals, or exercising for 15 minutes before dinner. Habits in that study took anywhere from 18 to 254 days to form, with an average of about 66 days, Scientific American reported.

A more recent analysis reinforces that range while widening it further. Researchers at the University of South Australia, who reviewed data from more than 2,600 participants, found that habit formation generally starts within roughly two months, with a median of 59 to 66 days — but full automaticity could take anywhere from four days to nearly a year depending on the person and the behavior, according to a summary of the research distributed by ScienceDaily.

Both sources agree on one point: the complexity of the behavior matters. A simple action such as remembering to wash your hands at a set time becomes automatic faster than a demanding one such as a daily exercise routine, which researchers cited by Scientific American said can take around six months to settle into place.

What the research says about habit timelines
ClaimSourceFinding
21 days to form a habitPopularized by a 1960s self-help book (not a study)Not supported by behavioral research, per Scientific American
Lally et al., 2009 (University College London)Scientific AmericanHabits formed in 18–254 days; average ~66 days
University of South Australia analysis, 2025ScienceDailyMedian 59–66 days; range 4 days to ~335 days depending on behavior

Steps that are backed by evidence

Across the sources reviewed for this guide — the U.S. Centers for Disease Control and Prevention (CDC), Stanford University's behavior-change research, and the habit-formation studies above — a consistent set of practical steps emerges for building a habit that survives past the first few weeks.

  1. Define a specific, measurable goal instead of a vague intention. The CDC recommends a SMART target — for example, "eat a side salad with dinner on Mondays, Wednesdays and Fridays" rather than "eat healthier."
  2. Start smaller than feels necessary. Stanford behavior scientist BJ Fogg, PhD, advises making the first version of a habit so small it can be done even when busy or unmotivated — his examples include flossing a single tooth or simply walking to the driveway before a planned walk.
  3. Attach the new behavior to something you already do every day. This technique, known as habit stacking, links a new action to an existing routine, such as meditating right after making coffee, according to Stanford's lifestyle medicine program.
  4. Track the behavior. The CDC states that tracking a new habit, whether with an app, a journal or a spreadsheet, makes a person more likely to succeed, and recommends finding an accountability partner such as a walking companion or gym buddy.
  5. Reward progress without undermining the goal. The CDC suggests choosing rewards that align with the health objective, while Fogg told Stanford's program that celebrating small wins — rather than reacting to missteps with guilt — sustains motivation over time.
  6. Choose activities you genuinely enjoy. Fogg's guidance, published by Stanford Lifestyle Medicine, states plainly that a resolution built around a disliked activity, such as forcing daily runs on someone who dislikes running, is less likely to last.
  7. Expect setbacks and continue anyway. The CDC notes that a missed day does not erase progress, and that persistence through lapses — not flawless execution — is what separates habits that stick from those that don't.

Why some habits take hold faster than others

The University of South Australia analysis found that timing and enjoyment both influence how quickly a habit becomes automatic: behaviors folded into an existing morning routine, and ones the person actually likes doing, tended to solidify faster than habits performed out of pure obligation, according to the ScienceDaily summary of the research.

The key is making the habit so small that you can do it even when you're sick, busy, preoccupied, or just low motivation.

— BJ Fogg, PhD, Stanford Lifestyle Medicine

That principle — shrinking the first step rather than relying on willpower — appears across all the sources reviewed, from CDC public-health guidance to Fogg's Stanford-based behavior research, as the most consistently cited way to get a new behavior past its first, most fragile weeks.

Questions

Does it really only take 21 days to build a habit?
No. That figure is not based on behavioral research; it originated from a 1960s self-help book, and controlled studies have found average habit-formation times closer to 66 days, with a range of roughly 18 to 254 days depending on the person and behavior, according to Scientific American.
What is the scientifically supported average time to form a new habit?
The widely cited 2009 study led by Phillippa Lally at University College London found an average of about 66 days, while a 2025 University of South Australia analysis of over 2,600 participants found a similar median of 59 to 66 days, though full formation ranged from 4 days to nearly a year.
What is habit stacking?
Habit stacking means attaching a new behavior to an existing daily routine, such as meditating right after making coffee, so the established routine acts as the trigger for the new one, according to Stanford's lifestyle medicine program.
Why do small habits work better than big resolutions?
Stanford behavior scientist BJ Fogg says making a habit's first version extremely small — such as flossing one tooth — keeps it achievable even on low-motivation days, which research-based guidance from the CDC also links to higher long-term success.
What should I do if I miss a day while building a new habit?
CDC guidance states that a missed day does not erase prior progress and that continuing the habit afterward, rather than achieving flawless daily execution, is what determines whether it ultimately sticks.

Sources

  1. Scientific American — How Long Does It Really Take to Form a Habit?
  2. ScienceDaily — Myth busted: Healthy habits take longer than 21 days to set in
  3. CDC — 3 Steps to Building a Healthy Habit
  4. Stanford Lifestyle Medicine — 5 Ways to Make Healthy Habits Stick

This piece was prepared with artificial intelligence and passed an automated source check before publication. If you see an error, ask for a correction. Request a correction or reply · How we make this

Related