Renaissance Labs / Self

The map / Knowing

Habit and learning

What becomes automatic.

What it sounds like

I did it before I noticed.
I know it's irrational.
You

Where are you on this?

Catching it in yourself

  • Your hand is already doing it before you have decided.
  • A place, a time of day or a mood produces the urge on schedule.
  • You feel a wave of relief the moment you avoid something, and avoiding is slightly easier to choose next time.
  • You know a fear is out of proportion, and your body reacts anyway.
  • You keep checking something that pays off only now and then.
  • An old reaction you thought was gone turns up again in a new setting or a hard week.

What it needs

New experiences, repeated, more than new arguments.

How it gets stuck

Working with it

Growing it

The long version: how it works, the research, further reading

What it does

Whatever you repeat in the same setting gets handed over to a system that runs it without asking you. That covers tying shoes, and it also covers what you reach for when you are bored and how you react when criticized.

The same system learns what to fear and what to want from what followed last time. It learns from experience and is slow to learn from being told, which is why insight alone seldom changes a habit.

How it works

One kind of learning links things that occur together. If a tone reliably comes before food, a dog begins to salivate at the tone. In you the same process attaches feelings to cues: the smell of a hospital, the ringtone you use for your boss, the street where the accident happened. The response arrives without being called, ahead of any thought, because the cue has become a signal for what followed it last time. You did not choose the link, and you cannot remove it by deciding to.

A second kind links actions to their results. What is followed by something good, or by relief from something bad, becomes more likely next time. Relief is the part people overlook. Leaving the party ends the anxiety, checking the lock ends the doubt, putting off the email ends the dread, and each escape is rewarded on the spot. Timing counts for more than size: a small result that comes within seconds shapes behavior more than a large one that comes in months.

Both kinds run on surprise. The brain predicts what will follow a cue or an action, and learning happens when the outcome differs from the prediction. A better result than expected strengthens the link, a worse one weakens it, and a result exactly as expected changes little. This has a practical consequence. To change what a cue means you need an experience that contradicts the prediction, such as staying in the feared situation and finding that the disaster does not arrive. Being told it is safe produces no surprise in the place where the learning sits.

With repetition in a stable setting, control passes from goals to cues. Early on you do a thing for what it gets you. Later the context triggers it directly, with little reference to whether you still want the result. Say you sit on the couch after dinner and find your phone in your hand with no memory of picking it up. The couch and the tired feeling were the trigger. This saves effort for everything you do well without thinking, and it also explains how a habit can persist after you have stopped enjoying it.

What to understand about it

Classical conditioning

A neutral cue that reliably comes before something important starts to produce a response of its own. This is how places, sounds, smells and times of day come to carry fear, comfort, appetite or craving. The response is automatic and is not a sign of weakness or poor reasoning.

Reinforcement, including relief

A behavior is strengthened when it is followed by a reward, and also when it is followed by the end of something unpleasant. The second kind, called negative reinforcement, is what keeps avoidance, checking and reassurance-seeking going. Each of them works in the short term, and that is exactly why they get repeated.

Prediction error

Learning is driven by the gap between what you expected and what happened. When there is no gap, nothing is learned, however many times the event repeats. This is why a feared outcome has to fail to happen while you are fully present for it, and why going through the motions while distracted teaches less.

Extinction is new learning

When a cue stops being followed by what it used to predict, the response fades. The old link is not erased. A second memory, that the cue is safe here, is laid over it, and this newer memory is more tied to the place and time where it was learned. So an extinguished fear can return after a gap, in a new setting or after a fresh scare. A return of this kind is expected, and the safety learning is still there to build on.

Variable reinforcement

Behavior that pays off unpredictably is the most persistent. If a reward came every time, its absence would be noticed at once. If it comes only now and then, each failure is consistent with the next try paying off. Slot machines are built on this, and so are feeds and inboxes. A person who is warm only some of the time can hold you in the same way.

Habits answer to context

A habit is a link between a setting and an action, and it fires when the setting appears. In one study, people with a strong habit of eating popcorn at the cinema ate as much stale popcorn as fresh while watching a film there, and ate less of the stale popcorn in a meeting room. Changing the cue or the setting is often easier than resisting the action.

Learning by watching

Much of what you learned, you learned by observing others: how to do things, what to be afraid of, what gets rewarded. Children pick up fears from a parent's reaction and ways of handling anger from seeing it handled. Adults do the same on entering a new workplace or family.

Between you and other people

People train each other all day without meaning to. A child who whines and sometimes gets the sweet is being rewarded on an unpredictable schedule, the most persistent kind, and the parent who gives in is rewarded by the quiet that follows. In couples the same exchange can run with raised voices or with silence: whatever ends the unpleasant moment gets used again by both. Teams learn from what is seen to be rewarded far more than from what is announced. Looking at a recurring scene between you and someone else as a sequence of cues and payoffs, with nobody cast as the villain, often shows which step would be easiest to change.

Across a life

Learning starts before birth, and newborns already prefer the voice they heard in the womb. Small children imitate constantly, including steps that serve no purpose, which is how they absorb the ways of the people around them. Adolescents respond strongly to reward and to peers, which speeds up learning of every kind, including the risky kind. By adulthood a large share of what you do each day is habit, carried out in the same place and at the same time as the day before.

In older age new associations form more slowly, while well-practiced skills and routines are among the most durable things a person has. What was learned early, or under great fear, tends to be especially persistent. The rules for changing it stay the same at any age: new experience, repeated, in the settings where the old response shows up.

In the brain and body

Learning changes the strength of connections between neurons, and it happens all over the brain. Different kinds lean on different circuits. Learning that a cue predicts danger requires the amygdala, as shown in animals and in people with damage there, though the amygdala does much else and the feeling of fear involves far more of the brain. Extinction engages prefrontal areas that damp the amygdala's output, and the hippocampus supplies the context that says where the new safety learning applies.

Habits depend on the basal ganglia, a group of structures deep in the brain. Animal work shows that as an action is repeated, control shifts between circuits there, from ones that track the outcome to ones that link cue and response. Dopamine neurons provide the prediction-error signal that teaches both. Describing dopamine as the pleasure chemical is a simplification: it has more to do with learning what to pursue than with enjoying it.

Common misreadings

It takes 21 days to form a habit.

There is no fixed number. In the best-known study the time ranged from a few weeks to most of a year, depending on the person and on how demanding the behavior was. Missing an occasional day did not undo the progress.

Once you understand why you do it, you will stop.

Insight changes what you intend, and habits and conditioned responses are stored as links between cues and reactions that are not rewritten by intention. Understanding is useful for deciding what to practice. The change itself comes from repeated new experience.

If the fear comes back, the work was wasted.

Extinction adds safety learning on top of the old fear without deleting it, so some return after a gap, in a new place or under stress is normal. Practicing again in the new setting is usually quicker than the first time.

Dopamine is the pleasure chemical.

Dopamine signals mainly that something was better or worse than predicted and that a reward may be near. It drives wanting and seeking. Enjoyment relies on other systems, which is why a craving can be strong for something that no longer gives much pleasure.

What the research says

Each finding is marked by how well it has held up: robust, mixed or contested.

robust

A neutral signal comes to trigger a bodily response

Ivan Pavlov measured salivation in dogs and repeatedly presented a sound just before food. After a number of pairings the sound alone produced salivation. When the sound was then presented many times without food, the response faded, and it reappeared after a rest.

Pavlov, I. P. (1927). Conditioned Reflexes. Oxford University Press.

robust

Dopamine neurons signal the difference between expected and received reward

Recordings from dopamine neurons in monkeys showed a burst of firing to an unexpected drop of juice. Once a cue reliably predicted the juice, the burst moved to the cue and the juice itself produced none. When the expected juice was withheld, firing dipped at the moment it should have come.

Dopamine has other roles as well, including in movement and effort. This signal is about prediction, and it does not make dopamine a pleasure chemical.

Schultz, W., Dayan, P., & Montague, P. R. (1997). A neural substrate of prediction and reward. Science.

robust

Extinguished fear returns in a new context and with time

In animal experiments, a fear that was extinguished in one chamber came back when the animal was tested in the chamber where it was first learned, or in a new one. It also came back after a delay, and after the unpleasant event was presented once more. Laboratory studies in people show the same patterns.

Bouton, M. E. (2002). Context, ambiguity, and unlearning: Sources of relapse after behavioral extinction. Biological Psychiatry.

mixed

A new habit takes weeks to months to become automatic

Volunteers chose a small daily behavior tied to a fixed cue, such as a glass of water after breakfast, and rated each day how automatic it felt. Automaticity rose quickly at first and then leveled off. The middle participant took about two months, with a range from under three weeks to most of a year, and missing one day made no measurable difference.

This is one modest study using self-ratings. The wide range between people and behaviors is its most dependable result.

Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology.

robust

Changing what people intend changes what they do by much less

A meta-analysis gathered experiments that had successfully changed people's intentions and then measured their behavior. A medium to large change in intention produced a small to medium change in behavior, and the effect was weaker where the behavior was habitual.

Webb, T. L., & Sheeran, P. (2006). Does changing behavioral intentions engender behavior change? A meta-analysis of the experimental evidence. Psychological Bulletin.

robust

Children copy what they see adults do

Preschool children watched an adult either attack a large inflatable doll or play quietly. Left alone with the doll afterward, the children who had seen the attack reproduced many of the adult's specific actions and words, and the others rarely did.

The doll was a toy designed to be knocked over, so the study shows imitation clearly and says less about real-world violence.

Bandura, A., Ross, D., & Ross, S. A. (1961). Transmission of aggression through imitation of aggressive models. Journal of Abnormal and Social Psychology.

Read further

  • Wood, W. (2019). Good Habits, Bad Habits: The Science of Making Positive Changes That Stick. Farrar, Straus and Giroux.
  • Duhigg, C. (2012). The Power of Habit: Why We Do What We Do in Life and Business. Random House.
  • Clear, J. (2018). Atomic Habits: An Easy and Proven Way to Build Good Habits and Break Bad Ones. Avery.