Porn Addiction
Solution

Recovery guide

How do you stop masturbating at night or before sleep?

One thing to try, if you want to stop masturbating at night, is to change what happens at bedtime, rather than only lying awake trying to hold out. On this page’s reading of habit research, a nighttime habit is tied to the bed and to the moment of trying to fall asleep. So the plan is to change that moment. That means getting out of bed when sleep will not come, and deciding in advance what you will do instead.

The evidence behind this comes from habit research, sleep research on what adults believe about sex and sleep, and health-service advice on sleep. None of these sources studied stopping masturbation at night; applying them to it is this page’s reading.

Masturbation, and how often it happens, do not by themselves establish a disorder. The reasons it can happen often are covered in why you might masturbate so much.

Why might the habit be tied to bedtime?

Bedtime brings back the same setting and the same steps, night after night. In habit research, one model describes habits as linked to a setting and to the steps that come before them. On this page’s reading, the bed, the lights going off and lying awake are that setting. On this page’s reading, the wish for sleep, or for some relief before it, can be part of that moment too.

That model, an explanation rather than a new study, suggested that habits grow from slowly learned links between an action and its setting (Wood & Neal, 2007). The setting here means features such as the physical place, or the actions that come just before. The model holds that once a habit has formed, noticing the setting sets off the action, with no goal in between.

A review of habit research reported that, as creatures of habit, people tend to repeat the same behaviors in recurring contexts (Wood & Rünger, 2016). On this page’s reading, bedtime is one of those recurring contexts.

In sleep research, an anonymous online survey of adult volunteers found that masturbation with orgasm was associated with the perception of sleeping better and falling asleep sooner; it measured what people believe, not their sleep (Lastella et al., 2019). The volunteers were 442 women and 336 men. Women and men did not differ on this. As this page reads it, that belief is one more reason the habit is tied to bedtime and can feel like part of getting to sleep.

What can you change when there is no phone involved?

The moment itself. With no phone or screen in the picture, there is nothing to put away. If a phone or porn in bed is part of your night, that version is covered in stopping porn at night. The changes are to where you are and what you do while sleep will not come. That comes down to three things:

  • Not lying awake in bed. On this page’s reading, getting up when sleep will not come changes the setting the habit is tied to.
  • Spending the wait somewhere else. Where to go and what to do is in the sleep advice below.
  • Deciding in advance. Settling before bed what you will do instead when the pull comes, so the choice is already made.

A habit study of students moving to a new university found their habits survived the move only when parts of the setting stayed the same (Wood et al., 2005). The habits were exercising, reading the newspaper and watching TV. One example of something that stayed the same was reading the paper with others. The study also found that, in some cases, disrupted habits left students acting on what they currently intended. Changes in what students intended could not, on their own, explain the disrupted habits.

Bedtime, as this page reads it, works the same way. If the bed, the lights and lying awake stay the same each night, so do the features the habit is linked to. Getting up is the nearest thing to the students’ move. The finding about intentions is this page’s basis for deciding in advance: once the usual pattern is broken, a choice made earlier can be there to act on.

MedlinePlus, a US government health site, says your bed is for sleeping; if you cannot fall asleep within 30 minutes, it advises getting up, moving to another room and doing a quiet activity until you feel sleepy.

The habit model above also suggested that habit links build slowly (Wood & Neal, 2007). The model added that they do not shift much with current goals, or with doing something different now and then. For that reason, this page describes these changes as something done night after night, not once.

Handling a strong urge in the moment is covered in what to do when an urge hits. For the habit at other times of day, the general plan for stopping or cutting down is in how to stop or cut down masturbating.

When is a sleep problem a reason to see a doctor?

The NHS, the UK’s health service, lists these as non-urgent reasons to see a doctor about insomnia, or trouble sleeping:

  • changing your sleeping habits has not helped your insomnia
  • you’ve had trouble sleeping for months
  • your insomnia is affecting your daily life in a way that makes it hard for you to cope

On this page’s reading, the first of those applies if the changes described above have not helped your sleep, since getting out of bed when sleep will not come is a change to sleeping habits.

Masturbating while fully asleep is a different case. The International Society for Sexual Medicine describes sexsomnia, sometimes called “sleep sex”, as a sleep disorder in which a person acts out sexually while sleeping; the person might masturbate, among other things, and have no recollection of it the next morning. That case, and masturbating while half asleep, are covered in our page on masturbating in your sleep.

References

  • Lastella, M., O’Mullan, C., Paterson, J. L., & Reynolds, A. C. (2019). Sex and Sleep: Perceptions of Sex as a Sleep Promoting Behavior in the General Adult Population. Frontiers in Public Health, 7. https://doi.org/10.3389/fpubh.2019.00033
  • Wood, W., & Neal, D. T. (2007). A new look at habits and the habit-goal interface. Psychological Review, 114(4), 843–863. https://doi.org/10.1037/0033-295x.114.4.843
  • Wood, W., & Rünger, D. (2016). Psychology of Habit. Annual Review of Psychology, 67(1), 289–314. https://doi.org/10.1146/annurev-psych-122414-033417
  • Wood, W., Tam, L., & Witt, M. G. (2005). Changing circumstances, disrupting habits. Journal of Personality and Social Psychology, 88(6), 918–933. https://doi.org/10.1037/0022-3514.88.6.918

Sources

  1. A new look at habits and the habit-goal interface. Psychological Review (journal abstract). Link
  2. Changing your sleep habits. MedlinePlus (NLM, NIH; A.D.A.M. Medical Encyclopedia). Link
  3. Changing circumstances, disrupting habits. Journal of Personality and Social Psychology (journal abstract). Link
  4. Insomnia - NHS. NHS (National Health Service, UK). Link
  5. What is sexsomnia? International Society for Sexual Medicine (ISSM). Link

A self-directed video course by Angus Munro, a clinical psychologist registered in Australia. Thirty-two video lessons, a one-page summary for each, and a plan you build for yourself.

Angus Munro wrote this page and sells the Porn Addiction Solution course. This page is general education; it can’t tell you what’s right for your situation.

Angus Munro

Clinical Psychologist, Sydney, Australia

Angus Munro is a clinical psychologist registered with AHPRA in Australia. He wrote the Porn Addiction Solution course.

Full profile and credentials