UNHACKD

Blog · 24 November 2026

How to Break a Habit: A Simple Science-Based Guide

Whether it's biting your nails, snacking at night or scrolling your phone, every habit follows the same basic pattern. Understand that pattern and you have a much better chance to break a habit for good.

The habit loop

  1. Cue: the trigger. A time, place, feeling or notification.
  2. Routine: the behaviour. Picking up your phone and opening a feed.
  3. Reward: what you get. A distraction, a laugh, relief from boredom.

Repeat the loop enough and it becomes automatic. To break a habit, you work on each part.

Blank checklist
Cue, routine, reward: three places to make a change.

How to break a habit, step by step

1. Spot your cues

For a week, notice what happens right before the habit. Bored? Stressed? Just woke up? Waiting somewhere?

2. Remove or reduce cues

Fewer cues means fewer urges. For a phone habit: notifications off, phone out of the bedroom, apps off your home screen.

3. Add friction to the routine

Make the habit harder to do: log out, put the phone in another room, use grayscale.

4. Replace the routine, keep the reward

You still want the reward (a break, a distraction, calm). Find a better routine that gives it: a walk, a stretch, a quick game, a few slow breaths.

Cyclist on a city street
Swap the routine, keep the reward you were looking for.

5. Ride out urges

Urges peak and pass. Each one you ride out weakens the habit. See urge surfing.

6. Track your progress

Seeing days add up keeps you going. A streak, a calendar, a tally.

7. Plan for slips

Everyone slips. What matters is restarting quickly, not starting over from guilt.

How long does it take to break a habit?

There's no single number. It depends on the habit and the person, and it usually takes weeks to months for a new routine to feel automatic. Consistency matters much more than perfection.

Breaking the phone habit

We built Unhackd, our app for quitting doomscrolling, around the habit loop: it helps you spot your most common trigger, gives you a Panic Button for the urge, offers better routines (focus games, focus sessions, My Space), and tracks your streak. For the full phone plan, see how to stop doomscrolling.

Unhackd home screen with a glowing brain and a 41 day streak
A streak turns progress into something you can see.

Photos: rawpixel, public domain (CC0).

Keep reading