Sub topic 5
Vague cues and how to write an if-then plan
What this chapter assumes
You have already tried to build or change at least one habit, and you know the basic habit loop from earlier in this tutorial: a cue triggers a routine, and the routine ends in a reward. You don't need any psychology background. This chapter covers the first link in that loop, the cue, and how to write it so it fires reliably.
Why vague cues fail
A cue is the signal that tells you it is time to act. Many habit plans fail because the cue is not a real signal. Here are three plans that look reasonable and fail often:
- "I will exercise more this week."
- "I'll write in the evening."
- "I'll read whenever I get a free moment."
Each of these names a behavior but gives no moment when it starts. Nothing happens in the world at "more," "the evening," or "a free moment" to tell you to begin. So the decision is left to you each day, and you make it at the worst time, when you are tired, busy, or distracted.
A vague cue fails in three ways:
- It never arrives. "When I have free time" may not happen on a busy day. A day with no free time is a missed day.
- It arrives too many times. "Whenever I feel stressed" fires at unpredictable times, some of which are impossible, such as in a meeting.
- It is easy to argue with. "Sometime this evening" lets you postpone from 6 p.m. to 9 p.m. to 11 p.m. until you are too tired to start.
The fix is to replace the vague cue with one you can't miss and can't argue with.
What makes a cue reliable
A reliable cue has four properties. You can use them as a checklist.
| Property | Question to ask | Weak example | Strong example |
|---|---|---|---|
| Specific | Could someone else tell whether it happened? | "In the morning" | "After I pour my morning coffee" |
| Observable | Can I see, hear, or feel it happen? | "When I feel ready" | "When the kettle clicks off" |
| Frequent enough | Does it happen on the days I want the habit? | "When I get home from the gym" | "When I put my keys in the bowl" |
| Stable | Does it happen in the same place and order each day? | "When a meeting ends" | "When I sit down at my desk" |
The "frequent enough" property trips people up. If you want to meditate daily but tie it to a cue that only happens on workdays, you have built a plan that skips weekends. That may be fine if it is your intent. It is a flaw if you didn't notice it.
Time cues and event cues
Cues fall into two broad types.
- Time cues use the clock: "At 7:30 a.m." They are simple, but they depend on you noticing the time. If you are absorbed in something else at 7:30, nothing interrupts you.
- Event cues use something that already happens: "After I brush my teeth." They are usually stronger because the event is part of a routine you already do without thinking, and it interrupts you naturally.
Event cues are usually the better choice for a daily habit. Use a time cue when the habit really is tied to a fixed time, such as a 6 p.m. medication, and add an alarm so the clock does the noticing for you.
Anchor on a habit you already have
The best event cue is a behavior you already do every day, such as making coffee, brushing your teeth, or starting your laptop. This is often called anchoring or habit stacking. You attach the new behavior to the end of the old one.
Pick an anchor that:
- Happens at least once on every day you want the new habit.
- Ends in a clear way, so you know when to start.
- Happens in a place where the new habit can be done.
Brushing your teeth is a poor anchor for a habit that needs a yoga mat in the living room. Pouring coffee is a better anchor for a habit that you can do in the kitchen.
The if-then plan
An if-then plan, also called an implementation intention, is a sentence in this form:
> If (specific cue), then I will (specific action).
Psychologists use this format because it moves the decision from the moment of action to the moment of planning. You decide in advance, when you are calm, what you will do and when. When the cue arrives, you are following a rule, not deciding.
Compare these two versions of the same plan:
| Vague | If-then |
|---|---|
| "I'll stretch more." | "If I finish brushing my teeth at night, then I will do the three stretches on the card by the sink." |
| "I'll drink more water." | "If I sit down at my desk, then I will fill my glass and drink half of it before I open email." |
| "I'll study Spanish." | "If I get on the 8:10 bus, then I will open the app and finish one lesson." |
Notice what the strong versions have in common. The cue is an event. The action is small and concrete. A stranger could tell whether each one happened.
The parts of a good if-then plan
Write each plan with these parts:
- Cue. The event, place, or time that starts the habit. Use the checklist above.
- Action. The exact first step, written as something you can see. "Put on running shoes" is clear. "Get fit" is not.
- Size. The amount you will do. Chapter 4 on oversized goals covers shrinking this. For now, keep it small enough that you can do it on a bad day.
- Place. Where you will be when the cue arrives. A cue that can happen in several places needs a plan for each.
A worked plan
Here is a habit plan template that puts these parts together, including some pieces we cover in later chapters (a minimum version, an environment change, a reward, a recovery rule, and a review time).
habit: Daily run
cue: After I pour my morning coffee
full_version: Run 20 minutes
minimum_version: Put on running shoes and walk outside for 2 minutes
environment: Shoes by the front door the night before
reward: Check off the day and drink the coffee outside
if_missed: Do the minimum version the next day
review: Sunday evening, 5 minutesLook only at the cue line for now. "After I pour my morning coffee" is specific, observable, and stable. It happens every day, in the kitchen, in the same place in the morning routine. The plan does not say "in the morning" or "when I have time."
The minimum_version line is also a cue-related decision. The first action after the cue is "put on running shoes," not "run 20 minutes." A small first action makes the cue easy to obey, which keeps the cue-and-response link strong.
Common errors when writing cues
Stacking on an anchor that isn't daily
If your anchor happens only some days, your habit happens only on those days. "After I get home from work" fails on days off, and "After the team meeting" fails when the meeting is cancelled. Check your calendar for the past two weeks. Count how many days the anchor happened.
Using an internal state as a cue
"When I feel tired," "when I'm bored," and "when I feel motivated" are internal states. They are hard to observe, vary in strength, and can be absent exactly when you need the cue. Use an external event instead. If you want to respond to a feeling, for example to replace a snack with a walk when stressed, pair it with a physical event too: "If I stand up from my desk at 3 p.m., then I will walk to the end of the street."
Cues that collide
Two plans can share one cue. "After I pour my coffee, I will meditate" and "After I pour my coffee, I will read for 20 minutes" compete for the same moment. One will win, and the other will quietly disappear. Give each habit its own cue, or build a single sequence: coffee, then meditate, then read.
A cue that is far from the action
If the cue happens in the kitchen but the action needs equipment in the basement, the walk between them is a point where the plan can break. Move the equipment, or move the cue. Chapter 7 covers environment design in more detail.
Writing the plan but never seeing the cue
A plan on paper does nothing if you don't notice the cue when it happens. For the first one or two weeks, add a reminder that points at the cue itself. Put a sticky note on the coffee machine. Leave the yoga mat on the floor where you will step over it. The reminder is temporary scaffolding, and you can remove it once the cue triggers the action without help.
Test your cue
Before you commit to a plan, run this short test.
- Say the cue out loud. Does it sound like something that either happened or didn't?
- Think of the last seven days. On how many did the cue happen? You want seven for a daily habit.
- Picture the moment. Where are you, what are your hands doing, and is the first action physically possible right then?
- Ask what the most likely reason is that you would skip. If it is "I'd forget," the cue is too weak. If it is "I'd be too tired," the action is too big, which is the subject of the previous chapter.
The next code example is a small tool that helps with a related task: spotting when a miss has turned into a second one. It belongs to the recovery rules in a later chapter, but it also helps with cue diagnosis. If you see runs of misses clustered on particular days, your cue may not happen on those days.
from datetime import date, timedelta
def missed_twice(done, today):
"""Return True if neither of the two days before today is in done."""
return all(today - timedelta(days=n) not in done for n in (1, 2))
done = {date(2026, 11, 20), date(2026, 11, 21), date(2026, 11, 24)}
print(missed_twice(done, date(2026, 11, 26))) # False: Nov 24 was done
print(missed_twice(done, date(2026, 11, 27))) # True: Nov 25 and 26 were missedNov 22 and Nov 23 in this log are a Sunday and a Monday... check the calendar: 2026-11-22 is a Sunday. If your misses fall on weekends, your anchor is probably a workday event, and you should move the plan to a cue that also happens on weekends.
Summary of the fix
- Replace "sometime," "more," and "when I feel like it" with an event you can observe.
- Anchor on something you already do every day.
- Write the plan as "If (cue), then I will (action)."
- Check that the cue happens on every day you want the habit, in the place you need it.
- Add a temporary reminder at the cue for the first week or two.
Exercise
A learner writes: "I'll practice guitar after work, when I have time." Rewrite it as an if-then plan, and name one reason your cue could still fail.
Show answer
One good answer: "If I put my work bag on the hook by the door, then I will pick up the guitar from its stand and play one scale." The cue is a physical event that happens on every workday and is observable. It could still fail on days off or on days the learner comes home through a different door, so the learner should check how many of the past seven days the cue happened and add a weekend cue if needed. Any answer with a specific, observable, daily event, a concrete first action, and a named weakness is acceptable.
Exercise
You want to floss every night. Your plan is "If I feel like it before bed, then I will floss." Using the four properties of a reliable cue, say which ones the cue breaks and write a better version.
Show answer
"Feel like it" is an internal state, so it is not observable or stable. It may also not happen on tired nights, so it is not frequent enough. A better version: "If I put my toothbrush back in the holder, then I will floss one section of teeth," with the floss kept next to the holder. The brushing step is a daily event in the same place, and the floss is within reach.