Habit stacking: how it works and how to track it
Habit stacking means attaching a new habit to something you already do every day, using a sentence like "After I pour my morning coffee, I will write one line in my journal." The existing routine becomes the reminder, so you rely less on memory and motivation.
Habit stacking is one of the most practical ideas in the habit world, and also one of the most loosely credited. Below I explain where it comes from, with the sources, how to write a good stack, and how I would track one on iPhone.
Where the idea comes from
Three names come up, and each deserves credit for a different part.
- BJ Fogg, who directs the Behavior Design Lab at Stanford University, created the Tiny Habits method. In it you attach a new, very small behavior to a habit you already do, which he calls an anchor. The sequence is anchor, then tiny behavior, then a small celebration, written as a recipe: "After I…, I will…". His book is Tiny Habits: The Small Changes That Change Everything.
- S.J. Scott published a book called Habit Stacking in 2014 (subtitled 97 Small Life Changes That Take Five Minutes or Less, later revised), which helped popularize the term.
- James Clear brought it to a wide audience in Atomic Habits and on his website, with the formula "After [current habit], I will [new habit]." He credits the method to BJ Fogg's Tiny Habits program, notes that Fogg calls it anchoring, and credits S.J. Scott for the phrase "habit stacking".
Underneath all three is older research. Research by the psychologist Peter Gollwitzer showed that plans of the form "if situation Y, then I will do Z", which he called implementation intentions, help people follow through on what they intend; his 1999 paper in American Psychologist summarizes it. Clear describes habit stacking as a special form of implementation intention, where the situation is a habit you already have.
How to build a habit stack
1. Pick a precise anchor
The anchor should be something you do every day without thinking, and it should happen at a clear moment. Tiny Habits material from Fogg makes the point well: "After I finish dinner" is a weak anchor because there is no precise moment when dinner ends, while "After I take my plate into the kitchen" works. Good anchors include:
- After I put my feet on the floor in the morning
- After I pour my first coffee
- After I sit down at my desk
- After I plug in my phone at night
2. Make the new habit tiny
Start with a version you could do on your worst day: one push-up, one line in a journal, open the book. You can always do more, but the stack should never depend on having energy. "After I pour my coffee, I will write one line" survives a bad morning; "I will journal for 20 minutes" often does not.
3. Write the sentence down
Use the exact formula: "After I [anchor], I will [new habit]." Saying where and when out loud is what turns a wish into a plan.
4. Mark it straight away
Fogg's method puts a small celebration right after the behavior, because a good feeling helps the habit stick. A quiet "yes", a smile, or ticking it off counts. That last one is where a tracker earns its place.
5. Add the next link later
Once a stack feels automatic, the new habit can become the anchor for another: coffee, then one journal line, then two minutes of stretching. Add links one at a time, and only when the previous one is steady.
Use your iPhone as the anchor
Some of the best anchors are things your iPhone already notices, and the Shortcuts app can turn them into a prompt with a personal automation. Triggers include your alarm being stopped, your wake-up time, arriving home, CarPlay disconnecting and your phone being connected to a charger. An automation could show a notification such as "Stretch for two minutes" when you stop your morning alarm.
Reminders works too: a repeating reminder at the time your anchor usually happens.
How I would track a stack in Habit Forever
Habit Forever has no special "stack" feature; it does not need one. A stack is a few habits done in order, and the app handles each one well:
- Name the habit with its anchor. "Journal after coffee" puts the whole recipe on your Today screen.
- Put the stack in order. Reorder your habits (in Settings) so they appear in the order you do them.
- Time the reminder to the anchor. Set the habit's reminder for when the anchor usually happens. Reminders only arrive on the habit's days and stay quiet once you have checked in.
- Tick it off as the celebration. A tap on the habit, a widget on the Lock Screen, or "Check in on Habit Forever" to Siri. See how to log habits with Siri and Shortcuts.
- Use a number when the habit grows. Start with a check-off, then switch to a number goal such as at least 2 minutes or 5 pages when the tiny version is easy.
The free version tracks up to three habits, which is a good size for a first stack. Each habit keeps its own streak and day-by-day grid, so you can see which link in the chain is solid and which keeps slipping. To picture a year of a stack, try the habit grid maker.
Common mistakes
- A vague anchor. "In the morning" is not an anchor. "After I switch off the kettle" is.
- An anchor that does not happen every day. If you only go to the office three days a week, "after I sit at my desk" will miss the other days. Use a schedule for those days, or pick a daily anchor. See weekly habit goals.
- Stacking too much at once. Five new habits after coffee is a routine you have to remember, not a stack.
- Quitting after a miss. One missed day does little harm; read what to do when you miss a day.
How long until a stack feels automatic varies a lot from person to person; how long it takes to form a habit covers the research.
FAQ
What is habit stacking?
Habit stacking means attaching a new habit to something you already do every day, using a sentence like "After I pour my morning coffee, I will write one line in my journal."
Who came up with habit stacking?
BJ Fogg created the method of anchoring a tiny new behavior to an existing habit in Tiny Habits, S.J. Scott helped popularize the term with his 2014 book Habit Stacking, and James Clear brought it to a wide audience in Atomic Habits.
What is the habit stacking formula?
James Clear's formula is "After [current habit], I will [new habit]," which follows BJ Fogg's Tiny Habits recipe "After I…, I will…".
Is habit stacking backed by research?
It builds on research into implementation intentions, if-then plans studied by Peter Gollwitzer, which help people follow through on what they intend.
Sources
- Tiny Habits (BJ Fogg): creator of the method, Behavior Design Lab at Stanford
- Tiny Habits: Getting Started (Tiny Habits material by BJ Fogg and Linda Fogg Phillips, adapted by Stanford Medicine's ASCEND project)
- James Clear: Habit Stacking: How to Build New Habits by Taking Advantage of Old Ones
- S.J. Scott, Habit Stacking (2014), Open Library record
- Gollwitzer, P. M. (1999). Implementation intentions: Strong effects of simple plans. American Psychologist, 54(7), 493–503.
- Apple Support: Event triggers in Shortcuts
About Habit Forever
Habit Forever is a habit tracker for iPhone and iPad (iOS 17 or later) by independent developer Mohamed Elatabany. Track check-off or number habits with goals, reminders, notes, streaks and colorful day-by-day grids, plus Home Screen and Lock Screen widgets and Siri Shortcuts. There is no account, and habit data stays on your device. It is free for up to three habits; Habit Forever Pro (yearly, monthly or a one-time lifetime purchase) adds unlimited habits, deeper insights, widgets for every habit and backup export/import. It is rated 4.6★ on the App Store, from 17 ratings worldwide, where it is listed as “Habit Forever: Streak Tracker” (formerly “Habit Streak Tracker: Routines”).
Spotted something out of date or wrong? Tell me and I’ll fix it.