Sexual Dysfunction – Causes

Conditions · Sexual dysfunction · Causes

Causes of erectile dysfunction: organic, psychological, temporary, and why chronic prostatitis comes first

Every erection depends on four things working together: nerves that carry the signal, arteries that open, smooth muscle that relaxes, and veins that close to trap the blood. Anything that damages one of them causes erectile dysfunction, and the list of things that can is long: diabetes, hardened arteries, smoking, medication, surgery, hormones, infections, anxiety. This page goes through all of them plainly. It also explains the cause that heads the list in our clinic and is missing from most others: chronic inflammation of the prostate, the gland the nerves and vessels of erection pass through on their way to the penis.

By Dr Pavlos Georgiadis, MD, Surgeon Urologist-Andrologist · Athens · Reviewed September 2026

Prostatitis and erectile dysfunction All the organic causes

Prostatitis and erectile dysfunction: how an inflamed prostate ruins erections

Men ask us “can prostatitis cause ED?” as if it were a curiosity. In our clinic it is the leading cause, in the large majority of patients under 55 and about half of those older. Here is how it does it.

Mechanism 1: inflammatory damage to the erectile tissue

A chronically infected prostate sheds inflammatory products, bacterial toxins and free radicals into the blood and lymph of the pelvis, which drain straight through the penis. The lining of the small helicine arteries (the endothelium) is damaged, so it makes less nitric oxide, the molecule that opens the arteries when the nerve signal arrives. Oxidative stress rises, oxygen delivery falls, and the smooth muscle of the erectile chambers, starved and irritated, is gradually replaced by collagen: corporal fibrosis. Fibrosed chambers fill slowly, hold blood badly and give the semi-rigid erection that so many men describe. This is the same process by which diabetes and hardened arteries damage the penis, started earlier and from next door.

Illustration of the changes in the erectile tissue of the penis caused by chronic prostatitis: fibrotic trabecular smooth muscle, helicine arteries with endothelial lesions and arterial stiffness
Figure 1. The erectile tissue in chronic prostatitis: fibrosis of the trabecular smooth muscle, endothelial lesions of the helicine arteries and stiffening of the vessels.

Mechanism 2: strangulation of the nerves of erection

The cavernous nerves leave the pelvic plexus, run along the sides of the prostate and enter the penis. When the prostate is chronically inflamed, the tissue around it swells and then hardens with fibrosis, and the nerves are infiltrated by inflammatory cells and squeezed. The signal that should reach the penis at full strength arrives weak, late or not at all. This is also why erectile dysfunction from prostatitis so often comes with pain: the same nerves carry sensation from the perineum, testicles and penis, and the same strangulation makes them fire wrongly. Nothing that acts on the penis alone, no pill, no shockwave, no injection, can fix a nerve that is being crushed upstream. The full account of both mechanisms.

3D illustration of the cavernous nerve of erection inflamed, infiltrated and strangled as it passes the chronically inflamed prostate
Figure 2. Inflammatory infiltration and strangulation of the cavernous nerve where it passes the prostate.

Organic causes of erectile dysfunction

Organic means there is a physical fault in the machinery. This is the case in most men over 40 and, in our experience, in most younger men too once they are properly examined.

Vascular (arterial) causes

Narrowed or stiff arteries cannot deliver blood fast enough to fill the chambers. Atherosclerosis, high blood pressure, high cholesterol, diabetes and smoking are the classic culprits, and erectile dysfunction is often the first sign of vascular disease anywhere in the body: the penile arteries are small and clog early. A man with vascular ED should have his heart looked at as well.

Venous leak

The chambers fill but cannot trap the blood, because the smooth muscle and the outer sheath no longer press the veins shut. The erection comes and drains away. Venous leak is usually the end result of fibrosis of the erectile tissue, whatever started it, and is diagnosed with penile Doppler ultrasound.

Neurological causes

Damage anywhere along the nerve pathway: strangulation by an inflamed prostate, injury during prostate, bladder or bowel surgery, diabetic neuropathy, spinal cord injury, multiple sclerosis, Parkinson’s disease, stroke, and long-distance cycling that compresses the perineal nerves.

Hormonal causes

Genuinely low testosterone (hypogonadism), high prolactin, thyroid disease. Real but less common than the number of testosterone prescriptions suggests; a borderline-low testosterone in a man under 55 is more often a consequence of an inflamed prostate than a primary cause. The testosterone trap.

Structural causes

Peyronie’s disease (a fibrous plaque that bends the erect penis and can leak blood), congenital curvature, scarring after injury or priapism. Peyronie’s disease explained.

Ageing tissue

With age the smooth muscle content of the erectile chambers falls and collagen rises, so the trap leaks a little and erections need more stimulation. This is real but modest; it is the causes above, given decades to work, that turn it into dysfunction.

Chronic diseases that cause erectile dysfunction

Diabetes

The strongest link of all: men with diabetes are two to three times more likely to have erectile dysfunction and develop it ten to fifteen years earlier, because high sugar damages both the small arteries and the nerves. Good sugar control reduces the risk; it does not repair damage already done.

Heart and vessel disease

Coronary disease, hypertension, high cholesterol and peripheral arterial disease share their mechanism with vascular ED. Erectile dysfunction often appears two or three years before the first cardiac symptom.

Kidney disease, MS, liver disease

Chronic kidney failure, multiple sclerosis, liver cirrhosis and other long-term illnesses damage vessels, nerves or hormones and commonly bring erectile dysfunction with them.

All of these damage the lining of the penile vessels and the erectile nerves, reduce blood flow and lay down fibrosis in the erectile chambers. They aggravate the damage an inflamed prostate is doing, and they make its treatment more urgent, not less: a man with diabetes cannot afford a second, treatable cause of nerve and vessel damage on top of the first.

Lifestyle causes

Smoking is the lifestyle factor with the clearest effect: it damages the endothelium, constricts the arteries and accelerates atherosclerosis, and smokers develop erectile dysfunction years earlier than non-smokers with the same risk profile. Heavy alcohol blunts the nerve signal in the short term and damages nerves, liver and hormones in the long term. Recreational drugs, including cannabis, cocaine and anabolic steroids, all impair erections. Obesity and inactivity raise the risk through vascular disease, low testosterone and inflammation; men who exercise regularly have measurably fewer problems. Long hours in the saddle compress the perineal nerves and arteries. Prolonged sitting, constipation and holding urine congest the pelvis and, in a man with an inflamed prostate, bring its symptoms out.

Changing these habits helps every man with erectile dysfunction and is part of our treatment. On its own it rarely cures, because in most men the habit was an aggravating factor, not the origin.

Illustration of a man smoking, smoking being a major lifestyle cause of erectile dysfunction
Figure 3. Smoking damages the lining of the penile arteries and brings erectile dysfunction forward by years.

Medication and surgery

Medication that causes erectile dysfunction

Several blood-pressure drugs (thiazide diuretics and beta-blockers above all), most antidepressants (SSRIs cause delayed ejaculation and reduced desire as well), antipsychotics, tranquillisers, some antihistamines, opioids, 5-alpha-reductase inhibitors for prostate enlargement (finasteride, dutasteride) and anti-androgens. If erectile dysfunction began within weeks of a new prescription, tell the doctor who prescribed it; there is almost always an alternative. Do not stop a heart or blood-pressure drug on your own.

Surgery and radiotherapy

Radical prostatectomy, cystectomy, rectal surgery and pelvic radiotherapy can injure the cavernous nerves and the arteries. Sometimes the damage is permanent and the man needs injections to have an erection; often it is partial, and function returns gradually over twelve to twenty-four months, faster with early rehabilitation of the erectile tissue. Recovery after prostate surgery.

Infections and sexually transmitted diseases

Can an STD cause erectile dysfunction? Not directly, in the sense that chlamydia does not act on the penis. Indirectly, very much so: chlamydia, ureaplasma, mycoplasma, gonorrhoea and trichomonas travel from the urethra into the prostate and seminal vesicles, where they settle and, months or years after the original infection was “treated”, maintain the chronic prostatitis that damages the erectile nerves and vessels as described above. Ordinary urinary bacteria (E. coli, enterococcus, klebsiella, staphylococci) reach the prostate by the same road without any sexual transmission at all. An erectile problem that began some time after a genital infection, or in a man with a history of urethritis or “cystitis”, should always lead to the prostate. How the prostate becomes infected.

Temporary erectile dysfunction

Genuinely temporary

Too much alcohol, exhaustion, a bad day, a first night with a new partner, an argument, a bout of flu, a short course of a sedating drug. The erection fails once or a few times and returns when the circumstance passes. Every man has had it; it needs no treatment beyond common sense, and worrying about it is the surest way to repeat it.

When “temporary” is not

Failures that recur over more than a few weeks, that happen with a partner but not alone (or the reverse), that come with softer morning erections, quicker ejaculation or any urinary symptom, are not temporary: they are the first stage of an organic process, and this is the moment when it is easiest to treat. A man who waits two years to be examined arrives with fibrosis that a man examined at three months would not have had. The early signs and stages.

Psychological causes

Performance anxiety, stress, depression, low self-esteem, relationship conflict, guilt and the effects of past trauma can all short-circuit the nervous pathway of erection, and they can do it in a man whose vessels and nerves are perfect. Purely psychological erectile dysfunction is real, and its hallmarks are a sudden onset tied to a life event, full erections during sleep, on waking and in masturbation, and failure only in the situation that provokes the anxiety.

What we see far more often is the mixed picture: an organic problem that has been developing quietly, a first failure, and then a layer of anxiety that makes every subsequent attempt worse. That man is told his problem is psychological because his tests were “normal”, the organic cause is never looked for, and the anxiety is then treated, without success, for years. The anxiety is real; it is also the effect. It lifts on its own as the physical problem is treated and the erections come back. How we tell the two apart.

Want to know which of these is yours?

One properly conducted examination separates the vascular from the nervous from the prostatic from the psychological cause, and most men have a mix. Tell us how your problem began and what else has changed.

Book a consultation How ED is diagnosed

Frequently asked questions about the causes of erectile dysfunction

Can prostatitis cause erectile dysfunction?

Yes, and in our clinic it is the leading cause. A chronically inflamed prostate damages the lining of the penile arteries with inflammatory products, drives fibrosis of the erectile tissue, and strangles the cavernous nerves that run past the gland. The typical picture is a slower, softer erection lost during intercourse, fading morning erections, quicker ejaculation and a mild urinary symptom.

What is the most common cause of erectile dysfunction?

Vascular disease and diabetes in textbooks for older men, and anxiety for younger men. In our records, chronic prostatitis across all ages, with vascular disease, diabetes, smoking, medication and surgery adding to it, especially after 55. Most men have more than one cause.

What are the organic causes of erectile dysfunction?

Arterial disease and venous leak, nerve damage (inflamed prostate, surgery, diabetes, spinal or neurological disease), hormonal disorders (low testosterone, high prolactin, thyroid), and structural problems such as Peyronie’s disease.

Can an STD cause erectile dysfunction?

Indirectly. Chlamydia, ureaplasma, mycoplasma and gonorrhoea travel into the prostate and seminal vesicles and maintain a chronic prostatitis long after the original infection, and the prostatitis damages the nerves and vessels of erection.

What causes temporary erectile dysfunction?

Alcohol, exhaustion, stress, illness, a sedating drug or a new situation. If failures keep recurring for more than a few weeks, or come with softer morning erections or quicker ejaculation, it is no longer temporary and should be examined.

Which medications cause erectile dysfunction?

Thiazide diuretics and beta-blockers, most antidepressants, antipsychotics, tranquillisers, opioids, some antihistamines, finasteride and dutasteride, and anti-androgens. If ED began after a new prescription, ask the prescriber for an alternative; do not stop a heart drug on your own.

Is erectile dysfunction in young men psychological?

Less often than is claimed. Purely psychological ED has a sudden onset tied to an event and normal erections during sleep and masturbation. A gradual decline, with softer morning erections or premature ejaculation, is organic until proven otherwise, and in young men the organic cause we find most is chronic prostatitis.

Does smoking cause erectile dysfunction?

Yes. Smoking damages the lining of the penile arteries and accelerates atherosclerosis; smokers develop erectile dysfunction years earlier than non-smokers with the same risks. Stopping helps, and is part of every treatment plan.

From Our Blog

What we count as success and where our high success rate comes from, why “relapse” after antibiotics is untreated disease, what happens in the years after the protocol,…
Interstitial cystitis and chronic cystitis are usually presented as two unrelated diseases: one an infection, the other a mysterious bladder pain with “no cause”. In our experience they…
Understanding Phage Therapy in Prostatitis Treatment: Insights from Georgiadis Urology Phage therapy is an innovative approach gaining attention in the treatment of chronic prostatitis, particularly for patients with…