Sub topic 13
Changing a habit: keep the cue and reward, swap the routine
This chapter assumes you can already name the cue, routine, and reward in a behavior, as covered in earlier chapters. No programming background is needed. The Python snippets only make the structure easy to see.
Why you swap instead of delete
A habit loop exists because the routine delivers a reward after a cue. If you try to delete the routine and leave nothing in its place, the cue still fires and the craving for the reward still arrives. You are left relying on willpower to resist the pull.
A more reliable approach is to keep the cue and the reward and replace only the routine. The craving then has a new way to be satisfied.
Steps to redesign a habit
- Identify the cue. Note the time, place, preceding action, emotion, or people present when the habit starts.
- Name the real reward. Ask what you actually get. A candy bar might give sugar, but the real reward may be a break, a change of scene, or company.
- Choose a new routine. It should deliver the same reward and be easy to do at the moment of the cue.
- Write an if-then plan. Tie the new routine to the cue in advance.
- Test and adjust. If the craving persists after the new routine, the reward you named was probably wrong.
Worked example
The snippet below keeps the cue and reward and replaces only the routine.
from dataclasses import dataclass, replace
@dataclass
class HabitLoop:
cue: str
routine: str
reward: str
old = HabitLoop(
cue="it is 3 pm and I feel tired",
routine="buy a candy bar from the vending machine",
reward="a break and a quick energy lift",
)
# Keep the cue and the reward, change only the routine.
new = replace(old, routine="walk to the kitchen and make a cup of tea")
print(old)
print(new)The tea routine still gives a break and a change of scene. If the real reward was the sugar itself, tea may not satisfy the craving, and you would try a different routine such as fruit.
Now write the plan as an implementation intention:
def if_then_plan(situation: str, action: str) -> str:
return f"If {situation}, then I will {action}."
print(if_then_plan("it is 3 pm and I feel tired", "walk to the kitchen and make a cup of tea"))Common errors
- Guessing the reward. Test your guess. Try a few substitutes and see which one ends the craving.
- Choosing a routine that is too hard. A substitute that takes much more effort than the old habit will lose at the moment of the cue.
- Changing the cue too. If you avoid the cue entirely, you may avoid the problem, but you do not build a new habit. That can work, but it is a different strategy.
- Expecting instant results. The old loop stays in memory. The cue may keep triggering the old urge for a while.
Exercise
You bite your nails whenever you read email at your desk. You notice that the biting seems to give you something to do with your hands while you concentrate. Using the swap strategy, what are the cue, the reward, and a possible new routine?
Show answer
The cue is reading email at your desk. The reward is keeping your hands busy while you concentrate. A possible new routine is squeezing a stress ball or holding a smooth stone. It gives the hands something to do and is within reach at the moment of the cue. The if-then plan would be: "If I sit down to read email, then I will pick up the stress ball."