Habits and Routines · How Habits Work

How to Break a Bad Habit: Six Steps the Research Supports

Find the cue, change the setting, watch for the slip, and swap in a planned action, with what the studies found.

On This Page

Short answer

Change the cue, watch for the slip, plan a swap.

  • Log each slip for a week: where, when, and what happened just before.
  • In diary studies, thinking 'don't do it' and watching for slips helped most.
  • Write a swap: if [the cue], then I do [the new action] in its place.
Low view across a kitchen counter: a bowl of apples and a glass of water stand where a cookie tin used to be, and the tin sits high on the top shelf behind.

You have tried to stop before. You meant it, you managed a few days, and then one evening you were back on the sofa with your phone and a bag of cookies, without remembering deciding to.

That last part is the clue. A bad habit runs on cues around you, so the steps start with the cues and leave willpower for last.

How Do You Break a Bad Habit?

Find the cue that starts it, change your surroundings so you meet that cue less often, and when it fires anyway, watch for the slip and tell yourself "don't do it". Then put a planned action in the old habit's place, and treat a lapse as information.

Six Steps From First Note to New Routine

  1. Log every slip for a week before you change anything
  2. Circle the cue that repeats most
  3. Change the setting so you meet that cue less
  4. Write one swap: if [cue], then I [new action]
  5. When the cue fires, think "don't do it" and watch for the slip
  6. After a lapse, note what came before and add a swap for that cue

Start with the week of notes. You cannot move a cue you have not found.

What to Note Each Time You Slip

5 items
  • Where you were
  • The time
  • Who was with you
  • How you felt: tired, bored, stressed
  • What you did just before
Source: Duke Today, 2007; Quinn and colleagues, 2010

Changing the cues, Duke psychologist Wendy Wood told Duke Today, "requires understanding the triggers to your own behavior". After a week, one or two lines on your list will repeat, and that is your cue.

Why Are Bad Habits So Hard to Break?

Because the cue starts the habit before you decide anything. Wood and Rünger's 2016 review describes habits as the efficient, default mode of response to a recurring context, so an old habit keeps firing whenever its cue shows up.

Good intentions are a weak lever by themselves. Webb and Sheeran pooled 47 experimental tests in which researchers randomly gave people something meant to strengthen their intention. The tests covered many kinds of behavior, not bad habits alone.

From a Stronger Intention to Changed Behavior
ItemBarValue
Change in intention0.66 effect size (d)
Change in behavior0.36 effect size (d)
Source: Webb and Sheeran, 2006, 47 experimental tests

A stronger intention moved behavior about half as much as it moved the intention itself. That is a reason not to rely on "I really mean it this time" alone, though the tests mixed many behaviors and do not isolate bad habits.

Habits can also override what you want in the moment. In two field experiments at a cinema, hunger and liking barely influenced habitual popcorn eaters, and they ate equal amounts of stale and fresh popcorn. They ate out of habit only in the cinema, and only with their dominant hand, the way the setting had always cued.

Wanting to stop and being able to stop are run by different parts of your day. The wanting is a decision; the habit is a link between a place, a time or a feeling and an action.

Does Willpower Help You Break a Habit?

Some, at the moment the cue fires, and less on a tired or stressful day. Wood told Duke Today that once a habit forms, "it takes willpower to inhibit the triggered response". The trick is to use that willpower in the right way, which the diary studies below pin down.

In everyday life, people with better self-control were less likely to report attempts to inhibit temptation, as Galla and Duckworth summarize one study: the fight comes up less often for them.

Stress is worth knowing about. In a lab study by Schwabe and Wolf, people went through a stress test before learning two actions for two foods. Compared with the unstressed group:

  • They kept doing both actions after they had eaten their fill of one food, while the unstressed group adjusted.
  • Stress also lowered their explicit knowledge of which action led to which food.

In that study the stress came before the learning, so it shows stress pushing new learning toward habit; it did not test an old habit coming back. The task was artificial and short. One cautious reading is that a routine you build during a stressful stretch may set as a habit sooner, so write your swap on a calm day and then try it on a hard one.

What the Diary Studies Found

Quinn, Pascoe, Wood and Neal ran two diary studies in which people recorded episodes of controlling an unwanted response and which strategy they used, each time on their own, with no one telling them what to try.

Ways People Try to Stop, and What Worked

  • Vigilant monitoring

    Worked on strong habits

    • Think "don't do it" when the urge comes
    • Watch carefully for slip-ups

    Suits you if the habit fires from a cue you cannot avoid

  • Stimulus control

    Worked on temptations

    • Leave the situation or remove the item
    • Did not help with strong habits

    Suits you if the pull comes from a treat you enjoy

  • Any other strategy

    Did not help habits

    • Anything else people tried
    • Not useful for strong habits

    Suits you if rarely the best first choice for a habit

Source: Quinn and colleagues, 2010

For strong habits, "no other strategy was useful" besides vigilant monitoring, the abstract says. A follow-up experiment showed it works by sharpening your control in the moment, not by weakening the habit itself.

That split matters for your list. Stimulus control worked on temptations, so a pull towards something you love (the cookie tin) is easier to beat by putting distance between you and it, while a habit that fires from a cue (biting your nails in meetings) needs watching.

Watching is one tool among several, which is why the steps pair it with a swap plan and a changed setting.

Change the Setting Before You Fight the Urge

Make the cue rarer, and you have fewer moments to win. There are two ways: manage what you are exposed to at home and work, and use life changes such as a new job or a move, when old cues fall away.

A move is the clearest case. In Wood, Tam and Witt's study, the exercising, newspaper-reading and TV-watching habits of students who transferred to a new university survived the move only when parts of the setting stayed the same, for example when they still read the paper with other people. Changed intentions alone did not explain why the habits broke.

Duke Today reports the same study: students who found the TV in a different spot at the new school were able to break the TV habit, while those who found it in the same spot were less successful. The guide to sticking to one routine uses it for the opposite point; here it means a new place is a chance to drop a cue.

Wood also suggests changing your route so you do not pass the fast-food restaurant.

Over the shoulder of a teenage girl in striped pajamas with two long black braids, she drops her phone into a woven basket on the upstairs landing shelf before bed.
A basket on the landing shelf puts the phone a flight of stairs from the pillow, and a basket costs less than a second charger.

Small changes count as much as big ones: a cookie tin on the top shelf, a phone charger in the hall, an app moved off your home screen each add a step between the cue and the old action.

Match the tactic to the habit. In the diaries, stimulus control worked on temptations but not on strong habits, where vigilant monitoring did. Your week of notes helps you tell which kind of pull you have, and name the cue you can then remove.

How Do You Replace a Bad Habit With a Good One?

Write an if-then plan that names the cue and a new action to do in its place. Here is an example in that form: "After dinner, I'll skip dessert as usual and substitute fruit."

Plans of this kind can override a habit, with limits. In three experiments by Adriaanse and colleagues, a plan that named a replacement response removed the habit's head start in the mind when the critical situation came up. The new one was not switched on automatically: behavior moved away from the habit only for people who also had a strong goal for the alternative.

The swap works best when it fits the same moment and gives you part of what the old habit gave you: something to hold, a break, a taste. Write the swap down as one sentence that starts with the moment, because plans in an "if X, then Y" form worked across 94 studies.

Bad habit A typical cue Change the setting Swap plan
Scrolling in bed Getting under the covers Charge the phone in the hall If I get into bed, then I read one page
Cookies after dinner Clearing the table Tin on the top shelf, fruit bowl on the counter If I clear the table, then I eat an apple
Soda at lunch Ordering at the counter Bring a full water bottle If I order lunch, then I ask for water
Snacking at the desk The 3 PM slump No snacks in the drawer If it is 3 PM, then I walk to refill my bottle
Nail biting Sitting in meetings Keep hands busy with a pen If I join a meeting, then I hold a pen
Late-night online shopping Lying on the sofa after 10 PM Log out of shop apps If I want to buy after 10 PM, then I leave it in the basket
Checking email first thing Picking up the phone at the alarm Use a separate alarm clock If I switch off the alarm, then I open the curtains
Hitting snooze The alarm going off Put the alarm across the room If the alarm rings, then I stand up to turn it off

These are our own examples of the researchers' rule. Keep the cue column honest: use the moment your notes from the first week show, not the one you guess.

Expect plans to help less with food you want to stop than with food you want to add. A meta-analysis of 23 studies found if-then plans worked for adding healthy items (d = 0.51) and less well for eating fewer unhealthy snacks (d = 0.29). So the dessert and soda rows lean on the changed setting as well as the plan, and the plan should name what you will eat or drink instead.

If soda is the habit you are swapping, plain water may not feel like a fair trade at first. Cold fruit-infused water or sparkling water can bridge the first few weeks.

What Else Helps Besides Changing the Cue?

Three more tactics sit beside avoiding the cue and swapping the habit. They are our suggestions rather than study results, and they help most when the first steps are not enough.

Three More Tactics

  • You cannot avoid the tempting placeRehearse it first: picture the buffet and see yourself taking the vegetables
  • You drop plans nobody knows aboutTell a friend or co-worker your swap sentence and ask for support
  • The payoff is weeks awayGive yourself a healthy treat when a small goal is met, such as a week of notes

Rewards go to a step you control, never to a result you cannot yet see.

Your First Two Weeks, Day by Day

Work through the steps one at a time, over about two weeks to start, and keep the swap going after that. The days are our own schedule for the research steps above.

Days What you do What you have at the end
1 to 7 Log every slip: place, time, mood, what came before A page of notes with one line that repeats
8 Circle the repeating cue and write one swap One sentence: if [cue], then [new action]
9 Change the setting around that cue The charger in the hall, the tin on the top shelf
10 to 13 Run the swap; when the cue fires, think "don't do it" Slips noted, not judged
14 Read the slips and add a swap for the cue behind each A second plan for the hardest moment

A phone out of the bedroom also meets the CDC's advice to turn off electronic devices at least 30 minutes before bedtime; the rest of how many hours you need and how to protect them builds on that.

Why Does a Bad Habit Come Back?

Because the old link between cue and action stays in memory after you stop. Quinn and colleagues describe the "slow-to-change memory trace of habits", which is why successful control means inhibiting the unwanted response when it is activated.

That explains the holiday relapse. You return to your parents' house, sit in the old chair, and the habit you dropped three years ago starts again.

A wide view of a quiet high street on a bright winter morning: a stocky man in his fifties with a short grey beard walks past small shops holding a takeout cup of tea.
A new routine needs its own cue. A walk at the old smoke-break time fills the moment the habit used to own.

So treat a lapse as information. Note where it happened and what came before, and add a swap plan for that cue. A single miss does not undo the work, a point the plan for the day after a break makes with the study numbers.

How long the old habit keeps tugging varies from person to person. The studies on timing measured how long new habits take rather than how long old ones last, and what those studies found about weeks and months is the best guide so far.

When Is a Bad Habit More Than a Habit?

When it is a dependence on a substance such as nicotine, alcohol or other drugs, or when stopping brings strong cravings or withdrawal. Habit tricks can help around the edges, but these need medical support.

Stop It or Swap It?

Swap it whenever the old habit filled a need at a set moment, and simply stop it when it only fills time. Most habits on the table above are swaps: the moment stays, the action changes.

Stop It

  • Remove the cue and the item
  • Works for treats you can keep out of reach
  • Leaves an empty moment the old habit can fill

Swap It

  • Keep the moment, change the action
  • Works for cues you meet daily
  • Gives the moment a new job

Your week of notes from the first step tells you which column a habit belongs in: a treat you reach for goes left, a moment you meet every day goes right.

Common Questions

How do you stop biting your nails?

Keep your nails short, paint or cover them, and hold a stress ball when the urge comes, the American Academy of Dermatology advises. Quitting one set first, such as the thumbnails, also helps.

Is bitter nail polish worth trying?

Yes, for many people: the American Academy of Dermatology says the bitter-tasting polish sold over the counter discourages many people from biting their nails.

General information for healthy adults, not medical advice. If a doctor has set your fluid amount, follow that.

Glubbo floats beside a sheet of paper with rows of small glass outlines, some colored in, and a pencil on the sand.

Print Your Tracker

A sheet of marks sized to your goal and your glass.

Make the Tracker

Next topic: Sleep and Recovery

Sources

  1. Personality and Social Psychology Bulletin (Quinn, Pascoe, Wood and Neal). Can't Control Yourself? Monitor Those Bad Habits, 2010.
  2. Annual Review of Psychology (Wood and Rünger). Psychology of Habit, 2016.
  3. Psychological Bulletin (Webb and Sheeran). Does changing behavioral intentions engender behavior change? A meta-analysis of the experimental evidence, 2006.
  4. Journal of Personality and Social Psychology (Wood, Tam and Witt). Changing circumstances, disrupting habits, 2005.
  5. Personality and Social Psychology Bulletin (Neal, Wood, Wu and Kurlander). The pull of the past: when do habits persist despite conflict with motives?, 2011.
  6. Journal of Neuroscience (Schwabe and Wolf). Stress prompts habit behavior in humans, 2009.
  7. Appetite (Adriaanse and colleagues). Do implementation intentions help to eat a healthy diet? A systematic review and meta-analysis of the empirical evidence, 2011.
  8. Personality and Social Psychology Bulletin (Adriaanse and colleagues). Breaking habits with implementation intentions: a test of underlying processes, 2011.
  9. Duke Today, Duke University. Key to Changing Habits Is In Environment, Not Willpower, Duke Expert Says, 2007.
  10. US Centers for Disease Control and Prevention. Tips From Former Smokers: How to Quit Smoking, 2026.
  11. US Centers for Disease Control and Prevention. About Sleep, 2024.
  12. American Academy of Dermatology. How to stop biting your nails, 2024.

Sources checked by the Glubbo Editorial Team on Nov 2, 2026. General information, not medical advice. How we write and check our guides.

Glubbo

Drink water reminder

Try Glubbo on your phone

Log a drink in 1 tap. Every glass fills a fish tank

Get Glubbo

Free · No account needed

Scan to install on your phone