The habit loop
Repeated behaviour in a stable context becomes automatic and stops needing a decision.
A habit forms when a behaviour is repeated in a consistent context until the context alone triggers it. The popular framing splits this into cue, routine and reward. Once automatic, the behaviour runs with little intention behind it, which is why habits survive changes in what the person says they want.
The habit loop
How it shows up in software
Habit is what separates products people open without thinking from products they have to remember. The lever is context stability: same entry point, same time of day, same first screen. Products break their own habits by redesigning the home screen, moving the entry point, or changing what the first action is.
Using it well
- Keep the entry point and first screen stable, and treat moving them as a cost to be justified.
- Attach the behaviour to an external cue the user already encounters rather than to a notification you control.
- Make the first action after opening identical every time, so the routine has one shape.
- Count how many users act without a prompt, since prompt-driven usage is not yet a habit.
Where it turns manipulative
- Habit formation bypasses deliberate choice by design. Building it into a product whose value does not survive scrutiny means the user keeps using something they would reject if they stopped to think.
- Habit language is routinely used to justify any retention mechanic, including ones that work through anxiety rather than automaticity.
- Deliberately making a habit hard to break, by hiding settings, burying the unsubscribe or adding exit friction, turns automaticity into a lock-in strategy.
Where you have seen it
Wordle
One puzzle per day at a fixed reset time gives every player the same cue and the same bounded routine.
Spotify
Discover Weekly lands on the same weekday, so the check becomes tied to a day rather than to a notification.
What the research says
- Wood and Neal, 2007Well evidenced
Argued from a body of experimental work that habits are direct context-to-response associations, not goal-driven choices that have become fast.
- Lally, van Jaarsveld, Potts and Wardle, 2010Mixed evidence
Tracked people forming a new daily habit and found the median time to reach automaticity was sixty-six days, with a range from eighteen to well over two hundred.
Small sample, self-selected, self-reported automaticity. The much-quoted twenty-one days has no basis at all, and the sixty-six figure is a median from this one study, not a law.
- Duhigg, 2012Contested
Popularised the cue, routine, reward loop as a general model of habit.
A popularisation, not research. The reward element in particular is doing less work than the book implies; context repetition is the better-supported driver.
Grades are a judgement about the evidence, not about how useful the idea is. Plenty of contested effects are still worth knowing, as long as you do not cite them as settled.
