Habit Stacking: How to Build a Routine That Sticks

The formula is one line long. Getting the anchor, the size and the order right is what turns a few small habits into a routine you keep.

Otto stacks smooth stones into a small tower on a cliff ledge, with an old aqueduct and a waterfall glowing in golden light behind him.
One small habit on top of the next.

Key takeaways

  • Habit stacking uses one line: after I [current habit], I will [new habit].
  • It works because if-then plans and repetition in a consistent context are among the best-supported ideas in behavior science.
  • Pick anchors that happen daily and have a clear end, and keep each new habit under two minutes to start.
  • Add one link at a time; a routine of three to six small habits is plenty for most people.
  • When a link keeps failing, shrink it or move it to a better anchor instead of quitting the stack.

Habit stacking means attaching a new habit to one you already do every day, using a simple formula: "After I [current habit], I will [new habit]." The habit you already have becomes the cue, so the new one no longer depends on memory or motivation. Stack a few small habits this way and you have a routine: a short chain where finishing one step is the trigger for the next.

It sounds almost too simple. But it rests on some of the best-supported ideas in behavior science, and most people who try it get one or two details wrong. This guide covers the formula, why it works, 15 examples and how to build your first stack this week.

Habit stacking at a glance

The four parts of a habit stack, with an example
PartWhat it meansExample
AnchorA habit you already do daily, with a clear endAfter I switch on the kettle
New habitA small action that takes two minutes or less to startI drink a glass of water
PlaceWhere it happens, so the context stays the sameat the kitchen counter
Next linkThe new habit becomes the anchor for the one after itThen I make my bed

What is habit stacking?

Definition

Habit stacking
Attaching a new habit to one you already do every day, using a simple formula: "After I [current habit], I will [new habit]." The habit you already have becomes the cue.

The term was popularized by James Clear's book Atomic Habits, building on BJ Fogg's Tiny Habits method, which uses an existing routine as the "anchor" for a new behavior. Underneath both sits older research by the psychologist Peter Gollwitzer on what he called implementation intentions: plans that spell out exactly when and where you'll act, in the form "if situation X arises, then I will do Y."

Habit stacking is an if-then plan where the "if" is something you already do without thinking. "After I pour my coffee" is a better trigger than "at 7:15" or "in the morning," because it happens every day, at the right moment, whether or not you remember your plan.

Why habit stacking works

Three lines of research explain it.

If-then plans beat good intentions

Deciding in advance when and where you'll act makes you more likely to notice the moment and act on it, instead of deciding all over again each day.

Habits grow from repetition in the same context

As Benjamin Gardner, Phillippa Lally and Jane Wardle explain in a 2012 paper in the British Journal of General Practice, repeating an action in a consistent context gradually builds an automatic link, until the context alone prompts the behavior. An anchor habit hands you that consistent context for free: same time, same place, same action right before.

The anchor helps, the repetition does the work

A 2021 randomized trial by Keller and colleagues compared people who tied a new nutrition habit to an existing routine with people who tied it to a clock time. Both groups built habit strength, and neither cue type clearly beat the other. The strongest predictor was how often people actually did the behavior when the cue came up. That's the real case for habit stacking: a good anchor makes daily repetition easy, and daily repetition is what builds the habit.

The habit stacking formula, step by step

  1. Pick an anchor that happens every day

    Good anchors are frequent, reliable and have a clear end point: turning off the alarm, finishing breakfast, sitting down at your desk, closing the laptop, brushing your teeth. Weak anchors are vague ("in the morning") or irregular ("after the gym," if you go twice a week).

  2. Make the new habit tiny

    Two minutes or less to start. One page, five squats, one line in your journal, three slow breaths. Tiny habits survive bad days, and a habit that survives bad days gets the repetitions it needs.

  3. Match the habit to the anchor's time and place

    Stack where the new habit can physically happen. Flossing fits after brushing because you're already at the sink. Stretching fits after getting out of bed, not after you've sat down at your desk. If the habit needs an object, put it at the anchor: the book on the kitchen table, the mat by the bed.

  4. Once a habit feels automatic, it can become an anchor itself. "After I drink my water, I make my bed. After I make my bed, I open the curtains." That chain is a routine, and it runs in the same order every time.

Greatr's chat with Otto on an iPhone, where Otto suggests doing a new reading habit right after brushing your teeth.
Ask Otto why a habit keeps slipping, and he helps you find an anchor for it.

15 habit stacking examples

Morning

  • After I turn off my alarm, I sit up and put both feet on the floor.
  • After I switch on the kettle, I drink a glass of water.
  • After I pour my coffee, I read two pages.
  • After I get dressed, I make my bed.
  • After I sit down at my desk, I name the one task that matters most today.

During the day

  • After I finish lunch, I walk for ten minutes.
  • After I end a video call, I stand up and stretch.
  • After I close my laptop, I tidy my desk for two minutes.
  • After I get home, I change into workout clothes.
  • After I park the car, I take three slow breaths before going inside.

Evening

  • After I load the dishwasher, I lay out tomorrow's clothes.
  • After I brush my teeth, I floss one tooth.
  • After I plug in my phone outside the bedroom, I pick up my book.
  • After I get into bed, I journal for two minutes about the day.
  • After I turn off the light, I name one thing that went well.

How many habits can you stack?

A morning or evening routine of three to six small habits is plenty for most people, and the whole chain can still fit in 10 to 20 minutes. Start with one new habit on one anchor. When it passes a simple test (would it feel strange to skip?), add the next.

The limit isn't the number of habits; it's the weakest link. Every step must be small enough to do on your worst day. If one habit keeps breaking the chain, shrink it or move it to a different anchor. And don't expect a full stack to feel effortless within a few weeks: research suggests a new habit takes around two months on average to become automatic, with a wide range between people.

Worked example: Theo's evening stack

Worked example

Theo, a fictional example, ends most nights scrolling in bed and starts most mornings tired. He wants an evening routine that ends with sleep instead of a screen. Here's how he builds it:

  1. Week 1After he loads the dishwasher, he lays out tomorrow's clothes. One habit, one anchor.
  2. Week 2After laying out his clothes, he plugs his phone in to charge in the kitchen. This is the link that protects everything after it.
  3. Week 3After brushing his teeth, he reads five pages in bed.
  4. Week 5After reading, he journals for two minutes about the day, then turns off the light.

Theo adds a link only when the previous one runs without effort. Week 4 is empty on purpose: the phone step was the hardest, so he gave it extra time. Five weeks in, he has a four-step evening routine that takes about 15 minutes, and his phone isn't in the bedroom for any of it.

Greatr is built for exactly this. On the Routines tab, you stack small habits into a morning or evening routine that starts at a set time, in the order you do them. The social apps you choose stay locked until your habits are done, so a feed can't cut into the middle of your chain. And when a habit keeps slipping, you can ask Otto, the app's guide. Asked about a forgotten reading habit, Otto answers: "Forgetting is very normal, because nothing in your day reminds you of a new habit yet. Do your reading right after something you already do every day, like after you brush your teeth."

What to do when your stack breaks

  • The anchor didn't happen. Travel, a sick day or a weekend can remove your anchor. Choose a backup in advance, like "after I wake up, wherever I am."
  • You skipped one link. Do the next one anyway. A routine with one missing step still keeps the chain alive.
  • You skipped everything. Do the smallest step once, at any time, and pick up again at the next anchor. One missed day is a pause, not a reset.
  • The same link keeps failing. It's too big or in the wrong place. Shrink it or move it to an anchor that fits better.

Habit stacking mistakes to avoid

  • Vague anchors. "In the morning" is a time window, not a cue. "After I pour my coffee" is a cue.
  • Anchors that don't happen daily. Stack daily habits on daily anchors.
  • Stacking everything at once. Five new habits on day one usually means none of them stick. Add one link at a time.
  • The phone in the middle of the stack. "After I check my messages, I'll meditate" rarely survives a busy group chat. Keep feeds out of your routines, or lock distracting apps until your habits are done.
  • Mismatched energy. A demanding habit right after a draining anchor, like a hard workout straight after a long commute, is a stack built to fail. Put demanding habits where your energy is.

Ready to put it together? Turn these stacks into a 10, 20 or 45-minute morning routine, or start with the evening and protect your sleep first.

Frequently asked questions

What is the habit stacking formula?

After I [current habit], I will [new habit]. Pick an existing daily habit with a clear end point as the anchor, attach one small new habit to it, and do the new habit in the same place each time. Once the new habit feels automatic, it can become the anchor for the next one in your routine.

Does habit stacking actually work?

It builds on implementation intentions, the if-then plans that a 2006 meta-analysis of 94 tests linked to a medium-to-large improvement in reaching goals. Habit research also shows that repeating a behavior in a consistent context builds automaticity. The anchor matters because it makes daily repetition easy, and the repetition is what forms the habit.

How many habits should I stack at once?

Start with one new habit on one anchor, and add the next only when the first feels automatic. Most people do well with a routine of three to six small habits. The real limit is the weakest link: every step in the stack should be small enough to do on your worst day.

What are good anchor habits?

Actions you already do every day, at a consistent time and place, with a clear end: turning off your alarm, pouring coffee, sitting down at your desk, finishing lunch, brushing your teeth or getting into bed. Avoid vague time windows like "in the morning" and anything you only do on some days.

What is the difference between habit stacking and a routine?

Habit stacking is the method and a routine is the result. Each habit you attach becomes the cue for the next, so a few stacked habits form a chain you run in the same order every day, like a morning routine of water, making your bed, stretching and reading.

Sources

  1. Implementation Intentions and Goal Achievement: A Meta-analysis of Effects and ProcessesPeter Gollwitzer and Paschal Sheeran, Advances in Experimental Social Psychology, 2006
  2. Making health habitual: the psychology of 'habit-formation' and general practiceBenjamin Gardner, Phillippa Lally and Jane Wardle, British Journal of General Practice, 2012
  3. Habit formation following routine-based versus time-based cue planning: A randomized controlled trialJan Keller and colleagues, British Journal of Health Psychology, 2021

About this article

Jip Groen, co-founder of Greatr

Co-founder of Greatr

Jip Groen is a co-founder of Greatr who writes about routines, mornings and screen time: reading the research carefully, trying it on real mornings and turning it into one step you can take tomorrow.

Read full bio

How we wrote this

Jip Groen wrote this guide from the studies and sources listed above, linked so you can check them. Greatr is our own app: we mention it where it fits, and it never decides what a study says. First published Aug 27, 2026. Last updated Oct 30, 2026. Read our editorial policy.

Hi, I’m Otto. I’ll help you transform your life in the next 66 days.

Download on theApp Store

Rated 4.87/5 from 68 App Store ratings