Men's Sexual Health

Can Hernia Surgery Cause Erectile Dysfunction?

Linda Girgis | MD

Medically reviewed by Linda Girgis | MD, Girgis Family Medicine on August 20th, 2026.

Yes, hernia surgery can cause erectile dysfunction, though it's relatively uncommon. Studies show that inguinal hernia repair carries a 0.5-2% risk of erectile dysfunction, primarily when the surgery involves the groin area near crucial nerves and blood vessels. The risk is higher with open surgical techniques compared to laparoscopic approaches. Mesh repairs and recurrent surgeries may increase the likelihood of nerve damage affecting sexual function. Most cases are temporary, resolving within 3-6 months as tissues heal and swelling subsides. However, permanent dysfunction can occur if the pudendal nerve or internal pudendal artery is damaged during surgery.

Still have questions about this?

Ask your AI Doctor

Keep exploring

Related Questions

From the blog

More from Doctronic