# Habit stacking: the formula, 36 examples, and the mistakes to avoid

> Habit stacking means attaching a new habit to a routine you already do every day, using the formula “After I [current habit], I will [new habit].” For example: “After I pour my morning coffee, I will stretch for two minutes.” Habit stacking works because habits are cued by context, and if-then plans had a medium-to-large effect on goal attainment (d = 0.65) in a meta-analysis of 94 studies.

Source: https://habitshare.app/guides/habit-stacking/ · Section: Guides · Published 2026-10-02 · Updated 2026-10-02 · By Omar Tamimi (HabitRix)

## Key takeaways

- The habit stacking formula is: “After I [current habit], I will [new habit].”
- Habit stacking is a form of implementation intention; if-then plans had a medium-to-large effect (d = 0.65) across 94 studies (Gollwitzer & Sheeran, 2006).
- Habits are triggered by context cues such as a place, a time or a preceding action (Wood & Neal, 2007), and an existing routine is a reliable cue.
- The best anchor happens every day, at a stable time and place, and ends with a clear moment.
- Start with a new habit that takes two minutes or less, then grow it after the stack feels automatic.

## What is habit stacking?

Habit stacking is a technique where you attach a new habit to a routine you already do every day. The existing routine becomes the trigger for the new habit. Instead of trying to remember a new behavior, you link it to something that already happens on its own.

The formula is one sentence:

> **After I [current habit], I will [new habit].**

For example: "After I start the dishwasher, I will wipe the kitchen counter." The existing habit is called the **anchor**. The new habit is the **stacked habit**.

The term became popular through self-help books, including James Clear's *Atomic Habits* (2018). It builds on BJ Fogg's idea of anchoring a tiny new behavior to an existing one, and on decades of research about if-then plans and context cues.

## Why does habit stacking work?

Habit stacking works because habits are triggered by context, and a specific "when" plan makes people more likely to act. An existing routine is one of the most reliable contexts you have. It happens at about the same time, in the same place, every day.

Two lines of research support the idea:

1. **Habits are cued by context.** In a review in *Psychological Review*, [Wood and Neal (2007)](https://pubmed.ncbi.nlm.nih.gov/17907866/) describe habits as responses that are triggered by context cues, such as a location, a time of day, or a preceding action. Habit stacking uses the preceding action as the cue.
2. **If-then plans work.** An implementation intention is a plan in the form "If situation X happens, then I will do Y." A meta-analysis of 94 studies by [Gollwitzer and Sheeran (2006)](https://doi.org/10.1016/S0065-2601(06)38002-1) found a medium-to-large effect of these plans on goal attainment (d = 0.65). Habit stacking is an implementation intention where the "if" is an existing habit.

Habit researcher Dr Pippa Lally makes the same point in a [University of Surrey interview](https://www.surrey.ac.uk/news/does-it-really-take-66-days-form-habit-we-asked-expert-dr-pippa-lally): a clear plan of when and where you will do something makes you more likely to do it than a vague intention.

Be clear about the limits. The two findings above are well studied. Habit stacking as a named technique has less direct research of its own. It is a practical way to apply those findings, not a separate proven method.

## How do you choose a good anchor habit?

A good anchor habit happens every day, at a stable time and place, and ends with a clear moment. If the anchor is unreliable, the stacked habit is unreliable too.

Check your anchor against these five criteria:

| Criterion | Good anchor | Weak anchor |
|---|---|---|
| Happens every day | Brushing your teeth | Going to the gym |
| Same place | Making coffee in the kitchen | "When I have a break" |
| Clear end moment | Closing the laptop at the end of work | "During the afternoon" |
| Not already overloaded | Hanging up your keys | A rushed school drop-off |
| Fits the new habit | Sitting on the couch, then reading | Getting in the car, then meditating |

To find anchors, list everything you do every day without thinking: wake up, turn off the alarm, use the toilet, brush your teeth, shower, make coffee, eat breakfast, leave home, arrive at work, eat lunch, come home, cook, eat dinner, brush teeth again, go to bed. Each item is a possible anchor.

## 36 habit stacking examples by time of day

The examples below follow the formula "After I [anchor], I will [new habit]." Each new habit is small on purpose. You can make it bigger once the stack feels automatic.

### Morning habit stacks

| After I… | I will… |
|---|---|
| turn off my alarm | sit up and drink the glass of water on my nightstand |
| get out of bed | make the bed |
| use the toilet | do 10 squats |
| brush my teeth | floss one tooth (and usually the rest) |
| start the coffee machine | stretch for two minutes |
| pour my coffee | write my top three tasks for the day |
| sit down for breakfast | take my vitamins |
| finish breakfast | read one page of a book |

### Workday habit stacks

| After I… | I will… |
|---|---|
| sit down at my desk | close all apps except the one I need first |
| open my laptop | review my top three tasks |
| finish a meeting | write one line of notes |
| get up for a coffee | fill my water bottle |
| eat lunch | walk for 10 minutes |
| return from lunch | do the hardest task first |
| close my laptop at the end of work | write tomorrow's first task on a sticky note |
| arrive home | put my phone in the charging spot by the door |

### Evening habit stacks

| After I… | I will… |
|---|---|
| change out of work clothes | put on workout clothes and do a 10-minute workout |
| start cooking dinner | listen to one language lesson |
| finish dinner | wash the dishes right away |
| clear the table | go for a short walk |
| start the dishwasher | wipe the kitchen counter |
| sit on the couch | log today's spending |
| turn on the TV | do one minute of plank |
| finish an episode | stand up and stretch |

### Bedtime habit stacks

| After I… | I will… |
|---|---|
| set my alarm | put my phone outside the bedroom |
| brush my teeth at night | write down three good things from the day |
| put on pajamas | lay out tomorrow's clothes |
| get into bed | read for 10 minutes |
| turn off the light | take five slow breaths |
| take off my watch | check in my habits for the day |

### Weekly habit stacks

| After I… | I will… |
|---|---|
| finish the weekly grocery shop | prep vegetables for three days |
| do the laundry on Sunday | plan the week's workouts |
| get paid | move a fixed amount into savings |
| finish Sunday breakfast | call a family member |
| take out the trash | tidy the car for five minutes |
| finish the weekly team meeting | clear my inbox |

For more habits to stack, see the list of [habit ideas to track](/guides/habit-ideas-to-track/).

## How do you build your first habit stack, step by step?

Build your first habit stack by choosing one new habit, finding one reliable anchor, writing the sentence down, and tracking it every day. Start with one stack, not five.

1. **Pick one new habit.** Choose something you truly want, not something you think you should do.
2. **Make it tiny.** Two minutes or less at the start. "Read one page" beats "read for an hour."
3. **Choose an anchor** from your daily list that matches the time and place of the new habit.
4. **Write the sentence.** "After I pour my coffee, I will write my top three tasks." Put it where you will see it.
5. **Prepare the environment.** Put the notebook next to the coffee machine. Put the book on your pillow.
6. **Track it.** A simple daily check-in makes the stack visible and shows patterns in your misses.
7. **Grow it after it feels automatic.** That can take a while. In [Lally et al. (2010)](https://onlinelibrary.wiley.com/doi/10.1002/ejsp.674), the median time for a daily habit to become automatic was about 66 days, with a range of 18 to 254 days.

## What are the most common habit stacking mistakes?

The most common habit stacking mistakes are choosing an unreliable anchor, starting too big, and stacking too many habits at once. Each mistake has a simple fix.

| Mistake | Why it fails | Fix |
|---|---|---|
| Vague anchor ("in the morning") | There is no clear trigger moment | Name a specific action: "after I pour my coffee" |
| Anchor that does not happen every day | The habit disappears on weekends or trips | Choose a daily anchor, or accept a weekly goal |
| New habit too big | Easy to skip on a busy day | Shrink it to two minutes |
| Too many habits on one anchor | One broken link stops the rest | One new habit per anchor at first |
| Wrong place | The anchor and the new habit happen in different rooms | Match location: kitchen anchor, kitchen habit |
| Overloaded anchor | A rushed moment has no space for more | Choose a calmer anchor |
| No tracking | You cannot see where the stack breaks | Check in daily and review weekly |
| Quitting after one miss | All-or-nothing thinking | Continue the next day; try not to miss twice in a row |

On that last point, Lally et al. (2010) found that missing a single day did not materially affect habit formation. See [how habit streaks work](/guides/habit-streaks/) for what to do after a miss.

## How do you stack habits with a partner?

Stacking habits with a partner means you both attach a habit to a routine you already share, such as dinner or the commute. A shared anchor gives you a shared trigger, and each of you can see when the other follows through.

Partners who change together tend to do better. In a study of about 3,722 couples, [Jackson, Steptoe and Wardle (2015)](https://pubmed.ncbi.nlm.nih.gov/25599511/) found that people were more likely to quit smoking, become physically active or lose weight when their partner made the same change at the same time.

Shared stacks that work well:

- After we finish dinner, we will walk around the block.
- After we clear the table, we will tidy the living room for 10 minutes.
- After we get into bed, we will put our phones on the other side of the room.
- After we sit down for Sunday breakfast, we will plan the week.
- After one of us arrives home, we will both change into workout clothes.

Two rules keep partner stacks healthy. Each person checks in only for themselves. A miss gets a neutral question, not a lecture. For the full approach, see the guide to [tracking habits as a couple](/guides/track-habits-as-a-couple/).

## How to do this in HabitRix

HabitRix (store name "Habit Share: HabitRix", on iPhone and Android) is our habit tracker, and its everyday tools make habit stacking easy. The habit name, the reminder and the widget all work together to keep your anchor and your new habit linked.

1. **Put the stack in the habit name.** For example, "After coffee: top 3 tasks." The name reminds you of the anchor every time you see it.
2. **Set a reminder near the anchor time.** Reminders go off at a chosen time on chosen days, so the cue arrives just when the anchor happens. See [reminders and widgets](/help/reminders-and-widgets/).
3. **Check in from the Home Screen widget** right after the stacked habit, so logging becomes part of the stack. On iPhone you can also use Lock Screen widgets and Shortcuts actions.
4. **Use several check-ins per day for repeated habits**, such as "after each meal, drink a glass of water," with a daily target of three check-ins.
5. **Stack with a partner in a shared room.** A room (called a group on iPhone) holds one shared habit, such as "Walk after dinner." Each partner checks in for today with one tap, and both see each other's activity grid and get a notification when the other checks in.

Start free: up to 3 habits and your first shared room (on iPhone, one group you own and one you join). HabitRix Pro unlocks unlimited habits and rooms, statistics, all widgets, more reminders on Android and backup export. Write your first "After I…, I will…" sentence, add it to HabitRix as a habit name, and let the reminder do the remembering.

## FAQ

### What is an example of habit stacking?

A simple example of habit stacking is “After I pour my morning coffee, I will write down my top three tasks for the day.” Pouring coffee is the existing routine, and it acts as a reliable cue for the new habit. Other examples are flossing after brushing your teeth and doing ten squats after you close your laptop.

### Does habit stacking actually work?

Habit stacking builds on two well-studied ideas. Wood and Neal (2007) describe habits as behaviors triggered by context cues, and Gollwitzer and Sheeran (2006) found that if-then plans had a medium-to-large effect on goal attainment (d = 0.65) across 94 studies. Habit stacking itself is a practical technique and has less direct research than those two findings.

### How many habits can you stack at once?

Start with one new habit per anchor and add a second only after the first feels automatic, often after several weeks. Long stacks fail because one broken link stops every habit after it. Keep each new habit small, ideally two minutes or less at the start.

### What is the difference between habit stacking and an implementation intention?

An implementation intention is an if-then plan that links a situation to an action, such as “If it is 7 am, then I will run.” Habit stacking is a specific kind of implementation intention in which the situation is an existing habit. The formula is “After I [current habit], I will [new habit].”

## Sources

- [Gollwitzer & Sheeran (2006), Implementation intentions and goal achievement: A meta-analysis of effects and processes, Advances in Experimental Social Psychology](https://doi.org/10.1016/S0065-2601(06)38002-1)
- [Wood & Neal (2007), A new look at habits and the habit–goal interface, Psychological Review](https://pubmed.ncbi.nlm.nih.gov/17907866/)
- [Lally et al. (2010), How are habits formed: Modelling habit formation in the real world, European Journal of Social Psychology](https://onlinelibrary.wiley.com/doi/10.1002/ejsp.674)
- [University of Surrey, Does it really take 66 days to form a habit? We asked expert Dr Pippa Lally](https://www.surrey.ac.uk/news/does-it-really-take-66-days-form-habit-we-asked-expert-dr-pippa-lally)
- [Jackson, Steptoe & Wardle (2015), The influence of partner's behavior on health behavior change, JAMA Internal Medicine](https://pubmed.ncbi.nlm.nih.gov/25599511/)

## Related

- [100 habit ideas to track (with a clear “done” rule for each)](https://habitshare.app/guides/habit-ideas-to-track/)
- [How to track habits as a couple without nagging or fights](https://habitshare.app/guides/track-habits-as-a-couple/)
- [How long does it take to form a habit?](https://habitshare.app/guides/how-long-does-it-take-to-form-a-habit/)
- [Habit and accountability glossary](https://habitshare.app/guides/habit-glossary/)
- [Reminders and widgets in HabitRix](https://habitshare.app/help/reminders-and-widgets/)

## About HabitRix

HabitRix ("Habit Share: HabitRix" in the app stores) is a habit tracker for iOS and Android where friends, couples and groups track habits together in shared rooms. Free to download, with optional HabitRix Pro.
iOS: https://apps.apple.com/us/app/habit-share-habitrix/id6745905628 · Android: https://play.google.com/store/apps/details?id=com.itdeveapps.habitrix.tracker
