Hernias and Erectile Dysfunction (ED): Is There a Connection?

Hernias result in pain and discomfort in the groin and abdomen, which can lead some men to wonder if the condition could contribute to sexual performance issues.
In fact, a hernia does not directly affect the male reproductive system, but its symptoms can make sexual activity uncomfortable or challenging. Hernia and erectile dysfunction also share certain risk factors, and both conditions deserve the attention of a doctor.
Understanding Hernias
A hernia happens when an internal organ or other tissue pushes through the connective tissue or muscle that normally contains it, which can lead to an odd-looking bulge that’s visible under your skin. Most hernias are located around your abdomen or groin.
Some hernias don’t cause symptoms, but most cause a bulge. Hernias may only be visible or increase in size with certain activities — such as when you’re lifting, laughing, coughing, or straining — but not at others. A hernia can cause many types of discomfort, including pressure, a dull ache, pinching, pain, and burning. Inguinal hernias, the most common type of hernia in men, occur in the groin.
The Basics of Erectile Dysfunction (ED)
Can Hernias Cause ED?
Hernia Treatment and Sexual Performance
Erectile Dysfunction Can Be a Warning Sign
Hernia treatment does not always improve erectile dysfunction, and men with persistent ED should seek the help of a medical professional.
- Diabetes
- Heart disease
- Multiple sclerosis
- Chronic alcoholism
- Steroid abuse
- Depression
- Prescription drug use
The Takeaway
Hernias do not directly cause erectile dysfunction (ED), but the pain and discomfort they cause can contribute to sexual performance issues. Hernia surgery, a generally safe procedure, may improve sexual function in men by alleviating hernia symptoms, although it can lead to some short-term sexual performance difficulties and, rarely, nerve damage and chronic pain.
Resources We Trust
- Mayo Clinic Health System: 8 Common Erectile Dysfunction Myths
- National Institute of Diabetes and Digestive and Kidney Diseases: Symptoms and Causes of Erectile Dysfunction
- Johns Hopkins Medicine: How to Tell if You Have a Hernia
- Washington University School of Medicine: Are Hernia Belts Effective?
- Harvard Health Publishing: 5 Natural Ways to Overcome Erectile Dysfunction

Justin Laube, MD
Medical Reviewer
Justin Laube, MD, is a board-certified integrative and internal medicine physician, a teacher, and a consultant with extensive expertise in integrative health, medical education, a...

Erica Patino
Author
- Hernia. Cleveland Clinic. February 7, 2023.
- Erectile Dysfunction. Cleveland Clinic. August 28, 2023.
- Mark KP et al. Erectile Dysfunction Prevalence in the United States: Report From the 2021 National Survey of Sexual Wellbeing. The Journal of Sexual Medicine. April 2024.
- Can an Inguinal Hernia Affect a Man’s Sexual Function? International Society for Sexual Medicine.
- Cantay H et al. What Is the Effect of Inguinal Hernia Operations on Sexual Functions? Cureus. April 2022.
- What You Can Expect Long-Term After Having Hernia Surgery. Cleveland Clinic. April 15, 2024.
- Ssentongo AE et al. Pain and Dysfunction With Sexual Activity After Inguinal Hernia Repair: Systematic Review and Meta-Analysis. Journal of the American College of Surgeons. February 2020.
- Andresen K et al. Management of Chronic Pain After Hernia Repair. Journal of Pain Research. April 5, 2018.
- Gareri P et al. Erectile Dysfunction in the Elderly: An Old Widespread Issue With Novel Treatment Perspectives. International Journal of Endocrinology. March 17, 2014.
- 6 Reasons to Talk to Your Doctor About Erectile Dysfunction. Henry Ford Health. April 12, 2024.
- Maiorino MI et al. Lifestyle Modifications and Erectile Dysfunction: What Can Be Expected? Asian Journal of Andrology. January–February 2015.