Sub topic 9
Designing your environment for repetition
This chapter assumes you know the basic cue-response model from earlier chapters. A stable context triggers an action, repetition strengthens that link, and the strength curve levels off over time. It also helps to have read the section on implementation intentions. Python snippets are optional, but you can run them.
The main idea is that repetition is the input to habit formation. You can't decide to repeat something 60 times, but you can arrange your surroundings so that each repetition is more likely to happen. This chapter covers how to do that and where it goes wrong.
What "environment" means here
In habit research, context is more than a room. It includes any feature that reliably accompanies the action:
- Physical setting: the place, the objects in view, the lighting, the noise.
- Time: a clock time or a point in a daily sequence.
- Preceding action: what you just finished doing.
- Other people: who is present or absent.
- Internal state: hunger, tiredness, mood. These are less controllable, but they still act as cues.
A habit links to whichever of these features are stable across repetitions. If the action happens in a different place each day, with different people and at a different time, no single feature predicts it. The link then has little to attach to. So the first design goal is stability: the same cues, present each time.
The second goal is ease: lowering the effort needed to start the action once the cue appears. The third is separation: removing competing cues that pull you toward a different response.
The loop at the bottom is the reason design matters early. Early on, habit strength is low, so the environment must do most of the work. As strength rises, the learned link takes over part of the job.
Making the cue stable and noticeable
Anchor to something that already happens
A new action is easier to attach to an existing routine than to a clock time you might miss. The existing routine becomes the cue. This is the same structure as the if-then plan from the previous chapter:
When I [specific cue: finish brushing my teeth in the evening],
I will [specific action: do two minutes of stretching]
in [specific place: the bathroom doorway].Good anchors have four properties:
- They happen daily, or as often as you want the new action to happen.
- They happen in one place.
- They have a clear end point, so you can tell when the cue has fired.
- They are not themselves rushed or skipped when you are busy.
"After my morning coffee" is a good anchor if you always drink it at the same table. It is a poor one if you sometimes drink it on a commute and sometimes skip it.
Make the cue visible
A cue that you don't perceive can't trigger anything. Visible objects work as cues, so put the objects the action needs where you will see them at the moment of the cue:
- Leave running shoes by the door instead of in a cupboard.
- Put the guitar on a stand in the room where you sit, not in its case under the bed.
- Keep the water bottle on the desk, not in the kitchen.
Visibility has a cost. An object in view is a cue for whatever you have linked to it. A phone on the desk is a strong cue for checking the phone. So visibility is useful for target actions and harmful for competing ones.
Reducing friction
Friction is any effort, delay or decision between the cue and the action. Each extra step is a point where the cue can fail, because you can get distracted, decide "not now," or run out of motivation. Reducing friction has two parts.
Shorten the path
List the steps between the cue and the first meaningful moment of the action. Then remove or pre-complete as many as you can.
| Target action | Friction in the original setup | Redesign |
|---|---|---|
| Evening stretching | Find a mat, clear floor space, choose a routine | Mat stays unrolled in the bedroom, one fixed routine |
| Taking a daily medicine | Walk to the kitchen, find the box, find water | Pill organiser next to the toothbrush |
| Writing for 10 minutes | Open the laptop, find the file, decide what to write | Document already open, last sentence left unfinished |
| Packing a lunch | Decide what to make, shop, prepare | Fixed lunch, ingredients bought in bulk, container ready |
Notice that several redesigns remove a decision, not just physical effort. A decision means deliberate goal-directed control is needed, which is the mode a habit is meant to bypass. A fixed routine or a fixed object turns "what shall I do?" into "do the usual thing."
Make the first step small
The first step is the part that must happen in the cue's presence. If the first step is small, you can complete it even on a bad day, and each completion counts as a repetition in context. Putting on your shoes counts as a repetition of the cue-response link. A run you skipped does not.
This does not mean the action must stay small forever. It means the start should be low-cost. You can let the duration grow once the start is reliable.
Removing competing cues
An unwanted response and a target response often compete for the same cue. Two moves help:
- Take away the cue for the competitor. Move the snack bowl off the desk. Log out of the app after use. Put the phone in another room during the target action.
- Add friction to the competitor. If you can't remove it, make it slower to start. A password you must type, or a cupboard you must open, adds a pause where goal-directed control can step in.
This is the mirror image of reducing friction on the target. You are changing which response is easiest at the cue.
A model of the effect
The simulation below extends the strength-update model from earlier. The chance of acting on a given day depends on whether the cue is visible and how much effort the action takes. Strength then adds to that chance. All numbers are made up for illustration, and the model is a simplification. It is not a measurement of real habit formation.
import random
def simulate(days, cue_visible, effort, rate=0.05, seed=1):
"""Return (repetitions, final strength) for one environment design.
cue_visible: True if the cue reliably gets noticed.
effort: 0 (effortless) to 1 (very hard) to start the action.
"""
rng = random.Random(seed)
strength = 0.0
repetitions = 0
for _ in range(days):
p_notice = 0.9 if cue_visible else 0.4
base = p_notice * (1 - effort)
# Learned strength adds to the chance of acting.
p_act = base + strength * (1 - base)
if rng.random() < p_act:
repetitions += 1
strength += rate * (1 - strength)
return repetitions, strength
designs = {
"hidden cue, high effort": (False, 0.7),
"visible cue, high effort": (True, 0.7),
"hidden cue, low effort": (False, 0.2),
"visible cue, low effort": (True, 0.2),
}
for name, (visible, effort) in designs.items():
reps, strength = simulate(60, visible, effort)
print(f"{name:26s} reps={reps:2d} strength={strength:.2f}")Run it and compare the four lines. The low-effort, visible-cue design should collect the most repetitions and end with the highest strength. The high-effort, hidden-cue design should collect the fewest. Change seed to see how much chance affects each run.
The model also shows a compounding effect. A design with a low starting chance gets few repetitions early, so strength stays low, so the chance stays low. A good design breaks that trap early.
Common errors
Designing for motivation instead of context
A plan that works only when you feel energetic fails on the days you don't. If the plan needs willpower at the cue, the design hasn't yet taken over from motivation. Ask what will happen on your worst day, and design for that.
Changing the setup too often
Rearranging the room, switching anchors or swapping routines resets the context. Each change means the new cue has fewer repetitions behind it. Keep the arrangement stable long enough for the link to form, and change one thing at a time when you must.
Choosing an unstable anchor
An anchor that happens at varying times or places gives the habit nothing steady to attach to. If you notice you are skipping the anchor, pick a different one.
Relying on reminders alone
A phone alarm is a cue, but it is a weak one if it rings in a different place each day, and people learn to dismiss alarms. Alarms are useful at the start. Pair them with a fixed place and an anchor, and expect the alarm to become unnecessary.
Ignoring travel and disruption
A change of setting removes your cues. Holidays, moves and new jobs can all make a habit lapse because the context that triggered it is gone. The next chapter covers this. For now, plan the target action's cues for the new setting in advance, instead of expecting the habit to carry over.
A short design checklist
- Name the anchor: one stable routine in one place.
- Place the objects for the target action where the anchor happens.
- Pre-complete setup steps so the first step takes under a minute.
- Remove or slow down one competing cue.
- Keep the arrangement unchanged for several weeks.
- Check on a bad day: could you still do the first step?
Exercise
You want to build a habit of doing ten minutes of language practice each day. Currently the app is on your phone, you plan to "do it sometime in the evening," and your phone is usually next to a streaming app that you open first. Give three design changes, one each for stability, friction and competing cues, and say what each fixes.
Show answer
Stability: pick a fixed anchor, such as "right after I finish dinner, at the kitchen table," so a specific routine and place act as the cue instead of "sometime in the evening." Friction: leave the app open on a tablet or the lesson set up on the table, so the first step is sitting down and tapping, with no searching or choosing a lesson. Competing cues: move the streaming app off the home screen or log out of it, and keep the phone out of reach during practice, so the cue for the competing response is weaker or slower. Together these make the cue consistent, the start cheap and the rival response harder.
Exercise
In the simulation, why does the "visible cue, low effort" design gain strength faster than the other designs, even though the strength update rule is the same for all of them?
Show answer
The update rule only applies on days when the action is performed. The visible, low-effort design has a higher chance of acting each day, so it gets more repetitions, and each repetition adds to strength. Higher strength then raises the chance of acting further. The designs differ in how often the update happens, not in how it works.