How to Stop Thinking About Porn: 7 Steps That Help
Key takeaways
- Trying hard to push a porn thought away can make it return, and a 2001 meta-analysis of controlled studies found a small to moderate rebound effect of thought suppression.
- Sexual thoughts are a normal part of human life, and a thought is not an action or a relapse.
- Helpful responses include naming the thought, letting it pass, switching to a task that takes your attention, riding out urges and changing the cues that set thoughts off.
- We found no study that timed how long porn thoughts last after quitting, so track your own pattern instead of expecting a set date.
- If porn thoughts cause intense distress or a drive to check, a clinician can assess whether obsessive-compulsive disorder is involved and which therapy fits.
On this page
- Porn Thoughts at a Glance
- Why Do I Keep Thinking About Porn?
- Is It Normal to Keep Thinking About Porn?
- Why Doesn’t Pushing the Thoughts Away Work?
- How to Stop Thinking About Porn: 7 Steps That Help
- What If Porn Images Come Up During Sex?
- How Long Do Porn Thoughts Last After Quitting?
- Is It OCD?
- When to Get Help
- The Bottom Line
- Sources
You can’t force porn thoughts out of your mind, and trying hard can bring them back. What works better is noticing a thought without arguing with it, switching to something that takes your attention, and changing the cues that set it off.
Learning how to stop thinking about porn is mostly about changing how you respond to a thought, not winning a fight with it. This guide explains why unwanted thoughts about pornography keep coming back, what the research does and doesn’t show, and seven steps you can practice. For the bigger picture, start with our guide to quitting porn.
Porn Thoughts at a Glance
| Question | Short answer |
|---|---|
| Why do porn thoughts keep coming back? | Habits, cues and attention can all keep thoughts coming back. |
| Is it normal to think about porn? | Yes. Sexual thoughts are common, and a thought is not an action or a relapse. |
| Does pushing a thought away work? | It can backfire. In lab studies, trying to suppress a thought was followed by more thoughts of it. |
| What helps in the moment? | Name the thought, let it pass, switch to an absorbing task, and ride out an urge if it grows. |
| Can I stop sexual thoughts completely? | No, and you don’t need to. The goal is to respond to them differently. |
| Does this mean I have obsessive-compulsive disorder (OCD)? | Only a clinician can tell. Intense distress with a drive to check or undo is the sign to take seriously. |
| When should I get help? | If thoughts cause intense distress most days, or urges keep winning despite a plan. |
Why Do I Keep Thinking About Porn?
Porn thoughts can have triggers: habits tied to a time or place, cues that grab your attention, and mental images that grow once a thought takes hold. Some of this comes from general habit research, and some from studies of men who use porn compulsively.
People tend to repeat the same behaviors in the same settings, and habits form when a response is repeated in a given context (Wood & Rünger, 2016). That review is about habits in general, not porn, but it suggests why a thought can arrive at the same hour, in the same room or with the same mood. In a qualitative study of 104 abstinence journals written by male members of an online forum, members said that staying abstinent was very challenging because of habits and cravings triggered by “a multiplicity of cues for pornography use” (Fernandez et al., 2021).
Attention plays a part too. In a 2014 study, 22 heterosexual men with compulsive sexual behavior and 44 heterosexual male volunteers completed a dot-probe task, which measures attention bias. Compared with the volunteers, the men with compulsive sexual behavior showed enhanced attention to explicit images but not neutral ones, especially in early reactions to the images (Mechelmans et al., 2014). That study compared two groups, so it describes a difference between them rather than what causes urges. For what brain studies show about porn cues, see porn and the brain.
A theory of desire offers one explanation of how a thought can grow. It proposes that intrusive thoughts about something you want are triggered automatically by outside cues, body states and related thoughts, and that when a thought brings pleasure or relief, the mind tends to elaborate it, often into vivid sensory images (Kavanagh et al., 2005). That paper is a theory article, not a test of treatment, but it gives a picture of how a passing thought can become a vivid image, and then a pull.
Some people turn to porn to cope with stress or boredom. In three samples, stress reduction, emotional distraction or suppression, and boredom avoidance were among the motives with weak-to-moderate positive associations with problematic porn use (Bőthe et al., 2021). If stress or boredom tends to come right before a thought, that pattern tells you what to plan for. Why it’s so hard to stop watching porn covers the cues in more detail. Our guide to reasons people watch porn lists the eight common motives.
Is It Normal to Keep Thinking About Porn?
Yes. Sexual thoughts are a normal part of human life, and a thought is not an action or a relapse.
You can’t stop sexual thoughts altogether, and you don’t need to. Thinking about sex is common: a 1995 review of research on sexual fantasy calls it “a central aspect of human sexual behavior” (Leitenberg & Henning, 1995). Given how central sexual thinking is, the realistic goal is changing how you respond to it. In a one-week study, 283 college students used a tally counter to track their thoughts about food, sleep and sex. The men thought more about sex than the women did, but they also thought more about food and sleep, and the authors suggest the sex difference is “smaller than is generally thought” (Fisher et al., 2012).
Arousal may make sexual thoughts feel harder to control. In a study of 171 university students who completed a questionnaire on unwanted intrusive thoughts, students who felt more physical arousal with an unwanted sexual thought felt less able to control it (Clark et al., 2000). That study relied on self-report, so it shows a link, not a cause.
A lapse is a single slip, and a relapse is a return to the old pattern of use. An unwanted thought is neither. For what to do after a real slip, read our porn relapse guide.
Why Doesn’t Pushing the Thoughts Away Work?
Trying hard to push a thought out can make it come back. Lab studies found this with ordinary thoughts and with sexual ones, and a meta-analysis found a rebound effect across controlled studies.
In the first of two experiments, 34 undergraduates (14 men and 20 women) talked aloud for five minutes while trying not to think of a white bear, ringing a bell whenever the thought came up. They could not keep the bear out of their minds. When later asked to think about the bear, the students who had tried to suppress it produced more thoughts about it than students who had been asked to think about it from the start (Wegner et al., 1987).
The same pattern appeared with sexual thoughts. In three lab experiments, trying not to think about sex raised skin conductance, a measure of physiological arousal, much as thinking about sex did. The rise faded within a few minutes, but later intrusions of the suppressed thought were associated with further rises in skin conductance over 30 minutes, and the authors suggested that suppressing exciting thoughts might play a part in obsessive preoccupations (Wegner et al., 1990).
A 2001 meta-analysis of controlled studies found “a small to moderate rebound effect of thought suppression,” which varied with the kind of thought and how it was measured (Abramowitz et al., 2001). A 2000 review found that thought suppression “can be counterproductive, helping assure the very state of mind one had hoped to avoid” (Wenzlaff & Wegner, 2000).
The lesson isn’t to fight harder. The goal is to change how a thought affects you, not to win a contest with it. The steps below are built around that idea.
How to Stop Thinking About Porn: 7 Steps That Help
Practice these seven steps when a porn thought shows up: name it, let it pass, switch your attention, ride out an urge if it grows, change the cues, make a plan, and look after your body and your connections. None is a guaranteed cure, and none replaces care from a clinician when distress is intense.
-
Name the thought. Say to yourself, “This is a thought about porn,” and notice whether it’s a passing image or a story that’s pulling for your attention. In eight single-case studies of self-relevant negative thoughts (not porn), rapidly repeating one word reduced discomfort and believability more than a distraction task or a thought-control task did (Masuda et al., 2004). So a quick word-repeat can be worth trying when a thought gets sticky.
-
Let it pass without arguing or checking. Don’t debate the thought, try to prove it wrong, or look for reassurance. Defusion techniques are designed to change how a thought functions for you, rather than its form or frequency (Masuda et al., 2004). A 2012 meta-analysis of 66 laboratory studies found significant positive effects for acceptance and defusion exercises compared with inactive comparison conditions (Levin et al., 2012). Those were short tests of the skills, not treatment studies of porn use.
-
Switch to a task that takes your visual attention. Pick something that needs your eyes and focus, such as a puzzle, a quick game or a chore that needs care. In a study of 31 undergraduates followed for a week with text-message prompts, the 15 who played Tetris for three minutes saw craving strength fall by a mean of 13.9 percentage points on a 0 to 100 scale. The 16 in the monitoring-only group did not play. The cravings were for drugs, food and drink, and activities such as sex, exercise and gaming, and the study did not report porn cravings specifically (Skorka-Brown et al., 2015). One theory is that elaborating a thought competes with other tasks for working memory (Kavanagh et al., 2005).
-
Ride the urge if it becomes one. If the thought turns into a pull, use the steps in our urge surfing guide: name it, rate it, find it in your body, breathe while you watch it, and choose your next step. In one study of 123 undergraduate smokers, a brief mindfulness instruction set based on urge surfing did not differ significantly from control on urges, but the mindfulness group smoked significantly fewer cigarettes over the next seven days (Bowen & Marlatt, 2009). That study was about smoking, not porn, so treat it as early evidence.
-
Change the cues. Habits tend to repeat in the same context (Wood & Rünger, 2016), so change the setup: keep your phone out of the bedroom, log out of the sites you use, and add a content filter to the device where you slip most. A filter only makes porn harder to reach, and how to block porn explains the options.
-
Make an if-then plan. Decide in advance what you’ll do when a specific cue shows up, such as “If I’m in bed with my phone, then I put it on the charger in the hallway.” Across 94 independent tests of goals in general (not porn), if-then plans, or implementation intentions, had a positive effect of medium-to-large magnitude on goal attainment (Gollwitzer & Sheeran, 2006).
-
Look after sleep, movement and connection. Plan a walk, a shower or a call with someone you trust for the hours when thoughts are strongest. In a meta-analysis of studies in temporarily abstaining smokers (not porn users), short bouts of physical activity acutely reduced cigarette cravings (Haasova et al., 2013). In the online forum study, social support was one of the external resources that made abstinence attainable for many members (Fernandez et al., 2021). A regular bedtime and a plan for the evening can make the late hours easier to handle.
What If Porn Images Come Up During Sex?
Porn images can come to mind during sex. In one survey, men who watched more porn were more likely to call up porn images on purpose to stay aroused, though a survey can’t show cause.
In a survey of 487 college men aged 18 to 29 in the United States, the more porn a man watched, the more likely he was to use it during sex, deliberately conjure porn images during sex to maintain arousal, and have concerns about his sexual performance and body image. Higher porn use was also negatively associated with enjoying sexually intimate behaviors with a partner (Sun et al., 2016). Because it is a survey, it can’t show whether porn caused these patterns or whether men who already felt this way turned to porn more.
When images come up during sex, you can bring your attention back to your body, your breathing and your partner. For more on porn and partners, see porn and relationships.
How Long Do Porn Thoughts Last After Quitting?
We found no study that timed how long porn thoughts last after people quit, so there’s no research-based number to give you. The closest evidence comes from short abstinence trials and from habit research on other routines.
In a randomized trial, 176 undergraduates who were regular porn users (at least three times a week over the past four weeks) were assigned to abstain for seven days or to watch as usual. Craving, positive and negative affect, and withdrawal symptoms were measured each night. In the main analysis, the groups did not differ significantly on any of the outcome measures. An exploratory analysis found an abstinence effect on craving only at high levels of problematic porn use combined with daily use, and the authors said these exploratory findings should be interpreted with caution (Fernandez et al., 2023).
Habit research on other routines gives a sense of scale, though it isn’t about porn. In a 12-week study of 96 volunteers who repeated a daily eating, drinking or activity behavior, 82 provided enough data for analysis. The time it took to reach 95% of each person’s plateau in automaticity ranged from 18 to 254 days, with a median of 66 days. Missing one opportunity did not materially affect the habit formation process (Lally et al., 2010).
Because we found no study that timed this, track your own pattern for a few weeks. Note when a thought starts, what came just before it, and how long it stays. Your own pattern will tell you more about when to plan ahead than any general number would. For a wider look at quitting, see how long it takes to quit porn.
Is It OCD?
Only a clinician can tell whether unwanted sexual thoughts are part of obsessive-compulsive disorder (OCD). The sign to take seriously is distress that drives you to check, undo or seek reassurance.
The National Institute of Mental Health describes OCD as a disorder marked by uncontrollable and recurring thoughts (obsessions), repetitive and excessive behaviors (compulsions), or both (National Institute of Mental Health, 2024). The International OCD Foundation says obsessions are unwanted, intrusive thoughts, images or urges that trigger intensely distressing feelings, and that they are ego-dystonic, meaning separate from or opposed to what a person truly values (International OCD Foundation, n.d.).
Intrusive porn thoughts that come and go without a cycle of checking or reassurance-seeking may look different, but only a clinician can say for sure. If a thought is intensely distressing and you feel driven to check it, undo it or ask someone to reassure you, talk to a clinician, and don’t try to settle the question by checking again. The International OCD Foundation calls exposure and response prevention (ERP) “the proven, most effective, first-line therapy for OCD in adults, children, and adolescents,” and describes ERP as a specific type of cognitive-behavioral therapy (International OCD Foundation, n.d.). For how porn and anxiety can overlap, see porn and anxiety.
When to Get Help
See a doctor or therapist if porn thoughts cause intense distress most days, if you feel driven to check or undo them, or if urges keep winning despite a plan. A therapist trained in cognitive behavioral therapy (CBT) or acceptance and commitment therapy (ACT) can help you build a plan.
Frequent thoughts alone don’t settle whether someone has an addiction. A 2016 review of compulsive sexual behavior (CSB) found that “significant gaps in understanding continue to complicate classification of CSB as an addiction” (Kraus et al., 2016). In ICD-11, the World Health Organization’s classification of diseases, compulsive sexual behaviour disorder is grouped with impulse control disorders, not with disorders due to substance use and addictive behaviours (Kraus et al., 2018). DSM-5, the American Psychiatric Association’s manual, did not include the proposed criteria for hypersexual disorder (Kraus et al., 2016).
In a 2025 meta-analysis of 20 studies with 2,021 participants, most of which included CBT or ACT, psychotherapy improved problematic porn use more than control conditions did, with large effects, though effects on craving were small. The authors found a high risk of bias and called for more rigorous methods, such as randomized controlled trials (López-Pinar et al., 2025). For treatment options, see porn addiction treatment.
If you’re having thoughts of harming yourself, or your mood is very low, call or text 988 (the Suicide & Crisis Lifeline in the US), or your local emergency number.
The Bottom Line
- Thoughts are common. Sexual thoughts are a normal part of human life, and a thought is not an action or a relapse.
- Pushing hard can backfire. In lab studies, trying to suppress a thought was followed by more thoughts of it, and a meta-analysis found a small to moderate rebound effect.
- Change how you respond. Name the thought, let it pass, switch to something that takes your attention, and change the cues and plans around it.
- Track your own pattern. We found no study that timed how long porn thoughts last after quitting, so notice your own timing over a few weeks.
- Get help when distress lasts. If thoughts cause intense distress or a drive to check, a clinician can assess whether OCD is involved and which therapy fits.
If you want daily structure while you practice, the TrueAlly app offers daily check-ins and guided meditations, though it isn’t a porn blocker or a medical treatment.
Sources
- Abramowitz, J. S., Tolin, D. F., & Street, G. P. (2001). Paradoxical effects of thought suppression: A meta-analysis of controlled studies. Clinical Psychology Review, 21(5), 683–703. https://doi.org/10.1016/S0272-7358(00)00057-X
- Bőthe, B., Tóth-Király, I., Bella, N., Potenza, M. N., Demetrovics, Z., & Orosz, G. (2021). Why do people watch pornography? The motivational basis of pornography use. Psychology of Addictive Behaviors, 35(2), 172–186. https://doi.org/10.1037/adb0000603
- Bowen, S., & Marlatt, A. (2009). Surfing the urge: Brief mindfulness-based intervention for college student smokers. Psychology of Addictive Behaviors, 23(4), 666–671. https://doi.org/10.1037/a0017127
- Clark, D. A., Purdon, C., & Byers, E. S. (2000). Appraisal and control of sexual and non-sexual intrusive thoughts in university students. Behaviour Research and Therapy, 38(5), 439–455. https://doi.org/10.1016/s0005-7967(99)00047-9
- Fernandez, D. P., Kuss, D. J., & Griffiths, M. D. (2021). The pornography “rebooting” experience: A qualitative analysis of abstinence journals on an online pornography abstinence forum. Archives of Sexual Behavior, 50(2), 711–728. https://doi.org/10.1007/s10508-020-01858-w
- Fernandez, D. P., Kuss, D. J., Justice, L. V., Fernandez, E. F., & Griffiths, M. D. (2023). Effects of a 7-day pornography abstinence period on withdrawal-related symptoms in regular pornography users: A randomized controlled study. Archives of Sexual Behavior, 52(4), 1819–1840. https://doi.org/10.1007/s10508-022-02519-w
- Fisher, T. D., Moore, Z. T., & Pittenger, M.-J. (2012). Sex on the brain?: An examination of frequency of sexual cognitions as a function of gender, erotophilia, and social desirability. Journal of Sex Research, 49(1), 69–77. https://doi.org/10.1080/00224499.2011.565429
- Gollwitzer, P. M., & Sheeran, P. (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69–119. https://doi.org/10.1016/S0065-2601(06)38002-1
- Haasova, M., Warren, F. C., Ussher, M., Janse Van Rensburg, K., Faulkner, G., Cropley, M., Byron-Daniel, J., Everson-Hock, E. S., Oh, H., & Taylor, A. H. (2013). The acute effects of physical activity on cigarette cravings: Systematic review and meta-analysis with individual participant data. Addiction, 108(1), 26–37. https://doi.org/10.1111/j.1360-0443.2012.04034.x
- International OCD Foundation. (n.d.). About OCD. https://iocdf.org/about-ocd/
- Kavanagh, D. J., Andrade, J., & May, J. (2005). Imaginary relish and exquisite torture: The elaborated intrusion theory of desire. Psychological Review, 112(2), 446–467. https://doi.org/10.1037/0033-295x.112.2.446
- Kraus, S. W., Krueger, R. B., Briken, P., First, M. B., Stein, D. J., Kaplan, M. S., Voon, V., Abdo, C. H. N., Grant, J. E., Atalla, E., & Reed, G. M. (2018). Compulsive sexual behaviour disorder in the ICD-11. World Psychiatry, 17(1), 109–110. https://doi.org/10.1002/wps.20499
- Kraus, S. W., Voon, V., & Potenza, M. N. (2016). Should compulsive sexual behavior be considered an addiction? Addiction, 111(12), 2097–2106. https://doi.org/10.1111/add.13297
- Lally, P., van Jaarsveld, C. H. M., Potts, H. W. W., & Wardle, J. (2010). How are habits formed: Modelling habit formation in the real world. European Journal of Social Psychology, 40(6), 998–1009. https://doi.org/10.1002/ejsp.674
- Leitenberg, H., & Henning, K. (1995). Sexual fantasy. Psychological Bulletin, 117(3), 469–496. https://doi.org/10.1037/0033-2909.117.3.469
- Levin, M. E., Hildebrandt, M. J., Lillis, J., & Hayes, S. C. (2012). The impact of treatment components suggested by the psychological flexibility model: A meta-analysis of laboratory-based component studies. Behavior Therapy, 43(4), 741–756. https://doi.org/10.1016/j.beth.2012.05.003
- López-Pinar, C., Esparza-Reig, J., & Bőthe, B. (2025). Psychotherapy for problematic pornography use: A comprehensive meta-analysis. Journal of Behavioral Addictions, 14(2), 630–643. https://doi.org/10.1556/2006.2025.00018
- Masuda, A., Hayes, S. C., Sackett, C. F., & Twohig, M. P. (2004). Cognitive defusion and self-relevant negative thoughts: Examining the impact of a ninety year old technique. Behaviour Research and Therapy, 42(4), 477–485. https://doi.org/10.1016/j.brat.2003.10.008
- Mechelmans, D. J., Irvine, M., Banca, P., Porter, L., Mitchell, S., Mole, T. B., Lapa, T. R., Harrison, N. A., Potenza, M. N., & Voon, V. (2014). Enhanced attentional bias towards sexually explicit cues in individuals with and without compulsive sexual behaviours. PLoS ONE, 9(8), e105476. https://doi.org/10.1371/journal.pone.0105476
- National Institute of Mental Health. (2024, December). Obsessive-compulsive disorder (OCD). https://www.nimh.nih.gov/health/topics/obsessive-compulsive-disorder-ocd
- Skorka-Brown, J., Andrade, J., Whalley, B., & May, J. (2015). Playing Tetris decreases drug and other cravings in real world settings. Addictive Behaviors, 51, 165–170. https://doi.org/10.1016/j.addbeh.2015.07.020
- Sun, C., Bridges, A., Johnson, J. A., & Ezzell, M. B. (2016). Pornography and the male sexual script: An analysis of consumption and sexual relations. Archives of Sexual Behavior, 45(4), 983–994. https://doi.org/10.1007/s10508-014-0391-2
- Wegner, D. M., Schneider, D. J., Carter, S. R., III, & White, T. L. (1987). Paradoxical effects of thought suppression. Journal of Personality and Social Psychology, 53(1), 5–13. https://doi.org/10.1037/0022-3514.53.1.5
- Wegner, D. M., Shortt, J. W., Blake, A. W., & Page, M. S. (1990). The suppression of exciting thoughts. Journal of Personality and Social Psychology, 58(3), 409–418. https://doi.org/10.1037//0022-3514.58.3.409
- Wenzlaff, R. M., & Wegner, D. M. (2000). Thought suppression. Annual Review of Psychology, 51, 59–91. https://doi.org/10.1146/annurev.psych.51.1.59
- Wood, W., & Rünger, D. (2016). Psychology of habit. Annual Review of Psychology, 67, 289–314. https://doi.org/10.1146/annurev-psych-122414-033417
- 988 Suicide & Crisis Lifeline. (n.d.). 988 Lifeline. https://988lifeline.org/
Frequently asked questions
Can you stop sexual thoughts completely?
No, and you don't need to. Sexual thoughts are a normal part of human life. Trying hard to block them completely tends to backfire, because pushing a thought away can bring it back. The realistic goal is changing how you respond to a porn thought: notice it, avoid arguing with it or checking it, and turn your attention to something else.
Does thinking about porn count as a relapse?
No. A lapse is a single slip, and a relapse is a return to the old pattern of use. An unwanted thought is neither, because a thought is not an action. What matters is what you do next. If you act on the urge, treat it as a slip and go back to your plan. If you notice the thought and let it pass, that is progress, even if the thought returns later.
How do I stop thinking about porn at night?
Plan for bedtime before you get there. Charge your phone outside the bedroom, keep a book nearby, and keep a regular bedtime. If a thought keeps you awake, get up, go to another room and do something quiet until you feel sleepy again. Name the thought, breathe slowly, and return to that quiet task rather than to the screen.
Can meditation or mindfulness help with porn thoughts?
Mindfulness skills may help you notice a thought without following it, but they aren't a cure. A 2012 meta-analysis of 66 laboratory studies found positive effects for acceptance, defusion, present-moment and mindfulness exercises compared with inactive conditions. Those were short tests of the skills, not treatment studies of porn use, and we found no controlled study of meditation alone for porn thoughts. Guided meditation is a good place to practice noticing thoughts, but it isn't a treatment for porn addiction or OCD.
Are constant porn thoughts a sign of porn addiction?
Not by themselves. Frequent thoughts are common, so the thoughts alone do not answer the question. What matters more is whether you keep losing control of your behavior and whether that causes distress or harm in your life. A clinician can help you sort that out, because researchers still debate how to classify compulsive sexual behavior.
Should I feel guilty about having sexual thoughts?
You don't need to. Having a sexual thought is not the same as choosing to act on it. A 1995 review of research on sexual fantasy describes it as a central aspect of human sexual behavior. If guilt is strong or keeps coming back, a therapist can help you work through it, and you can start by noticing the thought without adding a judgment to it.
Are porn flashbacks a real condition?
'Porn flashbacks' is informal community language for sudden porn images or thoughts that come up after someone quits. It isn't a medical term, and we found no study that uses it. If unwanted images are frightening, hard to control or affect your daily life, see a doctor or therapist.
Will a porn blocker stop porn thoughts?
A blocker can make porn harder to reach, which may help you act on fewer urges, but it can't stop a thought from appearing. We found no study that tested porn blockers on porn thoughts. A filter can be worked around, so pair it with steps that work on the thought itself, such as naming it, letting it pass and switching your attention. TrueAlly is not a porn blocker.