Replacing bad habits with better ones

Habit science · 4 min read · Updated

To replace a bad habit with a good one, keep the trigger and swap the routine for something that gives a similar payoff in the same place. Replacing works better than simply stopping because the cue and the need behind it don't go away. Scrolling in bed becomes reading a paper book; the 3 p.m. sweet becomes a walk and tea.

Why a gap gets refilled

When you stop a habit, the cue keeps firing. You still get into bed at 11, still hit the afternoon slump, still feel restless after a stressful call. If nothing is planned for that moment, the old routine is the most available response, and it usually wins.

Charles Duhigg put this as a rule in The Power of Habit: keep the cue, keep the reward, change the routine. It is a simplification, but it captures why 'I'll just stop' fails so often for habits that do something for you.

Find out what the habit gives you

Before you can pick a replacement, name the payoff. Ask what you'd lose if the habit vanished tomorrow. Common answers:

  • A break from effort, such as stepping away from a hard task.
  • Relief from an unpleasant feeling: boredom, anxiety, loneliness.
  • Stimulation or novelty, the pull of a new message or headline.
  • A transition between parts of the day, such as a drink after work marking the end of the workday.
  • Social connection, as with smoke breaks or office snacks.
  • Energy, or what feels like energy, from sugar or caffeine.

Pick a replacement that competes

The best replacements are hard to do at the same time as the old habit. Clinicians use this idea in habit reversal training, described by Nathan Azrin and R. Gregory Nunn in 1973, where a person learns to notice the urge and then perform a competing response, such as clenching their fists or holding an object instead of biting nails. Holding a cup of tea is hard to combine with holding your phone.

A good replacement also matches the payoff and fits the place. A five-minute walk gives a break from effort. It doesn't give the stimulation of a feed. If stimulation is the real need, a podcast on that walk might.

For tics, compulsive skin picking or hair pulling, habit reversal is done with a trained therapist, and it is worth seeing one if the habit causes harm.

Replacement pairs that work

Each pair keeps the same cue and offers a similar payoff.

  • Scrolling in bed, for winding down: a paper book on the nightstand, phone charging in the kitchen.
  • Afternoon sweets, for a break and energy: a 10-minute walk and a cup of tea.
  • A drink after work, to mark the end of the day: a change of clothes and a sparkling water with lime, or a short walk.
  • Checking email first thing, for a sense of control: writing the day's top task on paper.
  • Smoke breaks, for a break with coworkers: a walk outside with the same people.
  • Snacking during TV, for something in your hands: tea, knitting or a puzzle.
  • Nail biting while reading, for a fidget: a stress ball or a ring to turn.
  • Doomscrolling news, for staying informed: one fixed time to read a summary.
  • Online shopping when bored, for novelty: adding items to a list and reviewing it on Sunday.

Write the swap as an if-then plan

Turn the pair into one sentence: 'If I get into bed, then I'll read my book.' 'If it's 3 p.m. and I want something sweet, then I'll walk to the kitchen and make tea.' Plans in this form, called implementation intentions, have a consistent record in research of helping people act on what they intend.

Then set up the environment so the replacement is easier than the original. The book is already on the pillow. The tea bags are on the desk. The phone is in another room. A replacement you have to go looking for loses to a habit that's already within reach.

Expect the replacement to feel worse at first

The old habit has years of repetition behind it and the new one has a few days. For the first week or two the replacement will feel like a poor substitute. That doesn't mean it's the wrong choice.

Give it two or three weeks of honest attempts before judging it. If the urge keeps winning in the same situation, the replacement may not match the payoff. Try another from the same category: if tea doesn't replace the afternoon sweet, try a piece of fruit, which keeps some of the sweetness.

Tracking a swap

Track the new behavior as the main habit, because that's what you're building: 'Read in bed, done or not done.' If you want to see the old habit fade too, add a second habit for it, such as 'No phone in bed'. Two habits fit on the Free plan, so the pair costs nothing.

Give them colors that read clearly side by side, say blue for the new habit and gray for the old one. After a month, the two grids answer the question you care about: on the nights the replacement happened, did the old habit stay away?

Track it

Questions

Does every bad habit need a replacement?

Not always. Habits with no real payoff, such as a route that takes you past a shop, can often just be removed by changing the context. Habits that relieve stress or boredom almost always need a substitute.

What if the replacement becomes a bad habit too?

Choose replacements you'd be happy to do every day, such as walks, water or reading. If a substitute starts to cause problems, treat it the same way: find the payoff and swap again.

Should the replacement be healthy or enjoyable?

Ideally both, but enjoyable matters more at the start. A replacement you dislike won't compete with a habit you like. You can make it healthier once the swap is stable.

Sources

Read next

All guides

Turn it into a habit you can see

Free for up to 2 habits, every feature included. Log by chatting with ChatGPT or on the website.

Start tracking for free