Nimea / Journal Explore Nimea →
← All articles
Science 5 min read

Habit Stacking: How to Chain New Behaviours to Ones You Already Have

BJ Fogg's Tiny Habits research shows that pairing a new behaviour with an existing anchor is one of the most reliable methods for making something stick. Here's the exact formula.


The problem with willpower-based habit building

Most people try to add a new habit through sheer intention: "Starting Monday, I'll meditate every morning." The habit has no trigger except the intention itself. When Monday morning arrives stressed and rushed, the intention loses to the moment.

BJ Fogg, a behavioral scientist at Stanford who has run the largest study of habit formation ever conducted (40,000+ participants in his Tiny Habits program), identified the core problem: new behaviours need anchors.

The formula

Fogg's habit stacking formula is deliberately simple:

"After I [ANCHOR HABIT], I will [NEW HABIT]."

Examples:

The anchor habit is something you already do consistently, reliably, without thinking. The new habit borrows the automaticity of the anchor. You don't have to remember to do the new thing; you just have to remember that it follows the thing you already always do.

Why anchoring works neurologically

Habits are encoded as sequences in the basal ganglia. When you've been making coffee the same way for three years, the motor and memory systems have that sequence deeply grooved. The moment you smell coffee, the sequence activates.

When you attach a new behaviour to the end of an existing sequence, you're essentially appending to an existing groove rather than carving a new one from scratch. The cognitive cost is dramatically lower.

This is also why the placement matters. "After coffee" is stronger than "during the morning" because it's specific and tied to a sensory cue (the smell, the cup, the act of pouring). Vague time windows ("morning") have no anchor, they're just intentions in disguise.

The tiny part matters too

Fogg's second key insight: the new habit should be small enough to require no motivation. Not "start meditating every morning", "take one deep breath after I pour my coffee."

This isn't laziness. It's architecture. When a behaviour requires no motivation to execute, it actually runs, which means it gets repeated, which means it eventually becomes automatic. A meditation habit that runs every day at 30 seconds will eventually grow to 5 minutes because you're forming the identity of someone who meditates, not just the act.

A 30-minute meditation you do twice a week for two weeks before quitting produces nothing.

Picking the right anchor

Not all anchors are equal. The best anchors are:

Weak anchors: "after I wake up" (too diffuse), "during lunch" (location varies), "when I feel stressed" (irregular, and the emotional state often removes capacity for the new behaviour).

How Nimea implements habit stacking

When you add a habit in Nimea, you can optionally assign an anchor, another habit in your list. The moment you mark the anchor complete, the stacked habit surfaces as the next suggested tap. The app doesn't force it; it just puts it in front of you at exactly the right moment.

Over 30+ days of logged stacks, Nimea shows you the completion rate of habits by whether they're anchored or free-floating. In almost every case, anchored habits outperform unanchored ones. The data makes the case better than any instruction could.

Source: Fogg, B.J. (2019). Tiny Habits: The Small Changes That Change Everything. Houghton Mifflin Harcourt. Fogg Behavior Model: behaviourdesign.org.

habit stackingBJ FoggTiny Habitshabit formation
Nimea newsletter

Science-backed habit tips, ~weekly

A short, research-backed note on building habits that actually stick, about once a week. One email to confirm, unsubscribe anytime in one click.

We email a single confirmation link (CASL double opt-in). No spam, one-click unsubscribe on every email.

Nimea, Coming soon

Put this into practice.

Nimea is built on the same research you just read. Free tier, no card required.

Explore Nimea →