What Causes Erectile Dysfunction and Male Infertility? Common Health Conditions to Know
- naparyhealthtech16
- 21 minutes ago
- 10 min read

What Causes Erectile Dysfunction and Male Infertility?
Erectile dysfunction (ED) and male infertility are two different medical conditions, but they can sometimes have similar underlying causes.
A man may experience difficulty achieving or maintaining an erection while also having problems with sperm production or fertility. In other cases, erectile dysfunction and infertility may occur independently.
Understanding the possible causes is important because both conditions can sometimes be signs of a wider health problem.
Common factors that may affect both sexual and reproductive health include:
Hormonal disorders
Diabetes
Obesity
Cardiovascular disease
Smoking
Certain medications
Chronic medical conditions
Psychological stress
Testicular disorders
Lifestyle factors
This is why men experiencing both ED and fertility difficulties should not simply assume that one condition is causing the other.
A proper medical assessment can help identify whether there is a common underlying cause.
Erectile Dysfunction and Male Infertility Are Not the Same Condition
Before looking at the causes, it is important to understand the difference.
Erectile Dysfunction
Erectile dysfunction is the persistent inability to achieve or maintain an erection that is sufficient for satisfactory sexual intercourse.
ED primarily affects sexual function.
Male Infertility
Male infertility refers to reduced reproductive potential in a man.
It may be related to problems such as:
Low sperm production
Poor sperm motility
Abnormal sperm morphology
Blockage of the reproductive tract
Hormonal problems
Testicular problems
Genetic factors
Problems with ejaculation
Male infertility primarily affects reproductive function.
A man can therefore have ED without infertility, infertility without ED, or both conditions at the same time.
Can Hormonal Problems Cause ED and Infertility?
Yes.
Hormones play an important role in both sexual function and sperm production.
Testosterone is particularly important for male sexual health, while the reproductive system also depends on hormones produced by the brain and pituitary gland.
Hormonal problems may affect:
Sexual desire
Erectile function
Sperm production
Testicular function
Energy and general well-being
Possible hormonal causes include:
Low testosterone
Pituitary disorders
High prolactin
Problems affecting the hypothalamic-pituitary-testis axis
Thyroid disorders in some cases
However, having ED does not automatically mean that testosterone is low.
For men with ED, the AUA recommends measuring morning total testosterone as part of the evaluation. In infertile men with ED, impaired libido, oligozoospermia, azoospermia, or other relevant findings, AUA/ASRM guidance recommends hormonal evaluation including FSH and testosterone.
Can Low Testosterone Cause Erectile Dysfunction?
Low testosterone can contribute to sexual symptoms, particularly reduced sexual desire, and may also be associated with erectile difficulties.
However, testosterone is only one part of erectile function.
An erection also depends on:
Healthy blood vessels
Nerve function
Sexual stimulation
Psychological factors
Overall health
This means that simply increasing testosterone is not automatically the solution for ED.
More importantly, men who are trying to conceive should be careful about testosterone treatment.
Exogenous testosterone can suppress sperm production.
Testosterone from outside the body can reduce the hormonal signals needed to stimulate sperm production in the testes and, in some men, can lead to very low sperm counts or azoospermia.
For this reason, testosterone replacement should not be started without appropriate medical assessment in a man who wants to preserve fertility. AUA/ASRM guidance advises against testosterone monotherapy in men interested in current or future fertility.
Can Diabetes Cause Erectile Dysfunction and Infertility?
Diabetes is an important health condition to consider when a man has sexual or reproductive concerns.
Long-term high blood sugar can affect blood vessels and nerves.
Because healthy blood flow and nerve function are essential for erections, diabetes can contribute to erectile dysfunction.
Diabetes can also be associated with reproductive and sexual problems, including changes in ejaculation and sperm-related parameters.
A man with diabetes who develops ED should therefore discuss the problem with a healthcare professional rather than assuming that it is simply part of getting older.
Good management of blood glucose, blood pressure, cholesterol, weight, and other cardiovascular risk factors can be an important part of protecting overall health.
Can Obesity Affect Erectile Function and Male Fertility?
Obesity can affect several systems involved in male sexual and reproductive health.
It may be associated with:
Hormonal changes
Reduced testosterone levels
Metabolic problems
Cardiovascular risk
Erectile dysfunction
Changes in sperm parameters
Excess body weight may also contribute indirectly by increasing the risk of diabetes, hypertension, and other conditions that can affect sexual function.
This does not mean that every man who is overweight will experience ED or infertility.
However, maintaining a healthy weight can support overall metabolic, cardiovascular, sexual, and reproductive health.
Can Heart and Blood Vessel Problems Cause Erectile Dysfunction?
Yes.
Erections depend heavily on adequate blood flow.
Conditions that affect blood vessels can therefore contribute to ED.
These include:
High blood pressure
High cholesterol
Atherosclerosis
Cardiovascular disease
Smoking-related vascular damage
Diabetes
Importantly, ED can sometimes be an early warning sign of underlying cardiovascular disease.
The AUA describes ED as a risk marker for underlying cardiovascular disease and other health conditions that may require evaluation.
This is one reason why persistent ED should not always be treated as an isolated sexual problem.
Can Smoking Affect Erectile Function and Fertility?
Smoking can damage blood vessels and is strongly associated with poorer cardiovascular health.
Because erections depend on healthy blood vessels, smoking can contribute to erectile dysfunction.
Smoking has also been associated with adverse effects on male reproductive health.
For men trying to conceive, stopping smoking is therefore an important lifestyle step.
The benefits are not limited to sexual function.
Stopping smoking can improve overall cardiovascular and general health while reducing exposure to substances that may negatively affect reproductive health.
Can Alcohol Cause Erectile Dysfunction?
Excessive alcohol consumption can affect sexual function.
Alcohol may interfere with:
Sexual arousal
Erectile function
Hormonal balance
Sleep
General health
Heavy long-term alcohol use may also be associated with reproductive problems.
This does not mean that every man who drinks alcohol will develop ED or infertility.
The risk depends on factors such as the amount consumed, frequency, overall health, and other medical conditions.
If erectile or fertility problems are present, discussing alcohol intake with a doctor can be useful.
Can Medications Cause Erectile Dysfunction or Affect Fertility?
Yes.
Some medications can affect sexual function or reproductive health.
Possible medication-related effects may include:
Reduced libido
Erectile difficulties
Ejaculatory problems
Hormonal changes
Changes in sperm production
The effect depends on the medication, dose, duration of treatment, and individual patient.
Examples of medication groups that may sometimes be associated with sexual side effects include certain:
Antidepressants
Blood pressure medications
Hormonal medications
Other medications affecting the nervous or endocrine systems
However, never stop a prescribed medication without speaking to the doctor who prescribed it.
If you are trying to conceive and are concerned about a medication, tell your fertility specialist about every medication and supplement you are taking.
Can Stress Cause Both ED and Fertility Problems?
Stress can affect sexual function, particularly erectile function.
A man who is under significant stress may experience:
Reduced sexual interest
Performance anxiety
Difficulty becoming aroused
Difficulty maintaining an erection
Problems with sexual confidence
Stress can be particularly important in men undergoing fertility treatment because sexual activity may become closely connected to conception.
As discussed in our previous article, infertility-related stress can contribute to sexual dysfunction. ASRM specifically highlights psychological distress from infertility as a contributor to male sexual dysfunction.
Stress should therefore be considered as part of the overall picture, but persistent ED should not automatically be assumed to be psychological.
Can Testicular Problems Affect Both Fertility and Sexual Health?
The testes have an important role in male reproductive health.
They are responsible for producing sperm and testosterone.
Problems affecting the testes can therefore have consequences for fertility and, in some cases, sexual function.
Potential causes include:
Varicocele
Testicular injury
Previous testicular surgery
Testicular inflammation or infection
Undescended testes
Testicular failure
Certain genetic conditions
Not every testicular condition causes ED.
However, a history of testicular problems is important information for a male fertility specialist.
Can Varicocele Cause Male Infertility and ED?
A varicocele is an enlargement of veins around the testicle.
Varicoceles are relatively common and can be associated with abnormal semen parameters in some men.
They may affect the environment around the testicle and can be associated with impaired sperm production.
A varicocele does not automatically cause erectile dysfunction.
If a man has both ED and fertility problems, the doctor should therefore consider whether there are additional causes contributing to the erectile symptoms.
The goal is to identify the actual cause rather than assuming that every symptom comes from the same condition.
Can High Prolactin Cause Erectile Dysfunction?
High prolactin, known as hyperprolactinemia, can interfere with male reproductive and sexual function.
Depending on the underlying cause and severity, it may be associated with:
Reduced libido
Erectile dysfunction
Hormonal changes
Reduced testosterone
Fertility problems
Possible causes of high prolactin include certain medications and disorders affecting the pituitary gland.
When hormonal symptoms are present, appropriate blood testing can help identify whether prolactin or other hormones need further evaluation.
AUA/ASRM guidance recommends prolactin evaluation in specific infertile men with low testosterone and low or low-normal LH, or with decreased libido in the appropriate clinical setting.
Can Neurological Problems Cause Erectile Dysfunction?
Erections involve communication between the brain, nerves, blood vessels, and penis.
Conditions that affect the nervous system may therefore interfere with erectile function.
Examples can include:
Certain neurological diseases
Spinal cord injuries
Nerve damage related to diabetes
Pelvic nerve injury
Previous pelvic surgery
The exact effect depends on the location and severity of the neurological problem.
A detailed medical history can help identify whether nerve-related factors may be contributing to ED.
Can Depression and Anxiety Cause Erectile Dysfunction?
Yes.
Depression and anxiety can affect sexual desire, arousal, confidence, and erectile function.
Anxiety can be particularly relevant when the man has already experienced an episode of ED.
He may begin worrying about whether the problem will happen again, creating a cycle of:
ED → anxiety → performance pressure → more ED.
Depression may also reduce sexual desire and overall interest in sexual activity.
Psychological factors can occur alongside physical causes, so a man should not be told that his ED is "just psychological" without appropriate assessment.
The AUA recommends considering mental health support as part of ED management when appropriate, particularly to address performance anxiety and integrate treatment into the sexual relationship.
Can Poor Sleep Affect Erectile Function?
Sleep is important for general health, hormonal regulation, mood, and energy.
Poor sleep may contribute indirectly to sexual problems by affecting:
Energy
Mood
Stress
Metabolic health
Hormonal balance
Sleep disorders may also be associated with sexual dysfunction.
If a man has persistent fatigue, poor sleep, snoring, or other sleep-related symptoms alongside ED, these issues may be worth discussing with a doctor.
Could ED and Infertility Have One Underlying Cause?
Sometimes, yes.
For example, a man with diabetes may have both erectile dysfunction and fertility concerns.
Another man may have a hormonal disorder affecting both sexual function and sperm production.
A third man may have normal sperm production but develop ED because of anxiety associated with infertility.
This is why the same symptoms can have very different causes.
A specialist assessment helps determine whether the problems are:
Related → caused by a shared underlying condition
Independent → two separate medical problems
Mixed → physical and psychological factors occurring together
What Tests Are Used to Find the Cause?
The exact tests depend on the man's symptoms and medical history.
A male fertility and sexual health assessment may include:
Medical and Sexual History
The doctor may ask about:
Erectile function
Libido
Ejaculation
Previous fertility
Previous pregnancies
Medical conditions
Medications
Lifestyle
Smoking
Alcohol
Previous surgeries
Testicular problems
Relationship and psychological factors
Physical Examination
A physical examination may assess the genitalia and other relevant signs of hormonal or reproductive problems.
Semen Analysis
Semen analysis is a key part of the initial male fertility evaluation.
It can assess parameters such as:
Sperm concentration
Motility
Morphology
Semen volume
AUA/ASRM recommends one or more semen analyses as part of the initial male infertility evaluation, with repeat testing often important when the first test is abnormal because semen parameters can vary between samples.
Blood Tests
Depending on the clinical picture, testing may include:
Testosterone
FSH
LH
Prolactin
Glucose or HbA1c
Other tests when indicated
Hormonal testing is particularly relevant when ED, low libido, low sperm counts, azoospermia, testicular abnormalities, or other hormonal signs are present.
Why Is a Complete Assessment Important?
Treating only the erection problem may not address an underlying health condition.
For example, medication may improve erections, but if a man also has:
Low testosterone
Diabetes
High blood pressure
Abnormal sperm production
Hyperprolactinemia
A testicular condition
those issues may need separate evaluation.
The purpose of a specialist assessment is therefore not simply to answer:
“How can I get an erection?”
It is also to ask:
“Why am I experiencing this problem?”
This broader approach can help identify conditions that affect both fertility and general health.
AUA/ASRM notes that male infertility evaluation can identify potentially correctable conditions as well as medical conditions that may require attention.
When Should You See a Male Fertility Specialist?
Consider a specialist assessment if you have:
Persistent or recurrent erectile dysfunction
Difficulty conceiving
Abnormal semen analysis
Low sperm count
Low libido
Ejaculation problems
Testicular pain or swelling
A known varicocele
Diabetes or cardiovascular risk factors
Symptoms of hormonal imbalance
Previous testicular surgery or injury
Concerns about testosterone treatment
ED that started during fertility treatment
A male reproductive specialist can assess sexual function and fertility together rather than treating each issue in isolation.
The Bottom Line
There is no single cause of erectile dysfunction and male infertility.
The two conditions can sometimes share underlying factors, including hormonal disorders, diabetes, obesity, cardiovascular disease, smoking, medications, testicular problems, and psychological stress.
In other men, the problems may have completely different causes.
The important point is that ED and male infertility should be evaluated rather than assumed to have the same cause.
A thorough assessment can help identify treatable medical conditions, understand sperm health, evaluate hormonal function, and determine the most appropriate treatment for sexual and reproductive health.
If you are experiencing both erectile dysfunction and fertility difficulties, speaking with a specialist in male fertility and sexual health can help you understand what is happening and what options are available.
Frequently Asked Questions
What is the most common cause of erectile dysfunction?
ED can have many causes, including vascular, metabolic, hormonal, neurological, medication-related, and psychological factors. More than one factor may contribute in the same man.
Can erectile dysfunction and infertility have the same cause?
Yes. Conditions such as diabetes, hormonal disorders, obesity, and some chronic diseases can affect both sexual and reproductive health.
Does low testosterone cause infertility?
Low testosterone can be associated with reproductive problems, but testosterone treatment itself can suppress sperm production. Men trying to conceive should receive specialist advice before using testosterone.
Can diabetes cause male infertility?
Diabetes can affect sexual and reproductive health and may contribute to erectile or ejaculation problems and other fertility-related issues.
Can obesity cause erectile dysfunction?
Obesity is associated with metabolic, cardiovascular, and hormonal changes that can contribute to erectile dysfunction in some men.
Can smoking affect male fertility and erections?
Smoking can damage blood vessels and is associated with adverse effects on male reproductive health. Stopping smoking can support both general and sexual health.
What blood tests are needed for ED and infertility?
Depending on the symptoms, a doctor may consider testosterone, FSH, LH, prolactin, glucose or HbA1c, and other tests when clinically indicated.
Should men with ED have a semen analysis?
If fertility is also a concern, semen analysis may be appropriate. A complete evaluation depends on the man's reproductive history, symptoms, and the couple's overall fertility assessment.
Can ED be a sign of another health problem?
Yes. ED can sometimes be a marker of cardiovascular and metabolic health problems and should not always be treated as an isolated sexual issue.
Can erectile dysfunction be treated?
Yes. Many causes of ED are treatable. The appropriate treatment depends on the underlying cause, overall health, medications, fertility goals, and individual circumstances.
Get Expert Help With Erectile Dysfunction and Male Fertility
If you are experiencing erectile dysfunction, fertility problems, or both, identifying the underlying cause is an important first step.
Professor Amr Raheem, a London-based Consultant Andrologist specialising in male fertility, erectile dysfunction, and sexual health, can provide a comprehensive assessment of your sexual and reproductive health.
Book a consultation with Professor Amr Raheem in London today to understand the possible cause of your symptoms and discuss a personalised treatment plan.
[Book Your Consultation]



Comments