Practical Guides
Habit Stacking: The Technique Behind Every Routine That Sticks
Willpower fades. Anchoring a new habit to one you already do doesn't. Here's the science of habit stacking — and how to build your first stack today.

Most advice for building a new habit quietly relies on one thing: that you'll remember to do it, and feel like it, every single day. That's the flaw. Motivation rises and falls, and the day you most need a habit is usually the day you least feel like starting it.
Habit stacking sidesteps the problem entirely. Instead of leaning on memory or willpower, you attach the new habit to something you already do without thinking. The old habit becomes the reminder. Here's why it works and how to build your first stack.
What habit stacking actually is
The technique comes from BJ Fogg, the Stanford behaviour scientist who runs the Behavior Design Lab. In his Tiny Habits work he calls it anchoring: you tie a new behaviour to an existing one that's already stable in your life, so the established routine "anchors" the new one in place. James Clear later popularised the same idea as "habit stacking" in Atomic Habits, with a formula that's stuck because it's so simple:
After [current habit], I will [new habit].
For example: After I pour my morning coffee, I will write three lines in my journal. Or: After I take off my work shoes, I will change into my workout clothes.
The reason this is more than a memory trick comes down to how habits are wired. An established routine has strong, well-worn neural pathways. By placing the new behaviour immediately after it, you're using that existing pathway as a built-in cue — so the new habit needs far less conscious effort to trigger. You're not building from nothing; you're borrowing momentum from something already automatic.
Why it beats relying on willpower
Fogg's core finding is blunt: relying on willpower isn't how behaviour change actually works. Motivation naturally comes in waves, and a habit that only happens on high-motivation days isn't a habit — it's a mood.
Stacking works with that reality instead of against it. Because the anchor habit already happens reliably, the new habit gets a reliable trigger whether you're motivated that day or not. This is also why it pairs so well with starting small — the approach behind how to build habits that actually stick. A tiny habit attached to a solid anchor is about the lowest-friction way to start there is.
How to build your first stack
1. Find a rock-solid anchor. Pick something you already do every single day without fail — not something you want to do, something you genuinely already do. Making coffee. Brushing your teeth. Sitting down at your desk. Getting into bed. The more automatic, the better the anchor.
2. Keep the new habit tiny. Stack something small enough that you can't talk yourself out of it. Not "after my coffee I'll do a full workout" — "after my coffee, I'll do five squats." You can grow it later. Right now you're wiring the link, not the volume.
3. Use the formula out loud. Literally state it: "After I [anchor], I will [new habit]." Writing it down or saying it makes the pairing explicit, which is part of why it works — it's a form of what psychologists call an implementation intention, a specific "when-then" plan that reliably outperforms vague goals like "I'll journal more."
4. Let the environment help. Put the journal next to the kettle. Put the vitamins by the coffee. The closer the cue sits to the anchor, the less friction there is. Your surroundings can do some of the remembering for you.
What to stack — a few ideas by area
- Mornings: After I pour my coffee, I'll write three lines in my journal.
- Fitness: After I brush my teeth, I'll do ten squats.
- Mindfulness: After I sit down at my desk, I'll take three slow breaths.
- Hydration: After I finish lunch, I'll drink a glass of water.
- Evening: After I get into bed, I'll note one thing that went well today.
Each of these is small, anchored, and specific — the three things that make a stack hold.
Give it time, and track it
One honest caveat: stacking makes habits easier to start, not instant. Habit formation still takes weeks of repetition — research commonly cites an average of around two months, and it varies a lot by person and habit. The anchor gets you showing up; consistency over time does the wiring.
That's where seeing the habit accumulate helps. When you can watch a stacked habit fill in day after day — the way patterns build on a habit heatmap — the streak itself becomes a second motivator, reinforcing the link your anchor started.
Start with one
Don't stack five new habits onto five anchors today — that's just five new things to forget. Pick one anchor you never miss, attach one tiny habit to it, and run it for a couple of weeks until it feels automatic. Then add the next.
That's the whole technique: stop trying to build habits out of thin air, and start building them on top of the ones you already have.
Ready to put this into practice?
Pick one anchor and one tiny habit, and add it as a spark in HabitSpark AI. Your stack will build right into your heatmap — so you can watch a new routine take hold, one day at a time.
