Sub topic 9
Turning a cue into an if-then plan
This chapter assumes you have already identified at least one likely cue for a habit you want to stop. That means you have a cue log, you have read it for patterns, and you have checked the likely cue against coincidence and background conditions. Here you turn that cue into a specific plan you can carry out. Environment changes are covered in the next chapter, so this chapter stays with plans about your own response.
What an if-then plan is
An if-then plan is a sentence in a fixed form: "If [cue], then I will [specific response]." Researchers call this an implementation intention. The "if" part names a situation you can recognize. The "then" part names a concrete action you will take when that situation appears.
The point is to decide in advance. Without a plan, the cue triggers the old routine and you have to improvise a different response in the moment, often while bored, stressed, or tired. With a plan, the cue is also the signal to start the response you already chose. You are attaching a new routine to an existing cue.
Compare these two statements:
- "I will stop checking my phone at my desk."
- "If I finish a task at my desk, then I will stand up and fill my water glass."
The first states a goal. The second states a trigger and an action. Only the second tells you what to do at a particular moment.
Where the plan comes from
Your cue log supplies the "if." Your reward analysis supplies the "then." Each part has to be specific enough to act on.
The cue log in this tutorial has five fields: time, place, mood, with, and before. A strong "if" usually comes from the field value that appeared most often, for example "before: finished a task" or "place: desk." The script below counts values in a log and shows which cues deserve a closer look.
from collections import Counter
log = [
{"time": "afternoon", "place": "desk", "mood": "bored", "with": "alone", "before": "finished a task"},
{"time": "afternoon", "place": "desk", "mood": "stressed", "with": "alone", "before": "finished a task"},
{"time": "evening", "place": "sofa", "mood": "bored", "with": "alone", "before": "opened laptop"},
{"time": "afternoon", "place": "desk", "mood": "bored", "with": "coworker", "before": "finished a task"},
]
for field in ("time", "place", "mood", "with", "before"):
counts = Counter(entry[field] for entry in log)
value, n = counts.most_common(1)[0]
print(f"{field}: {value} ({n} of {len(log)})")Running it prints:
time: afternoon (3 of 4)
place: desk (3 of 4)
mood: bored (3 of 4)
with: alone (3 of 4)
before: finished a task (3 of 4)Several fields tie at 3 of 4. That is a normal result in a small log, and it tells you something about plan design. When many cues co-occur, you do not need to find the single true cause before you act. You can write the "if" as a combination, or choose the cue that is easiest to recognize in the moment. "Finished a task" is an event you can notice. "Afternoon" is a wide window that is easy to miss.
Choosing the "if" part
A good trigger has three properties.
- It is observable. You can tell whether it has happened. "When I feel a bit off" is vague. "When I close a work document" is clear.
- It happens before the routine, not during it. If your trigger is "when I am scrolling," you are already inside the habit.
- It is frequent enough to practice. A cue that appears twice a month gives you few chances to rehearse the plan.
The cue categories from earlier chapters behave differently as triggers:
| Cue category | Example trigger | Strength as an "if" | Common weakness |
|---|---|---|---|
| Preceding action | "If I close my laptop" | Clear, discrete event | Can feel too frequent if the action is routine |
| Location | "If I sit on the sofa" | Easy to notice | You may already be settled before you notice |
| Time | "If it is 3 pm" | Predictable | You can miss it if you are absorbed in something |
| Other people | "If a coworker invites me out" | Specific | Only occurs when others are present |
| Emotional state | "If I feel bored" | Often the real cue | Hard to detect early, and the label can be unclear |
Emotional states are frequently the real driver, yet they make the least reliable triggers on their own. A practical fix is to pair the emotion with something observable: "If I notice I am bored and I have just finished a task, then..." Or you can use the observable event as the trigger and treat the emotion as the reason the plan exists.
Choosing the "then" part
The response is where many plans fail. Three rules help.
Make it specific and small
"Relax" is not an action. "Take five slow breaths" is. If you cannot picture yourself doing the response in a few seconds, shrink it.
Match the reward
Your habit delivers a reward, such as a break, relief from boredom, or social contact. If your replacement gives none of that, the old routine keeps its advantage. If the log shows you reach for your phone when bored after a task, the real reward may be a short mental break. A plan to "get back to work immediately" removes the reward and invites relapse. A plan to "stand up and walk to the window for one minute" supplies a break by other means.
State what to do, not only what to avoid
"If I finish a task, then I will not check social media" leaves a gap. You still have to decide what to do with that moment, and "not doing" is hard to carry out because it has no clear end. Replace it with an action that occupies the moment.
Here is the same plan at three levels of quality:
| Version | Plan | Problem |
|---|---|---|
| Weak | "If I'm bored, I'll try to resist." | Vague trigger, no action |
| Better | "If I finish a task, I won't check my phone." | Observable trigger, but only a prohibition |
| Strong | "If I finish a task at my desk, then I will stand, take five slow breaths, and drink some water." | Observable trigger, concrete, rewards a pause |
Writing the plan
Use a short template and fill it in from your log.
- Pick one cue. Choose the one that was most frequent and that you can recognize reliably. Start with one plan, not five.
- Name the reward. Write what the habit gives you in a few words.
- Choose a replacement that gives a similar reward. It does not have to be identical, only close enough to meet the same need.
- Write the sentence in the form "If __, then I will __."
- Add where and when if the cue alone is ambiguous.
A completed example:
- Habit: snacking on sweets at my desk.
- Most frequent cue: finishing a task (3 of 4 entries).
- Reward: a short break and something pleasant.
- Plan: "If I finish a task at my desk, then I will stand up, walk to the kitchen, and make a cup of tea."
The tea supplies a pleasant pause and a change of scene. It also takes your hands and attention, which leaves less room for the old routine.
Anticipating obstacles with a second plan
Plans fail in predictable ways. You can add a second "if-then" that covers the most likely failure. This is sometimes called a coping plan.
Suppose the first plan is "If I finish a task, then I will make tea." You may know that on busy days you skip the break. A backup could be: "If I am too busy to leave my desk, then I will drink water and look out of the window for one minute." Write the backup only for obstacles you have actually seen in your log or in your first few days. Do not invent a long list. Two or three plans in total are enough, and more will be hard to remember.
Testing and revising the plan
Treat the plan as an experiment. Run it for one to two weeks and keep logging. Add two items to each log entry: whether the cue occurred, and whether you carried out the plan. Then you can tell apart three situations:
- The cue occurred and you used the plan, and the habit did not happen. The plan is working.
- The cue occurred and you did not use the plan. The problem is recall or effort, not the cue. Make the trigger more noticeable or the response easier.
- The cue occurred, you used the plan, and the habit happened anyway. The cue may be incomplete, or the replacement may not meet the reward.
The following script extends the earlier log with a plan outcome and reports how often each situation occurred.
from collections import Counter
entries = [
{"cue_seen": True, "plan_used": True, "habit_happened": False},
{"cue_seen": True, "plan_used": False, "habit_happened": True},
{"cue_seen": True, "plan_used": True, "habit_happened": False},
{"cue_seen": True, "plan_used": True, "habit_happened": True},
{"cue_seen": False, "plan_used": False, "habit_happened": True},
]
def classify(e):
if not e["cue_seen"]:
return "habit without the expected cue"
if e["plan_used"] and not e["habit_happened"]:
return "plan worked"
if not e["plan_used"]:
return "plan not used"
return "plan used but habit happened"
summary = Counter(classify(e) for e in entries)
for label, n in summary.items():
print(f"{label}: {n}")It prints:
plan worked: 2
plan not used: 1
plan used but habit happened: 1
habit without the expected cue: 1The last category matters. A habit that occurs without the cue you targeted means there is at least one more cue. That is a reason to go back to the log, not a failure of the method.
Common errors
- Writing a goal instead of a plan. "I will eat less sugar" has no trigger.
- Choosing a cue you cannot detect in time, such as a mood you only notice after the habit starts.
- Writing a response that is a prohibition. Use an action.
- Using a response that removes the reward and leaves the need unmet.
- Building too many plans at once. Begin with one habit and one cue.
- Judging the plan after two or three days. A cue may not occur often enough to give you a fair test.
- Treating one missed plan as proof that the method does not work. Missed plans are data about how to make the next version easier.
Summary
An if-then plan links an observable cue to a specific replacement action. Take the "if" from the most frequent and most recognizable cue in your log. Choose a "then" that is small, concrete, and similar in reward to the habit. Add a backup plan for your most likely obstacle. Test the plan for a week or two and use the results to revise it or to look for another cue.
Exercise
A learner's log shows that they bite their nails mostly "while reading on the sofa" and "when anxious." They write this plan: "If I feel anxious, I will not bite my nails." Identify two problems with this plan and rewrite it.
Show answer
First, the trigger "feel anxious" is hard to detect before the habit starts, and the plan names no observable event. Second, the response is a prohibition, so it gives no action to take and offers no substitute for the relief the habit provides. A stronger version pairs an observable cue with an action: "If I sit down on the sofa to read, then I will hold a smooth stone in my right hand and take three slow breaths." The location is easy to notice, and the stone keeps the hands busy while the breathing addresses the anxiety.
Exercise
After two weeks, your records show 10 occurrences of the cue "finished a task." You used your plan 4 times, and the habit happened in 5 of the 6 times you did not use it. In the 4 times you used the plan, the habit happened once. What does this suggest, and what should you change first?
Show answer
The plan seems to work when you use it: the habit occurred in 1 of 4 uses, compared with 5 of 6 non-uses. The larger problem is that you used the plan only 4 of 10 times. Change recall and effort first. Make the trigger more noticeable, for example by placing a cup or a note where you finish tasks, and make the response easier to start. Also look at the single failure when the plan was used, because it may point to a missing cue or an unmet reward.