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, and trauma healing.
He graduated with a bachelor's in biology from the University of Wisconsin and a medical degree from the University of Minnesota Medical School. During medical school, he completed a graduate certificate in integrative therapies and healing practices through the Earl E. Bakken Center for Spirituality & Healing. He completed his three-year residency training in internal medicine at the University of California in Los Angeles on the primary care track and a two-year fellowship in integrative East-West primary care at the UCLA Health Center for East-West Medicine.
He is currently taking a multiyear personal and professional sabbatical to explore the relationship between childhood trauma, disease, and the processes of healing. He is developing a clinical practice for patients with complex trauma, as well as for others going through significant life transitions. He is working on a book distilling the insights from his sabbatical, teaching, and leading retreats on trauma, integrative health, mindfulness, and well-being for health professionals, students, and the community.
Previously, Dr. Laube was an assistant clinical professor at the UCLA Health Center for East-West Medicine and the David Geffen School of Medicine at UCLA, where he provided primary care and integrative East-West medical consultations. As part of the faculty, he completed a medical education fellowship and received a certificate in innovation in curriculum design and evaluation. He was the fellowship director at the Center for East-West Medicine and led courses for physician fellows, residents, and medical students.

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.