What is habit stacking (and how to do it)
The easiest way to start a new habit is to bolt it onto one you already do — here’s exactly how habit stacking works.
What is habit stacking?
Habit stacking is a simple technique for building a new habit by attaching it to one you already do. Instead of relying on motivation or a phone reminder, you let an existing routine act as the trigger for the new behavior.
The term was popularized by James Clear in Atomic Habits, building on BJ Fogg’s work on anchoring. The insight behind it is really about how your brain works. The habits you already have — brushing your teeth, pouring coffee, sitting down at your desk — are wired deep into your brain as automatic routines. Habit stacking piggybacks on that existing wiring, so the new habit borrows the reliability of the old one.
Rather than pairing a new habit with a vague intention like I’ll meditate more, you pair it with a specific moment that already happens every day. That specificity is what makes it work.
The habit-stacking formula
Habit stacking follows one easy formula:
After I [current habit], I will [new habit].
That’s the whole thing. You identify a behavior you already do reliably, and you bolt the new one directly onto the end of it. A few examples:
- After I pour my morning coffee, I will write down one thing I’m grateful for.
- After I take off my work shoes, I will change into my workout clothes.
- After I sit down for dinner, I will put my phone in another room.
Notice how concrete each cue is. After I pour my coffee is a precise, physical moment — you know exactly when it happens. In the morning is not; it’s a window you can let slip all day. The more specific and consistent the anchor, the more reliably it will trigger your new habit.
How to choose a good anchor
The anchor habit does all the heavy lifting, so choosing the right one matters. A good anchor has three qualities:
- It already happens every day, automatically. Brushing your teeth qualifies. Something you do only sometimes does not.
- It happens at a consistent time and place. Predictability is what makes the cue reliable.
- It has the same frequency as your new habit. If you want to do the new habit once a day, anchor it to something that also happens once a day — not five times.
Match the scale too. You wouldn’t stack a 30-minute run onto flipping on the coffee machine; the sizes are mismatched and the stack will break. Start by listing the things you already do without fail each day — those are your anchor candidates. The best stacks feel obvious in hindsight, because the new habit slots naturally into a gap that was already there.
Habit-stacking examples you can steal
Some of the most effective stacks target the small transitions in your day — the moments between one activity and the next, when you’re already in motion.
- Morning: After I start the coffee maker, I will take three deep breaths. After I sit down at my desk, I will write my top task for the day.
- Health: After I finish lunch, I will fill up my water bottle. After I brush my teeth, I will floss one tooth.
- Evening: After I get into bed, I will read one page. After I close my laptop, I will write tomorrow’s to-do list.
You can even chain several together into a routine — coffee, then vitamins, then a two-minute stretch — where each habit becomes the cue for the next. Just build the chain one link at a time, adding the next stack only once the previous one is automatic.
Common habit-stacking mistakes
Habit stacking is simple, but a few mistakes quietly sabotage it:
- Choosing an unreliable anchor. If the anchor habit itself is inconsistent, the stack has nothing solid to hang on. Anchor to something rock-solid.
- Stacking too many habits at once. A five-habit chain on day one is a wish, not a routine. Add one link at a time.
- Mismatching size. Bolting a big, effortful habit onto a tiny cue rarely holds. Keep the new habit small, at least until it sticks.
- Being vague. After breakfast is fuzzy. After I put my breakfast plate in the sink is a precise, physical trigger.
If a stack keeps failing, the fix is almost always to make the new habit smaller or the anchor more specific — the same principles behind building any habit that sticks.
Close the loop with HabitFlow
Habit stacking gives you the trigger. The last piece is closing the loop — confirming to yourself that you actually did it — because a habit you track is a habit you’re far more likely to keep.
That’s where HabitFlow fits in. Set up your stacked habit from its library of 50+ ready-made habits, then log it in a single tap right after your anchor — after your coffee, your toothbrushing, your commute home. Each tap adds to a visual streak, so the routine you’re stacking gets its own growing record of proof.
The anchor reminds you to do the habit; HabitFlow gives you a reason to keep the chain unbroken. Together they turn after I pour my coffee into a habit that quietly runs itself.
Put this into practice with HabitFlow
HabitFlow brings over 50 ready-made habits and one-tap logging right into your practice — so you can put this into action, not just read about it.