Enjoy sex like you used to

Learn more

Can Masturbation Cause ED? Understanding the Potential Link

Kelly Brown MD, MBA

Reviewed by Kelly Brown MD, MBA

Written by Erica Garza

Published 05/10/2022

Updated 06/26/2025

Though some research suggests a potential link between watching porn — something that many people do when they masturbate — and the development of sexual dysfunction, there's not enough evidence to prove that masturbating too much can similarly affect your ability to develop or maintain an erection.   

Assuming you use the proper technique, masturbating won’t damage your penis, nor will it stop you from being able to perform sexually. In fact, masturbation may even help improve your erections and sexual performance by reducing stress and anxiety.

Below, we’ve looked at the scientific research to find out: Does masturbation cause erectile dysfunction (ED)? We've also shared treatment options if you're struggling to get or maintain an erection long enough for satisfying sex.

Does Masturbation Cause ED

No, healthy and normal masturbation habits will not cause ED. 

However, while masturbation itself is not a cause of erectile dysfunction, consuming too much pornography, masturbating to the point of penile injury, feeling ashamed about masturbation, and going through the refractory period post-masturbation might result in some men having trouble getting erections.

Can Masturbating Too Much to Porn Cause ED?

There's not enough evidence to definitively say that porn use contributes to ED, but there may be a link. 

For instance, a 2016 review of clinical reports published in the journal Behavioral Sciences noted that occurrences of ED in men under the age of 40 may be attributed to the use of porn websites and the high expectations of sexual arousal that accompany them. (Check out our guide to the link between porn and ED here.)

However, according to one 2023 study, both masturbation frequency and pornography use were found to have a "weak or no association" with erectile function and ED severity. In fact, other well-established ED risk factors were more consistent predictors of ED symptoms, including age, anxiety or depression, low sexual interest, and low relationship satisfaction.

Can Aggressive Forms of Masturbation Cause Erectile Dysfunction?

Masturbating too forcefully or lying face down while masturbating (prone masturbation) may lead to erectile difficulties, as shown in some research.

One 2023 study revealed that young men with ED had a 2.2-fold increased risk of having at least one atypical masturbatory behavior, such as rubbing in a prone position, putting pressure on the penis, and masturbating through their clothes.   

Can Masturbatory Guilt Cause ED?

There’s also the question of psychological factors, like shame and guilt.

One study published in the Journal of Sex and Marital Therapy proposed that there may be a link between guilt caused by masturbating and erectile dysfunction, especially if you come from a strict religious or conservative background in which non-procreative sex is vilified. 

Can the Male Refractory Period Cause ED?

After ejaculation, every male goes through a period of recovery that’s referred to as a refractory period. During this period, you won’t think about sex or become aroused. 

Sexual stimulation that would normally produce a response, such as your partner physically stimulating your penis, won’t have as much of an effect. 

The length of the refractory period can vary based on age and other factors. For some men, it’s a short window that only lasts a few minutes. Other men may need 12 to 24 hours to recover after they reach orgasm and ejaculate fully.

While masturbation doesn’t directly cause ED, if you masturbate shortly before you plan to have sex, it’s possible your refractory period could affect your sexual performance. 

Because of this, it’s important to know how often a man should ejaculate, plan ahead, and resist temptation if you’re going to spend some time with your partner later in the same day.

A diverse variety of different health issues can cause or contribute to erectile dysfunction, from physical factors to psychological ones. Other causes of erectile dysfunction include health conditions that affect blood flow to the penis, certain habits and lifestyle factors, and psychological issues.

Health Conditions Related to ED

Some health conditions can affect blood flow to your penis or the sensitivity of nerves, such as the pudendal and cavernous nerves located in your pelvis. This can lead to problems with erectile function.

Common physical causes of ED include:

In some cases, medications for certain health conditions may interfere with your ability to get an erection. Medications linked to ED include:

  • Antidepressants

  • Antiandrogens

  • Tranquilizers

  • Appetite suppressants

  • Ulcer medications

  • Some medications used to treat high blood pressure

Habits and Lifestyle Factors That Can Cause ED

In addition to certain medical conditions, some habits and lifestyle factors that affect your physical health may contribute to ED. 

For example, you may have a higher risk of developing erectile dysfunction if you:

  • Are physically inactive

  • Have obesity

  • Drink alcohol excessively 

  • Smoke cigarettes or other tobacco products

  • Use illicit drugs

Psychological Issues Linked to ED

Finally, certain psychological issues and emotional factors can contribute to ED. These mental health conditions include sexual performance anxiety, depression, low self-esteem, stress, and feelings of guilt or fear regarding sexual activity.

Studies show that chronic stress and mental health conditions like anxiety and depression contribute to elevated cortisol levels (the stress hormone) and increased sympathetic nervous system activity, which can disrupt erectile processes. Even worse, ED symptoms can exacerbate psychological distress, including feelings of emasculation and humiliation, low self-confidence, and loneliness.

Our guide to stress and ED provides more information about the bidirectional relationship between stress and erectile dysfunction and what you can do about it.

If you find it difficult to get or maintain an erection, it’s important to understand that options are available to help you stay hard and enjoy a healthy, fulfilling sex life.

Currently, the most effective treatment options for erectile dysfunction are medications such as sildenafil (the ctive ingredient in Viagra®), tadalafil (Cialis®), vardenafil (Levitra®), and avanafil (sold as Stendra®).

These erectile dysfunction medications work by increasing blood flow to the tissues of your penis, which makes it easier for you to get and maintain an erection when you’re sexually aroused.

In addition to medications, options like cognitive behavioral therapy (CBT) and lifestyle changes can also improve your sexual health and function. 

Erectile dysfunction is a very common issue. Research has found that around 30 million men are affected by ED. However, masturbation is most definitely not the main cause.

Here's what we know:

  • Masturbation itself does not cause erectile dysfunction. Masturbation habits do not lead to ED, but excessive pornography use, aggressive masturbation, or psychological factors like guilt could contribute to erectile difficulties.

  • Psychological factors can influence ED. Anxiety, guilt, and stress can all affect sexual performance and contribute to sexual dysfunction. The relationship between mental health and ED is bidirectional, with one exacerbating the other.

  • Other health and lifestyle factors play a significant role in ED. More likely causes of ED include conditions like heart disease, high blood pressure, diabetes, and poor lifestyle habits. Medications for certain health issues may also interfere with sexual function.

If you're struggling with ED and ready to get support get advice from a healthcare professional today to learn about your treatment options in more detail.

8 Sources

  1. Allen MA, et al. (2023). The Psychology of Erectile Dysfunction. https://journals.sagepub.com/doi/10.1177/09637214231192269
  2. Can UT, et al. (2023). Traumatic masturbation and erectile dysfunction: A matched case-control study. https://pubmed.ncbi.nlm.nih.gov/37605604/
  3. Chakrabarti NA, et al. (2021). Masturbatory guilt leading to severe depression and erectile dysfunction. https://www.tandfonline.com/doi/abs/10.1080/00926230290001402
  4. Hevesi CR, et al. (2023). Why Men Masturbate: Reasons and Correlates in Men with and without Sexual Dysfunction. https://pubmed.ncbi.nlm.nih.gov/37125683/
  5. Lakin MI, et al. (2018). Erectile Dysfunction. Erectile dysfunction. https://www.clevelandclinicmeded.com/medicalpubs/diseasemanagement/endocrinology/erectile-dysfunction
  6. National Institute of Diabetes and Digestive and Kidney Diseases. (2017). Definition & Facts for erectile dysfunction. https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/definition-facts
  7. Park BR, et al. (2016). Is internet pornography causing sexual dysfunctions? A review with clinical reports. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5039517/
  8. Rowland DA, et al. (2023). Do pornography use and masturbation play a role in erectile dysfunction and relationship satisfaction in men?. https://pubmed.ncbi.nlm.nih.gov/35840678/
Editorial Standards

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. See a mistake? Let us know at [email protected]!

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.

Kelly Brown MD, MBA
Kelly Brown MD, MBA

Dr. Kelly Brown is a board certified Urologist and fellowship trained in Andrology. She is an accomplished men’s health expert with a robust background in healthcare innovation, clinical medicine, and academic research. Dr. Brown was previously Medical Director of a male fertility startup where she lead strategy and design of their digital health platform, an innovative education and telehealth model for delivering expert male fertility care.

She completed her undergraduate studies at University of North Carolina at Chapel Hill (go Heels!) with a Bachelor of Science in Radiologic Science and a Minor in Chemistry. She took a position at University of California Los Angeles as a radiologic technologist in the department of Interventional Cardiology, further solidifying her passion for medicine. She also pursued the unique opportunity to lead departmental design and operational development at the Ronald Reagan UCLA Medical Center, sparking her passion for the business of healthcare.

Dr. Brown then went on to obtain her doctorate in medicine from the prestigious Northwestern University - Feinberg School of Medicine and Masters in Business Administration from Northwestern University - Kellogg School of Management, with a concentration in Healthcare Management. During her surgical residency in Urology at University of California San Francisco, she utilized her research year to focus on innovations in telemedicine and then served as chief resident with significant contributions to clinical quality improvement. Dr. Brown then completed her Andrology Fellowship at Medical College of Wisconsin, furthering her expertise in male fertility, microsurgery, and sexual function.

Her dedication to caring for patients with compassion, understanding, as well as a unique ability to make guys instantly comfortable discussing anything from sex to sperm makes her a renowned clinician. In addition, her passion for innovation in healthcare combined with her business acumen makes her a formidable leader in the field of men’s health.

Dr. Brown is an avid adventurer; summiting Mount Kilimanjaro in Tanzania (twice!) and hiking the incredible Torres del Paine Trek in Patagonia, Chile. She deeply appreciates new challenges and diverse cultures on her travels. She lives in Denver with her husband, two children, and beloved Bernese Mountain Dog. You can find Dr. Brown on LinkedIn for more information.

Education & Training


Research

Published as Kelly Walker



Read more

Related Conditions

Erectile Dysfunction Erectile Dysfunction
Erectile dysfunction is a condition in which you have trouble getting or keeping an erection firm enough for satisfying sex. Erectile dysfunction affects as many as 30 million men in the United States.
Premature Ejaculation Premature Ejaculation
Premature ejaculation (PE) is a sexual dysfunction characterized by a short ejaculatory latency, a perceived lack of control about the timing of ejaculation, and distress and interpersonal difficulty related to ejaculating too quickly.
Low Testosterone Low Testosterone
Low testosterone or testosterone deficiency, also known as hypogonadism, is a condition in which patients develop symptoms such as low sex drive, erectile dysfunction (ED), and fatigue because the body doesn’t produce enough testosterone.
Retrograde Ejaculation Retrograde Ejaculation
Though many men don’t like to talk about it, ejaculation problems are very common. Some of the most common issues include premature, delayed, or retrograde ejaculation.
Pelvic Floor Dysfunction Pelvic Floor Dysfunction
Your pelvic floor is a lot like plumbing in your home: you never really think about it unless something goes wrong..
Anorgasmia Anorgasmia
When you think of male sexual dysfunction, concerns like erectile dysfunction (ED) or premature ejaculation (PE) probably come to mind first. But there’s another sex-related issue that’s more common in men than you might expect: difficulty orgasming.
Put yourself in good hands

Hims connects you with doctor-trusted products so you can have your best sex ever