Erectile dysfunction (ED) is the inability to get and maintain an erection. This complex process involves the endocrine, nervous, and cardiovascular systems and is influenced by psychological and lifestyle factors such as smoking and alcohol use. Being sick affects your bodily functions and your psychological motivation for sex. So, illnesses can cause ED.
Many times, when you are sick, you feel exhausted. You may have muscle aches. You may have nasal congestion, cough, and chest congestion, which causes fatigue and difficulty breathing. It makes sense that being sick can cause temporary ED. The question is, how temporary is it?

What Is Erectile Dysfunction?
An erection occurs when blood flows into the penis and becomes trapped in spaces known as the corpora cavernosa. Pressure builds as blood fills these chambers, causing the penis to stiffen. Although this process appears simple, it requires the ability to respond to sexual stimulation, maintain adequate blood flow into the penis, and have nerves that can respond appropriately to chemical signals in the body. A breakdown in the psychological response, blood flow, nerve transmission, or brain communication can all cause ED.
As mentioned, erectile function is complex, and the process begins in the brain. Low libido, depression, performance anxiety, stress, and relationship problems can all contribute to ED. Your body is under stress when you are sick, and fatigue will put a damper on your libido.
Having a normal blood pressure and healthy blood vessel function is essential to getting and maintaining an erection. Illness causes inflammation, which can affect blood vessel function. Blood vessels entering the penis are small and may be more affected than larger vessels. In fact, ED is an early indicator of cardiovascular disease. If your ED is persistent, talk to your doctor to see if you need an evaluation of your cardiovascular health.1
What Causes Erectile Dysfunction?
Certain illnesses and medical conditions can contribute to ED, including:
- Heart disease: ED is often a warning sign of underlying heart disease.
- Blood vessel damage: High blood pressure and high cholesterol can damage blood vessels and nerves, leading to ED.
- Obstructive sleep apnea: This disorder, which causes disrupted breathing during sleep, can lead to ED.2
- Prostate cancer: Treatment for prostate cancer, such as surgery or radiation therapy, can cause ED.
- Hormone levels: Low testosterone levels can lead to low libido and ED. High prolactin and thyroid disease can also increase your risk of ED.3
- Nerve damage: Multiple sclerosis, Parkinson’s disease, and diabetes mellitus are examples of diseases that may cause nerve damage and ED.
In addition to these physical causes, psychological factors can contribute to ED, including stress, anxiety, and depression.4
Medications can also cause ED. For example, many people take antihistamines to dry up a runny nose when they have cold or flu symptoms. Antihistamine use can cause temporary ED.
What Infections Can Cause Erectile Dysfunction?
Several infections can cause erectile dysfunction (ED). These include:
- Sexually transmitted infections (STIs) such as syphilis, gonorrhea, and chlamydia can cause ED. If the infection is the sole cause, antibiotic treatment may be an effective cure for ED. Herpes simplex viral infections are also associated with an increased risk of ED.5
- Prostatitis: This is an inflammation of the prostate gland that can cause pain and discomfort, including difficulty with urination and ED.
- Urinary tract infections (UTIs): UTIs can cause inflammation and irritation of the urinary tract, which can lead to ED.
If you are experiencing ED and are concerned about an infection, it’s important to contact your doctor. They can help diagnose the cause of your ED and recommend appropriate treatment options.

What Causes Temporary Erectile Dysfunction?
There are many potential causes of temporary erectile dysfunction (ED). Treating these conditions may resolve ED symptoms.
Causes of temporary ED may include:
- Alcohol or drug use: Alcohol and certain drugs, such as marijuana, cocaine, and prescription medications, can interfere with the ability to get an erection.
- Fatigue: Being exhausted or sleep deprived can impact sexual performance and lead to temporary ED.
- Illnesses or infections: Certain illnesses, such as the flu, can cause temporary ED. This is likely due to inflammation in blood vessels that affects blood flow.6
- Stress: Stress and anxiety can interfere with sexual performance and cause temporary ED.
- Relationship problems: Difficulties in a relationship, such as communication issues or resentment, can cause temporary ED.
- Allergies and cold symptoms: A study comparing patients with and without allergic rhinitis found higher incidences of sexual dysfunction in the group with allergies. Sexual function improved when cold/allergy symptoms were treated or improved.7
- COVID-19: ED may be one of the many sequelae of a COVID-19 infection. The odds of having ED after COVID-19 are about 20% higher. The link may be increased inflammation and blood vessel damage.

How Do You Treat Erectile Dysfunction?
There are several treatments available for ED, including:
- Medications: Several medications can help with ED, including phosphodiesterase type 5 inhibitors (sildenafil, tadalafil, and vardenafil). Their dosages and side effects vary, so it is important to talk with a healthcare provider to find the best medicine for erectile dysfunction (ED).
- Penile injectables: Combinations of medications such as those in Trimix are injected directly into the penis, minimizing side effects. Oral ED medications work for approximately ~70% of men who use them. Of those who switch to injectable ED medications, 95% get and sustain an erection suitable for sexual activity.
- Penis pumps: These devices can help draw blood into the penis, leading to an erection.
- Penile implants: In cases where other treatments are ineffective, penile implants (artificial devices placed inside the penis) may be an option.
- Counseling: Psychological issues, such as anxiety or depression, may contribute to ED. In these cases, counseling or therapy may be helpful.
ED is almost always treatable, depending on the underlying cause. If you are sick and you have temporary ED work on getting better first. Take it easy for a few days and recover from your illness. If your ED symptoms persist, contact your doctor or the medical professionals at Invigor Medical to learn more about your treatment options.