Building a habit means repeating something until it’s automatic. Breaking one is harder, because the old behaviour is already automatic. It fires off a cue before you’ve had time to decide. Willpower alone rarely wins that race, but a bit of planning usually can.
This guide walks through a method that works for everyday habits like late-night scrolling, snacking out of boredom, nail-biting, or hitting snooze. It also covers how to use a clean-day streak without letting a single slip end the whole attempt.
A note before you start. If the habit involves alcohol, drugs, gambling or anything that’s harming your health or relationships, an app isn’t enough on its own. Talk to a doctor or a specialist service. In the US, the SAMHSA National Helpline (1-800-662-4357) is free, confidential and open 24/7.
Step 1: Name the habit precisely
“Use my phone less” is a wish. “No phone in bed after 11 pm” is a habit you can track. A good target is:
- Specific: one behaviour, in one situation.
- Observable: at the end of the day you know whether it happened.
- Yours to control: “Don’t buy snacks at the gas station” works better than “lose weight”.
If the habit is large, split it. Quit the in-bed scrolling first, the lunchtime scrolling later.
Step 2: Map the loop
Most habits run on a loop: a cue (a time, place, feeling or person), a routine (the behaviour), and a payoff (what you get out of it). For one week, don’t try to quit yet. Every time the habit happens, jot down:
- Where were you and what time was it?
- What were you feeling just before? (Bored, tired, anxious, avoiding something?)
- What did the habit give you? (Distraction, comfort, a break, stimulation?)
You’ll usually find two or three cues behind most of the occurrences. Those are your targets.
Step 3: Replace the routine, don’t just delete it
The payoff is real, so removing the behaviour leaves a gap the old habit will rush back to fill. Choose a replacement that gives a similar payoff in the same situation:
| Habit | Cue | Payoff | Replacement |
|---|---|---|---|
| Scrolling in bed | Lights off, phone in hand | Winding down | Phone charges across the room; a paper book on the nightstand |
| Snacking at 4 pm | Energy dip at your desk | A break and a lift | Walk to refill water, a short stretch, or a planned piece of fruit |
| Hitting snooze | Alarm by the bed | Avoiding a cold, dark morning | Alarm across the room, lamp on a timer |
| Nail-biting | Reading or waiting, hands idle | Something to do with your hands | Fidget ring, hand cream, or keeping nails short and filed |
Then turn it into an if-then plan: “When I get into bed, I will put my phone on the charger by the door.” Plans in this form reliably improve follow-through compared with good intentions alone (Gollwitzer & Sheeran, 2006).
Step 4: Add friction to the old habit
Make the unwanted behaviour a little harder and the replacement a little easier. Small barriers matter more than they look, because automatic behaviour takes the path of least resistance.
- Log out of the app after each use, or move it off your Home Screen.
- Don’t keep the snack in the house; keep the fruit on the counter.
- Use your phone’s built-in limits. On iPhone, Settings → Screen Time offers Downtime and App Limits.
- Tell someone. Saying it out loud adds a social cost to slipping.
Step 5: Count clean days
A clean day is a full day without the habit. Counting them gives you something positive to build, rather than a vague promise not to do something.
How Habiroot does it: when you create a habit to quit, the app counts whole days since you started (or since your last slip). Its plant begins rotten and recovers through six stages as the clean days add up, at 3, 7, 14, 30 and 50 days. On a day you slip, you log it. The count restarts, and the plant begins recovering again.
Why count instead of just trying hard? Because quitting is mostly invisible: nothing happens, again and again. A count, or a tree coming back to life, makes “nothing happened” feel like progress.
Step 6: Plan for the slip before it happens
Most people slip at some point. What happens next decides whether the attempt survives. Relapse-prevention research describes the abstinence violation effect: after one lapse, people tend to decide they’ve failed completely and go back to the old pattern in full (Marlatt & Gordon, Relapse Prevention, 1985). The fix is to decide now, while you’re calm, what a slip means:
- A slip is data, not a verdict. Log it honestly. A tracker you lie to is useless.
- Find the cue. What happened right before? Was it a cue you mapped in step 2, or a new one?
- Adjust one thing. More friction, a better replacement, or a new if-then plan for that situation.
- Restart today, not Monday. The new streak begins immediately.
Your longest run is still your longest run. The skills and the weaker cue-response link don’t disappear when the counter resets.
Step 7: Watch the danger zones
Some situations reliably trigger slips. Having a plan ready for them helps:
- Tired, hungry, stressed or lonely. Habits are strongest when your reserves are lowest.
- New contexts. Travel, holidays and weekends break your usual routines, including the good ones.
- “Just this once.” Decide in advance whether exceptions exist. If they do, define them (for example, “dessert at restaurants only”) so they aren’t decided in the moment.
A worksheet you can copy
- The habit I’m quitting: ______ (specific, observable)
- My top cues: 1. ______ 2. ______
- What it gives me: ______
- My replacement: When ______, I will ______.
- Friction I’m adding: ______
- Who I’m telling: ______
- If I slip, I will: log it, find the cue, change one thing, restart today.
- My first milestone: 3 clean days. Then 7, 14, 30.
Quitting is a skill you get better at. Every clean day is practice, including the ones that come after a slip.