Habit stacking: examples, a simple template, and why it works

A man pouring hot water from a kettle into a pour-over coffee maker in a kitchen

Photo: Oveth Martinez / Unsplash

Habit stacking is linking a new habit to something you already do every day, using the formula "After [current habit], I will [new habit]." For example: "After I pour my morning coffee, I will do two minutes of breathing." The existing habit becomes the cue. Keep the new habit small, in the same place and order every day, and it has a much better chance of sticking.

What habit stacking is

The term is best known from James Clear's writing. He credits the method to BJ Fogg's Tiny Habits program, where it is called "anchoring": you anchor a new behaviour to an existing routine. Clear's template:

Habit stacking formula: after a current habit, I will do a new small habitThe habit stacking formulaAftersomething youalready do dailyI willone small newbehaviourDonesame place,same orderExample: "After I pour my morning coffee, I willdo two minutes of box breathing."
Linking a new habit to an existing one gives it a reliable cue.

Why it works

Habits form when you repeat a behaviour in the same context until it starts on its own. In the best-known habit study, volunteers picked a daily behaviour and a context for it, for example "after breakfast", and repeated it; it took 66 days on average to become automatic, with a wide range. A daily routine you already have is a ready-made context.

Habit stacking examples

After I…I will…
pour my morning coffeedo 2 minutes of box breathing
brush my teeth at nightread 10 pages in bed
put the kettle ondo 10 squats
sit down at my deskdrink a glass of water
take off my work shoeschange into workout clothes
finish lunchwalk for 10 minutes
close my laptop for the daywrite tomorrow's top task
start the showerend with 30 seconds of cold
walk through the doorhang from the bar for 20 seconds
sit down to dinnersay one thing I'm grateful for

The pattern: the anchor happens every day, at a fixed point, and the new habit takes two minutes or less at first.

How to build your own stack

1. List what you already do every day without fail: waking up, coffee, shower, commute, lunch, brushing teeth.

2. Match the habit to the moment. Reading fits bedtime; water fits your desk; a walk fits after a meal.

3. Start tiny. One minute, one page, ten squats. You can grow it once it's automatic.

4. Write the sentence down: "After I ___, I will ___." Be specific about where.

5. Add one stack at a time. Chain a second habit only when the first runs on its own.

Small daily habits side by side in Upcurve, each with a goal you can raise once the habit sticks. (Example data.)Small daily habits side by side in Upcurve, each with a goal you can raise once the habit sticks. (Example data.)
Small daily habits side by side in Upcurve, each with a goal you can raise once the habit sticks. (Example data.)

Quick answers

Who invented habit stacking?

The name is best known from James Clear; he credits the method to BJ Fogg's Tiny Habits, where it's called anchoring.

How many habits can I stack?

Start with one. Long chains break at the weakest link, so add a second only when the first feels automatic.

What if my routine changes, like on weekends?

Choose anchors that happen every day, such as waking up, brushing your teeth or your first drink, not ones tied to work days.

How long until a stacked habit sticks?

Expect around two months for a simple daily habit, sometimes much longer. Missing one day doesn't reset it.

Sources
  1. James Clear: How to build new habits by taking advantage of old ones.
  2. Lally P et al. How are habits formed: modelling habit formation in the real world. European Journal of Social Psychology, 2010.
  3. UCL Centre for Behaviour Change blog: Busting the 21 days habit formation myth.
  4. Singh B et al. Time to form a habit: a systematic review and meta-analysis of health behaviour habit formation and its determinants. Healthcare, 2024.

Checked 23 November 2026.