Sub topic 8
Anchoring a new habit to an existing one
This chapter covers habit stacking: attaching a new habit to one you already do. It assumes you know the habit loop (cue, craving, response, reward). It also assumes you have met if-then plans and the idea of a minimum version of a habit. Habit stacking applies both ideas to one specific kind of cue.
What habit stacking is
A habit stack is an if-then plan whose cue is an existing behavior. The format is:
> After I [current habit], I will [new habit].
The quote above shows the pattern only. A real plan uses the template from the earlier chapters: "After I pour my morning coffee, then I put on my running shoes."
Time-based cues such as "at 7:00 a.m." depend on you noticing the clock. Anchor cues are different. You already do the anchor behavior reliably, so the behavior itself prompts the next one. The anchor is the cue in the habit loop. The new action is the response.
Stacking also supports identity. Each time the stack runs, you cast a vote for the identity, for example "I am someone who looks after my health". The stack makes sure the vote happens at a predictable point in the day.
Why anchors work
- The cue already exists. You don't have to build a new trigger. You borrow one that fires daily.
- The decision is made in advance. As with any if-then plan, you decide when and where beforehand. In the moment you only need to follow the plan.
- The context is stable. The anchor happens in a familiar place and sequence, so the new action gets a consistent setting.
- Momentum carries over. You are already doing something, so continuing into a small next step is easier than starting from rest.
The evidence for if-then plans in general is strong. The evidence for stacking as a distinct technique is thinner. Treat it as a practical application of implementation intentions, not as a separate proven method.
Choosing a good anchor
A weak anchor is the most common reason a stack fails. Check each candidate against these criteria.
| Criterion | Good anchor | Weak anchor |
|---|---|---|
| Reliability | Happens nearly every day | Happens some days ("when I get a call") |
| Specificity | Clear start and end ("I pour my coffee") | Vague ("when I relax") |
| Location | Same place each time | Varies with the day |
| Size | A short, distinct event | A long block of time ("after work") |
| Fit | Similar energy and context to the new habit | Clashes with it |
Two practical points follow from the table.
- Anchor to a moment, not a period. "After work" lasts hours and has no sharp edge. "After I put my keys in the bowl" is a single moment.
- Match the context. Stretching right after brushing your teeth fits. Writing right after a loud commute may not.
A useful method is to list your existing routine in order and look for anchors in it.
routine = [
("wake up", "bedroom"),
("make coffee", "kitchen"),
("eat breakfast", "kitchen"),
("brush teeth", "bathroom"),
("leave for work", "front door"),
]
def stack(routine, anchor, new_habit):
for step, place in routine:
if step == anchor:
return f"After I {step} (in the {place}), I will {new_habit}."
raise ValueError(f"Anchor not found in routine: {anchor}")
print(stack(routine, "make coffee", "write one sentence"))The function returns a plan only if the anchor is a real step in your routine. That matches the real constraint: an anchor you don't reliably do cannot trigger anything.
Writing the stack with the minimum version
Pair the anchor with the minimum version of the habit, not the ambitious one. A stack that says "After I make coffee, I will write for an hour" fails on the first rushed morning. A stack that says "After I make coffee, I will write one sentence" survives a bad day, and it still casts a vote for "I am a writer".
Compare these:
| Stack | Problem or strength |
|---|---|
| After dinner, I will exercise. | Anchor is a period; "exercise" is undefined. |
| After I put my plate in the sink, I will do ten squats. | Clear moment, clear action. |
| After I sit at my desk, I will write for an hour. | Action too large for a bad day. |
| After I sit at my desk, I will open my draft and write one sentence. | Small, specific, and can grow on its own. |
Growth should be optional. If you write one sentence and feel like continuing, continue. The vote has already been cast either way.
Building a chain
Once one stack is stable, a later habit can anchor to the earlier one. The new habit's cue is then the previous new habit, not the original anchor.
After I pour my morning coffee, I put on my running shoes.
After I put on my running shoes, I step outside.
After I step outside, I walk to the end of the street.A chain has a cost. Each link depends on the one before it. If link one fails, links two and three never get their cue. Keep chains short, usually two or three links, and add a link only after the earlier ones run without effort for a few weeks.
Common errors
Anchoring to an unreliable habit
If the anchor happens only three days out of seven, the new habit also happens three days out of seven at best. Pick the behavior you do almost without exception, such as brushing teeth, rather than one you do when conditions allow.
Anchoring to a habit you want to drop
Stacking something good onto a bad habit can tie the two together. If you want to stop checking your phone in bed, do not anchor a new habit to it. If you succeed in dropping the old habit, the new one loses its cue.
Leaving the action vague
"After I wake up, I will be more mindful" has no observable action. A test: could a friend watching you tell whether you did it? If not, rewrite it. This matters for identity too, because only observable actions count as evidence.
Stacking too many habits on one anchor
Putting five new habits behind "after I wake up" produces an overloaded moment. Give each anchor one new habit. Use different anchors for different habits.
Ignoring the environment
A stack can fail because the next step is hard to start. If your shoes are in a closet upstairs, the stack "After I pour coffee, I put on my running shoes" has friction built in. Pair the stack with an environment change, such as leaving the shoes by the front door the night before.
Treating a miss as proof the identity is false
A stack will sometimes fail. When it does, apply the recovery rule from the template: do the minimum version the next day. One missed vote doesn't cancel the others.
Checking that the stack runs
You can count how often the stack fires, using the same vote logic you use for tracking. The code below reads a log and reports how many days in the last week the stacked habit happened.
from datetime import date, timedelta
log = [
(date(2026, 11, 21), "shoes"),
(date(2026, 11, 23), "shoes"),
(date(2026, 11, 24), "shoes"),
(date(2026, 11, 26), "shoes"),
]
def days_done(log, habit, days, today):
start = today - timedelta(days=days)
return len({d for d, h in log if h == habit and start < d <= today})
today = date(2026, 11, 27)
done = days_done(log, "shoes", 7, today)
print(f"{done} of 7 days")The set removes duplicates, so two entries on the same day count once. If the result is low, look at the anchor first, not at your willpower. Ask whether the anchor happened, whether you noticed it, and whether the next step was easy to start. Fix the part of the stack that failed, then run it again.
A worked example
Goal: build the identity "I am a reader".
- Identity statement. "I am someone who reads every day."
- Minimum version. Read one page.
- Anchor. Search the routine for a reliable moment. "After I get into bed" is a clear moment in a fixed place. "In the evening" is not.
- Stack. "After I get into bed, I read one page."
- Environment. Keep the book on the pillow during the day, so the next step is already set up.
- Recovery rule. If I miss a night, I read one page the next night.
- Review after two weeks. Count the nights. If the count is low, check whether the anchor is reliable. If you often fall asleep before getting into bed properly, move the anchor earlier, for example "After I brush my teeth".
Each step uses an idea from an earlier chapter. The stack is the part that connects the plan to a time of day.
Summary of decisions
- Use an existing behavior as the cue, and pick one that is reliable, specific and short.
- Pair the anchor with the minimum version of the new habit.
- Keep chains to two or three links, and grow them slowly.
- Give each anchor one new habit.
- Make the next step physically easy.
- When the stack fails, diagnose the anchor first.
Exercise
A learner writes this plan for the identity "I am someone who looks after my health": "After work, I will exercise for an hour." After two weeks they have done it on only three days. Name two problems with the anchor or the action, and rewrite the plan as a better stack.
Show answer
The anchor "after work" is a long period with no clear moment, and it varies in location and time. The action "exercise for an hour" is too large for a bad day and is not specific. A better stack: "After I take off my work shoes at the front door, I put on my running shoes and walk to the end of the street." The anchor is a single moment in a fixed place, and the minimum version is small. Leaving the running shoes by the door adds an environment change.
Exercise
You stack three habits on one anchor: "After I wake up, I will meditate, journal and stretch." You complete all three on only one day out of seven. What change would you make first, and why?
Show answer
Give the anchor only one new habit, and make it the minimum version, for example "After I wake up, I will stretch for one minute." An overloaded anchor makes the first skipped step break the others. Once the single stack runs reliably for a few weeks, attach the next habit to a different anchor, or add it to the end of the chain.
Exercise
Using the routine list in the chapter, which anchors would you reject for a new habit of writing one sentence, and which would you keep? Give one reason for each decision.
Show answer
Reject "wake up" if you are groggy and rushed, because the context clashes with writing. Reject "leave for work" because it is a moment of hurry and the habit would compete with getting out the door. Keep "make coffee" or "eat breakfast" because they happen daily in the kitchen, have a clear start and end, and leave a calm moment to open a notebook. Any answer is acceptable if it names reliability, specificity, location or context fit.