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.

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
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.
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
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.
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.
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.
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.
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
- Making health habitual: the psychology of habit-formation and general practice, Gardner, Lally and Wardle, British Journal of General Practice; PMC full text
- How are habits formed: Modelling habit formation in the real world, Lally, van Jaarsveld, Potts and Wardle, European Journal of Social Psychology (Wiley)





