Sub topic 3
Cues and contexts: how a setting triggers an action
This chapter assumes you know the working definition of a habit from earlier chapters: a learned response triggered by context. It also assumes you can tell goal-directed action from habitual action. Reading short Python snippets is optional.
The core idea
A habit is a link between a situation and a response. The part of the situation that prompts the response is the cue. The context is the whole setting around it: where you are, what time it is, what you just did, who is nearby, and how you feel.
You rarely notice this link directly. You walk into the kitchen in the morning and your hand goes to the kettle. Nothing in that moment needs a decision, because the setting has already selected the action.
Diary studies by Wendy Wood and colleagues found that roughly 40% of everyday actions were repeated in the same context, often while people were thinking about something else. This is why context is the first thing to look at when you study habits.
Kinds of cues
Cues fall into a few common groups. Strong habits usually rest on more than one of them.
| Cue type | Example |
|---|---|
| Location | Sitting down at your desk |
| Time | Seven o'clock in the morning |
| Preceding action | Finishing a meal |
| Other people | A colleague arriving for a break |
| Internal state | Feeling bored or tense |
How the link forms
Each time you perform a response in a given context, the context and the response are paired again. Repeated pairing strengthens the link. Eventually the context alone brings the response to mind, before you have weighed any reasons.
The outcome closes the loop. A later chapter covers why rewards help. For now, note that the loop only strengthens if the response happens in the same kind of context again.
The link belongs to the context
The association is stored as a pairing of situation and response. It is not a general trait of the person. The sketch below models this as a lookup table. It is an illustration, not a measured model.
associations = {
("kitchen", "morning"): "make tea",
("desk", "morning"): "open email",
}
def respond(place, time_of_day):
"""Return the habitual response, or fall back to deliberate choice."""
return associations.get((place, time_of_day), "decide deliberately")
print(respond("kitchen", "morning")) # make tea
print(respond("train", "morning")) # decide deliberatelyThe same person, at the same time of day, gets a different result in a different place. When no pairing matches, control falls back to goal-directed choice.
What makes a good cue
A cue works better when it has these properties:
- Reliable. It shows up every time you want the action. "When I have spare time" fails this test. "After I pour my coffee" passes it.
- Distinct. You can notice it. A cue you can overlook cannot prompt anything.
- Consistent. The surrounding context stays roughly the same across repetitions.
- Specific to one response. If one cue prompts three different actions, the link to each is weaker.
Preceding actions are often the best cues. They happen in a fixed order, they are easy to notice, and they need no clock or reminder.
Common errors
- Mistaking motivation for a cue. Feeling inspired is not a cue. It comes and goes, so it cannot prompt the response reliably.
- Practising in a different context each time. Doing an exercise at home one day, at the office the next, and in a park the third gives the link no stable context to attach to.
- Expecting transfer. A habit formed at home may not fire in a hotel room, because the cues are missing. The chapter on context change returns to this.
- Overloading a cue. Attaching several new actions to one cue splits the link between them.
Exercise
You want to practise a short breathing exercise every day. Compare two cues: "whenever I feel stressed" and "right after I sit down at my desk in the morning". Which should form a link more reliably, and why?
Show answer
The desk cue. It is reliable (it happens every working day), distinct (you notice sitting down), and tied to a stable place and time. "Whenever I feel stressed" is an internal state that varies in timing and intensity, so the context differs on each repetition and the response is not paired with a consistent setting.