The guide

How to quit porn: a practical plan that doesn't rely on willpower.

Willpower is a poor tool at 11pm, when you're tired, stressed and alone with your phone. This guide is the alternative: change your surroundings, learn your triggers, practise handling urges, and build a life with less room for the habit. Take what helps. You don't have to do all of it.

Last reviewed October 3, 2026 · about a 15-minute read · free, no sign-up

  1. 01Know your whyOne sentence you can come back to.
  2. 02Make it harderFilters, blockers, and a better bedtime setup.
  3. 03Find your triggersThe times and feelings that come first.
  4. 04Plan for urgesA script for the worst ten minutes.
  5. 05Fill the spaceMeet the need the habit was meeting.
  6. 06Recover wellHandle slips without the spiral.

Start here

Three ideas make everything else in this guide work.

A plan beats willpower

Decide what you'll do before the urge shows up, while your head is clear. In the moment you won't be choosing between "do the right thing" and "do the wrong thing". You'll be following a plan you already made.

Shame feeds the habit

For many people, porn is partly a way to escape a bad feeling. Punishing yourself after a slip creates more of the feeling you wanted to escape. Curiosity ("what was going on just before?") works far better than self-attack.

You're building skills, not proving your character

Setting up your phone, noticing triggers, riding out an urge, and asking for help are all skills. They get easier with practice, and a slip doesn't erase them.

Do this first

Write your "why" in one sentence. Not "stop watching porn", but what quitting makes room for. For example: "I want to be present with the people I love and trust myself again." Put it somewhere you'll see it. Anchor asks for it during setup and shows it back to you in Reset mode, right when you need it.

An honest note on the evidence

"Porn addiction" isn't a formal diagnosis, and researchers still debate how to describe it. Most of the research behind the techniques below comes from other habits and addictions, such as smoking, drinking and compulsive behaviours generally. Research on porn specifically is still developing. These methods are widely used and reasonable to try, but none of them is guaranteed, and nobody should promise you a timeline.

Your 30-day starter plan

Four weeks, each with one theme. Do the actions you can, skip the ones that don't fit, and don't restart the plan if you miss a day. Just pick it up where you are.

  1. Week 1 · Days 1–7

    Set the stage

    Make the habit harder to do on autopilot.

    • Write your "why" in one sentence.
    • Turn on a DNS filter and SafeSearch (how).
    • Install a blocker and set a night-time lockdown (how).
    • Charge your phone outside the bedroom tonight.
    • Optional but powerful: tell one person you trust (how).
  2. Week 2 · Days 8–14

    Learn your patterns

    You can't plan for triggers you haven't noticed.

    • Note every urge: time, place, what you felt, what happened beforehand.
    • Find your top two triggers (how).
    • Write two if–then plans, one for each (examples).
    • Practise the 60-second reset once a day while you're calm. Skills first, crisis later.
  3. Week 3 · Days 15–21

    Fill the space

    Give the time and the need a better home.

    • Schedule something specific for your riskiest hours.
    • Move your body most days, even a short walk.
    • Fix a regular bedtime and wake time.
    • Reach out to someone at least twice this week (ideas).
  4. Week 4 · Days 22–30

    Make it yours

    Review what's working and plan for the long run.

    • Look back: what helped, and what gaps did you find in your setup?
    • Close the gaps. Tighten one thing, don't rebuild everything.
    • Write your slip plan before you need it (how).
    • Decide on longer-term support: a therapist, a group, or both (options).

After day 30, keep the parts that work and carry on. Many people continue with a longer 90-day challenge. Anchor has one, with a theme for each week.

Make it harder to do on autopilot

Every extra step between you and an urge is time for the urge to pass. The aim isn't an unbreakable wall. No such thing exists. It's friction, so the habit stops being a one-tap reflex. Think in layers:

  1. A DNS filter. Blocks known adult websites across every app and browser on your phone.
  2. An app and website blocker. Blocks specific apps and sites, and whole time windows such as nights.
  3. Platform settings. Social feeds are a big source of explicit content that filters can't see inside.
  4. Your environment. Where the phone sleeps, where you use devices, which accounts are logged in.
  5. A person. Someone who knows, so you're not carrying it alone.

Layer 1: Block adult sites with a DNS filter

Your phone uses a "DNS" service to turn website names into addresses. A filtering DNS service refuses to look up known adult sites, so they simply don't load. It's free and takes about two minutes. The example below uses CleanBrowsing, which offers free filters.

Android (version 9 or newer)

  1. Open Settings and search for "Private DNS". It's usually under Network & internet → Advanced, or on Samsung under Connections → More connection settings.
  2. Choose "Private DNS provider hostname".
  3. Enter the hostname below and save. The Family filter is the most protective: it blocks adult sites, enforces SafeSearch and blocks mixed-content sites. The Adult filter is lighter.
    family-filter-dns.cleanbrowsing.org
    adult-filter-dns.cleanbrowsing.org
  4. Check it works. Browse normally for a minute. If your phone says "Couldn't connect", re-check the spelling. Also try a quick search: results should be filtered.

Prefer a different provider? Cloudflare offers a free "family" option too, which blocks malware and adult content: family.cloudflare-dns.com

iPhone and iPad

  • Built-in filter: Settings → Screen Time → Content & Privacy Restrictions → Content Restrictions → Web Content → Limit Adult Websites. Set a Screen Time passcode that someone else holds, otherwise you can switch it off yourself in ten seconds.
  • DNS filter: iPhones have no "Private DNS" switch. You can set a filtering DNS for each Wi-Fi network (Settings → Wi-Fi → your network → Configure DNS → Manual), but that doesn't cover mobile data. Providers like CleanBrowsing publish an install profile on their setup page that covers all networks.

At home: your router

Setting the filtering DNS on your Wi-Fi router covers every device on your network, including laptops, tablets and TVs. The steps depend on your router. The CleanBrowsing setup page has instructions for most brands.

What a DNS filter can't do
  • It can be switched off. Anyone can change the setting back, so it only helps if you don't do that in the moment. Having a friend hold your settings passcode closes the gap.
  • A VPN app can override it. If you use a VPN, check the filter is still active.
  • It blocks sites, not content inside platforms. It can't filter what appears in your Reddit, X or Telegram feed. See platform settings below.
  • Your DNS provider can see which site names your phone looks up. Choose a provider you trust and read their privacy policy.

Layer 2: App and website blockers

A blocker lets you shut off apps, websites and whole time windows. It's the right tool for the late-night hours when most slips happen. These are tools worth knowing about:

Our suggested startAndroidiPhoneFree + Premium

AppBlock

Blocks apps and websites on schedules, with triggers based on place or Wi-Fi network, and a Strict Mode that stops you from cancelling a block mid-session.

  • Flexible rules: different profiles for night, work, and risky places.
  • Works on Android and iPhone, with browser extensions too.

Know before you start: the free version has limits and the stronger Strict Mode options need Premium. Set Strict Mode up deliberately and test it. One reviewer found it easier to disable than expected on default settings.

appblock.app ↗

AndroidiPhoneFree + Premium

Stay Focused

Blocks apps, websites and keywords. Its Lock Mode asks for a password to change settings or uninstall, and works best if you hand that password to someone else.

Know before you start: the strictest mode is a premium feature, and the free version limits how long you can lock yourself in.

stayfocused.me ↗

Phone + computerPaid

Freedom

Syncs blocks across your phone and computer, with a locked mode designed to hold even if you try to quit the app. Useful if your computer is where the problem happens.

freedom.to ↗

Windows + MacFree core

Cold Turkey Blocker

A desktop blocker with a locked mode for schedules you can't undo in a weak moment. A common choice for laptops and desktops.

getcoldturkey.com ↗

A simple blocker setup for recovery

  1. Create a "Night lockdown" profile. Block your browsers and the apps you drift into (social, video, forums) from about an hour before bed until morning. Most slips cluster late at night, so this is the profile that matters most.
  2. Create an "Always blocked" profile. Add the specific apps and sites where you've slipped before.
  3. Turn on Strict Mode for the night profile. Give the PIN to someone you trust. If you don't have that person yet, ask a friend to set it up on your phone while you look away.
  4. Test it once, while calm. Try to get around it. If you can in under a minute, tighten it now rather than at 1am.
No blocker blocks everything

Determined workarounds exist: another browser, another device, restarting in Android Safe Mode, uninstalling. A blocker's job isn't to make slipping impossible. It's to turn a one-second reflex into a decision that takes several minutes, and an urge often fades in that time. If you find yourself working around it, that's useful information about what's happening in the moment, not a failure.

Accountability software is a different kind of tool. Services like Covenant Eyes (paid) monitor activity and send reports to a person you choose. Some find the idea of being seen a powerful deterrent, others find it intrusive. It's a personal call, and worth discussing with whoever would receive the reports.

Our disclosure: we have no affiliate links, sponsorships or partnerships with any tool on this page, and we earn nothing if you use them. We included them because they're commonly used. Features and pricing change, so check each tool's own website.

Layer 3: Social media and platform settings

A lot of exposure doesn't come from porn sites. It comes from feeds, recommendations and group chats. A DNS filter can't see inside those, so adjust the platforms themselves:

  • Turn off sensitive or NSFW content settings on X, Reddit, Instagram, Telegram, Discord and anywhere else that offers them.
  • Mute keywords and accounts that lead you toward explicit content, and unfollow without guilt.
  • Leave or mute group chats and communities that regularly post it.
  • Turn on SafeSearch in Google and any other search engine you use.
  • Log out and remove saved logins for accounts you've used for porn, and clear bookmarks and saved passwords. Make it a hassle to get back in.

Layer 4: Your environment

  • Charge your phone outside the bedroom. Use a cheap alarm clock. Late-night, in-bed scrolling is one of the most common slip situations, and this removes it.
  • Keep devices out of the bathroom and out of bed.
  • Use screens in shared spaces during your riskiest hours.
  • Uninstall apps you've slipped in, instead of promising to ignore them.
  • Use one browser that you've set up with your filters, and remove the rest.

Layer 5: Tell someone

Secrecy is part of what keeps the habit going. You don't need to tell everyone, and you don't need to tell the whole story. One person is enough: a close friend, a sibling, a partner, a counsellor, a support group.

If you're not sure what to say

"I'm trying to stop watching porn and it's been hard to do alone. I'd like to be able to text you if I'm struggling. You don't need to fix anything or give advice. I just don't want to hide it."

When an urge hits

Urges rise, peak and fade, and they often pass within minutes if you don't feed them. Here is a script to follow when you can't think straight. Read it a few times now so it's familiar later.

  1. Name it. Say, "This is an urge. It's a wave, not an order." Naming it changes your relationship with it.
  2. Put distance between you and the device. Stand up, leave the room, put the phone somewhere else.
  3. Change your physical state. Cold water on your face or wrists, two minutes of push-ups or a fast walk, step outside. A different body state interrupts the loop.
  4. Breathe for 60 seconds. Slow breathing gives your body something to do while the wave passes. Try the guided version right now.
  5. Surf the urge. Notice where you feel it (chest, stomach, hands) and rate it 0 to 10. Check again every couple of minutes. Watching the number usually shows it rising, peaking and falling. This "urge surfing" comes from mindfulness-based relapse-prevention research.
  6. Give it ten minutes. Set a timer and decide nothing until it rings. You're not promising to never do it, only to wait first.
  7. Do the next thing. A pre-decided activity: make food, shower, call someone, go for a walk. And if you can, tell someone or log it.

Write if–then plans

"If situation X happens, then I will do Y." Planning the response in advance makes it far more likely you'll follow through, because you've already decided. Make them specific:

  • If it's late and I'm in bed with my phone, then I'll put it on the charger in the hallway and read for ten minutes.
  • If I'm bored at home alone on a weekend, then I'll go for a walk, or message a friend about plans.
  • If I feel stressed after a bad day, then I'll shower, eat something and do the 60-second breathing before I do anything on a screen.
  • If I notice I'm "just checking" something I shouldn't, then I'll close it, stand up and drink a glass of water.

Know your triggers

Urges rarely come from nowhere. Something usually happens first: a time, a place, a feeling. Once you can see the pattern, you can plan around it.

A rule of thumb: HALT

Before an urge gets going, check whether you're Hungry, Angry (or anxious), Lonely, or Tired. It's a long-used recovery heuristic, not a scientific measure, but those four states do show up in a lot of people's slips. Fixing the underlying state often takes the edge off the urge.

Other common triggers

  • Late at night, especially in bed with a phone
  • Boredom, or an empty stretch of the day
  • Stress, conflict or rejection
  • Being home alone, or travelling alone
  • Scrolling social media until something appears
  • A "reward" moment after a good day or a finished project

Track it for a week

Every time you feel an urge, or slip, write down three things: when, how you were feeling, and what happened in the 30 minutes before. After a week, look for the repeats. Pick your top two triggers and build specific plans for each. Anchor's daily check-in is designed to make this quick.

Fill the space

The habit usually does a job for you: relief, escape, comfort, stimulation, or a stand-in for closeness. If you remove it without replacing the function, the need just comes back louder. Ask yourself, "What was this giving me?" Then find a better way to get it.

If it was stress relief

A walk, a shower, music, breathing, a call to someone, writing down what's bothering you.

If it was boredom

A project with a clear next step, a game with a friend, a class or a skill, a workout, anything with some challenge to it.

If it was loneliness

Message a friend, go somewhere with people in it, join a club or a group, see family. Even a little contact helps.

If it was comfort after a bad day

Real food, a favourite show, a pet, a bath, an early night. Comfort that doesn't leave you feeling worse afterwards.

If it was sleeplessness

A fixed bedtime, screens off 30 to 60 minutes before bed, the phone charging in another room, a wind-down routine.

If it was intimacy

Invest in real connection, even small: honest conversation, time with people who care about you, and professional help if intimacy feels hard.

The basics matter more than they sound

Regular sleep, movement, daylight and time with people don't treat the habit directly. But they improve mood and energy, which makes urges easier to manage for many people. If you only change one thing from this section, fix your sleep.

If you slip

Most people slip at some point, and it doesn't erase what you've learned. What matters is what you do in the next hour, because the real danger is the spiral that follows.

The "what the hell" effect

Researchers call it the abstinence violation effect: the thought "I've blown it, so I may as well carry on" turns one slip into a binge. It's driven by shame and all-or-nothing thinking. Knowing it exists gives you a way to catch it: one slip is one slip, not a reset on who you are.

  1. Stop, close it, step away. Ending the session is a real win in that moment.
  2. Don't punish yourself. Say something kind, the way you would to a friend. Shame makes the next slip more likely, not less.
  3. Trace the chain. What was the trigger? What was the setup? Write down what happened in the hour before. This is the most useful information you'll get.
  4. Fix one gap. Pick a single change: a blocker rule, a bedtime rule, a person to text. Not ten.
  5. Carry on. Restart your counter if you track one and continue the plan. What you learned, and the progress in your habits, are still yours.

If slips are frequent, or they follow periods of low mood or stress, that's not a character problem. It's a sign to get more support, which is the next section.

Getting more help

Self-help works for many people, but it isn't the right tool for everyone. Consider talking to a professional if:

  • You keep going back to porn despite real harm to your relationships, work or mental health
  • You've tried several times and can't make it stick
  • It's tied up with depression, anxiety, ADHD, OCD, trauma, or other addictions
  • You're using it to cope with feelings that feel unmanageable
  • It's causing serious distress or conflict with a partner

Therapy

Look for a licensed therapist or psychologist with experience in compulsive sexual behaviour or addiction. Approaches like cognitive behavioural therapy (CBT) and acceptance and commitment therapy (ACT) are commonly used. Research on treating compulsive porn use specifically is still developing, and these approaches have stronger evidence for related problems. If depression or anxiety is in the mix, a doctor can discuss options with you.

You can search therapists by specialty on directories like Psychology Today, or ask your doctor for a referral.

Support groups

  • SMART Recovery: a secular, skills-based mutual-support programme covering addictive behaviours, with free meetings.
  • Sex Addicts Anonymous: a 12-step fellowship with meetings in many countries and online.

Groups differ a lot in tone. If the first one doesn't suit you, try another. You want a place that supports you without shaming you.

If you're in crisis

If you're thinking about harming yourself, contact your local emergency number or a crisis line in your country straight away. You don't have to be certain it's "serious enough". Reaching out is always okay.

Watch and read

A short, well-regarded starting point. We picked these for being grounded and non-shaming, and we steer away from sources that make dramatic claims about porn and the brain that research doesn't support. These links leave our site, so they follow their own privacy practices.

  • The Craving Mind by Judson Brewer: how cravings form and how mindfulness can loosen them.
  • Dopamine Nation by Anna Lembke: a Stanford addiction psychiatrist on pleasure, pain and compulsive behaviour.
  • Atomic Habits by James Clear: a practical, readable guide to building habits and designing your environment.

Take the plan with you

Anchor puts this guide into a free app so you don't have to remember it in the hard moments.

  • A streak and daily check-in to spot your patterns
  • Reset mode: guided breathing and your own reasons, one tap away
  • 7, 30 and 90-day challenges that follow this plan's shape
  • A setback never costs you your badges or progress
Get it onGoogle Play

This guide is general information, not medical or psychological advice, and it isn't a substitute for professional care. Everyone's situation is different. If you have concerns about your health or wellbeing, please speak to a qualified professional.