The habit stacking formula

The idea was popularised by James Clear in Atomic Habits, and it has a simple shape:

After (or before) [current habit], I will [new habit].

It works because your current habit is already automatic. You do not need a reminder to make coffee, brush your teeth or unlock your phone. By attaching something new to that moment, you borrow its reliability.

The idea has solid roots. Psychologist Peter Gollwitzer showed that plans in an if-then form ("When situation X arises, I will do Y") help people act on their goals far more reliably than good intentions alone. BJ Fogg, who founded the Behavior Design Lab at Stanford, built his Tiny Habits method on the same principle: anchor a very small behaviour to an existing routine, then celebrate it.

What makes a good anchor

Not every habit makes a good anchor. The best ones share three traits:

  1. They happen every day, without fail. "When I go to the gym" is a poor anchor if you rarely go.
  2. They have a clear moment. "After breakfast" is vague; "after I put my mug in the sink" is precise.
  3. They happen often. A daily anchor gives you one repetition. A frequent one gives you dozens.

That third point is where your phone comes in. Few things you do happen as often, or at such clear moments, as opening a social app. Every tap on the icon is a potential cue. Most people treat that as the problem. Habit stacking turns it into a tool.

15 habit stacking examples

For movement

  1. Before I open Instagram, I will do 10 squats.
  2. Before I open TikTok, I will do a 30-second wall sit.
  3. After I boil the kettle, I will do 20 calf raises while it pours.
  4. After I finish a work call, I will walk 100 steps.
  5. After I sit down on the sofa in the evening, I will do 10 glute bridges before picking up the remote.
  6. After I brush my teeth in the morning, I will do a 20-second plank.

For calm

  1. Before I open the news, I will do one physiological sigh cycle.
  2. When I notice I am about to scroll out of stress, I will do 64 seconds of box breathing.
  3. Before I open YouTube in bed, I will do three rounds of 4-7-8 breathing.
  4. After I send an important email, I will do a 60-second body scan.

For mind and care

  1. Before I open Instagram, I will write one gratitude.
  2. Before I start scrolling, I will name why I am opening the app.
  3. After I sit down at my desk, I will drink a glass of water.
  4. Every time I pick up my phone after 20 minutes of screen work, I will look at something far away for 20 seconds.
  5. After dinner, I will write down three small wins from today.

Notice that most of these use the phone as the anchor. That is deliberate: it is the most frequent anchor available, so it gives the new habit the most repetitions.

Why social apps are the best anchor you have

If you open social apps 30 times a day, habit stacking gives you 30 chances a day to do something small and good. Ten squats per open becomes 300 squats a day; the full math is in our guide to squats to unlock Instagram. One gratitude per open becomes a private journal of good moments by the end of the week.

There is a bonus. The small action often changes whether you still want the feed at all. After 10 squats or a slow breath, the urge is weaker. Sometimes you skip the scroll entirely, which is a win in itself.

How to make it stick

  • Start with one stack. Two new habits at once is a recipe for zero.
  • Make it tiny. If it takes more than 90 seconds, shrink it. The goal is to make it impossible to skip.
  • Make it visible. A counter, a streak, a Bank of everything you did: seeing progress is a reward in itself. BJ Fogg recommends celebrating each repetition, however small.
  • Plan for the misses. Missing once does not break a habit. Just do the next one.
  • Let your phone ask for it. A stack you have to remember is fragile. A stack your phone puts in front of you is sturdy.

That last point is what MiniMove automates. You pick the apps; before each one opens, MiniMove asks for a Move of 90 seconds or less, from 10 squats to a glass of water. The app then opens for the window you chose, and the Move goes into your Bank. For the full library of body snacks, see exercise snacks.

Habit stacking with steps instead

If walking is the habit you want to build, some apps stack steps onto screen time instead: Steppin, for example, trades 100 steps for one minute and is entirely free. We compare the two approaches in MiniMove vs Steppin.

Sources