Mind & Psychology · Habits & behavior

How habits form and how long it takes

A habit is an action that a familiar situation sets off without a decision. Learn how to build one, why you can't build one out of not doing something, and where the 21-day rule came from.

4 short lessons · about 17 minutes · 2 sources · updated November 2026

What you will learn

  • Distinguish doing something often from doing it automatically
  • Identify the cue and the action in a simple habit
  • Turn a general intention into a specific cue-action plan
  • Explain why repeating an action in a stable context helps a habit form

Lesson 1 of 4 · 4 min

A habit is what you do without deciding

Before you readWhat tends to happen to a well-established habit when your interest in it fades?

Correct.Not quite. The answer is It tends to keep going.

A habit tends to keep going after interest fades, because its cue starts the action with little motivation. This lesson is about what a habit is.

When did you last decide to wash your hands after using the toilet? You probably didn't decide. You were at the sink before you'd thought about it.

That's what psychologists mean by a habit. In everyday speech the word covers anything you do a lot. In psychology it means an action that a familiar situation triggers automatically.

The two meanings can come apart. Say you go to the gym four times a week and have to talk yourself into it every time. That's frequent. It isn't a habit yet.

Every habit has two parts. The cue is the situation that sets it off. The response is the action that follows. Say you drop your keys in the same bowl every time you come home. Walking in the door is the cue, and dropping the keys is the response.

Repetition joins them. Each time you do the action in that situation, the link gets a little stronger, until meeting the cue is enough to start the action. Psychologists call this quality automaticity.

So to tell whether something is a habit, don't ask how often you do it. Ask what starts it.

Check yourselfWhich observation most directly suggests that an action has become automatic, as opposed to merely frequent?

Correct.Not quite. The answer is You find yourself doing it before you've decided to.

Automaticity is about how an action gets started. A two-month streak shows frequency, and strong motivation shows effort. Starting without a decision is the sign that a cue is doing the work.

A cue can be an event, such as getting to work, or a time of day, such as after breakfast. What matters is that it's easy to notice and that you meet it often and reliably.

Once a cue has taken over the job of starting an action, the action needs less attention and less motivation. Two things follow. A habit tends to keep going even after your interest fades. And it's cheap to run, because automating a common action frees your mind for other things.

Automatic doesn't mean mindless. The cue starts the action, and a complex action still takes thought once it's under way. Say arriving home sets off your evening run. Changing into running clothes may happen without a decision. The run itself still takes effort.

The same property that keeps a useful habit going without motivation keeps an unwanted one going too.

Try to recallIn the plan "after I arrive home, I put my keys in the bowl," what's the cue and what's the action? What would make it a habit instead of just a plan?

Arriving home is the cue, and putting the keys in the bowl is the action. It becomes a habit as coming home increasingly prompts the action, with less and less deliberate decision-making. Having the plan doesn't make it one.

A habit is a learned link between a situation and an action. To find yours, watch for the things you do before you've decided to. To judge a new routine, ask what starts it. If the answer is still willpower, it isn't a habit yet.

Lessons in this topic

  1. A habit is what you do without deciding

    Learn what psychologists mean by a habit, and how to spot the cue that sets one off.

    Essentials · 4 min

  2. Turn a goal into a habit with a cue and one small action

    Learn how to pick a cue and an action, why the action should be small and always the same, and roughly how long the link takes to form.

    Essentials · 4 min

  3. Where the 21-day habit rule came from

    The 21-day rule didn't come from habit research. See what the research found instead, and how to read its 66-day average.

    Deeper · 4 min

  4. Why not doing something can't become a habit

    A habit needs an action for its cue to trigger. See what that means for quitting something, and why variety slows a new habit down.

    Deeper · 5 min

Three quick stories from this topic

No habit of not doing

You can't make a habit of not doing something, because a habit needs an action to trigger

A habit is an action that a familiar cue sets off automatically. A resolution like "no snacks in the evening" gives the cue nothing to set off, so repetition has nothing to strengthen. Habit researchers advise choosing a replacement action, such as eating an apple.

Why old habits hang on

Once a cue starts an action automatically, the action depends less on attention or motivation. That's why breaking a habit takes more effortful strategies than building one.

A cue and an action

Putting on a seatbelt after getting into the car is a habit. Getting in is the cue, and buckling up is the action.

From 18 days to 254

Forming one simple daily habit took people anywhere from 18 to an estimated 254 days

In a study of 96 volunteers, each repeated one small action daily, such as eating fruit or going for a walk. How automatic it felt leveled off after 66 days on average. The upper figure is projected from each person's curve, since the study itself ran for 12 weeks.

Simple actions were faster

Drinking a glass of water became automatic sooner than doing 50 sit-ups. Missing a single day made little difference.

What was measured

Volunteers rated each day how automatic the behavior felt. The 66-day figure is the average time for those ratings to level off.

The 21-day rule and plastic surgery

The 21-day habit rule seems to come from plastic surgery patients, not habit research

It traces back to anecdotes in a 1960 book about patients who typically adjusted to their new appearance within 21 days. When researchers measured habit formation directly, automaticity leveled off after an average of 66 days.

What habit research actually found

In a study of daily behaviors that people chose themselves, each cued once a day, automaticity ratings rose quickly at first and then leveled off after an average of 66 days. People and behaviors varied considerably, and simple actions such as drinking water plateaued sooner than elaborate routines.

An average, not a deadline

The 66-day figure summarizes one study's self-ratings of automaticity, and it isn't a clock for every person or behavior. What it does show is that forming a habit is gradual and continues well past three weeks.

Sources

This topic is part of Notice, remember and decide, a guided path through related topics.

  • How signals and rewards train behavior

    Classical conditioning teaches the body what a signal predicts. Operant conditioning changes what you do through what follows it. Learn both, and why something learned this way can come back after it seems gone.

    4 lessons · 24 min

  • Willpower and self-control

    Is willpower a fuel that runs out, or mostly a matter of dodging temptation? See what the marshmallow test and its re-runs found, and what people with good self-control do differently.

    4 lessons · 16 min

  • Procrastination

    Putting things off has more to do with dodging how a task feels than with laziness. See why people delay against their own judgment, what it costs and which fixes have evidence behind them.

    4 lessons · 16 min

  • How neurons send and receive signals

    Follow a signal through a nerve cell and across a synapse, and see why naming a chemical can't explain a whole behavior.

    4 lessons · 17 min

  • How emotions work, from racing heart to smile

    An emotion combines a feeling, a bodily change, a reading of the situation and an expression. See how the parts fit together, and why neither a racing heart nor a smile tells you what someone feels.

    4 lessons · 16 min

  • Why we miss things in plain sight

    Why light reaching your eyes isn't the same as noticing, how a goal steers what you see, and why even experts miss the unexpected.

    4 lessons · 17 min

All mind & psychology topics · Take the quiz