Habit stacking: the formula, why it works and 30 examples
In short
Habit stacking means attaching a new habit to something you already do every day, using the formula "After I [current habit], I will [new habit]." BJ Fogg calls the existing habit an anchor in his Tiny Habits method. It works because it is an if-then plan with a stable cue, a technique with strong research support.
Key takeaways
- The habit stacking formula is: After I [current habit], I will [new habit]. The current habit is your cue.
- BJ Fogg developed the anchor method in Tiny Habits; S.J. Scott's 2014 book Habit Stacking named it, and James Clear's Atomic Habits made the term popular.
- It works because it is an implementation intention (an if-then plan); a meta-analysis of 94 studies found a medium-to-large effect on goal attainment (d = 0.65).
- Pick an anchor that happens at a precise moment every day, and make the new habit tiny, under a minute to start.
- Build one stack at a time and keep it for weeks before adding the next link; habits usually take about two months to feel automatic.
On this page6 sections
What is habit stacking?
Habit stacking means attaching a new habit to something you already do every day. Your old habit becomes the cue for the new one. You don't have to remember. You just finish one thing and start the next.
The formula is one line:
Example: After I pour my morning coffee, I will write my top three tasks for the day.
That's the whole method. The skill is in picking the right current habit and keeping the new one small.
Text version
| Step | What | Detail |
|---|---|---|
| After I… | Pour my morning coffee | An anchor you already do daily, at a precise moment. |
| I will… | Write my top three tasks | The new habit, tiny at first: under a minute to start. |
| Done | Tick it off | A quick 'done' moment closes the loop. |
Who came up with habit stacking?
Three people shaped it, and credit is often mixed up:
- BJ Fogg, who directs the Behavior Design Lab at Stanford, built the method into Tiny Habits. He calls the existing habit an anchor. His recipe format is "After I [existing routine], I will [new tiny behavior]," as set out in this Stanford Tiny Habits handout.
- S.J. Scott used the name in his 2014 book Habit Stacking: 97 Small Life Changes That Take Five Minutes or Less.
- James Clear made the term popular in Atomic Habits. In his habit stacking article he credits Fogg for the method and Scott for the name.
The habit stacking formula, step by step
Here's how to build a stack in five minutes.
- List your anchors. Write down things you do every single day without thinking: wake up, brush teeth, pour coffee, get in the car, sit at your desk, close your laptop, eat dinner, plug in your phone.
- Pick a precise anchor. It needs a clear moment. "After I finish dinner" is fuzzy, because dinner fades out. "After I put my plate in the sink" is precise. Fogg's handout makes this same point.
- Make the new habit tiny. In Tiny Habits, the starting behaviour takes under 30 seconds. One push-up. One line in a journal. Two pages. You can grow it later.
- Match location and frequency. A daily habit needs a daily anchor. A habit you do at your desk needs an anchor at your desk.
- Write it down in the formula. Say it out loud once. Then do it at the next anchor.
Habit stacking template
Copy this and fill it in:
| Anchor (I already do this daily) | New habit (under 1 minute to start) | Where | Grow it to (after 2–3 weeks) |
|---|---|---|---|
| After I … | I will … | … | … |
| After I … | I will … | … | … |
For a printable version with checkboxes for every day, use the habit tracker template.
Why does habit stacking work?
Habit stacking works because it turns a vague goal into an if-then plan with a stable cue. Researchers call that an implementation intention: "If situation X happens, I will do Y." James Clear calls habit stacking a special form of it.
The evidence for if-then plans is strong. A meta-analysis by Peter Gollwitzer and Paschal Sheeran (2006) pooled 94 studies with over 8,000 people. If-then planning had a medium-to-large effect on reaching goals (d = 0.65), as summarised by Gollwitzer and a colleague. The plan decides in advance when you act, so you don't have to rely on remembering or feeling motivated.
See the numbers
| Number | What it means | Note |
|---|---|---|
| 94 | independent studies pooled | |
| 8,000+ | participants | |
| d = 0.65 | effect on goal attainment | medium-to-large |
Habit research points the same way:
- Habits are cue-behaviour links. They form through repeating an action in the same context. A daily anchor gives you that same context every time. In the 2024 review by Singh and colleagues, people who did a behaviour in a stable, consistent context built stronger habits.
- Event cues beat phone reminders. In a 2015 study by Stawarz and colleagues, cues tied to an existing event increased automaticity. Reminders helped people repeat the behaviour but got in the way of it becoming automatic. An anchor is an event cue.
- It fixes the first of the three R's. Harvard Health describes habits as a loop of reminder, routine and reward. Stacking hands you the reminder for free.
One caveat: stacking makes a habit easier to start, not instant. In the studies that timed it, habits took a median of about two months to feel automatic. See how long it takes to form a habit.
30 habit stacking examples for men
These are written in the formula so you can copy them. Each new habit starts small on purpose. Pick one, not five.
Morning stacks
- After I turn off my alarm, I will put both feet on the floor and stand up.
- After I stand up, I will make my bed.
- After I brush my teeth, I will drink a full glass of water.
- After I pour my coffee, I will write my top three tasks for the day.
- After I get dressed, I will do 10 push-ups.
- After I put on my shoes, I will check tomorrow's weather and plan my gear.
Gym and training stacks
- After I get home from school or work, I will change straight into training clothes.
- After I finish dinner, I will pack my gym bag and leave it by the door.
- After I park at the gym, I will write down today's main lift and target.
- After I finish my last set, I will log my weights before I leave the floor.
- After I finish a workout, I will stretch for two minutes.
- After I take off my running shoes, I will refill my water bottle.
Study stacks
- After I sit down at my desk, I will put my phone in another room.
- After I open my laptop, I will write the one thing I must finish this session.
- After I finish a class, I will write three bullet points of what I learned.
- After I finish a 25-minute block, I will stand up and walk for five minutes.
- After I eat lunch, I will review flashcards for five minutes.
- After I close my books for the night, I will set out tomorrow's materials.
Work stacks
- After I sit down at work, I will do my hardest task first, for ten minutes.
- After I end a meeting, I will write the next action and who owns it.
- After I close my laptop for lunch, I will do ten push-ups next to my desk (James Clear's example).
- After I finish my last task of the day, I will write tomorrow's first task.
- After I get in the car to drive home, I will take three slow breaths before starting the engine.
- After I get paid, I will move a set amount into savings.
Evening stacks
- After I walk in the door, I will put my keys, wallet and phone in one spot.
- After I eat dinner, I will wash my plate straight away.
- After I plug my phone in to charge, I will leave it outside the bedroom.
- After I get into bed, I will read two pages of a book.
- After I set my alarm, I will write one thing that went well today.
- After I brush my teeth at night, I will lay out tomorrow's clothes.
Want more small actions to plug into the "new habit" slot? The side quest generator gives you quick real-life ideas.
Chain them into a routine
Once single stacks feel easy, you can link them into a chain: coffee, then top three tasks, then 10 minutes on the hardest task. Clear describes the same idea. Each step cues the next. Build chains one link at a time, not all at once.
Habit stacking mistakes to avoid
Most stacks fail for a handful of reasons:
- A fuzzy anchor. "In the evening" isn't a moment. "After I plug in my phone" is.
- An anchor that isn't daily. If you only go to the gym three days a week, it can't anchor a daily habit.
- A new habit that's too big. "After I wake up, I will run 5 km" fails on the first cold morning. Start with "put on my running shoes."
- Too many new stacks at once. Five new habits in one week means none gets enough repetitions. Add one, then wait.
- Restarting after one miss. In Lally's 2010 study, missing one day did not materially affect habit formation. Just do it at the next anchor.
- Stacking onto a habit you want to quit. "After I open TikTok, I will…" ties your new habit to the old one. Pick a neutral anchor.
- No reward. Habits run on a reminder, routine and reward loop. Give yourself a quick, feel-good "done" moment, like ticking the box, so the loop closes.
How to run your first stack for 21 days
Three weeks is a good test block, not a finish line.
- Week 1: one stack, tiny version, every day. Tick it off.
- Week 2: same anchor. Grow the habit slightly only if it feels easy.
- Week 3: review. Is the anchor reliable? Does the new habit start without thinking?
Then keep it going. Most habits need longer than three weeks to run on autopilot. For a ready-made three-week structure, see how the 21-day plan works.
Questions people ask
What is habit stacking in Atomic Habits?
James Clear, who popularised the term through his book Atomic Habits, presents habit stacking as a way to build a new habit by linking it to a current one, using the formula: After [current habit], I will [new habit]. Clear credits the method to BJ Fogg, who calls the current habit an anchor, and notes the name habit stacking comes from S.J. Scott's book. Clear describes it as a special kind of implementation intention.
What is the habit stacking formula?
After I [current habit], I will [new habit]. For example: After I pour my morning coffee, I will write my top three tasks. The current habit must happen at a precise moment every day, and the new habit should be small enough to do in under a minute at first. You can also use Before I [current habit] when the order makes more sense.
How many new habits can you build at once?
There is no research-backed number. Our advice is one new stack at a time, two at most, until each feels easy. The habit studies we cite show automaticity usually takes around two months, and early repetitions matter most, so spreading attention over many new habits makes each one weaker. Add the next link only when the first runs without reminders.
What are the three R's of habit formation?
The three R's are reminder, routine and reward. Harvard Health describes them as a loop: the reminder triggers the behaviour, the routine is the behaviour itself, and the reward is the benefit you get. Habit stacking works on the first R: your existing habit becomes the reminder, so you don't rely on memory or motivation to start.
What are 10 examples of good habits?
Ten good habits you can stack: making your bed after you get up, drinking water after brushing your teeth, ten push-ups after you close your laptop, writing tomorrow's top task after dinner, stretching after a shower, reading two pages after getting into bed, packing your gym bag after dinner, a two-minute tidy after work, reviewing notes after class, and a gratitude line before sleep.
Is habit stacking good for ADHD?
We didn't find studies testing habit stacking for ADHD specifically, so we can't say it helps. It is a planning technique, not a treatment. The general research on if-then plans and stable cues covers people broadly. If focus or follow-through problems are affecting school, work or daily life, talk to a doctor.
Sources
- Habit Stacking: How to Build New Habits by Taking Advantage of Old OnesJames Clear
- Tiny Habits for Self Compassion: Getting Started (Tiny Habits method by BJ Fogg)Stanford Medicine, ASCEND Project, 2022
- Tiny Habits (BJ Fogg, Stanford Behavior Design Lab)tinyhabits.com
- Habit Stacking: 97 Small Life Changes That Take Five Minutes or Less (S.J. Scott)Goodreads, 2014
- Goal Implementation: The Benefits and Costs of If-Then Planning (Parks-Stamm & Gollwitzer), summarising Gollwitzer & Sheeran's 2006 meta-analysisUniversity of Konstanz repository (The Psychology of Goals, Guilford Press, 2009), 2009
- Beyond self-tracking and reminders: designing smartphone apps that support habit formation (Stawarz, Cox & Blandford)CHI 2015 Proceedings, ACM, 2015
- Time to Form a Habit: A Systematic Review and Meta-Analysis (Singh et al.)Healthcare (MDPI), 2024
- Trade bad habits for good onesHarvard Health Publishing, 2016-11-09