Mindset & goals

How to change habits: why willpower is overrated and what works instead

Updated November 9, 2026 · 5 min read

In short

Habits are behaviors that become automatic through repetition in the same context. You change them best with small steps, consistent cues, an environment that makes the new behavior easy, and lots of repetition. In a well-known study, it took a median of about two months for a new behavior to feel automatic. Visualization helps you rehearse the moment that decides it.

You decide you're done scrolling in bed. Night one, it works. Night three, it's midnight and you're deep in your feed again. Not because you don't want to stop, but because your hand reaches for the phone before your intention even gets a vote.

That's exactly how habits work, and it's exactly why willpower alone is such a poor tool for changing them. The good news is that research has a pretty clear picture of what works instead.

How habits form

A big chunk of daily life runs on autopilot. In diary studies by Wendy Wood and colleagues, a substantial share of everyday actions, roughly 40 percent or a bit more, happened almost daily in the same context, often while people were thinking about something else entirely (Wood et al., 2002).

The mechanism is simple. Repeat an action often enough in the same situation, and your brain links the two. Eventually the situation alone is enough to kick off the action. Coffee right after waking up, phone out while waiting in line, chips in front of the TV. Habits are triggered by context, not by your goals, which is exactly what makes them so sticky (Wood and Neal, 2007).

The practical upshot: if you want to change a habit, spend less energy on motivation and more on situations, cues, and repetition.

How long does it take to change a habit?

The famous 21 days is a myth. In a widely cited study by Phillippa Lally and colleagues, volunteers picked a new habit, like drinking a glass of water with lunch or running for 15 minutes before dinner. It took a median of 66 days before the behavior felt largely automatic. The range was huge: from 18 to more than 250 days, depending on the person and the behavior (Lally et al., 2010).

Two findings are especially reassuring. Simple habits became automatic faster than effortful ones. And missing a single day didn't meaningfully set people back. You don't need a perfect streak. You just need to get back on track.

Building a new habit in five steps

1. Start small, really small

"Work out an hour every day" is a goal. "After I brush my teeth, I put on my workout clothes" is a habit. The smaller the first step, the more likely you'll repeat it, and repetition is the raw material automaticity is made of. You can scale up later.

2. Pick a fixed cue

Attach the new behavior to something you already do every day. "After I pour my morning coffee, I'll write three lines in my journal." "When I unlock the front door in the evening, I'll put my phone in the hallway drawer." That's essentially an if-then plan, set up to run for good.

3. Let your environment do the work

Make the behavior you want easy and the one you don't want a little more annoying. Running shoes next to the bed. A book on your pillow. Snacks on the top shelf instead of the counter. Your phone charger in the kitchen instead of the nightstand. Small bits of friction matter more than you'd think, because habits follow the path of least resistance.

4. Same place, same time, lots of reps

The more stable the context, the faster the link forms. Five minutes daily at the same time beats an hour once a week at random.

5. Make it feel good

Habits that feel pleasant tend to stick. Enjoy that hot shower after the workout on purpose. Check off the day on a calendar. Tell yourself, "Nice work." It sounds trivial, but it signals to your brain that the repetition pays off.

Breaking old habits

Bad habits rarely just vanish. They get interrupted or replaced. Three approaches help:

  • Find the cue: When exactly does it happen? Where, with whom, after which feeling? Tracking it for a week often brings clarity.
  • Add friction: Delete apps from your home screen, log out, put things out of reach.
  • Plan a replacement: "If I reach for my phone while waiting, then I'll look out the window for three breaths." An empty slot gets refilled by the old habit fast.

Life transitions are a great window for change, too: a move, a new job, the return from vacation. When the old context disappears, the old cues lose power. Habit researchers have pointed this out for years (Wood and Rünger, 2016).

Visualization as rehearsal for the critical moment

Habits are decided in seconds: when you walk past the bakery, when your phone lights up, when you sink onto the couch after work. You can rehearse exactly that moment in advance.

Here's how. Close your eyes and picture the situation concretely. Where are you, what time is it, what do you feel? Then watch yourself do the new behavior, step by step, and notice how it feels afterward. Two or three minutes is plenty. Mental rehearsal has been shown to improve how well people carry out actions, by a small but real margin (Toth et al., 2020). For habits, that means the moment isn't entirely new when it arrives.

Many people tie this to their mornings. Our guide to a morning visualization routine shows what that can look like, and how long to visualize covers how often and for how long to practice.

Two examples

Reading instead of scrolling at night. Cue: brushing your teeth. Environment: charger in the kitchen, book on the pillow. Smallest step: one page. Rehearsal: each morning, spend a minute picturing yourself getting into bed, reaching for the book, feeling the paper under your fingers. Plan: "If I want to check my phone one last time, then I'll leave it in the kitchen and pick up the book."

Moving in the morning. Cue: the alarm. Environment: workout clothes laid out. Smallest step: five minutes of stretching. Rehearsal: in the evening, briefly see yourself getting up, getting dressed, and making the first move. After a few weeks, five minutes often turns into fifteen without a fight.

Habits and identity

Every repetition is also a small piece of evidence about who you are. "I'm someone who writes in the morning." "I'm someone who takes care of myself." As your habits shift, your self-image tends to follow. More on that in our guide to changing your self-concept.

The bottom line

Changing habits isn't a willpower contest. It's design: a small step, a fixed cue, a friendly environment, lots of repetition, and a solid plan for the critical moment. Give yourself time, think two months rather than three weeks, and forgive the days you miss. Automaticity shows up when you keep showing up.

FAQ

How long does it take to change a habit?

In a well-known study, it took a median of 66 days for a new behavior to become largely automatic, with a range of 18 to over 250 days. Simple habits form faster than effortful ones.

Is the 21-day rule true?

No, it isn't supported by research. For most people and behaviors it takes considerably longer. Regular repetition in the same context matters more than any magic number.

Does missing a day ruin a new habit?

No. In the study by Lally and colleagues, missing a single day didn't meaningfully set habit formation back. What matters is getting back to it the next day.

How do I break a bad habit?

Identify the cue, add friction to the old behavior, and plan a specific replacement for the critical moment. Transitions like a move or a new job are especially good times to make the switch.

Sources

  1. Lally, van Jaarsveld, Potts & Wardle 2010, European Journal of Social Psychology: Habit formation
  2. Wood, Quinn & Kashy 2002, Journal of Personality and Social Psychology: Habits in everyday life
  3. Wood & Neal 2007, Psychological Review: A new look at habits and the habit-goal interface
  4. Wood & Rünger 2016, Annual Review of Psychology: Psychology of Habit
  5. Toth et al. 2020: Mental practice, 24-year follow-up meta-analysis

This guide does not replace professional advice or therapy.

Keep reading