Can Surgery Cause Erectile Dysfunction?
Prostate surgery, pelvic surgery, recovery timelines and treatment including penile rehabilitation.
Part of the Access Doctor Erectile Dysfunction guide.
Key fact: Surgery — particularly radical prostatectomy — is one of the most common causes of acquired erectile dysfunction in the UK. Post-surgical ED is often partially or fully reversible, and effective treatment including penile rehabilitation can be started shortly after surgery.
Get Post-Surgical ED Treatment Online
Access Doctor’s GPhC-registered pharmacist independent prescribers can assess and treat post-surgical ED via a confidential online consultation, including prescribing sildenafil and tadalafil for penile rehabilitation.
Start Consultation →Why Does Surgery Cause Erectile Dysfunction?
Radical Prostatectomy
The most common surgery-related cause of ED is radical prostatectomy — surgical removal of the prostate gland, typically for prostate cancer. Two small nerve bundles called the cavernous nerves run along each side of the prostate. These nerves carry the signals from the brain that trigger blood flow into the penis and initiate an erection. Even when cancer has not invaded these nerves, their close proximity to the prostate means they are at significant risk of stretching, bruising, or inadvertent damage during surgical dissection.
Other Surgeries That Can Cause ED
- Bladder surgery — particularly cystectomy (bladder removal)
- Colorectal surgery — particularly anterior resection for rectal cancer
- Pelvic fracture repair — trauma or repair can damage the pudendal artery or cavernous nerves
- TURP (transurethral resection of the prostate) — for BPH; lower risk than radical prostatectomy but not zero
- Aortic aneurysm repair — can disrupt blood supply to the pelvis
- Lumbar spinal surgery — can damage nerve pathways to the penis
Nerve-Sparing Prostatectomy
Where clinically appropriate, surgeons may perform a nerve-sparing prostatectomy, carefully dissecting around and preserving the cavernous nerves. When technically feasible and oncologically appropriate, this significantly improves the prognosis for erectile recovery. However:
- Nerve-sparing is not always possible if cancer is close to or has infiltrated the nerve bundles
- Even with nerve-sparing, nerve bruising during dissection causes temporary loss of erectile function in most men
- Full recovery, where it occurs, typically takes 12–24 months
Men planning a prostatectomy should discuss nerve-sparing options with their surgeon before the procedure.
Recovery Timeline After Prostate Surgery
| Timeframe | Typical situation |
|---|---|
| Immediately post-surgery | Virtually all men experience significant ED — expected and normal |
| 3–6 months | Gradual improvement begins in nerve-sparing cases; nerve regeneration underway |
| 6–12 months | The most significant recovery typically occurs in this window |
| 12–24 months | Final outcome usually apparent; some men continue improving beyond this |
Recovery depends on age, pre-operative erectile function, whether nerve-sparing was performed, surgical approach, and overall cardiovascular health.
Treatment Options for Post-Surgical ED
Penile Rehabilitation
Early, proactive treatment — typically starting once the catheter is removed after surgery — is thought to preserve erectile tissue health and support nerve recovery. This is called penile rehabilitation. Regular blood flow to the penis during recovery helps maintain oxygenation and elasticity of erectile tissue. Rehabilitation typically combines regular PDE5 inhibitor use (low-dose daily tadalafil or on-demand sildenafil), vacuum erection device use, and pelvic floor exercises.
Oral PDE5 Inhibitors
Sildenafil, tadalafil, and vardenafil all have evidence supporting their use in post-prostatectomy ED. Low-dose daily tadalafil (5mg) is commonly recommended for penile rehabilitation due to its continuous action. Note that PDE5 inhibitors work most effectively when at least some cavernous nerve function remains. For guidance on which medication to choose, see tadalafil vs sildenafil.
Pelvic Floor Exercises
Kegel exercises have good evidence for improving erectile function following prostate surgery and should ideally be started before surgery and continued post-operatively. For a step-by-step guide, see lifestyle changes for erectile dysfunction.
Vacuum Erection Devices
A vacuum erection device (VED) draws blood into the penis using negative pressure, creating an erection maintained by a constriction ring. VEDs are useful both as a rehabilitation tool and as an ongoing treatment — particularly where oral medications have limited effect due to significant nerve damage.
Penile Injection Therapy (Alprostadil)
Alprostadil injected directly into the corpus cavernosum causes vasodilation and an erection independent of nerve function — success rates of approximately 85%. This makes injection therapy particularly valuable for men with nerve-damaging surgery. It requires training and is typically initiated under urology supervision.
Surgical Penile Implants
If both cavernous nerves were removed or damaged beyond recovery and other treatments have been unsuccessful, a penile prosthesis provides a permanent solution. Satisfaction rates in appropriately selected patients are 90–95%. This is typically considered at 18–24 months post-surgery if other approaches have failed.
Frequently Asked Questions
Why does prostate surgery cause erectile dysfunction?
During radical prostatectomy, the two cavernous nerve bundles running along each side of the prostate are at high risk of stretching, bruising, or damage. This trauma disrupts the nerve signals needed for an erection, even when cancer has not spread to the nerves.
Is ED after prostate surgery permanent?
Not necessarily. Most men who undergo nerve-sparing prostatectomy see significant improvement within 12–24 months. Starting penile rehabilitation early — PDE5 inhibitors, pelvic floor exercises, VED — maximises recovery potential.
What is nerve-sparing prostate surgery?
Nerve-sparing prostatectomy attempts to preserve the cavernous nerve bundles during prostate removal. Where technically and oncologically possible, it significantly improves erectile recovery prognosis.
What treatments are available for ED after surgery?
Oral PDE5 inhibitors (sildenafil, tadalafil), pelvic floor exercises, vacuum erection devices, alprostadil injection therapy, and surgical penile implants for cases where other approaches have not succeeded.
How soon after surgery can I start ED treatment?
Pelvic floor exercises can start before surgery and resume immediately after. Oral medication and VED are typically started once the catheter is removed, usually within 4–6 weeks of surgery.
References
- National Institute for Health and Care Excellence (NICE). Erectile dysfunction: Clinical Knowledge Summary. Updated 2023. cks.nice.org.uk/topics/erectile-dysfunction
- NHS. Erectile dysfunction (impotence). nhs.uk/conditions/erection-problems-erectile-dysfunction
- Lue TF. Erectile dysfunction. N Engl J Med. 2000;342(24):1802–1813. PubMed: 10853004
- Montorsi F et al. Recovery of spontaneous erectile function after nerve-sparing radical prostatectomy with and without early intracavernous injections of alprostadil. J Urol. 1997;158(4):1408–1410. PubMed: 9302136
Medical disclaimer: This article is for informational purposes only and does not constitute medical advice. ED treatments are prescription-only medicines requiring clinical assessment. In a medical emergency, call 999.


