Can surgery cause ED?

While this is sometimes only a temporary issue as your body recovers from an operation, in other cases this could be permanent, meaning you may need medication to achieve an erection following surgery. In this blog, we look at why ED is common after prostate surgery and how you can treat this condition.
Can Surgery Cause Erectile Dysfunction? Prostate Surgery and ED Explained
Medical disclaimer: This article is for informational purposes only. ED treatments are prescription-only medicines. Always complete a clinical consultation before use. Our prescribers are GPhC-registered pharmacist independent prescribers.
Surgery — particularly prostate surgery — is one of the most common causes of acquired erectile dysfunction (ED). While this can be deeply distressing, it is important to know that post-surgical ED is often temporary, and effective treatments are available. This guide explains why surgery causes ED, what recovery typically looks like, and the full range of treatment options available.
Get ED Treatment Online — Discreet & Fast
Access Doctor is a GPhC-registered online pharmacy. Our pharmacist independent prescribers assess your suitability for ED medication via a confidential online consultation. Discreet next-day delivery.
Start Your Consultation →✓ GPhC-registered pharmacy #9011198 ✓ Pharmacist independent prescribers ✓ Discreet next-day deliveryWhy Does Surgery Cause Erectile Dysfunction?
ED after surgery most commonly occurs following radical prostatectomy — surgical removal of the prostate gland, typically performed for prostate cancer. Two small nerve bundles called the cavernous nerves run along each side of the prostate. These nerves carry signals from the brain to the penis that control blood flow into the erectile tissue.
Even when the cancer has not spread to these nerves and full removal is not required, the proximity of the cavernous nerves to the prostate means they are at risk of stretching, bruising, or inadvertent damage during the procedure. This trauma can disrupt the nerve signals needed for an erection, causing both temporary and, in some cases, permanent ED.
Nerve-Sparing Prostatectomy
Where clinically appropriate, surgeons may perform a nerve-sparing prostatectomy, which attempts to carefully dissect and preserve the cavernous nerves. This approach can significantly reduce the risk of post-surgical ED, though it is not always oncologically safe (if cancer has spread close to the nerves) and not all men are suitable candidates.
What Is the Timeline for Recovery?
| Timeframe | Typical Situation |
|---|---|
| Immediately post-surgery | Practically all men experience some degree of ED |
| 3–6 months | Gradual improvement begins in many men; nerve regeneration starts |
| 6–12 months | Most significant recovery occurs in this window |
| 12–24 months | Final erectile function outcome is typically apparent; some men continue to improve |
Recovery varies enormously depending on age, pre-operative erectile function, overall cardiovascular health, and whether nerve-sparing surgery was performed. Younger men with good pre-surgical erectile function tend to recover better than older men or those with pre-existing cardiovascular risk factors.
Treatment Options for Post-Surgical ED
Oral Medication (PDE5 Inhibitors)
Your prescriber may recommend sildenafil, tadalafil, or vardenafil. These drugs increase blood flow to the penis and are often used as part of a penile rehabilitation programme — regular use (daily low-dose tadalafil or on-demand sildenafil) in the months after surgery is thought to preserve erectile tissue and support nerve recovery, even if erections are not yet functional. For a comparison of available medications, see our guide to Viagra vs Cialis vs Levitra vs Stendra.
Pelvic Floor Exercises
Pelvic floor exercises (Kegel exercises) have been shown to improve erectile function following prostate surgery. They should be started as soon as possible post-operatively — ideally before surgery where planned. See our guide to lifestyle changes for erectile dysfunction for a full Kegel exercise guide.
Vacuum Erection Devices
A vacuum erection device (VED) uses negative pressure to draw blood into the penis, creating an erection that is then maintained with a constriction ring. VEDs can be used as a form of penile rehabilitation or as a treatment in their own right.
Penile Injection Therapy
Alprostadil injections directly into the penis cause vasodilation and an erection independent of nerve function — making this option useful for men with nerve damage where oral medications may be less effective.
Surgical Implants
If both cavernous nerves were removed during surgery and other treatments have not been successful, a surgically implanted penile prosthesis (inflatable or semi-rigid) can provide a reliable erection on demand. This is typically considered after other options have been exhausted.
Accessing ED treatment online: You do not need to visit a GP to access prescription ED medication after prostate surgery. Access Doctor’s GPhC-registered pharmacist independent prescribers can assess your post-surgical situation via a secure online consultation and prescribe appropriate treatment without requiring you to travel.
More Erectile Dysfunction Guides from Access Doctor
- ED: The Basics
- Viagra vs Cialis vs Levitra vs Stendra: ED Medication Comparison
- Kamagra Dangers: Why It’s Unsafe and What to Use Instead
- What Causes Erectile Dysfunction?
- What is Viagra? Your Complete Guide to Sildenafil
- Lifestyle Changes for Erectile Dysfunction
- Erectile Dysfunction in Young Men
- Tadalafil vs Sildenafil: Which is Better?
- What to Expect When Taking Viagra for the First Time
- Understanding and Overcoming Erectile Dysfunction
- Is Erectile Dysfunction Treatment Guaranteed?
- How to Know You May Have Erectile Dysfunction
Frequently Asked Questions
Why does prostate surgery cause erectile dysfunction?
During a radical prostatectomy (prostate removal), two small cavernous nerves that run alongside the prostate gland control the blood flow required for an erection. Even if these nerves do not need to be removed, they can be stretched, bruised, or otherwise damaged during surgery, causing temporary or — in some cases — permanent ED.
Is ED after prostate surgery permanent?
Not necessarily. The majority of men who experience ED after prostate surgery see substantial improvement within 12 months. Recovery depends on the man’s age, pre-surgery erectile function, surgical technique (nerve-sparing vs standard), and overall health. Some men recover fully; others may need medication or other interventions.
What is nerve-sparing prostate surgery?
Nerve-sparing prostatectomy attempts to preserve the cavernous nerves that control erectile function by carefully separating them from the prostate gland during removal. Where this is technically possible and oncologically appropriate, it significantly reduces (though does not eliminate) the risk of post-surgical ED.
What treatments are available for ED after surgery?
Treatment options include PDE5 inhibitors (sildenafil, tadalafil), pelvic floor exercises, penile rehabilitation programmes, vacuum erection devices, penile injection therapy, and surgical penile implants for cases where other approaches have not been successful.
How long should I wait before seeking ED treatment after surgery?
Most men experience some improvement in the first 12 months post-surgery. However, if ED is significantly impacting quality of life, ED medication can be started earlier under prescriber supervision. Pelvic floor exercises can and should be started as soon as possible after surgery.
Can Access Doctor help with post-surgery ED?
Yes. Access Doctor’s GPhC-registered pharmacist independent prescribers can assess your post-surgical situation and prescribe appropriate ED medication following a confidential online consultation, without requiring you to travel for a GP appointment.
References
- NICE. Erectile dysfunction — management. CKS 2023. cks.nice.org.uk/topics/erectile-dysfunction
- NHS. Erectile dysfunction (impotence). nhs.uk
- GPhC. Standards for registered pharmacies. pharmacyregulation.org
- Lue TF. Erectile dysfunction. N Engl J Med. 2000;342(24):1802–1813. pubmed.ncbi.nlm.nih.gov
- Montorsi F et al. Recovery of spontaneous erectile function after nerve-sparing radical retropubic prostatectomy. J Urol. 1997. pubmed.ncbi.nlm.nih.gov
Access ED Treatment from Access Doctor
GPhC-registered pharmacy. Pharmacist independent prescribers. Sildenafil, tadalafil, avanafil, vardenafil. Discreet delivery.
View ED Treatments →✓ GPhC-registered pharmacy #9011198 ✓ Pharmacist independent prescribers ✓ Discreet next-day deliveryAccess Doctor is a GPhC-registered online pharmacy (registration number 9011198). All prescriptions are issued by GPhC-registered pharmacist independent prescribers. Medicines supplied are MHRA-compliant UK-licensed products.


