Habit science
The Habit Loop: How Cue, Routine and Reward Really Work
The habit loop explained: what cue, routine and reward mean, what the research says the model misses, and how to use it to build or break a habit.
The habit loop is a simple model of how habits work: a cue triggers a routine, and a reward makes you more likely to repeat it. It’s a useful way to look at your own habits, but the research behind it tells a slightly different story, and that story is more helpful when you want to build or break one.
This guide explains the three parts of the loop, what psychologists have found about each, and how to use it in practice, with examples.
What is a habit loop?
A habit loop is the cycle of cue, routine and reward that, repeated often enough, turns a behaviour into something you do without thinking. The idea was popularised by Charles Duhigg’s book The Power of Habit, and it’s now the most common way habits are explained online.
Here’s the loop in a familiar example:
- Cue: you sit down on the sofa after dinner.
- Routine: you pick up your phone and open a social app.
- Reward: something new and mildly interesting.
After enough evenings, sitting on the sofa is enough to put the phone in your hand. You don’t decide to do it; the situation does the deciding.
The three parts of a habit, one at a time
The cue
A cue is whatever reliably comes just before the behaviour. Common cues are a time of day, a place, the people you’re with, a mood, and the thing you’ve just finished doing.
This is the part the research supports most strongly. In their model of habits, Wood and Neal describe habits as associations, learned slowly, between a response and the features of the context it usually happens in, such as the physical setting or the action that came before. Once the habit has formed, simply perceiving that context can trigger the response, without a goal in between.
The routine
The routine is the behaviour itself: brushing your teeth, checking your phone, going for a run. Psychologists usually call it the response.
The more often the same response follows the same cue, the stronger the link becomes. That’s why a habit tied to a specific moment (“after I pour my coffee”) forms more easily than one that floats around the day.
The reward
The reward is what you get from the routine: a taste, relief from boredom, a feeling of being done. Rewards help a behaviour get repeated in the first place, so they matter while a habit is forming.
But here the popular version of the habit loop and the research part ways.
What the habit loop gets wrong
The loop is often drawn as a circle in which the reward keeps everything turning. The research suggests that for an established habit, the reward matters much less than people think, and the cue matters much more.
Strong habits run even when the reward is gone
In a pair of field experiments, Neal and colleagues gave cinema-goers popcorn that was either fresh or a week old. People with a strong habit of eating popcorn at the cinema ate about as much stale popcorn as fresh. Their hunger and how much they liked the popcorn made little difference.
Two details are telling. The habit only took over in the cinema; when the popcorn was offered in a meeting room instead, habitual popcorn eaters ate less of the stale popcorn than the fresh. And when cinema-goers were asked to eat with their non-dominant hand, which disrupted the automatic movement, habitual eaters ate noticeably less of the stale popcorn. People with a weak popcorn habit ate according to how much they liked it throughout.
So once a habit is strong, it’s the context, not the reward, that keeps it going. That’s why “just make the bad habit less rewarding” is often not enough.
Habits live in places, not only in your head
Wood, Tam and Witt followed students who transferred to a new university. Their habits of exercising, reading the newspaper and watching TV tended to survive the move only when parts of the context stayed the same, such as reading the paper with other people. When the context changed, the old habit was disrupted, and in some cases what students did started to follow their current intentions instead.
That’s a hopeful finding. A move, a new job or even a rearranged room is a chance to drop old habits and start new ones.
The loop isn’t a law
Duhigg’s book is journalism, not a study, and the three-part loop is a simplification. Psychologists such as Wood and Rünger, in their review of habit research, describe habits as forming when people repeat the same response in a recurring context while pursuing a goal, after which the habit becomes the efficient, default way of responding. The loop is a good way to notice your habits. It isn’t a complete description of how they work.

Habit loop examples
Writing your habits out as loops makes the cue visible. Here are some common ones, good and bad.
| Cue | Routine | Reward |
|---|---|---|
| Waking up and reaching for the alarm | Scrolling the news in bed | Feeling caught up |
| Getting home from work | Eating crisps standing in the kitchen | A quick lift in energy |
| Pouring the first coffee | Writing tomorrow’s three tasks | Feeling organised |
| Sitting at your desk after lunch | Opening email “just for a minute” | Easy, low-effort activity |
| Brushing your teeth at night | Two minutes of stretching | Feeling looser before bed |
| A stressful message | Biting your nails | A moment of relief |
Notice how many of the cues are a place plus a moment. That’s typical, and it’s what makes cues so useful to work with.
How to use the habit loop to build a habit
Since the cue does most of the work once a habit is established, building a habit is mostly about choosing a good cue and repeating the routine after it.
- Pick a cue that already happens every day. Brushing your teeth, putting the kettle on, sitting down on the train. Anchoring a new habit to an existing one is called habit stacking.
- Make the routine small. Small enough that you’d still do it on a bad day: one page, one push-up, one minute.
- Do it in the same situation each time. In the best-known study of habit formation, Lally and colleagues asked 96 volunteers to do one behaviour daily in the same context, such as “after breakfast”. People who did it more consistently built automaticity in a way that more closely followed the typical habit curve.
- Add a reward you’ll feel now. Rewards matter most early on, while the link is still weak. Enjoy the habit, or pair it with something you like.
- Give it time. In Lally’s study, the time to reach peak automaticity ranged from 18 to 254 days, and missing one day didn’t materially affect the habit forming. More on that in how long it takes to form a habit.
How to break a habit loop
Breaking a habit is harder than building one, because the cue keeps showing up. The research points to a few approaches worth trying.
1. Find the cue
For a week, every time the habit happens, write down where you are, the time, who you’re with, how you feel and what you just did. Patterns appear quickly. A tracker helps here: habitual, a habit tracker that keeps everything on your phone, lets you track a habit you’re quitting and add a note to any day, typed or spoken, so you can record what set it off.


2. Change or avoid the cue
If the cue is the sofa, the phone can charge in another room. If it’s the biscuit tin in sight, the tin can go in a cupboard. Because habits are tied to context, changing the context can disrupt them, as the students who changed university found. Bigger changes, like a move or a new job, are a good time to try.
3. Watch for the slip in the moment
When the cue can’t be avoided, plan to catch yourself. In two diary studies, Quinn and colleagues found that the strategy that worked best for controlling strong bad habits was vigilant monitoring: thinking “don’t do it” and watching carefully for slip-ups. A follow-up experiment suggested it works by strengthening self-control in the moment, not by weakening the habit itself.
4. Swap the routine, keep the cue
Duhigg’s best-known advice is to keep the cue and the reward and change the routine in between: if a mid-afternoon snack is really about a break, take a walk at the same time instead. It’s a reasonable idea to try, though it’s a strategy from the book rather than one tested directly in research. Our step-by-step guide to breaking a bad habit covers more ways to do it.
Tracking makes the loop visible
Whether you’re building or breaking a habit, writing down what happened is one of the best-supported things you can do. A meta-analysis of 138 studies with nearly 20,000 participants by Harkin and colleagues found that interventions that got people to monitor their progress more often helped them reach their goals, and the effect was larger when progress was physically recorded. There’s more on the evidence, and on when tracking can backfire, in does habit tracking work?
You can do this on paper with a free printable habit tracker, or in an app. In habitual, you log a habit with a tap, and each habit has its own page with a grid of the days you did it. The free version covers up to 3 active habits, which is a sensible number to work on at once.
The short version
- The habit loop is cue, routine and reward. It’s a helpful simplification, not a law.
- The cue does most of the work once a habit is established; the reward matters most while it’s forming.
- To build a habit, attach a small routine to a cue that already happens every day, and repeat it in the same place.
- To break one, find the cue, change it where you can, and watch for slip-ups where you can’t.
- Track it, so you can see the loop and your progress.
Sources
- Harkin, B., Webb, T. L., Chang, B. P., Prestwich, A., Conner, M., Kellar, I., Benn, Y., & Sheeran, P. (2016). Does monitoring goal progress promote goal attainment? A meta-analysis of the experimental evidence. Psychological Bulletin, 142(2), 198–229.
- Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998–1009.
- Neal, D. T., Wood, W., Wu, M., & Kurlander, D. (2011). The pull of the past: When do habits persist despite conflict with motives? Personality and Social Psychology Bulletin, 37(11), 1428–1437.
- Quinn, J. M., Pascoe, A., Wood, W., & Neal, D. T. (2010). Can’t control yourself? Monitor those bad habits. Personality and Social Psychology Bulletin, 36(4), 499–511.
- Wood, W., & Neal, D. T. (2007). A new look at habits and the habit-goal interface. Psychological Review, 114(4), 843–863.
- Wood, W., & Rünger, D. (2016). Psychology of habit. Annual Review of Psychology, 67, 289–314.
- Wood, W., Tam, L., & Witt, M. G. (2005). Changing circumstances, disrupting habits. Journal of Personality and Social Psychology, 88(6), 918–933.
Questions
What are the three parts of the habit loop?
A cue, a routine and a reward. The cue is the situation that starts the behaviour, such as a time, a place or something you’ve just done. The routine is the behaviour itself, and the reward is what you get out of it. Research suggests the cue matters most once a habit is established.
Who came up with the habit loop?
The cue–routine–reward loop was popularised by the journalist Charles Duhigg in his book The Power of Habit. It’s a simplified, popular description of how habits work, not a model from a single study. Psychologists such as Wendy Wood describe habits as links between a context and a response, learned through repetition.
How do you break a habit loop?
Start by noticing the cue: where you are, what time it is and what you’ve just done when the habit happens. Then change or avoid that cue where you can, plan a different response for when it appears, and watch out for slip-ups in the moment. Making the habit less rewarding often isn’t enough on its own for a strong habit, because the cue keeps triggering it.
How long does it take for a habit loop to form?
Longer than the popular 21 days. In a study of 96 volunteers building a daily habit, the time to reach peak automaticity ranged from 18 to 254 days. Doing the behaviour consistently in the same situation was what helped.


