Sub topic 7
Craving: the pull that connects cue and reward
This chapter assumes you can already name the cue, routine, and reward in a behavior you perform. It also assumes you know that a reward is the outcome that makes the loop worth repeating. Here the focus is the link between the first and last parts of the loop: craving.
What a craving is
A craving is the anticipation of a reward that a cue sets off. It is a motivated pull toward the routine, and it appears before the routine starts. The cue does not trigger the routine directly. It first brings the expected reward to mind, and that expectation creates the urge to act.
Two points follow from this definition:
- A craving is about the reward, not the routine. You do not crave the walk to the vending machine. You crave the break and the energy lift that the walk has delivered before.
- A craving is learned. The same cue produces no craving in a person who has never received the reward after it.
In casual speech, "craving" suggests food or nicotine. In the habit loop it is broader. It can be a mild sense of "I should check that," a restless feeling, or a clear urge. It can also be so faint that you only notice it when you are stopped from acting.
Where craving sits in the loop
The cue comes first, then craving, then the routine, then the reward. Craving sits between cue and routine, and it looks ahead to the reward. That is why the concept graph links it to both the cue and the reward.
The feedback arrow matters. Each time the reward arrives after the routine, the expectation that the cue produces gets a little stronger. A stronger expectation produces a stronger pull next time. This is how a loop tightens with repetition.
A worked example
Take the 3 pm slump from earlier chapters.
| Step | What happens | Notes |
|---|---|---|
| Cue | It is 3 pm and you feel tired | Time of day plus a body state |
| Craving | You expect a break and a quick energy lift | The pull is toward the reward, not the candy bar |
| Routine | You buy a candy bar from the vending machine | One of several ways to get the reward |
| Reward | You get a break and a sugar boost | Confirms the expectation |
Notice that the craving would be satisfied by other routines too. A cup of tea, a short walk, or a chat with a colleague could provide a break and a lift. This is why the craving is the key to changing habits, which a later chapter covers. If you know what the craving is actually for, you can find another routine that delivers it.
Making the craving visible in code
You can add craving as a fourth field in the loop model from earlier chapters. This is a teaching aid, not a model of the brain. It makes you write down what you expect to get, which is often the step people skip.
from dataclasses import dataclass
@dataclass
class HabitLoop:
cue: str
craving: str
routine: str
reward: str
def describe(self) -> str:
return (
f"When {self.cue}, I want {self.craving}, "
f"so I {self.routine} and get {self.reward}."
)
afternoon = HabitLoop(
cue="it is 3 pm and I feel tired",
craving="a break and a quick energy lift",
routine="buy a candy bar from the vending machine",
reward="a break and a quick energy lift",
)
print(afternoon.describe())In this example the craving and the reward use the same words. That is common and useful. When they match, the routine is satisfying the craving. When they do not match, the routine is likely to feel unsatisfying, and the habit may be fragile or may push you to repeat the routine more.
Craving is not the same as the feeling of the reward
Beginners often merge these two. They differ in time and in purpose:
- Craving happens before the routine. It is the expectation, and it drives you to act.
- Reward happens after the routine. It is the actual outcome, and it teaches the loop whether the expectation was right.
You can see the difference when the reward is missing. If the vending machine is empty, you still feel the pull when the cue appears, and you feel a letdown when nothing arrives. The pull came from what you expected. The letdown came from what you got.
What strengthens and weakens a craving
Several factors change how strong the pull is. Knowing them lets you work on a habit from the craving side.
- Reliability of the reward. If the routine usually delivers the reward after the cue, the expectation is strong. If it delivers only now and then, the expectation is weaker, though uncertain rewards can still be compelling.
- Speed of the reward. Rewards that arrive within seconds or minutes link to the routine more easily than rewards that arrive days later. A candy bar pays off at once. The benefit of a daily walk, such as better fitness, arrives slowly.
- Strength of the cue. A clear, repeated cue brings the expectation to mind more reliably than a vague one.
- Your state. Hunger, tiredness, stress, and boredom raise the pull of rewards that relieve them.
- Availability. When the routine is easy to start, the craving turns into action. When the routine is hard, the same craving may fade without action.
The second point explains a common problem. People want habits whose payoff is delayed, such as exercise or saving money. The craving for the delayed benefit is weak at the moment of the cue. A practical response is to attach a small, immediate reward to the routine. A favorite podcast during a walk is one example. This gives the cue something to point toward that you can feel right away.
Finding the real craving
When you analyze your own habit, the stated reward is often not the true one. You may say you check your phone "to see messages", but the real craving might be relief from boredom or a wish for a small social connection. The routine is the same, and the underlying craving is different.
A simple way to test this is to try a different routine that offers a candidate reward and see whether the pull goes away:
- Write down the cue and the routine as precisely as you can.
- List two or three possible cravings, such as a break, company, stimulation, or relief from stress.
- For several days, respond to the cue with a different routine aimed at one candidate. For example, if you suspect a need for company, talk to a colleague instead of opening your phone.
- Notice afterward whether the urge is gone. If it is, that candidate was close to the real craving.
- If the urge remains, try the next candidate.
This is a small experiment, not proof. Your mood on a given day can change the result, so repeat it a few times before you decide.
Common errors
- Confusing craving with willpower. A strong pull is not a character flaw. It is a learned expectation. Treat it as information about what the loop is delivering.
- Naming the routine as the craving. "I crave scrolling" hides the question of what scrolling gives you. Ask what the outcome is.
- Ignoring cue and craving when adding a new habit. A new routine with no cue and no appealing expected reward has nothing pulling you toward it. You then depend on remembering and on effort each time.
- Expecting instant craving. A new habit has no learned pull yet. It builds with repeated rewards after the cue, so early days feel flat. The formation timeline chapter covers how long this takes.
Using craving when you build or change a habit
- Building a habit: choose a reward you can feel soon after the routine, and make sure it follows the routine every time at first. This starts the expectation.
- Changing a habit: identify the craving behind the old routine, then choose a new routine that satisfies the same craving. If the new routine does not deliver what the cue made you expect, the old pull will win.
The three-step plan from the earlier code examples, with the same cue and reward but a new routine, works only when the replacement meets the craving. A tea break meets "a break and some energy" reasonably well. A glass of water may not.
Exercise
You get home from work (cue) and immediately open social media (routine). You say the reward is "catching up on news." When you try reading a news site instead, the urge to open social media stays. What does this suggest about the craving, and what would you test next?
Show answer
The urge staying suggests the real craving is not information. It may be a wish for a break, for light social contact, or for relief from the stress of the workday. Test other routines that offer those rewards, for example a five-minute call or text with a friend, a short walk, or a few minutes of music, and see which one makes the urge fade. Repeat over several days because mood varies.
Exercise
Explain in two or three sentences why craving is described as coming before the routine, while the reward comes after it, and give one sign in everyday life that shows the difference.
Show answer
Craving is the expectation that the cue brings up, so it exists before the routine and pushes you to start it. The reward is the real outcome after the routine, which confirms or corrects the expectation. A sign of the difference is the letdown you feel when the routine produces nothing, such as an empty vending machine: you felt the pull beforehand and the disappointment afterward.