Skip to content

How Habits Form

Voluntary discomfort trains your will to act against resistance. But willpower is expensive, and you can’t spend it on everything forever. The escape is to make the right behaviors automatic — to spend a little discipline up front building a habit, and then let the habit do the work. This chapter is how that machinery actually runs.

In The Power of Habit, Charles Duhigg describes the habit as a three-part loop: a cue (a trigger), a routine (the behavior), and a reward (the payoff your brain logs). Repeat it enough and the loop runs without conscious effort. James Clear, in Atomic Habits, splits the middle to add the engine that drives it: cue, craving, response, reward. The craving — the anticipated reward — is what actually pulls you into the routine.

CUE ───► CRAVING ───► ROUTINE ───► REWARD
(trigger) (the pull) (behavior) (payoff)
▲ │
└────────── brain logs the link ◄───────┘
"when this cue appears, this paid off"

This isn’t just a metaphor. Habit formation involves the basal ganglia (a set of structures deep in the brain, notably the striatum), where repeated cue-action-reward sequences get “chunked” into a single automatic routine — which is why a practiced habit can run while your conscious mind is somewhere else entirely, like driving a familiar route on autopilot.

Why does the brain bother building these loops? Efficiency. Conscious attention is slow and expensive; automating a sequence frees it up for whatever is new and uncertain. That’s a feature, not a flaw — you want brushing your teeth to run itself so your mind is free for harder things. The catch is that the brain automates whatever gets rewarded, not whatever is good for you. It will happily groove the after-work phone scroll alongside the evening walk. This clears up a common misconception: that habits form through sheer repetition. Repetition matters, but the reward is the glue. A behavior that pays off — even in a small hit of relief or pleasure — gets wired in; one that doesn’t slowly fades. So when a habit won’t stick, the usual culprit isn’t weak willpower. It’s that the loop has no satisfying payoff attached yet.

The deeper lever Clear adds is identity. Most people aim at outcomes (“I want to lose weight”). More durable is to aim at identity (“I am someone who trains”). Each time you do the behavior, you cast a small vote for that identity. Habits aren’t just things you do — they’re how you accumulate evidence about who you are. That makes habit-building the most concrete tool you have for becoming a different person.

Pick one habit. Don’t start five. Then run Clear’s four laws — make it obvious, attractive, easy, satisfying — with the heaviest weight on obvious and easy, because those do the most work:

  1. Make it obvious (the cue). Attach the new habit to something you already do every day — “after I pour my morning coffee, I write one sentence.” This is habit stacking, and the existing routine becomes a reliable trigger. Make the cue visible: lay the book on the pillow, put the shoes by the door.
  2. Make it attractive (the craving). Pair it with something you enjoy, or let yourself anticipate the clean feeling of having done it. Join a group where the behavior is normal — we copy the habits of the people around us.
  3. Make it easy (the routine). Shrink it until it’s almost too small to fail (see the two-minute rule in Showing Up). Reduce friction: pre-pack the gym bag, leave the guitar on its stand.
  4. Make it satisfying (the reward). Give yourself an immediate signal of success — tick a box, mark an X on a calendar. The brain repeats what feels rewarded now, not what pays off in six months.

To break a bad habit, invert the laws: make the cue invisible, the craving unattractive, the routine hard (add friction), and the payoff unsatisfying. Delete the app, unplug the console, put the snacks where you can’t see them.

How can you tell the loop is actually forming? You’ll catch yourself starting the behavior slightly before you consciously decide to — your hand reaches for the book, or you’re already at the desk before you remember planning to be. That little flash of automaticity is the whole goal. Until it shows up, don’t add more; just keep the behavior tiny and the cue rock-solid.

This week, design one habit using the implementation sentence above, and run it for seven days with a visible tracker (an X on a calendar works). Keep it small enough that you’d feel silly skipping it. At the end, change one variable — the cue’s timing, the friction, the reward — and notice what moves the behavior. You’re not just building a habit; you’re learning how your loops respond.

  1. Pick one habit you have without choosing it. What’s its cue, its routine, and the reward your brain is actually chasing?
  2. For one habit you want, which of the four laws is most broken right now — obvious, attractive, easy, or satisfying?
  3. What identity would this habit be a vote for? Does that identity feel true yet, and does that matter?
  4. Where could you add friction to make a bad habit harder, today, with no willpower involved?
  5. What’s the smallest possible version of the habit you’re starting — small enough that failing would feel ridiculous?
Show reflections
  1. The reward is often subtler than the obvious one — a snack habit might really be paying off boredom or a need for a break. Naming the true reward is what lets you redesign the loop instead of just resisting it.
  2. Be honest about which law is the bottleneck; people usually blame willpower when the real problem is that the cue is invisible or the routine has too much friction. Fix the binding constraint, not the easy one.
  3. Identity often lags behavior at first (“I’m not really a runner yet”). That’s fine — the votes accumulate. Noticing that you’re building evidence, not waiting to feel transformed, is the point.
  4. Good answers are concrete and immediate (delete the app now, move the snacks now). Friction added to the environment works without depending on you being strong in the moment.
  5. The right size is one you’re almost certain to do on a bad day. If there’s any doubt, it’s still too big — shrink it further.