The habit loop: cue, routine, reward
A habit loop has three parts: a cue that triggers the behaviour, the routine itself, and a reward that makes you more likely to repeat it. Charles Duhigg made the model famous in The Power of Habit (2012). Once you can name the three parts, you can build a habit on purpose or change one you don't want.

Short answer: The habit loop is a three-step model: a cue (a trigger such as a time, place or feeling), a routine (the behaviour) and a reward (the payoff). Each time the reward follows the routine after that cue, the link gets stronger, until the cue starts the routine with little thought. Charles Duhigg popularised the model in The Power of Habit (2012).
The three parts
1. Cue
The cue is what starts the behaviour. Duhigg groups cues into five types: a place, a time, an emotional state, other people and the action that came just before. Most habits have one main cue. Your phone buzzing is a cue. So is 15:00 at your desk, feeling bored, sitting on the sofa after dinner, or seeing a friend light a cigarette.
2. Routine
The routine is what you do: pick up the phone, get a snack, go for a run, make tea. It can be a physical action, a thought or an emotional response.
3. Reward
The reward is what you get out of it. Sometimes it's obvious, like the taste of chocolate. Often it's hidden: a break from boredom, a feeling of connection, relief from stress, a sense of being done. The reward teaches your brain that this routine is worth repeating when that cue shows up.
Over many repetitions, you start to want the reward as soon as you notice the cue. Duhigg calls this craving, and it's why a buzz from your pocket can pull your hand toward the phone before you've decided anything.
James Clear's four-step version
In Atomic Habits (2018), James Clear splits the loop into four: cue, craving, response, reward. He turns each step into a rule for building good habits:
- Cue: make it obvious. Put the book on your pillow.
- Craving: make it attractive. Pair it with something you enjoy.
- Response: make it easy. Shrink it to two minutes.
- Reward: make it satisfying. Tick it off where you can see it.
For a bad habit you reverse the rules: make it invisible, unattractive, hard and unsatisfying.
Habit loop examples
| Habit | Cue | Routine | Reward |
|---|---|---|---|
| Phone checking | A buzz, or a quiet moment | Unlock and scroll | Novelty, a break from the task |
| Afternoon snack | 15:00 at the desk, tired | Walk to the vending machine | Energy, a break, a chat on the way |
| Evening TV | Sitting on the sofa after dinner | Open a streaming app | Rest, no decisions |
| Morning run | Alarm, clothes laid out | Run 20 minutes | Calm, a tick on the calendar |
| Reading in bed | Getting into bed, book on pillow | Read 10 pages | Winding down, the story |
| Stress eating | A hard phone call | Open the fridge | Comfort, a pause |
Changing a habit: keep the cue and reward
Duhigg's golden rule of habit change: you can't wish a cue away, and the craving for the reward stays. What you can change is the routine in the middle.
He tells his own story of an afternoon cookie habit. When he tested what he wanted, he found it wasn't the cookie. It was a few minutes of chatting with colleagues. So he kept the cue (the time) and the reward (the chat) and dropped the cookie.
To find the real reward, try swaps for a few days. When the cue hits, do something different each time: a walk, a glass of water, a chat, a piece of fruit. Fifteen minutes later, ask: do I still want the original thing? The swap that kills the urge points to the real reward. Our guide on replacing a bad habit goes step by step.

A habit loop worksheet
Copy this onto paper for one habit and fill it in over three days.
- The routine. What exactly do you do? "Pick up my phone and open social media."
- The cue. Each time it happens, note five things: where you are, the time, how you feel, who's around, what you just did. After three days, look for the one that repeats.
- The reward. Test two or three swaps. Which one leaves you not wanting the original?
- The plan. Write it: "When [cue], I will [new routine], because it gives me [reward]."
For good habits, run the same sheet forward: choose the cue first, then a tiny routine, then a reward you get right away.
Common mistakes
- Guessing the reward. People assume the snack is about hunger. Often it's about a break. Test before you plan.
- Building a habit with no cue. "Exercise more" has no trigger. Pick one moment.
- A reward that comes too late. Fitness in six months doesn't reinforce today's run. Add something you get now.
- Treating the model as the full story. The loop is a useful simplification. Stress, sleep, money and other people all shape habits too.
What the research says
The cue-routine-reward model is a popular summary, not a single study. It fits with research showing that habits are tied to context: Wood, Quinn and Kashy (2002) found that about 43% of everyday actions were done almost daily in the same context. For more on how the link forms over time, see how habits form.
What to do today
Pick one habit you want to change. Each time it happens over the next three days, write the five cue details on your phone or a scrap of paper. On day four, look for the pattern and test one swap.
For a good habit, write its loop now: cue, tiny routine and an instant reward. XP Tracker builds that last part in: each quest you finish gives XP and hits the current boss, so the payoff lands the moment you're done. How boss fights work.
Questions people ask
What are the 3 parts of the habit loop?
Cue, routine and reward. The cue is the trigger, such as a time, place, feeling or another action. The routine is the behaviour. The reward is what you get from it, which teaches your brain to repeat the loop next time the cue appears.
What is the difference between Duhigg's and James Clear's habit loop?
Duhigg uses three steps: cue, routine, reward, with craving as the force that drives the loop. James Clear's Atomic Habits (2018) splits it into four: cue, craving, response, reward, and builds four rules on top: make it obvious, attractive, easy and satisfying.
How do you break a habit loop?
Keep the cue and the reward, change the routine. Duhigg calls this the golden rule of habit change. If you snack at 15:00 because you're bored, you might keep the 15:00 break and the bit of fun but swap the snack for a walk and a chat.
What is an example of a habit loop?
Cue: your phone buzzes. Routine: you pick it up and scroll. Reward: a bit of novelty and the itch gone. Or: cue, you get home from work; routine, you change into running clothes and run; reward, you feel calm and tick it off.
What's the most important part of the habit loop?
For building a habit, the cue, because without a reliable trigger the routine depends on memory. For breaking one, understanding the reward, because that tells you what the routine is doing for you.
Start your journey
Pick a class, do the day's quests, and watch your hero level up with you.
Start free on iPhone and Android.
Scan to install Point your phone camera at the code. iPhone opens the App Store, Android opens Google Play.



