Guide

Habit stacking: how to build new habits on top of old ones

Short answer: Habit stacking means attaching a new habit to one you already do every day, using the formula "After I [current habit], I will [new habit]." It works because your existing routine becomes a reliable cue. Research on similar "if-then" plans, called implementation intentions, shows they substantially improve follow-through.

What is habit stacking?

Habit stacking is a way to remember and repeat a new habit by linking it to something you already do without thinking. Instead of “I’ll meditate more,” you decide exactly when: “After I brush my teeth in the morning, I will meditate for one minute.”

The formula:

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

Why habit stacking works

Habits are behaviors triggered automatically by a context. Your existing routines, like making coffee, sitting down at your desk or brushing your teeth, already happen at about the same time and place every day. Stacking borrows that reliability.

It’s a practical form of what psychologists call implementation intentions: specific “if-then” plans (“If situation X happens, I will do Y”). A meta-analysis of 94 studies found these plans had a medium-to-large positive effect on reaching goals (Gollwitzer & Sheeran, 2006).

Habit stacking examples

Anchor (current habit) New habit
After I turn off my alarm I will drink a glass of water
After I pour my coffee I will write my top task for today
After I sit down at my desk I will close all unused tabs
After I finish lunch I will take a 5-minute walk
After I get home I will put my keys and bag in their place
After I brush my teeth at night I will read one page
After I plug in my phone at night I will write one thing I’m grateful for

How to build your first habit stack

  1. List your daily anchors. Write down 5 things you do every day without fail.
  2. Match the size. Pair a quick anchor with a quick habit. Keep the new habit tiny.
  3. Be specific. “After I pour my coffee” beats “in the morning.”
  4. Track it. Check in right after you do it. In HabiBuddy, that check-in also gives your buddy XP, a small reward right when the habit happens.
  5. Add the next link only when the first one feels automatic.

Common mistakes

  • Anchors that don’t happen every day. “After I go to the gym” fails on rest days.
  • Stacking too much at once. Five new habits after breakfast is a routine overhaul, not a stack.
  • A vague new habit. “Be healthier” can’t be done after anything. “Eat one piece of fruit” can.

Frequently asked questions

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 task for the day."

Who invented habit stacking?

The term was popularized by S.J. Scott and by James Clear in Atomic Habits. It builds on research into implementation intentions by psychologist Peter Gollwitzer.

How many habits can I stack?

Start with one new habit per anchor. Once it feels automatic, you can add another link to the chain.

Keep reading

Guide

Tiny habits: why starting small works (with 30 examples)

Why tiny habits work better than big goals, how to design one in 3 steps, and 30 small habit ideas for health, mind, home and self-care you can start today.

Read
Guide

How long does it take to form a habit? (The 21-day myth)

Does it take 21 days to form a habit? Research says it takes 66 days on average, from 18 to 254. Where the 21-day myth came from and what it means for you.

Read
Guide

How to restart a habit after breaking your streak

Broke your habit streak? Research shows one missed day barely affects habit formation. Here are 5 steps to restart a habit without guilt and keep going.

Read