Updated November 14, 2026
New habits fail most often for a dull reason: you forget. Not because you’re lazy, but because the new behaviour has no trigger in your day. Habit stacking solves that by attaching a new habit to one you already do automatically.
The term was popularised by S.J. Scott and later by James Clear in Atomic Habits, building on research about implementation intentions. This guide explains how it works, gives examples for work and life, and covers what research says about how long habits take.

Key takeaways
- Habit stacking links a new habit to one you already do every day.
- Use the formula: after I do X, I will do Y.
- Research found new habits took 66 days on average, with a range of 18 to 254 days.
- Start tiny and add one new habit at a time.
The habit stacking formula
The formula is simple:
After I [current habit], I will [new habit].
Examples:
- After I pour my morning coffee, I will write my top three tasks for the day.
- After I close my laptop at night, I will set out tomorrow’s first task on a sticky note.
- After I sit down at my desk, I will open the document I’m working on before I open email.
- After I finish lunch, I will walk for ten minutes.
Psychologists call this kind of plan an implementation intention: “in situation X, I will do behaviour Y”. Phillippa Lally, whose research on habit formation is widely cited, recommends this exact format because a clear cue is what makes a behaviour automatic.
How long does a stacked habit take to stick?
Forget the 21-day myth. In a University College London study published in 2009, Lally and colleagues tracked 96 people forming new daily habits. On average it took 66 days for a behaviour to feel automatic, with a range from 18 to 254 days. Missing a single day didn’t significantly derail the process, but being very inconsistent did.
So expect a couple of months, and don’t panic if you skip a day.
How to build a habit stack that lasts
- Pick an anchor habit you already do every day without fail, at a consistent time and place.
- Choose a new habit small enough to do in under two minutes at first.
- Write the stack down using the formula and put it where you’ll see it.
- Track it with a simple tick on a calendar or app.
- Once it’s automatic, grow the habit or add another link to the stack.
Habit stacking ideas for work
| Anchor | New habit |
|---|---|
| Opening your laptop | Open your most important task before email |
| Ending a meeting | Write action items in your task list |
| Friday lunch | Do your weekly review |
| Starting your commute home | Note one win from the day |
| Brushing your teeth at night | Plan tomorrow’s first task |
Common mistakes
Stacking onto an inconsistent anchor, starting too big, and adding five new habits at once. Build one stack at a time. If a habit keeps failing, make it smaller rather than trying harder.
Habit stacking pairs naturally with a productive morning routine and the two-minute rule. For a broader view of habits and planning, see our post on AI-powered habit formation and our guide to productivity systems.

Quick FAQ
What is an example of habit stacking?
“After I pour my morning coffee, I will write my top three tasks for the day.”
How long does it take to form a habit?
A UCL study found an average of 66 days, with a wide range from 18 to 254 days depending on the person and habit.
Can I stack several habits together?
Yes, but add one at a time and only once the previous one feels automatic.
