Skip to content

Multiple sclerosis, spinal cord injury, diabetes and ED: how nerve conditions fit in

By The ED Report editorial team Updated 16 sources How we verify

A loose bundle of fine clear glass fiber strands lying across rough dark slate against black, a few of them glowing slate-blue at their tips, with a faint amber reflection on the stone.

The short answer

As of

Yes, nerve conditions are linked to ED. The NIH names nerve damage or disorders, such as multiple sclerosis, spinal cord injuries and damage from pelvic surgery, among the most common conditions that can lead to it, and it says nerve damage from diabetes can affect erections too. Pooled studies found ED in about half of men with MS, but those are averages from observational research, not a prediction for any one man. If you live with one of these conditions, that history is part of a careful ED evaluation.

The short version: ED is often talked about as a blood-flow problem, but the National Institutes of Health says conditions that affect the blood vessels, nerves or hormones can all lead to it. On the nerve side, it names multiple sclerosis (MS), spinal cord injuries and damage from pelvic surgery, and it describes how nerve damage from diabetes can affect erections as well. This page walks through what the research on each one shows, how sure those findings are, and what a clinician is likely to ask about if you live with one of these conditions and have noticed changes in your erections.

Can nerve conditions cause ED?

The NIH’s National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) says ED can have different causes, and that “some diseases or health conditions that affect your blood vessels, nerves, or hormones can lead to ED.” Its list of the most common ones includes “nerve damage or disorders, such as multiple sclerosis, spinal cord injuries, and damage from pelvic surgery,” alongside diabetes, heart and blood vessel diseases and hormone issues (NIDDK, Symptoms & Causes of ED). That is a statement about what can happen across many men. It does not mean that a man with one of these conditions will have ED, or that the condition is the reason when he does. Our guide to what causes ED sets the nerve causes alongside the blood-vessel, hormone and emotional ones, and our guide to what ED can signal about your health covers the heart and blood pressure links.

ConditionWhat the sources sayHow sure it isWorth raising with a clinician
Multiple sclerosisNIDDK lists MS as a nerve disorder that can lead to ED; pooled studies found ED in about 49% of men with MSObservational studies with wide variation between themYour MS symptoms, fatigue, mood and the medicines you take
Spinal cord injuryNINDS lists changes in sexual function among SCI symptoms; the effect depends on where the injury is and how severe it isClinical reviews and specialist experience; varies a great deal by injuryYour injury level, blood pressure reactions and other medicines
DiabetesNIDDK says nerve damage from diabetes can affect erections, and that more than half of men with diabetes will get EDGovernment health guidance (last reviewed 2018)Blood glucose, blood pressure, cholesterol and any nerve symptoms
Pelvic surgeryNIDDK names damage from pelvic surgery as a nerve-related causeListed by NIDDK; details depend on the surgeryWhat surgery you had and when your erections changed

What part do nerves play in an erection?

An erection depends on blood vessels, nerves and smooth muscle working together. A 2017 clinical review of men with spinal cord injury explains that normal nerve supply to the penis “requires an intact autonomic nervous system, both sympathetic and parasympathetic,” as well as working nerves for sensation and movement. The same review notes that nitric oxide, the chemical messenger that lets erectile tissue relax, is “usually released from nerve endings secondary to sexual arousal,” and is also produced by healthy blood vessel lining (Sinha et al., Top Spinal Cord Inj Rehabil 2017). The FDA-approved sildenafil label describes the next steps: nitric oxide released in the erectile tissue during sexual stimulation raises levels of a messenger called cGMP, which relaxes the smooth muscle there and lets blood flow in (VIAGRA prescribing information, section 12.1, DailyMed). So erections rely on nerves as well as blood flow, and a condition that interrupts the nerve signals can change how that chain responds. Our guide to how erections work walks through the whole sequence, and our guide to how ED medications work covers the medicine side of the same chain.

Is multiple sclerosis linked to ED?

Yes, in both government guidance and the research. NIDDK names MS among the nerve disorders that can lead to ED (NIDDK). The National Institute of Neurological Disorders and Stroke (NINDS) describes MS as a chronic condition in which the immune system attacks the protective coating around nerve fibers in the brain and spinal cord. It says sexual dysfunction “can result from damage to nerves running through the spinal cord,” and can also come from other MS symptoms, including fatigue, muscle symptoms and psychological factors. NINDS adds that depression is common in MS and can intensify sexual dysfunction (NINDS, Multiple Sclerosis). That mix matters: in MS, changes in erections may have more than one source at once, which is one more reason the full picture belongs with a clinician.

How common is ED in men with multiple sclerosis?

Two systematic reviews arrived at the same headline figure. A 2022 review in The Journal of Sexual Medicine pooled 16 studies covering 2,760 men with MS and estimated ED at 49% (95% confidence interval 42% to 56%), with large differences between studies. In the studies that compared men with MS to men without it, MS was associated with a higher risk of ED, a pooled relative risk of 3.17. The pooled estimates were higher in men over 40 (55%) and in men who had lived with MS for more than 10 years on average (57%) (Wu et al., J Sex Med 2022). A second review, of 29 studies and 3,349 men, also put the pooled ED figure at 49%, with sexual dysfunction of any kind at 66% (Shaygannejad et al., Neurologia 2025).

Those numbers need their limits stated. The authors of the 2022 review note that every study they included was observational, “which may reduce the robustness of this evidence.” Observational studies show how often two things occur together. They cannot tell you whether MS itself is responsible for ED in any particular man, or predict whether a given man with MS will have it.

How does a spinal cord injury affect erections?

It depends on where the injury is and how much of the spinal cord is affected. NINDS lists “changes in sexual function” among the possible symptoms of a spinal cord injury (SCI), and says that depending on the severity and location of the injury and the person’s recovery, sexual function and fertility may be affected. It notes that a urologist and other specialists can suggest options to support sexual function (NINDS, Spinal Cord Injury).

The 2017 clinical review explains why location matters. It describes two kinds of erection. Reflexogenic erections depend on an intact reflex loop through the sacral (lower) spinal cord, via the S2 to S4 nerve roots. Psychogenic erections come from thoughts and erotic stimuli, depend on intact thoracolumbar (mid to lower back) nerve roots and input from the brain, and help keep an erection going during sex. Injuries to the thoracic (mid-back) spinal cord often cut off psychogenic erections, so some men can start a reflexogenic erection but cannot keep it. The authors, writing from decades of work with more than 1,000 men with SCI, describe ED as prevalent in this group, and say that men with SCI may benefit from the same ED treatments used in the general population when the basic mechanisms for erection are preserved (Sinha et al., 2017).

The same review flags a safety point specific to SCI. Autonomic dysreflexia, a life-threatening reflex reaction that can include a sudden rise in blood pressure and mainly affects people with injuries to the neck or upper back (NINDS), can overlap with sexual activity and with ED medicines. The review warns that headache and facial flushing from PDE5 inhibitors can be mistaken for autonomic dysreflexia and wrongly treated with nitrates, a combination that is contraindicated, and that these medicines can cause low blood pressure and dizziness in men with SCI (Sinha et al., 2017). That is why any ED treatment after SCI belongs with a clinician who knows your injury and your other medicines.

How does diabetes affect the nerves involved in erections?

High blood glucose can damage both blood vessels and nerves, and NIDDK says this damage can lead to sexual and bladder problems. Nerve damage caused by diabetes, called diabetic neuropathy, can affect the genitals. NIDDK also says more than half of men with diabetes will get ED, that men with diabetes are more than 3 times more likely to develop it than men without diabetes, and that they may develop it 10 to 15 years earlier (NIDDK, Diabetes, Sexual, & Bladder Problems, last reviewed June 2018).

The specific nerve problem is called autonomic neuropathy: damage to the nerves that control internal organs, including the sex organs. In men, NIDDK says, “damage to nerves in the sex organs may prevent the penis from getting firm when a man wants to have sex.” The same damage can affect heart rate, blood pressure, digestion and the bladder, and NIDDK notes that doctors may refer men to a urologist for sexual problems (NIDDK, Autonomic Neuropathy). NIDDK’s guidance is that good diabetes management “may help prevent and treat ED caused by nerve damage and circulation problems,” and that sexual problems may be a sign that diabetes needs to be managed differently (NIDDK). Our guide to diabetes and ED covers the blood vessel side of the diabetes link and what managing blood glucose can change.

Can pelvic surgery affect erections?

NIDDK lists “damage from pelvic surgery” as one of the nerve-related causes that can lead to ED (NIDDK). Prostate cancer treatment is the example the American Urological Association (AUA) guideline addresses directly: it says men who want to preserve erectile function after radical prostatectomy or radiotherapy should be told that early use of PDE5 inhibitors after treatment may not improve spontaneous, unassisted erectile function (AUA ED Guideline, Statement 11). If you have had surgery in the pelvis, when your erections changed relative to the operation is useful information for whoever evaluates your ED. Our guide to ED after prostate surgery, radiation and other pelvic surgery covers recovery timing and treatment options in more detail.

Does having a nerve condition mean it caused my ED?

Not necessarily. The MS figures on this page come from observational studies, which show association, not cause. Nerve conditions also travel with other things that can affect erections. NINDS points to fatigue, muscle symptoms, depression and psychological factors in MS, and the SCI review points to low testosterone, metabolic changes and aging (NINDS; Sinha et al., 2017). NIDDK lists many common medicines, including antidepressants, some pain relievers and sedatives, as possible contributors to ED (NIDDK), and it is clear that you should not stop any medicine on your own: a clinician may suggest a different dose or a switch instead (NIDDK, Treatment for ED). Our guide to medications that affect erections goes further into that list. The useful way to read all this is as a reason to raise erection changes with the clinician who already knows your condition, not as a verdict on what is behind them.

Are ED medicines used by men with nerve conditions?

They are studied and used, but whether one is appropriate is an individual decision. The sildenafil label lists spinal cord injury and diabetes among the groups included in its clinical studies, and describes one randomized, placebo-controlled study of 178 men whose ED resulted from spinal cord injury (VIAGRA prescribing information, section 14, DailyMed). The SCI review describes PDE5 inhibitors as widely used by men with SCI, and explains that these medicines cannot start an erection on their own: they depend on the body’s own nitric oxide signal. Men with injuries at the sacral level likely release less nitric oxide, which the authors say makes them less responsive (Sinha et al., 2017). NIDDK lists the wider set of options a clinician may discuss, including oral PDE5 inhibitors, injectable medicines and suppositories, vacuum erectile devices and, for some men, surgery (NIDDK, Treatment for ED), and the AUA says men with ED should be told about FDA-approved oral PDE5 inhibitors, including their benefits and risks, unless they are contraindicated (AUA ED Guideline, Statement 8). Our overview of ED treatment options covers each of those in more detail, and our guide to sildenafil drug interactions covers the medicines that need a conversation first.

Can ED caused by nerve damage be treated?

Often, yes, though what works depends on which nerves are affected and how much of the erection pathway still works. NINDS says some of the sexual problems in MS “can be corrected with medicines, and counseling (therapy) may be helpful” (NINDS, Multiple Sclerosis), and the NIH lists the same range of options for ED from any cause: oral PDE5 inhibitors, injectable medicines and suppositories, vacuum erection devices and, for some men, surgery (NIDDK, Treatment for ED).

The sildenafil label includes two trials in men whose ED came from nerve-related conditions. In a crossover study of 178 men with ED from spinal cord injury, 83% reported improved erections on sildenafil against 12% on placebo. In a study of 268 men with ED from complications of diabetes, the figures were 57% against 10% (VIAGRA prescribing information, section 14, DailyMed). Those are trial averages, not predictions for one man, and the SCI review explains why: PDE5 inhibitors need the body’s own nitric oxide signal, so men whose injury affects the sacral reflex pathway may respond less (Sinha et al., 2017).

Option the NIH listsHow it relates to nerve-related EDOur guide
Oral PDE5 inhibitorsStudied in men with SCI and diabetes; depend on some intact nerve signalingHow ED medications work
Injections and suppositoriesAct directly on the erectile tissueED injections and suppositories
Vacuum erection devicesA mechanical option that does not rely on medicinesVacuum erection devices
Penile implant surgerySurgery; NIDDK notes most people with ED do not need itPenile implants
CounselingNINDS says counseling may help with sexual problems in MSCounseling and sex therapy for ED

Sources: NIDDK, Treatment for ED; NINDS, Multiple Sclerosis; VIAGRA prescribing information; Sinha et al., 2017.

Can Parkinson’s disease affect erections?

It can. NINDS says Parkinson’s disease “can affect sexual function because it changes how the brain and nerves control the body,” and that Parkinson’s-related depression or certain medicines may also lower sex drive (NINDS, Parkinson’s Disease). MedlinePlus also lists some medicines for Parkinson disease among the drugs that may cause erection problems (MedlinePlus, Drugs that may cause erection problems). As with MS, that mix of nerve changes, mood and medicines means the neurologist and whoever treats the ED should both know about it. Our guide to conditions often blamed for ED covers the Parkinson’s research in more detail, alongside epilepsy and other conditions.

Can medicines for nerve pain affect erections?

Some can. Gabapentin, often prescribed for nerve pain, lists impotence among the adverse reactions in its label: in pooled placebo-controlled add-on trials in 543 people with epilepsy, it was reported by 2% on gabapentin against 1% on placebo (NEURONTIN prescribing information, Table 4, DailyMed). Opioid painkillers and sedatives are also on the NIH list of medicines that can contribute to ED (NIDDK, Symptoms & Causes of ED). That overlap matters for men with diabetic neuropathy or a spinal cord injury, who may be taking these medicines for the same nerve condition that can affect erections. Do not stop one on your own; our guide to gabapentin and ED covers gabapentin and pregabalin, and our list of medications that affect erections covers the rest.

Does cycling damage the nerves involved in erections?

The evidence does not show that cycling causes ED in general, but genital numbness is a real complaint among cyclists. In a multinational survey of 3,932 men, cyclists’ erectile function scores were no worse than those of swimmers or runners, and standing for more of the ride was linked to lower odds of genital numbness (Awad et al., J Urol 2018). It was a cross-sectional survey, so it cannot show cause either way. Numbness that lingers after riding is worth mentioning to a clinician, and our guide to cycling and ED covers the saddle and position studies.

How do clinicians check whether nerves are involved?

There is no single nerve test for ED; it starts with the history and exam. NIDDK says the physical exam often checks for blood vessel and nervous system issues, and that tests may include blood tests, ultrasound of blood flow in the penis, and a nocturnal erection test, which checks for erections during sleep and can help show whether ED is due to a physical problem (NIDDK, Diagnosis of ED). The AUA guideline says specialized testing may be needed for some men to guide treatment (AUA ED Guideline, Statement 5). Our guides to erectile dysfunction tests and how ED is diagnosed walk through each step.

What will a clinician ask about if you have a nerve condition and ED?

The evaluation is the same careful one any man with ED should get, with your condition as part of the history. The AUA guideline says men with symptoms of ED “should undergo a thorough medical, sexual, and psychosocial history; a physical examination; and selective laboratory testing,” and that for some men, specialized testing may be needed to guide treatment (AUA ED Guideline, Statements 1 and 5). NIDDK describes a medical, sexual and mental health history that includes the medicines, vitamins and supplements you take, and a physical exam that often checks for blood vessel and nervous system issues and hormonal problems (NIDDK, Diagnosis of ED). Drawing on the sources above, it can help to mention the details tied to your condition: with MS, your symptoms, fatigue and mood (NINDS); after a spinal cord injury, your injury level and any episodes of autonomic dysreflexia (NINDS and the SCI review); with diabetes, how your blood glucose, blood pressure and cholesterol have been running and any other nerve symptoms (NIDDK). Our guide to how ED is diagnosed walks through each step, our guide on when to see a doctor about ED covers timing, and our guide to talking to a doctor about ED has ways to bring it up with the clinician who already knows your condition.

The bottom line

The NIH names nerve damage or disorders, including multiple sclerosis, spinal cord injuries and damage from pelvic surgery, among the most common conditions that can lead to ED, and it says nerve damage from diabetes can affect erections too. Pooled studies found ED in about half of men with MS, though those are observational averages, not a forecast for any one man. After a spinal cord injury, the effect depends on where the injury is and how severe it is, and ED medicines carry specific cautions. The steady next step is to raise erection changes with a clinician who knows your full history.

Sources

Every clinical statement on this page traces to a primary or guideline source:

Advertising disclosure: links marked "Paid link" go to Bodybuilding Peptides (trybbpeptides.com), an affiliate destination, and The ED Report may earn a commission if you buy there. Our coverage is independent of that relationship, and nothing on this page is medical or legal advice.

More in this section