Streako

7 min read · October 2, 2026

The habit loop: cue, routine, reward

How the habit loop works, why cues and immediate rewards matter more than willpower, and how to design each part of the loop for a habit you want to keep.

Every habit you have, good or bad, runs on the same simple structure. Something prompts you, you do the thing, and you get something out of it. Repeat that enough times in the same situation and the behaviour starts to run on its own. Understanding this loop is the fastest way to stop fighting your habits and start designing them.

This guide explains the habit loop, where the idea comes from, how it relates to other popular models, and how to build each part of the loop on purpose for a habit you actually want.

Where the habit loop comes from

The phrase "habit loop" was popularised by journalist Charles Duhigg in his 2012 book The Power of Habit. He described habits as a three-part cycle drawn from behaviour and neuroscience research: a cue, a routine and a reward.

The idea is not that every habit is mechanical. It is that habits, once formed, need very little decision-making. The cue does most of the work, and the routine follows with little conscious thought. That is what makes habits so useful, and so stubborn.

The three parts of the loop

Each part of the loop does a different job. When a habit is not sticking, the cause is almost always one weak link.

The cue

A cue is whatever tells your brain it is time to act. Common cues fall into a few groups:

The strongest cues are specific and happen every day without effort. "In the morning" is vague. "After I put the kettle on" is a cue.

The routine

The routine is the behaviour itself. It can be physical (a walk), mental (planning your day) or emotional (calling a friend when you feel low). In a new habit, this is the part you choose. In an old habit, this is often the part you want to change.

The reward

The reward is what you get from the routine. It might be the taste of coffee, a sense of relief, the satisfaction of finishing something or simply a break. Rewards teach your brain that this loop is worth remembering. Over time, you start to expect the reward as soon as the cue appears, which pulls you into the routine.

The cue starts the habit. The reward is the reason it gets repeated.

A related model: James Clear's four laws

James Clear's Atomic Habits (2018) builds on the same idea with four stages: cue, craving, response and reward. Adding craving is a useful nuance. You do not want the routine itself so much as the change in how you feel that it brings.

From those four stages, Clear draws four practical "laws" for building a good habit:

  1. Make it obvious (the cue).
  2. Make it attractive (the craving).
  3. Make it easy (the response).
  4. Make it satisfying (the reward).

You do not need to pick one model over the other. Duhigg's version is easier to remember. Clear's is easier to turn into a checklist. Both point to the same lesson: design the situation, not your willpower.

What the research adds

Wendy Wood, a psychologist at the University of Southern California and author of Good Habits, Bad Habits, has spent years studying how habits work in daily life. Her work stresses two points that are easy to overlook.

First, habits are strongly tied to context. The same place, the same time and the same sequence of actions are what make a behaviour automatic. That is why habits often change when life changes: a new job, a move or a holiday can disrupt old cues, which is both a risk for good habits and an opening to drop bad ones.

Second, friction matters more than most people think. Small barriers, such as a few extra steps or a few extra seconds, can decide whether a behaviour happens at all. Making a good habit easier and a bad habit harder is often more effective than trying to want it more.

How to design a cue that works

A good cue does not rely on memory. Here is how to pick one.

Anchor it to something you already do

The most reliable cues are existing routines. You already make tea, unlock your phone, sit down at your desk and get into bed. Attach the new habit to one of these. This is the idea behind habit stacking, and it uses the format:

After I [current habit], I will [new habit].

Make it visible

Put the cue where you will see it. A book on your pillow is a cue to read. A water bottle on your desk is a cue to drink water. A yoga mat left unrolled is a cue to stretch.

Keep it consistent

A cue that changes every day is not really a cue. If your mornings vary, choose an action that always happens (making a hot drink, opening the curtains) rather than a clock time. Mornings are full of cues like these, which is why they suit new habits: see How to build a morning routine you will actually keep.

Use reminders as a backup, not the cue

A phone reminder can help while a habit is new, but it works best when it fires at the time your real cue usually happens. The reminder gets you started. The anchor is what keeps the habit going after you stop needing the alert.

How to make the reward immediate

This is where many good habits fail. The benefits of exercise, saving or learning a language are real, but they arrive weeks or months later. Your brain learns from what happens right now, so a distant payoff is weak fuel for a daily habit.

The fix is to add a small reward that arrives straight away:

Avoid rewards that undo the habit. A cake after every run teaches the wrong lesson.

Putting it together: three examples

Here is the loop designed on purpose for three common habits.

Flossing

Reading

Walking at lunch

Notice that the routine in each case starts small. A tiny routine makes the loop easier to complete, and every completed loop strengthens the link. See Start small: the power of tiny habits for how to shrink any habit.

Using the loop to change a bad habit

The same loop explains habits you want to lose. Most bad habits are a routine that delivers a real reward, such as relief from boredom or stress. That is why simply stopping rarely works: the cue still fires and the craving for the reward is still there.

A more reliable approach is to keep the cue and the reward but swap the routine. If you reach for your phone when you feel bored at work, the reward may be a short mental break. A two-minute walk to refill your water could deliver a similar break. Pair that with more friction on the old routine and the new loop has a fair chance. We cover this in detail in How to break a bad habit.

Common mistakes

Try it in Streako

In Streako, you can build each part of the loop into the habit itself. Set a reminder for the time your cue usually happens, on the weekdays it applies, or turn on smart reminders. Choose a habit type that fits the routine: Yes / No for flossing, Count for glasses of water, or Duration for minutes of reading. Each check-in is one tap, and the reward is immediate: your streak grows, you earn XP and work towards badges through gamification, and you can log a mood from 1 to 5 with a short note to notice how the habit makes you feel.

Start your first streak today

It takes ten seconds to add a habit. The flame does the rest.

Share this page

Know someone building a habit?

Habits stick better with company. Send this to a friend, then start a challenge together.

streako.app/guides/habit-loop

Coming soon on Google Play

Streako is almost here

Be the first to know when it launches. Leave your email and we'll send you one message, with the download link, the day it goes live.

  • One email at launch, nothing else
  • Free to start, no ads on any plan
  • Unsubscribe any time with a reply

We only use your email to tell you about the launch. Privacy policy

What's coming

  • Streaks that forgive
  • XP, levels and 14 badges
  • Challenges with friends
  • Reminders that fit your day
  • Stats that show progress