What is habit stacking? The formula and examples

Habit science Β· 5 min read Β· Updated

Habit stacking means attaching a new habit to something you already do every day, using the formula 'After I [current habit], I will [new habit].' The existing habit becomes the cue, so you don't have to remember. James Clear popularized the term in Atomic Habits, building on BJ Fogg's method of anchoring tiny habits to existing routines.

The formula

Write it as one sentence: 'After I [current habit], I will [new habit].' For example, 'After I start the dishwasher, I will wipe the kitchen counter.' The current habit is the anchor. The new habit is small and specific enough that you could tell afterwards whether you did it.

It works because your existing routines already fire reliably at a predictable moment, so they make better cues than a clock time or a vague intention. Habit stacking is a version of what psychologists call an implementation intention, a plan that names the situation in which you will act. Fogg's Tiny Habits method adds a third step: celebrate right after, with a small gesture or a 'nice', so the new behavior feels good immediately.

How to choose a good anchor

Most stacks that fail have a weak anchor rather than a weak new habit. A good anchor meets four tests.

  • It happens on every day you want the new habit. Your commute is a poor anchor for a seven-day habit.
  • It has a clear end point. 'After I turn off the shower' is precise. 'In the morning' is not.
  • It happens where the new habit can happen. Flossing stacks onto brushing because the floss is already in the bathroom.
  • It matches the energy of the new habit. Stacking a workout onto collapsing on the sofa after work rarely holds.

Habit stacking examples for mornings

Morning anchors are the most reliable because the order of the first hour barely changes.

  • After I turn off my alarm, I will sit up and drink the glass of water on my nightstand.
  • After my feet touch the floor, I will make the bed.
  • After I start the coffee maker, I will do 10 squats while it brews.
  • After I pour my coffee, I will write the one task that matters most today.
  • After I brush my teeth, I will take my vitamins, which sit next to the toothpaste.
  • After I sit down on the train, I will do one five-minute language lesson.

Examples for work and study

Work anchors are tied to the tools you open and close each day.

  • After I open my laptop, I will close every tab I don't need for the first task.
  • After I finish a meeting, I will write down its one next step before opening email.
  • After I eat lunch, I will walk for 10 minutes before going back to my desk.
  • After I sit down to study, I will put my phone in another room.
  • After I finish a study session, I will do five flashcards on what I just learned.
  • After I shut my laptop for the day, I will write tomorrow's top three tasks.

Examples for evenings and home

Evening stacks work best when they lead toward sleep instead of away from it.

  • After I take off my shoes at home, I will put my phone on the charger in the hallway.
  • After I finish dinner, I will put my plate straight into the dishwasher.
  • After I start the dishwasher, I will spend five minutes tidying the living room.
  • After I put the kids to bed, I will read one chapter of a paper book.
  • After I turn off the TV, I will set out clothes for tomorrow.
  • After I plug in my phone at night, I will write one line in my journal.

Examples for health, relationships and learning

Some of the best stacks pair a habit you want with a moment you already spend waiting.

  • After I brush my teeth at night, I will floss.
  • After I fill my water bottle, I will drink a full glass before leaving the kitchen.
  • After I sit down for dinner, I will say one thing that went well today.
  • After I park at work, I will text one friend or family member.
  • After I start my evening tea, I will practice guitar until it is cool enough to drink.
  • After I finish my Sunday grocery run, I will check the week's spending.

Building a longer stack

Once a two-link stack runs without thought, the new habit can become the anchor for the next one: coffee, then priority list, then the first 25 minutes of focused work. Add links one at a time, and only after the previous one has held for a couple of weeks.

Long stacks have one weak spot: the first link. If the morning coffee doesn't happen because you're traveling or slept late, everything after it goes too. Decide in advance what the stack looks like on days the anchor is missing, even if that is just the single most important link.

Tracking a habit stack

Track the new habit, not the anchor. You already do the anchor, which is why you chose it. Give the new habit a schedule that matches the anchor: if the anchor is your commute, set the habit to Monday through Friday so weekends stay blank instead of looking like misses.

Each tracked habit is separate, and the Free plan includes two active habits. For a three-part morning stack you can either track each link with Pro or track the whole thing as one done or not done habit called 'Morning stack' and tell ChatGPT 'Did my morning stack' when it is done.

Track it

Questions

Who invented habit stacking?

The term was popularized by James Clear in Atomic Habits, and Clear credits the method to BJ Fogg, whose Tiny Habits approach anchors a new behavior to an existing routine. The broader idea of tying actions to situations comes from research on implementation intentions.

How many habits can I stack at once?

Start with one new habit on one anchor. Add the next only when the first has run reliably for a couple of weeks. Stacks of three or four small actions are common in morning routines.

What if my anchor doesn't happen some days?

Pick a backup anchor for those days, or schedule the habit only on days the anchor happens. A weekday habit stacked onto your commute is honest; pretending it is daily is not.

Sources

Read next

All guides

Turn it into a habit you can see

Free for up to 2 habits, every feature included. Log by chatting with ChatGPT or on the website.

Start tracking for free