Sub topic 12
Anchoring a new habit to an existing one
This chapter assumes you know the three parts of the habit loop (cue, routine, reward) and how to write an if-then plan. Habit stacking uses both ideas. You attach a new routine to a habit you already perform, so the existing habit serves as the cue.
Why an existing habit makes a good cue
A new habit has no cue yet. You must remember it, and remembering fails on busy days. An established habit already fires reliably in a stable context. If you tie the new routine to it, you borrow that reliability.
This works because a finished action is one of the common cue types: the preceding action. Finishing one behavior signals the start of the next.
The stacking formula
A stack is an if-then plan where the situation is an existing habit:
"After I [current habit], I will [new habit]."
The code below builds that sentence and rejects anchors that are too vague.
VAGUE_WORDS = {"sometimes", "later", "whenever", "usually", "evening"}
def stack(anchor: str, new_habit: str) -> str:
if VAGUE_WORDS & set(anchor.lower().split()):
raise ValueError(f"Anchor is too vague: {anchor!r}")
return f"After I {anchor}, I will {new_habit}."
print(stack("pour my morning coffee", "write one line in my journal"))
try:
stack("get home sometime in the evening", "stretch")
except ValueError as error:
print(error)The first call prints a usable plan. The second raises an error, because "sometime in the evening" is not a specific event you can notice.
Choosing a good anchor
A good anchor has these traits:
- Reliable. You do it nearly every day. Brushing teeth is a better anchor than going to the gym.
- Specific. You can tell exactly when it ends.
- Similar in size and place. The new habit fits where the anchor happens. Flossing after brushing is natural. Running a mile after brushing is not.
Common errors
- Anchoring to an unreliable habit. If the anchor happens only three days a week, the new habit gets only three cues.
- Starting too big. A 30-minute routine after a 30-second anchor breaks the flow. Start with a version that takes about two minutes.
- Stacking several new habits at once. Add one, wait until it feels automatic, then add the next.
- Skipping the reward. The loop still needs a payoff. Notice the small benefit right after the routine, or the stack will fade.
Extending the chain
Once a stack is automatic, it can become the anchor for the next one. Coffee leads to journaling, and journaling can lead to reviewing your plan for the day. Keep each link short so one missed step does not collapse the whole chain.
Exercise
Your plan is "After I get home, I will exercise for 45 minutes." Give two reasons it may fail and rewrite it as a better stack.
Show answer
"Get home" is a loose anchor, since the moment varies and has no clear end. 45 minutes is also too large a first step. A better stack: "After I hang up my coat, I will put on my running shoes and do five minutes of stretching."