Licensed US pharmacy · Discreet, complimentary shipping

Try Invigor Logo

Can Being Sick Cause Erectile Dysfunction?

Being sick can make erections harder for a while. Here is why it happens, which cold medicines may play a part, and when to see a doctor.

The Invigor Editorial Team

Updated 6 min read

Illustration of a sick man resting in bed

If you have been sick and noticed your erections are not what they usually are, you are not imagining it, and you are not alone. An erection depends on your brain, nerves, hormones and blood vessels all working together. When your body is busy fighting an illness, any of those can be thrown off for a while.

The good news is that a short illness is usually a temporary reason. The important part is knowing when it is no longer just the cold.

Why being sick can affect erections

Cleveland Clinic notes that erection problems can happen when you feel nervous, anxious, frustrated or tired, and that it is normal to have erection issues sometimes [1]. Being sick tends to stack several of those up at once.

  • Fatigue. When you are run down, your body puts its energy into getting better, not into sex.
  • Stress and low mood. Anxiety, depression and stress are all listed causes of ED [2]. Feeling miserable for a week counts.
  • Trouble breathing. A blocked nose, coughing and poor sleep can leave you short on rest and interest.
  • Your medicines. Some of the most common cold, allergy and stomach medicines are on the list of drugs that may cause erection problems (more on that below) [3].

Allergies and a stuffy nose

It is not only infections. In one study of more than 1,000 people with allergic rhinitis (hay fever), sexual function was lower than in people without it, and in men, erection scores tended to drop as nasal blockage got worse [4]. That kind of study shows a link, not proof of cause, but it fits what many men notice during a bad allergy season.

Cold and allergy medicines that may play a part

MedlinePlus, from the U.S. National Library of Medicine, keeps a list of drugs that may cause erection problems. Several are things men reach for when they are sick [3]:

  • Antihistamines such as diphenhydramine (Benadryl), dimenhydrinate (Dramamine), meclizine and promethazine
  • The decongestant pseudoephedrine (Sudafed)
  • Heartburn medicines in the H2 blocker group, such as cimetidine and famotidine
  • Pain relievers such as ibuprofen and naproxen, and opioid painkillers such as codeine

Not everyone who takes these will have trouble, and the list is not complete [3]. If you think a medicine is affecting you, ask a pharmacist or your doctor whether there is another option.

Don't stop a prescribed medicine on your own. MedlinePlus is clear: never stop taking any medicine without first talking to your provider [3]. Some medicines can cause serious problems if they are stopped suddenly. Your prescriber can often change the dose or switch you to something else.

Can COVID-19 cause erectile dysfunction?

COVID-19 has been studied more than other common infections when it comes to erections. A 2023 review that pooled eight studies found that men who had COVID-19 had a higher risk of ED than men who had not, and anxiety stood out as a risk factor [5]. The authors noted the studies varied a lot in how they measured ED, so the exact size of the risk is uncertain [5].

Why this happens is still being studied. The worry and stress of being seriously ill seem to be part of it [5]. If your erections changed after COVID-19 and have not come back, that is worth raising with a doctor rather than waiting it out.

Infections that affect the genitals and prostate

Some infections affect erections more directly than a cold does. Infections of the prostate (prostatitis) and some sexually transmitted infections can cause pain and sexual problems. We cover that in which sexually transmitted diseases cause erectile dysfunction.

Longer-term illness is a different story

A cold is temporary. Some health conditions are not, and they are among the most common causes of ED. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists diabetes, heart and blood vessel disease, high blood pressure, chronic kidney disease, obesity, chronic lung disease (COPD), low testosterone and thyroid problems as causes [2].

That is why lasting ED deserves attention. Cleveland Clinic notes that ED can be the first symptom of another underlying problem, including heart disease [1].

How long does ED last after being sick?

There is no fixed timeline, and it depends on the illness and on you. With a short illness, many men find things return as their energy, sleep and mood come back. If you are still having trouble a few weeks after you feel well again, do not assume it will fix itself. Cleveland Clinic notes that ED that keeps happening is not likely to go away on its own without lifestyle changes or treatment [1].

When to see a doctor

Talk to a doctor if:

  • Erection problems continue after you have recovered
  • Your erections changed after COVID-19 or another serious illness and have not improved
  • You think a medicine you take is causing the problem (bring the full list of what you take)
  • You also have chest pain, shortness of breath with activity, or other signs of heart trouble
  • You have pain in the genitals or pelvis, pain when you pee or ejaculate, discharge or fever

A doctor can look for causes such as diabetes, heart disease or low testosterone and talk you through treatment. If medicines might be part of it, see also can blood thinners cause ED and Adderall and erectile dysfunction.

Getting ED treatment through Invigor

If erection problems are sticking around after the cause above has been looked at, Invigor can help you explore treatment. Start with a free online assessment. A licensed U.S. provider reviews your health history and your medicines and decides whether a treatment such as sildenafil or tadalafil is appropriate for you. If it is prescribed, your medication ships from a state-licensed U.S. pharmacy.

Frequently asked questions

It can for a while. Tiredness, stress, poor sleep and some cold medicines can all make erections harder [1][3]. Many men find things improve as they recover.

Sources & references

  1. Erectile Dysfunction (ED). Cleveland Clinic. 2024
  2. Symptoms & Causes of Erectile Dysfunction. National Institute of Diabetes and Digestive and Kidney Diseases (NIH). 2017
  3. Drugs that may cause erection problems. MedlinePlus, U.S. National Library of Medicine. 2024
  4. Nasal Symptoms Among Allergic Rhinitis Patients Could Contribute to Sexual Dysfunction. Journal of Asthma and Allergy. 2025
  5. Prevalence and risk factors of erectile dysfunction in COVID-19 patients: a systematic review and meta-analysis. Journal of Endocrinological Investigation. 2023

Contributors

This article is for education only. It is not medical advice, and it is not a diagnosis or a prescription. Where a clinician is named as its reviewer, they reviewed it for medical accuracy. Talk to your own clinician before you start, stop or change any treatment.

Keep reading

  • Diet and Exercise for Erectile Dysfunction: What HelpsErections + Performance

    Diet and Exercise for Erectile Dysfunction: What Helps

    Exercise, weight loss and a healthier diet may improve erections for some men. Here is what the research shows, how much activity was studied and where medicine fits.

    The Invigor Editorial Team5 min read

  • Pain After Using Trimix: What's Normal and When to Get HelpErections + Performance

    Pain After Using Trimix: What's Normal and When to Get Help

    Some men feel brief aching after a Trimix injection. Here's what usually causes it, what can help, and which kinds of pain mean you should call your provider or go to the ER.

    The Invigor Editorial Team5 min read

  • Trimix Instructions: Following Your Prescriber's PlanErections + Performance

    Trimix Instructions: Following Your Prescriber's Plan

    How to follow your Trimix prescription safely: storage, your dose plan, how often to inject, and what to do if it doesn't work or lasts too long.

    The Invigor Editorial Team5 min read

Not sure which fits you?

The free 2-minute assessment matches you with a treatment a provider can review.

Take the assessment