Big idea, explained · Habits and Self-Discipline
Habit Stacking: The Formula, a Copyable Template and 24 Examples

Habit stacking means building a new habit by attaching it to one you already do every day, using the formula from James Clear's Atomic Habits: "After [CURRENT HABIT], I will [NEW HABIT]." The old habit becomes the reminder, so you never have to remember and never have to decide. Clear's first example is "After I pour my cup of coffee each morning, I will meditate for one minute."
It sits in chapter 5 of the book, "The Best Way to Start a New Habit", as a tool for the first law of behaviour change, make it obvious. The hardest part of a new habit is rarely doing it. It is remembering to do it at the right moment on a tired day, and a stack hands that job to something you already do on autopilot.
The habit stacking formula
The formula in the book is:
The Atomic Habits action sheet on one printable page, plus all 26 other book sheets, habit trackers, a reading log and a goal setting worksheet, right after you sign up. You also get the free 7-Day Habit Reset: one small step a day by email. Unsubscribe any time.
After [CURRENT HABIT], I will [NEW HABIT].
Clear calls it a special form of an implementation intention. A plain implementation intention ties a habit to a clock and a place ("I will [BEHAVIOR] at [TIME] in [LOCATION]"). A habit stack ties it to an event that already happens, which is harder to miss than a time. On his site he also allows "Before [CURRENT HABIT]" and "When [EVENT]" versions, such as "When I see a set of stairs, I will take them instead of using the elevator."
Where habit stacking comes from
The method is BJ Fogg's; the name is S.J. Scott's; the fame is Clear's.
- BJ Fogg, who founded the Behavior Design Lab at Stanford, teaches the same move in his Tiny Habits method as anchoring: an existing routine is the "anchor" that holds a tiny new behaviour in place. His recipe reads "After I [anchor], I will [tiny behaviour]", followed by a small celebration. In the Atomic Habits endnotes Clear writes, "For this idea, I give credit to BJ Fogg."
- S.J. Scott published Habit Stacking: 97 Small Life Changes That Take Five Minutes or Less in 2014. His version is a routine of several short habits done in one block. Clear writes that he is "indebted to S. J. Scott" for the term, adding that Scott's concept is "slightly different".
- James Clear put the formula into Atomic Habits (2018), which is where most people now meet it.
Clear's explanation for why it works is the brain's habit of pruning. He describes a 2007 study of newborn and adult brains that found adults had 41 percent fewer neurons in the region studied: the brain cuts connections you do not use and strengthens the ones you repeat. Your daily routines are already strong pathways, so a new behaviour linked to one borrows a cue that fires every day.
Habit stacking template you can copy
Fill in one row. Use the anchor column for something you do every day without fail, and keep the new habit under two minutes for the first few weeks (the two-minute rule).
| Time of day | After I... (current habit) | I will... (new habit) | Where the sticky note goes |
|---|---|---|---|
| Morning | After I __ | I will __ | |
| Midday | After I __ | I will __ | |
| Evening | After I __ | I will __ |
A filled-in example:
| Time of day | After I... (current habit) | I will... (new habit) | Where the sticky note goes |
|---|---|---|---|
| Morning | After I pour my coffee | I will write my three tasks for the day | On the kettle |
| Midday | After I close my laptop for lunch | I will do ten push-ups next to my desk | On the laptop lid |
| Evening | After I put my plate in the dishwasher | I will wipe down the counter | Inside the dishwasher door |
Plain-text version to paste into notes or a planner:
- After I __, I will __.
- Does the anchor happen every day? Yes / No
- Two-minute version: __
- Start date: __
- Sticky note goes on: __
To check it is working, mark each day on a printable habit tracker or the habit tracker template for Excel and Google Sheets.
How to build a habit stack in five steps
- List what you already do every day. Clear suggests two lists: habits you do without thinking (turn off the alarm, brush teeth, make coffee, sit at the desk, take off shoes, eat dinner, get into bed) and things that happen to you every day (the kids leave for school, the kettle clicks off).
- Pick one new habit and shrink it. One page, one glass of water, one sentence. You can grow it later.
- Match frequency and place. Clear's rule: "Your cue should also have the same frequency as your desired habit." A daily habit needs a daily anchor, in a place where the new habit is possible.
- Make the cue specific. Clear's own stack, "When I take a break for lunch, I will do ten push-ups", failed because "a break for lunch" had no clear moment. "When I close my laptop for lunch, I will do ten push-ups next to my desk" worked. In his words, "Habit stacking works best when the cue is highly specific and immediately actionable."
- Write the sentence down and put it where the anchor happens. For two weeks do the small version and stop. You are training the link, not the habit.
24 habit stacking examples by time of day
The first five are Clear's own examples, quoted from his habit stacking article; the rest follow the same pattern.
From James Clear
- "After I pour my cup of coffee each morning, I will meditate for one minute."
- "After I take off my work shoes, I will immediately change into my workout clothes."
- "After I sit down to dinner, I will say one thing I'm grateful for that happened today."
- "After I get into bed at night, I will give my partner a kiss."
- "After I put on my running shoes, I will text a friend or family member where I am running and how long it will take."
Morning
- After I turn off my alarm, I will drink the glass of water on the bedside table.
- After I brush my teeth, I will take my vitamins.
- After I put the kettle on, I will do ten squats while it boils.
- After I get dressed, I will make the bed.
- After I sit at my desk, I will open the hardest task before I open email.
Work and midday
- After I open my laptop, I will write one sentence naming today's main task.
- After I finish a meeting, I will write down the one action I agreed to.
- After I fill my water bottle, I will stand and stretch for one minute.
- After I shut down my computer, I will write tomorrow's first task on a sticky note.
Evening
- After I finish eating dinner, I will put my plate directly into the dishwasher.
- After I wipe the counter, I will set out my mug for tomorrow morning.
- After I plug in my phone in the kitchen, I will lay out tomorrow's clothes.
- After I brush my teeth at night, I will floss one tooth.
- After I turn off the light, I will name one good thing that happened today.
With children
- After I drop the kids at school, I will walk for ten minutes before I drive home.
- After I put the baby down for a nap, I will do the two-minute version of my own habit first.
- After I strap the kids into the car, I will put my phone in the glovebox.
- After I read the bedtime story, I will read one page of my own book.
- After the kids are asleep, I will put tomorrow's bags by the door.
For more habits worth stacking, see our 100 habit tracker ideas.
Habit stacking chains: turning stacks into a routine
Once one stack holds, each new habit can become the cue for the next. Clear's morning chain from his site:
- "After I pour my morning cup of coffee, I will meditate for sixty seconds."
- "After I meditate for sixty seconds, I will write my to-do list for the day."
- "After I write my to-do list for the day, I will immediately begin my first task."
Long chains are brittle. If one link breaks (the baby wakes, the phone rings), every link after it goes too. Add a link only when the one before it runs without the sticky note, and keep each link small. Three solid links beat eight wobbly ones.
Common habit stacking mistakes
| Mistake | Example | Fix |
|---|---|---|
| Vague cue | "After I wake up" | A physical action with a clear end: "After I turn off my alarm" |
| Wrong frequency | Daily habit stacked on Sunday lunch | Daily habit, daily anchor |
| Anchor fires too often | "After I check my phone" | Pick an anchor that happens once or twice a day |
| Wrong place | "After lunch I will meditate" when you eat at a busy desk | Choose an anchor where the habit is possible |
| Unstable anchor | "After my run", when you run three days a week | Anchor to things you do even when ill or on holiday |
| Too much at once | Five new stacks on one Monday | One stack at a time |
| New habit too big | "After coffee, I will write 1,000 words" | Shrink it to two minutes, then grow it |
| Clock-based anchor for a chaotic day | "At 6 a.m." with a toddler | Anchor to events that always happen: school drop, nap time, bedtime story |
When a stack breaks, use the rule from the same book: never miss twice. Do the two-minute version the next day rather than waiting for Monday.
Habit stacking vs the two-minute rule vs implementation intentions
| Habit stacking | Two-minute rule | Implementation intentions | |
|---|---|---|---|
| What it fixes | Forgetting to do it | The habit being too big to start | No plan for when or where |
| Formula | "After [CURRENT HABIT], I will [NEW HABIT]." | "When you start a new habit, it should take less than two minutes to do." | "I will [BEHAVIOR] at [TIME] in [LOCATION]." |
| Origin | BJ Fogg's anchoring; term from S.J. Scott (2014); popularised by James Clear | James Clear, Atomic Habits | Psychologist Peter Gollwitzer, 1990s |
| Weak spot | Needs a stable anchor | Can stay tiny forever | Clock cues break on bad days |
Most people combine all three: shrink the habit to two minutes and stack it onto something you already do. The Atomic Habits summary shows where stacking fits among the four laws, and our best self-improvement books list covers Tiny Habits and other books on the method.
Read next
Affiliate links: we may earn a small commission at no extra cost to you. It never changes the verdict.
Questions people ask
What is habit stacking?
A way to build a new habit by attaching it to one you already do every day, so the existing habit acts as the cue. For example: "After I brush my teeth, I will take my vitamins." James Clear describes it in chapter 5 of Atomic Habits as a tool for making a habit obvious.
What is the habit stacking formula?
"After [CURRENT HABIT], I will [NEW HABIT]." Fill the first blank with something you do daily without thinking and the second with a small, specific action that takes under two minutes. Write it down and put it where the first habit happens.
Is there an Atomic Habits habit stacking template?
The book gives the formula rather than a printed form. A simple template is three columns: "After I..." (an anchor you do daily), "I will..." (the new habit, two minutes or less) and where the reminder goes. The official Atomic Habits Workbook (2025) turns the book's exercises into fill-in pages, and the table on this page can be copied as it is.
Who invented habit stacking?
The method comes from BJ Fogg of Stanford, who calls it anchoring in his Tiny Habits work. The term "habit stacking" comes from S.J. Scott's 2014 book of that name. James Clear credits both in Atomic Habits (2018), which made the idea widely known.
Does habit stacking work?
For small daily habits with a stable anchor, yes. The research behind it is on implementation intentions, or "if-then" plans: a 2006 meta-analysis by Peter Gollwitzer and Paschal Sheeran found they had a medium-to-large effect on reaching goals. It works less well for big, effortful habits tied to routines that do not happen every day.
How many habits can you stack?
Start with one. Add a second when the first happens without a reminder, often a few weeks later. Chains of three to five small habits can work, but one broken link takes down everything after it, so keep each link short.