How to Break a Bad Habit: 7 Steps That Actually Stick
Most advice says 'just stop.' Bad habits don't work that way. Here is how they run, what they are really doing for you, and a step-by-step plan to change them without relying on willpower alone.
In this article
- Why bad habits are so hard to break
- The habit loop: cue, craving, response, reward
- How to break a bad habit: 7 steps
- 1. Get specific about the habit
- 2. Find the job the habit is doing
- 3. Map your triggers
- 4. Replace it, don’t just remove it
- 5. Make the old habit harder and the new one easier
- 6. Ride out the urge
- 7. Plan for the slip
- Make an if-then plan
- A worked example: breaking the late-night scrolling habit
- How long does it take to break a bad habit?
- Common mistakes
- When it’s more than a habit
- Frequently asked questions
- What is the hardest habit to break?
- Can you break a habit without willpower?
- Where to start this week
Key takeaways
- A bad habit is an automatic response to a cue, kept alive by a reward. Willpower alone rarely beats it; changing the loop does.
- Every habit does a job: relief, stimulation, comfort or escape. Breaking it lasts when you meet that need another way.
- Make the old habit harder and the new response easier by changing your environment, not just your intentions.
- Urges rise and fall. Delaying for a few minutes, and having an if-then plan ready, takes much of their power away.
- Expect it to take weeks to months, and treat slips as information rather than failure.
- If a behaviour feels compulsive or is causing serious harm, talk to a doctor or mental health professional.
You know the habit you want to stop. Maybe it is scrolling your phone until 1 a.m., biting your nails, reaching for snacks when you are stressed, snapping at the people closest to you, or putting off the one task that matters. You have promised yourself “never again” more than once. And yet, at the wrong moment, your hand moves before your mind has voted.
If you have ever wondered how to break a bad habit that keeps coming back, it helps to know that this is not a character flaw. Habits are supposed to be hard to override. They are the brain’s way of saving effort, and they run on a different system from the one you use to make plans. The good news is that once you understand how a habit is built, you can take it apart — and the method is more practical than “try harder.”
This guide explains why bad habits are so sticky, what they are really doing for you, and seven concrete steps to change them, plus how long it takes and when a “habit” needs professional support.
Why bad habits are so hard to break
A habit is a behaviour that has been repeated in a stable context until it becomes largely automatic. You no longer decide; a cue does it for you. Psychologists who study habits describe them as learned links between a situation and a response. When you meet the situation, the response is triggered with little thought.
That matters for two reasons.
Habits are more common than we think. In one well-known diary study, researchers found that around 40 percent of the things people did each day were done almost daily in the same place, often while thinking about something else. Much of your day is autopilot.
Habits are attached to context. They are strongly tied to the setting where they were learned: the sofa, the commute, the 3 p.m. slump, the person you are with. This is why intentions made in a calm, motivated moment so often fail in the real moment. The old cue turns up, the old response fires, and your good intentions are sitting somewhere else.
On top of that, bad habits usually pay off: the brain has learned that the behaviour brings relief, pleasure or comfort. Health experts note that stress, loneliness and sadness make people more likely to fall back on unhelpful habits when they lack other ways to cope.
The habit loop: cue, craving, response, reward
The most useful model for changing a habit is the habit loop. It has four parts:
- Cue — the trigger: a time, place, feeling, person or preceding action.
- Craving — the urge or need the cue stirs up: relief, stimulation, comfort, connection.
- Response — what you actually do.
- Reward — the payoff, which teaches the brain to repeat the loop.
Here it is applied to some common habits:
| Habit | Cue | Craving | Response | Reward |
|---|---|---|---|---|
| Late-night scrolling | In bed, phone within reach | Switch off after a long day | Open social media | A feeling of escape |
| Stress snacking | A tense email at 3 p.m. | Relief, comfort | Head to the kitchen | Brief calm |
| Procrastinating | An unclear or daunting task | Avoid the discomfort | Check messages | Immediate relief |
Seeing your habit written this way is often the first “aha.” The behaviour makes sense. It is doing a job.
How to break a bad habit: 7 steps
1. Get specific about the habit
“Stop wasting time” is a wish. “Stop opening social media in bed after 10 p.m.” is a target. Write down exactly what you want to change, in observable terms: what you do, where, and roughly how often.
Then spend a few days simply noticing it, without trying to change anything. A quick note on your phone works: time, place, what happened just before, and how you felt. Many people find the pattern is clearer than they expected — and that the habit is triggered by fewer things than they assumed.
2. Find the job the habit is doing
Ask: What does this habit give me, even briefly? Common answers are relief, stimulation, comfort, escape and connection.
This step is the difference between a habit change that lasts and one that lasts a week. If you remove a habit but leave the need unmet, the need will look for another route. Naming the need honestly, without judging yourself for it, tells you what a substitute has to provide. If it is hard to tell what you feel, our guide to naming what you feel can help.
3. Map your triggers
Now look for the cues. Ask when, where and with whom the urge appears, how you are feeling, and what you did just before.
Most habits have two or three dominant triggers. Those are your targets.
4. Replace it, don’t just remove it
Trying to delete a habit and leave a gap tends to fail, because the cue is still there and the craving still needs somewhere to go. Instead, keep the cue, meet the same need, and change the response.
- Craving = relief from stress? Try a five-minute walk, slow breathing with a long exhale, or a short call to a friend.
- Craving = escape from a task? Break the task into a two-minute first step, so starting feels less threatening.
The replacement does not have to be perfect or virtuous. It has to be available, easy, and good enough to meet the need at that moment. You can refine it later.
5. Make the old habit harder and the new one easier
This is where environment does the heavy lifting. Behaviour follows friction: we do what is easiest at the moment of urge.
Add friction to the old habit: delete the app, keep tempting foods out of sight, charge your phone across the room, unsubscribe or block.
Remove friction from the new one: put the book on your pillow, keep water on your desk, leave your walking shoes by the door.
Change the context if you can. Research on habit disruption found that when people’s circumstances changed — for instance after a move — many old routines were more open to change, because the cues that held them in place were gone. You can borrow that effect on purpose: rearrange your workspace, take a different route, or use a different chair for the activity you want to change.
6. Ride out the urge
Urges feel urgent, but they tend to rise, peak and fall. Health experts suggest that many urges fade within about 20 minutes, and that even delaying a behaviour for 15 minutes can lower the temptation. That gives you a simple tactic: don’t fight the urge, wait it out.
Try this:
- Notice and name it. “This is an urge to check my phone.”
- Set a timer for ten to twenty minutes.
- Observe the sensations in your body — where the urge sits, how it changes — without acting on it. This is often called “urge surfing,” and small studies of mindfulness-based approaches have found promising results for reducing acting on cravings.
- Do something else that uses your senses or body: cold water on your hands, a short walk, tidying, music.
- Check in when the timer ends. Often the urge has shrunk or gone.
7. Plan for the slip
Almost everyone slips. What matters is what happens next. Many people fall into “what the hell” thinking: I’ve already blown it, so I may as well carry on. That turns one lapse into a relapse.
Two things help:
- Decide your slip rule in advance. “If I slip, I go back to my plan at the next opportunity — not tomorrow, not Monday.” A useful phrase: never miss twice.
- Be kind to yourself. In one experiment on eating habits, people who had been encouraged to treat a slip with self-compassion went on to eat less afterwards than those who had not. Harsh self-criticism tends to fuel the very habits people are trying to leave. If your inner critic gets loud, our piece on quieting the inner critic may help.
Make an if-then plan
Steps 3 to 6 come together in one of the best-studied planning tools in psychology: the implementation intention, or if-then plan. It takes the form:
If [cue], then I will [replacement response].
A large meta-analysis of studies found that people who made specific if-then plans were more likely to achieve their goals than people who only set the intention. Plans work because they link a specific cue to a specific action in advance, so you are not relying on in-the-moment willpower.
Examples:
- If I get into bed and reach for my phone, then I will put it on the charger across the room and read two pages of a book.
- If I feel the urge to snack after a stressful call, then I will drink a glass of water and walk to the end of the street.
- If I catch myself opening a new tab to avoid the report, then I will work on it for five minutes first.
Write two or three. Keep them somewhere you will see them.
A worked example: breaking the late-night scrolling habit
Say the habit is scrolling for an hour in bed, and you wake up tired and annoyed.
- Target: no social media in bed after 10:30 p.m.
- Job it does: winding down and escaping a demanding day.
- Replacement: a warm shower, an audiobook or a paper book.
- Friction: the phone charges in the kitchen; the book sits on the pillow.
- Urge plan: if I want my phone, I wait ten minutes and focus on my breathing.
- Slip plan: if I scroll one night, I return to the plan the next evening.
Nothing here relies on being a naturally disciplined person. It relies on design.
How long does it take to break a bad habit?
You have probably heard “21 days.” That figure is a myth. In a widely cited study of people forming a new daily habit, the time it took to reach automatic behaviour ranged from about 18 to 254 days, with a typical time of around two months. Cleveland Clinic experts similarly suggest that breaking a habit takes at least ten weeks.
The honest answer is that it depends on the habit, how long you have had it and how strong the cue and reward are. Expect weeks to months, with the hardest stretch early on; missing a day or two does not appear to undo the process. (For the flip side, see how habits actually form.)
Common mistakes
- Relying on willpower alone. It is unreliable when you are tired or stressed, exactly when the habit fires.
- Ignoring the need. If the habit soothes stress and the stress stays, it will find another outlet.
- Shaming yourself. Guilt feels like motivation but tends to fuel the habit.
When it’s more than a habit
Some behaviours look like habits but need more support. Consider speaking to a doctor or mental health professional if:
- the behaviour feels compulsive, or involves alcohol, drugs or gambling,
- it involves self-harm, disordered eating, or repetitive behaviours such as hair pulling or skin picking that cause distress or injury,
- it is tied to persistent low mood, anxiety or trauma,
- you have tried repeatedly with good plans and nothing changes.
Effective treatment exists, including therapy approaches designed for changing behaviour, and asking for help is a sensible step, not a sign of weakness. If you are in crisis or worried about your safety, contact your local emergency number or a crisis line — see our disclaimer for options.
Frequently asked questions
What is the hardest habit to break?
It varies, but the hardest habits tend to be the ones tied to strong emotions, frequent cues and quick rewards — or those with a physical dependence, such as nicotine or alcohol. These often benefit from professional support.
Can you break a habit without willpower?
Largely, yes. Changing your environment, planning if-then responses and replacing the habit with something that meets the same need all reduce how much willpower you need at the moment of temptation.
Where to start this week
You don’t need an overhaul. Pick one habit, watch it for three days, write one if-then plan and one piece of friction, and choose your slip rule before you need it.
If your routines keep collapsing more generally, why you keep breaking your routine looks at the design problems behind that. And if your mind races around the habit itself, how to stop overthinking can help you step out of the loop.
Habits are patterns you learned, and patterns can be relearned. Change the cue, meet the need, and give it time.
References & sources
- How are habits formed: Modelling habit formation in the real world . European Journal of Social Psychology, 40(6), 998–1009, 2010.
- Habits in everyday life: Thought, emotion, and action . Journal of Personality and Social Psychology, 83(6), 1281–1297, 2002.
- A new look at habits and the habit-goal interface . Psychological Review, 114(4), 843–863, 2007.
- Changing circumstances, disrupting habits . Journal of Personality and Social Psychology, 88(6), 918–933, 2005.
- Implementation intentions and goal achievement: A meta-analysis of effects and processes . Advances in Experimental Social Psychology, 38, 69–119, 2006.
- Surfing the urge: Brief mindfulness-based intervention for college student smokers . Psychology of Addictive Behaviors, 23(4), 666–671, 2009.
- Promoting self-compassionate attitudes toward eating among restrictive and guilty eaters . Journal of Social and Clinical Psychology, 26(10), 1120–1144, 2007.
- How to break a bad habit . Harvard Health Publishing.
- How to break bad habits . Cleveland Clinic.
This article is for general information and education. It is not medical advice and cannot replace care from a qualified professional. Read our disclaimer.
Related reading
How Habits Actually Form (and Why 21 Days Is a Myth)
There's no magic number of days. What matters is repeating a small action in the same context until it starts to feel automatic.
Why You Keep Breaking Your Routine (and What to Change Instead)
When routines collapse, willpower is rarely the real problem. Look at the design of the habit, your environment and your expectations, and adjust from there.
Emotional Regulation Basics: What It Means and How to Practise It
Emotional regulation isn't about suppressing feelings. It's about responding to them skilfully. A plain-language introduction with practical starting points.