Short answer

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.

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) 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) 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: 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:

CriterionGood anchorWeak anchor
Happens every dayBrushing your teethGoing to the gym
Same placeMaking coffee in the kitchen”When I have a break”
Clear end momentClosing the laptop at the end of work”During the afternoon”
Not already overloadedHanging up your keysA rushed school drop-off
Fits the new habitSitting on the couch, then readingGetting 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 alarmsit up and drink the glass of water on my nightstand
get out of bedmake the bed
use the toiletdo 10 squats
brush my teethfloss one tooth (and usually the rest)
start the coffee machinestretch for two minutes
pour my coffeewrite my top three tasks for the day
sit down for breakfasttake my vitamins
finish breakfastread one page of a book

Workday habit stacks

After I…I will…
sit down at my deskclose all apps except the one I need first
open my laptopreview my top three tasks
finish a meetingwrite one line of notes
get up for a coffeefill my water bottle
eat lunchwalk for 10 minutes
return from lunchdo the hardest task first
close my laptop at the end of workwrite tomorrow’s first task on a sticky note
arrive homeput my phone in the charging spot by the door

Evening habit stacks

After I…I will…
change out of work clothesput on workout clothes and do a 10-minute workout
start cooking dinnerlisten to one language lesson
finish dinnerwash the dishes right away
clear the tablego for a short walk
start the dishwasherwipe the kitchen counter
sit on the couchlog today’s spending
turn on the TVdo one minute of plank
finish an episodestand up and stretch

Bedtime habit stacks

After I…I will…
set my alarmput my phone outside the bedroom
brush my teeth at nightwrite down three good things from the day
put on pajamaslay out tomorrow’s clothes
get into bedread for 10 minutes
turn off the lighttake five slow breaths
take off my watchcheck in my habits for the day

Weekly habit stacks

After I…I will…
finish the weekly grocery shopprep vegetables for three days
do the laundry on Sundayplan the week’s workouts
get paidmove a fixed amount into savings
finish Sunday breakfastcall a family member
take out the trashtidy the car for five minutes
finish the weekly team meetingclear my inbox

For more habits to stack, see the list of 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), 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.

MistakeWhy it failsFix
Vague anchor (“in the morning”)There is no clear trigger momentName a specific action: “after I pour my coffee”
Anchor that does not happen every dayThe habit disappears on weekends or tripsChoose a daily anchor, or accept a weekly goal
New habit too bigEasy to skip on a busy dayShrink it to two minutes
Too many habits on one anchorOne broken link stops the restOne new habit per anchor at first
Wrong placeThe anchor and the new habit happen in different roomsMatch location: kitchen anchor, kitchen habit
Overloaded anchorA rushed moment has no space for moreChoose a calmer anchor
No trackingYou cannot see where the stack breaksCheck in daily and review weekly
Quitting after one missAll-or-nothing thinkingContinue 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 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) 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.

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.
  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.

Frequently asked questions

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

  1. Gollwitzer & Sheeran (2006), Implementation intentions and goal achievement: A meta-analysis of effects and processes, Advances in Experimental Social Psychology
  2. Wood & Neal (2007), A new look at habits and the habit–goal interface, Psychological Review
  3. Lally et al. (2010), How are habits formed: Modelling habit formation in the real world, European Journal of Social Psychology
  4. University of Surrey, Does it really take 66 days to form a habit? We asked expert Dr Pippa Lally
  5. Jackson, Steptoe & Wardle (2015), The influence of partner's behavior on health behavior change, JAMA Internal Medicine

Try HabitRix free

Track habits with your people — free on iOS and Android.