"Habit stacking" means attaching a new habit to one you already do: after I pour my coffee, I write one line in my journal. It is popular advice, and it sounds like a productivity slogan. But underneath it sits a real, well-studied idea in psychology: the implementation intention, or if-then plan. This guide separates the two. You will see what the research actually measured, what it did not, and how to write stacks that work in daily life. I make a habit tracker, so I care about this topic; I will mark the places where I am giving opinion.
What habit stacking is, and where the idea comes from
The phrase "habit stacking" comes from popular self-help writing, not from a research literature. The research behind it is older and more specific. In 1999 the psychologist Peter Gollwitzer published a paper titled "Implementation intentions: strong effects of simple plans" in American Psychologist. An implementation intention is a plan that links a situation to an action, in the form "If situation Y is encountered, then I will do X". It differs from a plain goal ("I want to exercise more") because it names when and where you will act.
A habit stack is an implementation intention where the "if" is something you already do reliably: After I [existing habit], I will [new habit]. That is the practical link: the stack is the everyday version of the lab-tested plan.
What the research found
In 2006 Gollwitzer and Paschal Sheeran published a meta-analysis of the work, in Advances in Experimental Social Psychology. According to the summary hosted by the University of Konstanz, it pooled 94 independent tests and found a medium-to-large positive effect of implementation intentions on goal attainment (d = 0.65). The authors also described how the plans seem to work:
- They help people start pursuing a goal.
- They shield an ongoing effort from distractions.
- They help people disengage from a failing strategy.
- They conserve capacity for later effort.
- They make the specified opportunity easier to notice, and they link the situation to the response so that acting becomes more automatic.
Three honest caveats. First, this is a statement about goal attainment in experiments, not about daily habits specifically; the meta-analysis covers many kinds of goals. Second, an average effect size describes a body of studies, not what will happen to you. Third, a plan is not magic: it makes starting easier, and it does nothing about a habit that is too big or an anchor that does not occur reliably. Treat the finding as a good reason to try if-then plans, not as a guarantee.
How long until a stack becomes automatic
The other study every habit article cites is by Phillippa Lally and colleagues at University College London (European Journal of Social Psychology, 2009). UCL's news item reports that, on average, it took 66 days to reach the plateau of self-reported automaticity, for the participants whose data fitted the researchers' model. It also reports that missing a single opportunity did not significantly affect habit formation, while very inconsistent people did not form habits. There is no promise of three weeks in that item.
Put these together and you get a reasonable expectation. A stack makes the first days easier, because the cue is built in. It does not skip the two months; plan for them. Our guide to building a habit that sticks goes through the full method.
How to write a good habit stack
A stack has three parts: the anchor, the new habit and the place. Here is the template.
After [anchor], I will [tiny habit] in [place].
1. Choose an anchor that is specific and reliable
The anchor should be an action, not a time of day or a mood, and it should happen nearly every day. "After I brush my teeth" works better than "in the morning" or "when I feel calm". A good test is whether you could say yes or no to the question "did that just happen?" If an anchor happens only on workdays, your stack is a workday stack, and that is fine as long as you know it.
2. Keep the new habit small enough to do on your worst day
This is my rule of thumb, not a research claim: the stack should be tiny at first. "After I brush my teeth, I will floss one tooth" is silly and effective, because starting is the hard part. You can do more once it is running. The 66-day figure is about automaticity, so it makes sense to protect the behaviour first and grow it later.
3. Put it in the same place
Gollwitzer's definition includes where. A fixed place gives the habit a physical cue as well: yoga mat next to the bed, book on the coffee table, vitamins beside the kettle.
4. Write it down in one sentence
The research is about explicit plans, and "I'll try to remember" is not one. Write the sentence on paper or in your tracker's notes, and look at it for the first week.
A worked example
Say you want to take a short walk after lunch. "I will walk more" is a goal. "After I put my plate in the dishwasher, I will put on my shoes and walk to the end of the street and back" is a plan: it names the anchor, the action and the place. Notice that the walk is only a few minutes. On a busy day you still do it; on a good day you keep going. The plan decides the start, which is the part that usually fails.
Ten example stacks
- After I pour my morning coffee, I will write one line in my journal.
- After I sit down at my desk, I will write the three tasks for today.
- After I brush my teeth at night, I will put my phone on the charger outside the bedroom.
- After I take off my shoes, I will drink a glass of water.
- After I close my laptop for lunch, I will walk around the block.
- After I get into bed, I will read one page.
- After I start the kettle, I will do ten calf raises.
- After I park the car, I will take three slow breaths before getting out.
- After I finish dinner, I will wash my plate immediately.
- After I open my banking app on payday, I will move a fixed amount into savings.
If-then plans for stopping something
The same structure works in the other direction, as a plan for a trigger you already know. Instead of "I will not scroll in bed", you write: If I am in bed and reach for my phone, then I will pick up my book instead. The "then" is a replacement behaviour, not a ban, because a ban leaves a gap. For habits related to health, such as smoking or drinking, an if-then plan can help you handle triggers, but it is not a treatment; talk to a doctor or a quitline for medical support. Our guide to tracking a quit attempt shows how to record triggers.
Why stacks fail, and how to fix them
- The anchor is not reliable. If you skip breakfast half the time, "after breakfast" fails half the time. Pick another anchor.
- The habit is too big. Shrink it until you could do it while ill.
- The anchor and the new habit do not fit. Doing push-ups right after a sit-down meal rarely works. Place the habit where it makes physical sense.
- You stack too much. Three new habits on one anchor become a routine to resist. One anchor, one habit; chain them only once the first is automatic.
- You forgot you had the plan. Review the sentence weekly, and use a reminder for the first couple of weeks if you need one (our Android reminder guide helps if notifications are unreliable).
Track the stack
A meta-analysis by Benjamin Harkin and colleagues (Psychological Bulletin, 2016) pooled 138 randomised experiments with 19,951 participants. It found that interventions prompting people to monitor goal progress improved goal attainment, with a smaller effect (d = 0.40) than the effect on how often people monitored. The authors report larger effects when progress was physically recorded or made public. That supports a simple practice: record each day that you do the stack. Ticking a box takes five seconds, and the record shows you whether the anchor is the weak link.
In Daymark you can tick the habit from your list, see the year as a grid, and edit a past day if you forgot. That is one option; a paper calendar works too (see our printable habit tracker template). Start at the home page if you want to see the app.
A five-minute setup
- List three things you do every day without fail.
- Pick one as the anchor for your new habit.
- Write: "After [anchor], I will [two-minute version] in [place]."
- Put the sentence where you will see it, and track the first 14 days.
- After two weeks, check how many days you did it. If fewer than most, change the anchor or shrink the habit, not your resolve.
Daymark and this website are not medical or mental-health services. For health-related habits, follow the advice of your doctor.
Frequently asked questions
What is habit stacking?
Habit stacking means attaching a new habit to an existing routine: "After I [existing habit], I will [new habit]". It is a practical version of the if-then plans that psychologists call implementation intentions.
What is an implementation intention?
A plan in the form "If situation Y is encountered, then I will do X", described by Peter Gollwitzer. A 2006 meta-analysis by Gollwitzer and Sheeran pooled 94 independent tests and found a medium-to-large positive effect on goal attainment (d = 0.65).
How long does it take for a stacked habit to become automatic?
In the UCL study by Lally and colleagues (2009), the average was 66 days to reach the plateau of self-reported automaticity, for participants whose data fitted the model. Individual times vary.
Can I stack more than one habit on the same anchor?
You can, but it is usually easier to add one at a time. Chain a second habit once the first is automatic. This is practical advice rather than a research finding.
Sources and further reading
- Gollwitzer & Sheeran (2006). Implementation intentions and goal achievement: a meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69-119 (University of Konstanz repository)
- Gollwitzer (1999). Implementation intentions: strong effects of simple plans. American Psychologist, 54, 493-503 (citation page, University of Konstanz)
- UCL News: How long does it take to form a habit? (Lally et al., 2009)
- Harkin et al. (2016). Does monitoring goal progress promote goal attainment? Psychological Bulletin, 142(2), 198-229 (White Rose repository)

