Skip to content

How habits work

The habit loop, explained simply (cue, routine, reward)

By Published 6 min read

Mira, the Yumemira star, beside a real screen that says Nice. That counts. after a finished step, with a Say how it went button

The short answer

The habit loop is the three-part pattern behind a habit: a cue sets it off, you do the routine, and a reward makes it worth repeating. To start a new habit with it, put a tiny step right after a cue you already have, at a time you already stop. Keep it that small for a week.

In 30 seconds

  • The loop is cue, routine, reward, repeated until it runs itself.
  • James Clear splits it into four steps: cue, craving, response, reward.
  • To change a habit, keep the cue and swap the routine.
  • To start one, put a tiny step right after a cue you already have.

The microwave says 90 seconds. Before it reaches 80, your phone is out.

You never decided to do that. The microwave did, a long time ago.

That small chain has a name. And once you can see it, you can borrow it for a habit you’d actually like to keep.

What is the habit loop?

The idea was made famous by journalist Charles Duhigg in his book about habits (opens in a new tab). In a 2012 NPR interview (opens in a new tab), he described a loop with three parts.

First comes the cue, the thing that tells you to switch to autopilot.

Then the part everyone pictures when they hear the word habit.

“Then there’s the routine, which is the behavior itself.”

Charles Duhigg, on NPR’s Fresh Air, Habits: How They Form And How To Break Them (opens in a new tab)

Last comes the reward, a small payoff that makes the loop easier to run again when the cue turns up next time.

In plain words, something happens and you react the way you always have, because last time that reaction paid you back with something small but real.

That’s all a loop is, and it’s why a lot of how to stay consistent comes down to where a habit sits in your day.

Find the cue first, before you change anything else.

Cue, routine, reward vs cue, craving, response, reward

Writer James Clear uses four steps in his book Atomic Habits. His summary of the book (opens in a new tab) lists them as cue, craving, response and reward.

The new one is the craving: the wanting that sits between noticing the cue and acting on it.

And his response is close to Duhigg’s routine. It’s the thing you actually do.

Duhigg’s three steps beside Clear’s four
What happensDuhigg’s wordClear’s word
Something sets it offCueCue
You want the payoffNot its own stepCraving
You do the usual thingRoutineResponse
You get something backRewardReward

So which one is right? Both describe the same loop, and Clear’s version just makes room for the moment you start wanting the thing before you’ve done anything at all.

It’s a small difference.

Clear also turns each step into a rule for building a good habit: make it obvious, attractive, easy and satisfying. To break a bad one, he flips all four.

Six everyday habit loops

Most loops are too small to notice, which is how they last for years. Each row keeps the cue and offers one small swap.

Everyday loops and a small swap
CueRoutineRewardSmall swap
The microwave starts counting downCheck your phoneSomething new to look atDrink a glass of water
You sit on the sofa after workScrollA rest for your headWalk for 5 minutes first
You open the laptopCheck emailA quick winWrite one line of today’s plan
You see dishes in the sinkLeave themNo effort tonightTidy for 2 minutes
You get into bedOne more videoSomething funPhone away for 10 minutes
Payday arrivesAn impulse buySomething new to ownPut $1 aside

Every swap here is sized for a busy day.

We make Yumemira, the small-steps journal for iPhone, so we’re not neutral. A sticky note on the fridge can hold a swap too.

In the app, each of the goals with a tiny busy-day step starts at about this size.

The sofa row is the sneaky one. After a long day your head really does want a rest, and the swap doesn’t take that away from you.

It just puts 5 minutes of walking in front of the sofa. The sofa will wait (it’s had a lot of practice).

How to start a small habit with it

Building a habit means running the loop on purpose, and that’s easier than it sounds. You pick each part, and you pick it small.

  1. Pick a cue you already have.

    Something your day does without asking you, like getting home or brushing your teeth.

  2. Make the routine tiny.

    Two pages or a 5-minute walk, sized for your busiest day of the week.

  3. Add a reward you can see.

    Tick a box, or write one line about what you just did, while it’s still fresh.

Put the new step straight after an existing cue.

But the reward is the easy part to forget.

On paper, it might be “2 pages on the bus. It was late, so 4.” Nobody’s grading this.

In Yumemira, you tap Mark done and Mira cheers: “Nice. That counts.”

Under that sits a button that says Say how it went, which opens one line about the step you finished a minute ago, while you still remember how it felt.

Yumemira on iPhone after a finished step: Mira cheers above Nice. That counts. and a Say how it went button.
Tap Say how it went, or tap Not now.

The same screen shows the days you’ve shown up. That number doesn’t go down after a missed day.

A notebook on the bedside table works the same way, if you’d rather keep it on paper.

Swapping an old routine for a new one

Breaking a habit by force means fighting the cue every single day, and the cue never gets tired or takes a day off, however long your own day was.

It just turns up.

So the gentler move is to keep the cue and change only the routine. The sofa’s still there after work. You just walk for 5 minutes first.

Keep the cue. Change only what you do next.

If you’d like the swap and the line kept in one place, try it in Yumemira.

For more ideas, see these examples of bad habits, each with one swap. And for a new habit from scratch, read how to build a good habit.

Tonight, pick one row from the table and say its cue and its swap out loud.

Tomorrow the microwave will count down again. Let it start a glass of water.

Questions people ask

What are the 3 parts of the habit loop?

Cue, routine and reward. The cue sets a habit off and the routine is what you do. The reward is the small payoff you get back, which makes it easier to repeat. Journalist Charles Duhigg described it this way in his book on habits.

What is cue craving response reward?

It’s James Clear’s four-step version of the loop, from his book Atomic Habits. He adds the craving, the wanting between the cue and the action, and calls the action the response. The reward stays at the end.

How do you create a habit loop?

Pick a cue that already happens every day, like getting home or brushing your teeth. Right after it, do a tiny step you could manage on a busy day. Then give yourself a payoff you can see, like a tick or one line about it.

Who came up with cue, routine, reward?

Charles Duhigg made the three-part loop of cue, routine and reward widely known through his book on habits, which he discussed on NPR in 2012. James Clear later added a fourth step, the craving, in Atomic Habits.

Sources

  1. Habits: How They Form And How To Break Them (opens in a new tab)NPR (Fresh Air), 2012
  2. Atomic Habits Summary by James Clear (opens in a new tab)James Clear, 2022
  3. The Power of Habit by Charles Duhigg (opens in a new tab)Charles Duhigg (official site), 2024

Topic

You earned the Curious Reader badge

You know the loop now. Tonight, pick one cue you already have.

0 XP

Download on the App Store

Yumemira is an iPhone app (iOS 18 or later).

How Yumemira works

Yumemira is free to start. iPhone, iOS 18 or later.