If your urges to watch porn mostly arrive late in the evening, in bed, with a phone in your hand, the little research that exists suggests you are far from alone in that pattern. In the one study that asked people trying to cut back what came right before each episode, the most frequently named trigger was sleep: using porn to fall asleep, as part of a bedtime routine, or because sleep would not come.1 That points to a practical answer. Night is hard mostly because of the setting, so the changes most likely to help are made earlier in the evening, before the urge shows up.
A late-night porn urge is a craving to watch porn that tends to arrive around bedtime, when a person is tired, alone, in bed and within reach of a screen. This piece covers what is known about why that window is so difficult, where the popular "your willpower runs out" explanation stands, and what to change.
What does the research say about porn use at night?
The most direct evidence comes from a small study run by researchers at Auckland University of Technology and Massey University in New Zealand, published in Archives of Sexual Behavior in 2025.1 Twenty-two adults, most recruited from the r/pornfree community, logged their mood and cravings on their phones for four weeks, and after each episode described in their own words what had led up to it. The researchers sorted those descriptions into categories of triggers. The counts across all recorded episodes:
| Trigger named before an episode | Mentions |
|---|---|
| Sleep (sleep aid, pre-sleep routine, couldn't sleep, waking up) | 49 |
| Craving or arousal | 31 |
| Browsing the internet or social media | 26 |
| Boredom | 26 |
| Loneliness or being alone | 25 |
| Stress | 21 |
"In bedroom or in bed" came up often enough to get a category of its own. The authors' own summary was that porn use was "often occurring as a sleep aid or after waking up." These are mentions across episodes, from a small and self-selected group, so the numbers describe a pattern rather than a rate.
Other sources point the same way. In a 10-week diary study of nine men seeking treatment for compulsive sexual behaviour, the most common place for porn use was home and the most common situation was being alone; four of the nine said they usually watched before or after working hours.2 And according to a 2019 statement from Pornhub reported by ABC7, the site's peak traffic in the United States typically falls between 10 p.m. and midnight.3
What nobody has measured is whether the craving itself gets stronger at night. The closest comparison comes from alcohol: in a 2018 study that pinged 32 regular drinkers through the day, craving rose as the day went on and then dropped off later in the day.4 So the evidence supports a narrower claim.
At night, the opportunity, the privacy and the reasons to use porn all tend to arrive at the same time.
Why bedtime stacks the odds
Porn as a sleep aid
The sleep trigger at the top of that table has some basis in sleep research. In a 2019 survey of 778 adults by researchers at Central Queensland University, 54.1% of those who answered said that reaching orgasm through masturbation improved their sleep quality, and 47.4% said it helped them fall asleep faster.5 Those are perceptions. A follow-up pilot in 2025 measured sleep with a brain-monitoring headband in 14 people over 11 nights: after masturbation to orgasm, sleep efficiency was 93.2%, compared with 91.5% on nights without sexual activity, and participants spent about seven fewer minutes awake during the night.6 They did not fall asleep any faster, and they did not feel they had slept better.
So orgasm may have a small effect on sleep, measured so far in very few people. That may be part of why the habit is hard to drop: if it seems to help with falling asleep, it can feel like a solution to an actual problem.
Neither study involved pornography, though, and the porn is where the costs come in. Sessions can run long; in the Auckland data, 15 recorded episodes lasted more than 100 minutes and five went past 200.1 A 2022 study of 776 Italian adults found that problematic online porn use was associated with more insomnia symptoms, a link the authors traced statistically through higher stress and more difficulty regulating emotions.7 It was a one-time survey, so it cannot say which came first. It does make it hard to treat porn as a dependable sleep aid.
The bed and the phone
Phones in bed are now ordinary. A University of Oulu study that combined app logs with sleep-tracking rings for 75 people found that, on average, they spent 42% of their time in bed on their phones. More phone use in bed was linked with taking longer to fall asleep, a higher night-time heart rate and lower heart-rate variability, while phone use outside of bed was not linked to lower sleep quality.8 The study measured phone use in general, not porn, but it describes the setting most late-night urges arrive in.
Sleep clinicians have a name for the problem of a bed that cues the wrong thing. Stimulus control, a core part of cognitive behavioural therapy for insomnia developed by Richard Bootzin, is designed "to strengthen the bed as a cue for sleep and weaken it as a cue for wakefulness."9 The same logic plausibly runs the other way: if the bed has been where porn happens, lying down may become part of the cue. That is an inference from how cues work, not something the porn studies have tested, but it fits the Auckland participants who named the bed itself as a trigger.
Tired, alone and low
Tiredness changes how emotions land. In a 2007 study led by Matthew Walker at UC Berkeley, people kept awake for about 35 hours showed emotional brain responses more than 60% stronger to negative images than people who had slept, along with weaker control from the prefrontal cortex.10 That is far more sleep loss than a normal late night, so it is better read as a direction than a measurement of an ordinary 11 p.m.
Loneliness is the other common thread. Two survey studies, one of 213 adults and one of 339, found that loneliness and difficulty managing emotions were both linked with problematic porn use. The two studies modelled the order differently, and as one-time surveys neither can show which comes first.11,12 There is a twist in the Auckland data, though. Participants named loneliness 25 times as a trigger, yet their momentary ratings did not show loneliness rising before episodes. The authors suggest that the explanation people give afterwards may differ from what they felt in the moment, and that craving may mask the underlying emotional state.1 The reason someone settles on the next morning may not be the whole story, which is one reason to write down what happened while it is fresh.
Is it just willpower running out at night?
It is a common explanation. One porn-blocker company's guide to relapse puts it directly: at night, "willpower is depleted."19 The science behind it is less settled than that.
The researchers at Utrecht University who named "bedtime procrastination" (going to bed later than you meant to, with nothing stopping you) argued that the decision to go to bed is made at the end of the day, when self-control is typically weaker.13 In a later survey of more than 2,400 people in the Netherlands, about 53% said they went to bed later than intended at least twice a week.14 But the idea that resisting temptation uses up a limited store of willpower has come under serious challenge in psychology, and a 2018 diary study of 108 workers by Jana Kühnel's team found the opposite of what that idea predicts: on evenings when people reported having less willpower available, they were less likely to put off going to bed.14
The Utrecht group replied that this misses how self-control usually works. They argued that people who manage this well rely on effortless habits set up in advance, such as lights that dim at a set time, rather than on strength in the moment.15 Floor Kroese put it plainly: "Make it as easy as possible so that you in the heat of the moment don't need to resist temptations [or] make difficult choices."14
Whichever side of that debate turns out to be right, the practical advice is the same: make the decision about tonight earlier in the evening, and set things up so that at midnight there is little left to decide.
How to stop watching porn at night
None of the steps below has been tested as a treatment for late-night porn use specifically. They come from sleep medicine and habit research, and each one is aimed at a part of the setting described above.
1. Make the decision at 9 p.m., as an if-then plan
An implementation intention links a specific cue to a specific action: "If X happens, then I will do Y." Peter Gollwitzer and Paschal Sheeran's 2006 meta-analysis of 94 tests found a medium-to-large effect on reaching goals. Their 2025 review, drawing on a meta-analysis of 642 tests, reported that plans written in if-then form (average effect size 0.43) outperformed plans written as a schedule (0.29), and that rehearsing the plan at least once helped. These figures are as reported by Silicon Canals.16
For the evening, that might look like: "If I plug my phone in to charge, then I leave it on the kitchen counter and take the book from my nightstand."
The most common mistake is writing the plan as a ban. The same review notes that plans framed as "If I see X, then I will not do Y" can backfire, so name the action you will take instead. A plan can also fail because its cue never happens on a real night. If it hasn't fired by the end of the first week, choose a cue you can't avoid, like brushing your teeth.
2. Charge the phone outside the bedroom
In a study at the University of East London, 49 people kept their phones out of the bedroom for a week while 46 carried on as normal. The phone-free group showed small improvements in happiness and quality of life and scored lower on a measure of smartphone addiction, and 74.5% said they would consider keeping it up.17 Lead author Nicola Hughes noted that many people were anxious about the idea beforehand, enough that she ran it for one week instead of the two she had hoped for.
The usual snag is that the phone is also the alarm. A basic alarm clock removes the excuse. The rule also has to cover the tablet and the laptop, or the urge simply moves to another screen.
3. Move the bedtime chores earlier
The Utrecht researchers noted that the small tasks between the sofa and the pillow, like walking the dog or washing up, can feel like a hurdle that keeps people up. Their suggestion was to do them earlier, for example brushing your teeth right after dinner.14 The shorter the gap between "I should go to bed" and lying down, the less time there is to drift onto a screen.
4. Go to bed sleepy, and get up if sleep doesn't come
This step speaks directly to the "couldn't sleep" trigger. Stanford Health Care's stimulus control instructions are short: keep a regular wake-up time, go to bed only when sleepy, and if you can't fall asleep, at the start of the night or in the middle of it, get out of bed and return only when sleepy again.9 The instructions draw a useful line between fatigue (low energy) and sleepiness (struggling to stay awake), and note that many people with insomnia feel "tired but wired" at bedtime.
At 1 a.m., getting up can feel absurd, and lying there with the phone easier. Have somewhere dim and dull ready in advance, a chair with a lamp and a paper book, so getting up takes no decisions.
5. When the urge arrives anyway
Cravings in the Auckland study came in bursts, with intermittent spikes rather than a steady level.1 That makes ten minutes a reasonable first target.
The Steady Ground newsletter, written mainly for women dealing with compulsive porn use, offers a sequence that fits this moment well.18 Before opening anything, name three things in plain words: what you are feeling, what happened in the last hour, and what you want the screen to change. Then add a little friction. Turn on a lamp, sit somewhere that is not your bed, drink some water, and set a ten-minute timer for something low-demand. If the urge is still there, ask what would make the moment slightly more bearable; the honest answer is sometimes sleep, comfort or contact rather than porn.
6. Treat blockers as a speed bump
In the Auckland study, 27% of participants used an app or software to block sexual content. The authors note that nobody has yet studied how well these apps work.1 A blocker set to tighten at night can add a pause between the urge and the screen. Given the lack of evidence, it makes sense to use one alongside the other changes rather than as the whole plan.
Is masturbating to fall asleep a problem?
On its own, not necessarily. The sleep research above suggests orgasm may help some people sleep slightly better, and none of it involved porn. Compulsive Sexual Behaviour Disorder, the diagnosis the World Health Organization added to ICD-11 as an impulse-control disorder, is about a sustained, subjective loss of control over sexual behaviour that causes significant distress or harm to daily life.2,12 "Porn addiction" is the phrase most people search for, but it is not a formal diagnosis; a proposed hypersexual disorder was considered for the DSM-5 and not accepted.12 A bedtime routine does not meet the ICD-11 description by itself.
What matters is whether porn has become the only way to switch off, whether sessions eat into sleep instead of leading to it, and whether you keep doing it after deciding you want to stop. Those patterns are worth taking seriously. Late-night porn can take up hours meant for sleep, and it can stand in for the comfort, contact or rest the urge is sometimes pointing at.18 The men in the Warsaw diary study described regretting the wasted time and neglected duties after their longest sessions.2
How people feel afterwards also varies. In the Auckland study, participants who felt their porn use conflicted with their own values showed sharp rises in shame and guilt and a drop in mood after episodes, lasting hours before fading.1 For some people, then, the after-effects of a late-night slip can last for hours, which is a good reason to handle it calmly.
If it happens anyway
After their worst episodes, several of the men in the Warsaw diary study described thoughts like "I failed again" and "I am weak."2 Those thoughts are understandable and they are a poor guide to what to do next. A more useful response is short and factual. Note the time, where you were, what came just before and what you wanted the screen to change, then go to sleep. In the morning, look at which of the steps above would have interrupted it, and adjust one thing.
We have a longer guide on what to do in the first hours after a relapse, and if nights stay difficult, telling an accountability partner that 11 p.m. is your risky hour gives them something concrete to check in about.
Where Reclaim fits
We're building Reclaim, a mobile app for people who want to change their relationship with porn, so it is fair to point out that this post just told you to put your phone in another room. We think both belong in the same evening. The app's 90-day journey, AI coach, breathing exercises and emergency toolkit are meant for the hours before the phone goes on the counter, and for the moments when it hasn't yet. Reclaim is not a treatment and does not replace professional help. The setting changes above are worth making whether or not you use any app.
Notes
- Henry, N. I. N., et al. (2025). Quantifying opponent process dynamics in pornography use and masturbation: An exploratory ecological momentary assessment study. Archives of Sexual Behavior, 54(9), 3313–3334. Source of the trigger counts, session lengths, craving pattern, loneliness finding and blocker figure. PMC12675693
- Wordecha, M., et al. (2018). "Pornographic binges" as a key characteristic of males seeking treatment for compulsive sexual behaviors: Qualitative and quantitative 10-week-long diary assessment. Journal of Behavioral Addictions, 7(2). Nine men; place, situation and post-binge thoughts. akjournals.com
- ABC7, via NBC15 (2019). Porn viewership spikes in DC amid partial government shutdown. Reports Pornhub's statement on US peak hours. mynbc15.com
- Mayhugh, R. E., et al. (2018). Differing patterns of stress and craving across the day in moderate-heavy alcohol consumers. PLOS ONE, 13(4). Craving rose through the day, then fell later. journals.plos.org
- Lastella, M., et al. (2019). Sex and sleep: Perceptions of sex as a sleep promoting behavior in the general adult population. Frontiers in Public Health, 7:33. Self-reported perceptions, 778 adults. doi.org/10.3389/fpubh.2019.00033
- Lastella, M., et al. (2025). Sleep on it: A pilot study exploring the impact of sexual activity on sleep outcomes in cohabiting couples. Sleep Health. Objective sleep measures, 14 participants; as reported by PsyPost. doi.org/10.1016/j.sleh.2024.11.004
- Musetti, A., et al. (2022). The interplay between problematic online pornography use, psychological stress, emotion dysregulation and insomnia symptoms during the COVID-19 pandemic. Nature and Science of Sleep, 14, 83–92. Cross-sectional, 776 adults. doi.org/10.2147/NSS.S348242
- Kheirinejad, S., Visuri, A., Ferreira, D., & Hosio, S. (2022). "Leave your smartphone out of bed": Quantitative analysis of smartphone use effect on sleep quality. University of Oulu; phone logs and sleep rings, 75 participants. PMC9643910
- Stanford Health Care. Cognitive Behavioral Therapy for Insomnia (CBTI): Stimulus control. Instructions and the fatigue-versus-sleepiness distinction. stanfordhealthcare.org
- Walker, M., et al. (2007), Current Biology; as reported by Live Science, "Emotions run amok in sleep-deprived brains." 26 volunteers, about 35 hours awake. livescience.com
- Vescan, M., Flack, M., & Caudwell, K. M. (2024). Loneliness and problematic pornography use: What is the role of emotion regulation and interaction with content creators? Cross-sectional, 213 adults. doi.org/10.1016/j.abrep.2024.100550
- Cardoso, J., Ramos, C., Brito, J., & Almeida, T. C. (2023). Difficulties in emotion regulation and problematic pornography use: The mediating role of loneliness. International Journal of Sexual Health, 35(3), 481–493. Cross-sectional, 339 participants; also the source for the ICD-11 classification. doi.org/10.1080/19317611.2023.2224807
- Kroese, F. M., De Ridder, D. T. D., Evers, C., & Adriaanse, M. A. (2014). Bedtime procrastination: Introducing a new area of procrastination. Frontiers in Psychology, 5:611. Definition and the end-of-day self-control argument. doi.org/10.3389/fpsyg.2014.00611
- Popular Science. "Psychologists are trying to figure out why we don't go to sleep (even when we want to)." Covers the Dutch survey, Kühnel et al. (2018), the challenge to willpower depletion, moving chores earlier, and the Kroese quote. popsci.com
- Kroese, F. M., et al. (2018). Commentary: Why don't you go to bed on time? Frontiers in Psychology, 9:915. Self-regulation through effortless habits. doi.org/10.3389/fpsyg.2018.00915
- Silicon Canals. Reporting on Gollwitzer & Sheeran's 2006 meta-analysis and 2025 Annual Review of Psychology review of implementation intentions. Effect sizes, rehearsal, negation plans. siliconcanals.com
- Hughes, N., & Burke, J. (2018). Sleeping with the frenemy: How restricting "bedroom use" of smartphones impacts happiness and wellbeing. Computers in Human Behavior; as reported by PsyPost. 95 participants. psypost.org
- Steady Ground. "Alone with your phone at night." The three-question check and ten-minute friction routine. buttondown.com
- Canopy. "Porn relapse: Why it happens and how to get back on track without shame." A porn-blocker vendor's guide; quoted here as an example of the willpower explanation, not as evidence for it. canopy.us
For the hour before the phone goes on the counter.
Reclaim's breathing exercises, coach and emergency toolkit are built for the moment an urge arrives. Available now on iOS and Android.