Guide

How to break a bad habit

You break a bad habit by changing the situation around it. Fighting the urge harder each time rarely lasts. Find what sets it off, make it harder to do, give the urge somewhere else to go, and count the slips without drama.

No Social Media quest art from XP Tracker, Outlaw version

Short answer: Find the cue that sets the habit off, make the habit harder to reach, and plan what you will do instead when the cue shows up. Track slips as information. Expect it to take weeks or months, and expect a few relapses along the way.

Bad habits run on autopilot. You pick up the phone, open the fridge or light the cigarette before you have decided anything. That is why trying harder in the moment fails so often: by the time you notice, the habit is already halfway done.

So the work happens before the moment. You change where the habit lives, what it costs and what you do in its place. The steps below work for screen habits, snacking, nail biting, late nights and most other everyday habits. Addictions to alcohol, drugs, gambling or nicotine can need medical help as well, and the FAQ covers that.

The method in 7 steps

  1. Pick one habitChoose the habit that costs you most and name it in plain words: "scrolling in bed after 11 p.m.", not "my phone problem". One habit at a time gives you a clear target.
  2. Find the cueFor three to seven days, write down each time the habit happens: the time, the place, who was there, how you felt and what you did just before. Patterns show up fast. Our guide on finding your habit triggers has a log you can copy.
  3. Name what you get out of itEvery bad habit pays you something. Scrolling gives you a break from thinking. Snacking at 4 p.m. gives you energy and a pause. Write down the payoff, because your replacement has to pay you something similar.
  4. Add frictionMake the habit slower and more annoying. Charge the phone in the kitchen. Keep biscuits on a high shelf or out of the house. Log out of the app so you have to type a password. Twenty seconds of hassle stops a lot of autopilot.
  5. Plan the replacementWrite an if-then plan: "If I reach for my phone in bed, then I read two pages of the book on my pillow." A plan written in advance gives the urge somewhere to go.
  6. Track the clean days and the slipsA tick on a calendar for each day you held the line, and a short note for each slip. Count totals over the month, not only days in a row.
  7. Review once a weekLook at your notes on Sunday. Which cue keeps winning? Change one thing about it for next week: a new place for the phone, a different snack, an earlier bedtime.

Examples you can copy

Bad habitCommon cueFrictionReplacement
Scrolling in bedLying down with the phoneCharger in the kitchen, cheap alarm clock by the bedRead 5 pages
Snacking at 4 p.m.Afternoon slump at the deskNo snacks in the desk drawerGlass of water and a 5-minute walk
Nail bitingReading emails or waitingShort nails, plasters or bitter polishSqueeze a stress ball or hold a pen
Checking news every hourOpening the laptopNews sites blocked during work hoursCheck once at lunch for 10 minutes
Energy drinks after lunchWalking past the shopTake a different route backTea or coffee before 2 p.m.

Notice that none of these rely on resisting harder. Each one moves the habit further away or gives the cue a new job.

A 4-week plan

  1. Week 1: watchChange nothing yet. Log every time the habit happens. You want the cue, the feeling and the payoff.
  2. Week 2: add frictionMake two changes to your space based on the log. Keep logging.
  3. Week 3: replaceWrite one if-then plan for your strongest cue and use it every time. Expect to forget half the time at first.
  4. Week 4: review and repeatCount how many times the habit happened compared with week 1. Keep what worked, fix the cue that still wins, and start the next four weeks.

Getting through a craving

A craving feels like it will grow until you give in. In practice it rises, peaks and fades, often within a few minutes. You can use that.

  • Delay ten minutes. Tell yourself you can have it in ten minutes if you still want it. Set a timer and do your replacement.
  • Change rooms. Many cues are tied to one place. Standing up and walking to another room breaks the link for a moment.
  • Name it. Say "this is a craving, it will pass" in your head. Naming the urge puts a little space between you and it.
  • Lower the stakes. If you give in, you give in once. The next cue is a fresh choice.
Pattern Recognition quest art from XP Tracker, Hunter version
Pattern Recognition: spot the pattern first, then pick one step.

Common mistakes

  • Quitting five habits on 1 January. You split your attention five ways and lose all of them by February. Start with one.
  • Leaving a gap. If scrolling filled 40 minutes of your evening, those 40 minutes need a new job, or the old habit walks back in.
  • Treating a slip as proof. One cigarette after two clean weeks is one cigarette. The "I've ruined it" story does more damage than the slip.
  • Relying on willpower in the moment. Willpower is at its weakest when you're tired, stressed or hungry, which is when most bad habits strike.

What the research says

Wendy Wood, Jeffrey Quinn and Deborah Kashy (2002) asked people to log what they were doing through the day. About 43% of everyday actions happened almost daily in the same setting, often while people were thinking about something else. That is why changing the setting works so well: the cue loses its grip when the context changes.

Peter Gollwitzer's work on implementation intentions (1999), and a meta-analysis by Gollwitzer and Paschal Sheeran (2006) covering 94 studies, found that if-then plans had a medium-to-large effect on reaching goals. Writing "if X, then I will Y" is a small step with good evidence behind it.

What to do today

Pick the one habit you want gone. Write it down in plain words, then start a three-day log on paper or in your notes app. Tonight, make one change to your space that adds friction, like moving the charger or the snacks. That's enough for day one.

In XP Tracker, you can add a "hold the line" quest such as No social media, No junk food or No smoking or vaping, and you confirm it in the evening. Each one keeps its own streak, and a missed day only costs the XP you didn't earn. If the habit is your phone, App Lock can keep other apps closed until your first quests are done.

No social media quest art
No social media
Hold the line: no social media today. Own your focus.
No junk food quest art
No junk food
Hold the line: no junk food today. Eat real food.
No smoking or vaping quest art
No smoking or vaping
Hold the line: no smoking or vaping today. Cravings pass.

Questions people ask

Can you break a bad habit in 21 days?

Some people do, many don't. The 21-day figure comes from a 1960 self-help book by Maxwell Maltz, not from a study of habits. In the best-known study on forming new habits (Lally et al., 2010), it took between 18 and 254 days. Plan for months and be pleased if it goes faster.

Is it better to quit a bad habit all at once or cut down?

It depends on the habit and on you. Some people do better with a clear line (no phone in the bedroom, ever). Others do better cutting down in steps. Try one approach for two weeks and switch if it isn't working. For alcohol, drugs or nicotine, ask a doctor, because stopping suddenly can be risky for some substances.

What do I do when a craving hits?

Wait ten minutes and do your planned replacement in the meantime. Cravings rise and fall. Most fade if you don't feed them, and each one you ride out makes the next a little easier to handle.

What if I slip after a good week?

Write down what happened (time, place, feeling), then carry on with tomorrow's plan. A slip is information about a cue you missed. It doesn't wipe out the days you got right.

When is a bad habit something I need help with?

If the habit harms your health, money, work or relationships and you can't cut down despite trying, talk to a doctor or a qualified professional. That applies to drinking, gambling, drugs, self-harm and compulsive behaviours. Help is normal and it works better than willpower alone.

Start your journey

Pick a class, do the day's quests, and watch your hero level up with you.

Start free on iPhone and Android.

Scan to install Point your phone camera at the code. iPhone opens the App Store, Android opens Google Play.