GET HARD RESULTS. Start here

Here's Why You Get Erections During Sleep

Jill Johnson

Reviewed by Jill Johnson, FNP

Written by Our Editorial Team

Published 05/27/2023

The sleep erection: our unconscious’ best attempt at getting laid. 

Nocturnal erections can feel like a real head-scratcher. Whether you’ve awakened to morning wood in the past or were informed  by a partner that your erectile systems were on autopilot while the captain was sleeping, most men have had some experience with a penile erection associated with sleep time in their lives.

These sleep erections are totally normal, but they can also tell us  vital information about our health — sexual or otherwise. In fact, in certain circumstances, they may even help you better understand your symptoms of sexual dysfunction.

Regardless of whether you’re here out of curiosity or concern, we’re happy to help answer your questions about bedtime boners. 

Before we get into the useful information that sleep-related erections might provide about your health, though, the best place for us to start this conversation is actually at the beginning — why do they happen in the first place?

Why People Get Erections During Sleep

Sleep time erections — specifically, those which occur during the rapid eye movement (REM) phase of your sleep cycles — are fairly common. They’re considered normal and totally involuntary (you can’t really control what stimulates you while you’re unconscious, after all). 

There are several explanations for morning wood and sleep erections. Some of them are physiological, like inadvertent stimulation from turning on your sheets or a full bladder pressing on your sacral nerve (which is one of the sympathetic nerves that can cause sexual stimulation).

Others are psychological, like the occasional erotic dream, which can give you an erection and possibly even lead to ejaculation.

But the broadest and most sweeping explanation is that it has to do with your parasympathetic nervous system. 

See, unlike your sympathetic nervous system (which controls your survival autopilot) your parasympathetic nervous system controls your pleasure and recharge autopilot. This one is responsible for systems like digestion, waste disposal and the system that tells you to be aroused. 

Yes, the parasympathetic nervous system could also activate your sacral nerve. Though, it would do so just because it’s already active in other processes — similar to how a single light switch may control several lights.

Are Sleep Erections A Sign of Something?

That last part may have sounded scary to the non-electricians among us, but there are no wires getting crossed here and sleep erections (also sometimes called nocturnal penile tumescence) are not a sign of danger.

Nighttime erections and morning erections are signs that everything is working normally, actually. So, if they’re happening to you, congrats! Erections of all kinds and at all times are totally normal for boys and men of any age.

Viagra online

Genuine Viagra® makes it possible

The Connection Between Sleep Erections and Erectile Dysfunction

Put simply, there’s no connection between sleep erections and erectile dysfunction — erections at night are neither a symptom nor cause of erectile dysfunction. 

They do, however, offer two key pieces of information for understanding erectile dysfunction based on whether or not they’re present alongside ED.

If a person with ED is having sleep erections or morning wood despite their performance issues, then it’s a strong signal that the cause of erectile dysfunction in that person’s case is more likely attributable to a psychological cause than a physiological, hormonal or other biological factor.

A person with ED who can get erect doesn’t have total dysfunction. The thing that disrupts normal function — which may be low sex drive, self-esteem, body issues or fear of intimacy — is the hurdle between opportunity and achievement. 

In other words, guys, if it’s working while your brain is in rest mode or frolicking in dreamland, then your problem is something in your waking world. 

A lack of morning erections and spontaneous erections, however, may confirm that something’s going wrong on both sides of the pillow.

ED treatments, delivered

Generic for Viagra (sildenafil)

The more affordable FDA-approved medication that treats Erectile Dysfunction at a quarter of the cost. 🙌

Generic for Cialis (tadalafil)

Affordable and helps get the job done. Generic Cialis helps you get and maintain your erections through a simple, daily dosage.

Viagra®

The OG Little Blue Pill that made its name as the first prescription Erectile Dysfunction treatment.

Cialis®

Cialis helps you get and keep stronger erections with a daily or as-needed pill.


How to Treat ED Regardless of Sleep Erections

Finding out what might be causing ED is a complicated process. Erectile dysfunction has a number of potential causes, including problems with your testosterone levels and blood pressure

And among its risk factors are things like cardiovascular disease and obesity, diabetes, smoking, alcohol consumption and depression (which would cover some of the potential psychological causes). 

If you’re at a healthy weight, have good heart health and get regular erections when you’re sleeping, it could be a sign that mental health disorders are the cause. But that’s not something you can determine alone.

Determining your cause is best done with the support of a mental health professional who can help you explore those mental blocks and construct a way to manage them.

The same is true of biological causes, although any treatment for erectile dysfunction — like sildenafil (generic Viagra) or tadalafil (generic Cialis) — is behind the barrier of professional support

Studies have shown that erectile function when sleeping would indicate a higher chance of a psychological cause (like depression), and if you do know that your unconscious penis is functioning just fine, that’s at least one piece of evidence that can help a healthcare professional determine the best way to treat you.

Sildenafil citrate

Get hard for 95% cheaper than Viagra

Sleep Erections: The Final Word

Getting a sleep erection is perfectly normal and healthy. We hope you have many more of them for many more years to come. 

If, however, you’re getting more erections while asleep than while waking, it may offer good news and bad news about your sexual health

If your unconscious is always ready but your conscious mind seems to have trouble getting started, that’s something you’ll want to discuss with a healthcare professional. At that point, it’s most likely a sign that there’s an issue — one you can actually address and clear up.

We know talking to a healthcare provider about your sexual function can feel embarrassing. 

We also know how embarrassing it can be to have to call it quits in the intimate hours of the night, only to wake up and find out that your sleeping self had all the fun. That’s not what any guy — or their partner/s — wants. 

If you’re ready to give your waking self priority on erectile performance and pleasure, talk to someone about treatment options for ED today. It’s a problem that doesn’t go away without treatment, so the sooner you get started, the sooner you’ll have a solution. 

Treat ED differently than your erection — don’t sleep on it.

3 Sources

Hims & Hers has strict sourcing guidelines to ensure our content is accurate and current. We rely on peer-reviewed studies, academic research institutions, and medical associations. We strive to use primary sources and refrain from using tertiary references.

  1. Team, U. and K. (2021, August 26). Why do men get morning erections? Cleveland Clinic. Retrieved January 16, 2023, from https://health.clevelandclinic.org/men-get-morning-erections-5-answers-questions/.
  2. Schmidt, M. H., & Schmidt, H. S. (2004). Sleep-related erections: neural mechanisms and clinical significance. Current neurology and neuroscience reports, 4(2), 170–178. https://pubmed.ncbi.nlm.nih.gov/14984691/.
  3. Sooriyamoorthy T, Leslie SW. Erectile Dysfunction. [Updated 2022 Nov 28]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2022 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK562253/

This article is for informational purposes only and does not constitute medical advice. The information contained herein is not a substitute for and should never be relied upon for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment. Learn more about our editorial standards here.