Pick one habit to work on, and before changing anything, spend a few days simply noticing it: where you are, what time it is, who you are with, how you feel and what you did just before. That record is the raw material for every strategy below.

How do habits work?

In psychology, habits are "actions that are triggered automatically in response to contextual cues that have been associated with their performance". A cue can be a place, a time of day, a feeling, another person or the action you just finished. A review in Psychological Review explains that habits build up as the brain gradually links a response with features of the situation, and that once a habit has formed, simply perceiving that situation can trigger the response without any conscious goal.

Habits usually begin as a way of getting something you want: a review in the Annual Review of Psychology describes them forming as people pursue goals by repeating the same responses in a given context. It helps to think of a habit in three parts:

  • The cue: the situation that sets it off, such as sitting on the sofa after dinner.
  • The routine: the behaviour itself, such as picking up your phone and scrolling.
  • The reward: what the routine gave you while the habit was forming, such as a break from thinking or a hit of novelty.

How the brain learns from rewards is covered in dopamine explained, and how new routines take hold in how habits form.

Why doesn't willpower alone break a habit?

Because habits run on the situation, not on how much you want to change. A meta-analysis of 47 experiments found that a medium-to-large boost in people's intentions led to only a small-to-medium change in their behaviour.

A 2011 study of cinema-goers shows why. People with a strong cinema popcorn habit ate similar amounts of stale and fresh popcorn, barely influenced by hunger or how much they liked it. The habit held only in the setting tied to it: in a meeting room, or when eating with their non-dominant hand, hunger and taste started to steer how much they ate again.

A 2012 paper in the British Journal of General Practice notes that habits are likely to persist even after conscious motivation fades, and that breaking existing habits needs different and "altogether more effortful strategies" than making new ones. Motivation still matters for getting started (see how motivation works), but the strategies that last change the situation, or what you do in it.

Which strategies help break a bad habit?

StrategyWhat it meansExample
Add frictionMake the habit slower, harder or less visibleCharge your phone in another room overnight; keep biscuits in a high cupboard rather than on the counter
Remove or disrupt the cueAvoid the trigger, or change the setting it depends onTake a route home that does not pass the bakery; sit in a different chair in the evening
Substitute a replacementKeep the cue but swap in a different behaviour that meets the same needMake a cup of tea at the mid-afternoon slump instead of visiting the vending machine
If-then planDecide in advance exactly what you will do when the cue appears"If I sit down on the sofa after dinner, then I will put my phone on the charger in the hall"
Self-monitoringRecord each time the habit happens, or each time you resist itA tally on paper or in a notes app, reviewed once a week
Vigilant monitoringWatch for the urge in the moment and tell yourself not to act on itNoticing your hand reaching for your phone, and pausing

The evidence varies in strength, but points the same way:

  • Friction. A Cochrane review found that placing food farther away moderately reduced how much of it people ate (12 studies, 1,098 participants), though the certainty of the evidence was low.
  • If-then plans. These plans, known as implementation intentions, had a medium-to-large effect on reaching goals across 94 independent tests. They seem to work less strongly for cutting out an unhealthy behaviour than for adding a healthy one: a meta-analysis of 23 eating studies found a medium effect for adding healthy foods and a smaller one for reducing unhealthy eating.
  • Replace rather than forbid. In a 2011 study, plans worded as "if [situation], then not [habit]" backfired and strengthened the habit, especially when it was strong, while plans naming a replacement did not. As the 2012 paper puts it, "it is not possible to form a habit for not doing something".
  • Tracking. A meta-analysis of 138 studies (19,951 people) found that monitoring progress helped people reach their goals, with larger effects when progress was physically recorded or shared with others.
  • Watching for slips. In two diary studies of everyday bad habits, the in-the-moment tactic that worked best was vigilant monitoring: thinking "don't do it" and watching carefully for slip-ups. For strong habits it worked better than trying to keep away from the cue in the moment, so changing your surroundings works best alongside it rather than instead of it.

How do you break a bad habit, step by step?

  1. Choose one habit and describe it exactly: "scrolling in bed after 10pm", not "too much screen time".
  2. Track it for a few days, noting what happened just before each time.
  3. Name the payoff. Ask what the habit gives you: rest, comfort, company, a break or a lift in energy.
  4. Add friction and remove the easiest cues, so the habit takes more effort.
  5. Pick a replacement that fits the same moment and meets the same need.
  6. Write an if-then plan linking your main cue to the replacement. The if-then habit planner walks you through it.
  7. Keep a simple daily record and look back over it once a week.
  8. Plan for the hard moments. Add a second if-then plan for the situation where you are most likely to slip, such as a stressful day or a night out.

What should you do after a slip?

Carry on at the next opportunity. Slips are normal, and one does not undo your progress. In research on forming new habits, summarised in the 2012 British Journal of General Practice paper, missing the occasional opportunity "did not seriously impair the habit formation process". In that research, automaticity levelled off after an average of 66 days, with considerable variation between people and behaviours. Since replacing a bad habit means building a new one, expect it to take weeks rather than days.

Use each slip as information: if one situation keeps catching you out, write an if-then plan for that moment.

When should you see a doctor about a habit?

Some behaviours people call habits are really a dependence or a compulsion, which is much harder to shift alone. Signs include using more than you meant to or being unable to cut down despite wanting to, strong and persistent urges, and carrying on even though it is causing problems with your health, work or relationships. Professional support is worth seeking for:

  • Smoking. Treatments including counselling and medication can help people quit, and the NHS says that with expert help you are 3 times more likely to quit for good. In England, local stop smoking services are free.
  • Alcohol. If you often feel the need to have a drink, or think your drinking is causing you problems, the NHS suggests starting with a GP. If you have become physically dependent, stopping overnight could be harmful, so get advice before you stop. In the UK, Drinkline is the national alcohol helpline.
  • Gambling. The NHS offers a short self-check, and in England you can refer yourself to an NHS gambling clinic. The National Gambling Helpline is free and open 24 hours a day.
  • Skin picking. The NHS advises seeing a GP if you cannot stop picking your skin, if it is causing cuts that do not heal within a few days, or if it is causing distress. Talking therapy may include habit reversal training, which helps you recognise what triggers the picking and replace it with a less harmful behaviour.

Outside the UK, your doctor or a national helpline is a good first step. If you are in crisis or thinking about harming yourself, contact emergency services straight away.

When you are ready, put your plan on paper with the if-then habit planner. For the wider picture on routines, learning and behaviour change, see the full guide to habits and learning.