Last updated: October 2026.
Quick answer: erectile dysfunction and heart disease are closely linked because both usually come from the same problem: damaged, narrowed blood vessels. The arteries of the penis are smaller than those of the heart, so erection problems can appear a few years before chest symptoms. New erectile dysfunction with no obvious cause is a good reason to have your cardiovascular risk checked.
Erectile dysfunction and heart disease are often treated as separate problems, but they share the same roots. In many men over 40, trouble getting or keeping an erection is the first visible sign that the blood vessels are not healthy.
This guide explains the link, who should ask for a heart check, which tests to expect and how to treat erection problems safely if you have a heart condition. For the full list of possible causes, see what causes erectile dysfunction.
Erectile dysfunction and heart disease at a glance
| Question | Short answer |
|---|---|
| Is ED a warning sign for the heart? | It can be, especially when it develops gradually with no clear cause |
| How early can it appear? | Often a few years before heart symptoms |
| Shared cause | Endothelial dysfunction and atherosclerosis |
| Who should get checked? | Any man with ongoing ED, more so with risk factors |
| Are ED drugs safe with heart disease? | Usually, but never with nitrates |
| Emergency signs | Chest pain, shortness of breath, fainting |
Is ED a warning sign of heart disease?
Yes, erectile dysfunction (ED) can be an early warning sign of cardiovascular disease. Large studies of erectile dysfunction and heart disease have linked ED to a higher risk of later heart attack, stroke and other cardiovascular events, even after accounting for age, smoking and diabetes.
ED often appears a few years before heart symptoms. That gap is useful, because it gives time to find and treat high blood pressure, high cholesterol or diabetes before they cause serious harm.
Not every case points to the heart. Sudden ED in a man who still has normal morning erections is more likely to be psychological, as we explain in psychological ED: mental or physical.
Why are erectile dysfunction and heart disease connected?
Erectile dysfunction and heart disease are connected because both depend on healthy arteries, and the same process damages both. Two changes matter most.
- Endothelial dysfunction. The endothelium is the inner lining of blood vessels. It releases nitric oxide, which relaxes the vessel so more blood can flow. When the lining is damaged, arteries in the penis and the heart widen less well.
- Atherosclerosis. Fatty plaque builds up inside artery walls and narrows them. Less blood reaches the tissue beyond the narrowing.
The arteries that supply the penis are smaller than the coronary arteries. The same amount of plaque blocks a larger share of a small artery, so reduced blood flow can show up as ED before it causes chest pain.
Erectile dysfunction and heart disease share nearly all of their major risk factors, and most can be changed.
| Risk factor | Effect on the heart | Effect on erections |
|---|---|---|
| High blood pressure | Strains and stiffens arteries | Reduces blood flow to the penis |
| High LDL cholesterol | Feeds plaque build-up | Narrows the small penile arteries |
| Type 2 diabetes | Damages vessels and raises heart attack risk | Damages both vessels and nerves |
| Smoking | Injures the vessel lining | Impairs the nitric oxide response |
| Obesity, especially around the waist | Raises blood pressure, blood sugar and inflammation | Linked to lower testosterone and poorer blood flow |
| Heavy alcohol use | Raises blood pressure | Dulls nerve signals and lowers testosterone |
| Age | Risk rises with each decade | Risk rises with each decade |
Who should get a heart check?
Any man with ED that has lasted more than a few weeks should have his cardiovascular risk assessed, even if he feels well. Given the link between erectile dysfunction and heart disease, a check matters most if you:
- Are in your 40s or 50s, when ED appears to be a stronger signal of future heart risk than it is in older men.
- Have diabetes, high blood pressure or high cholesterol, or do not know your numbers.
- Smoke, or carry extra weight around the waist.
- Have a parent or sibling who had a heart attack or stroke at a young age.
- Get breathless, tight-chested or unusually tired with exertion.
Start with your primary care doctor. Other early symptoms are listed in warning signs of erectile dysfunction.
What tests might a doctor order?
Most men start with a history, a physical exam and a few simple blood tests. Further heart testing depends on those results and on your symptoms.
| Test | What it shows |
|---|---|
| Blood pressure, weight and waist size | Basic cardiovascular risk |
| Lipid panel | LDL, HDL and triglyceride levels |
| Fasting glucose or HbA1c | Diabetes or prediabetes |
| Morning total testosterone | Whether low testosterone plays a part |
| Electrocardiogram (ECG) | Heart rhythm and signs of past damage |
| Exercise stress test | How the heart copes with exertion |
| Coronary artery calcium scan | Calcified plaque in the heart arteries |
Not everyone needs a stress test or a scan. Read how hormone testing works in our guide to checking testosterone levels.
Does treating heart risk improve erections?
Often it does, because erectile dysfunction and heart disease respond to the same changes, although severe artery damage may not reverse. Trials of exercise, weight loss and a Mediterranean-style diet found better erectile function in men with cardiovascular risk factors.
Stopping smoking and controlling blood pressure and blood sugar protect the small arteries that erections depend on. Some studies suggest statins modestly improve erections in men with high cholesterol, but findings are mixed.
The steps with the best support are covered in how to reverse erectile dysfunction naturally.
Are ED drugs safe if you have heart disease?
For most men who have both erectile dysfunction and heart disease that is stable and well controlled, PDE5 inhibitors such as sildenafil, tadalafil and vardenafil are considered safe when a doctor prescribes them. There is one absolute rule and a few cautions.
- Never combine a PDE5 inhibitor with nitrates. This includes nitroglycerin tablets, sprays and patches, isosorbide, and recreational “poppers”. Together they can cause a dangerous drop in blood pressure.
- Do not take one with riociguat, a drug for pulmonary hypertension.
- Take care with alpha-blockers used for blood pressure or the prostate, which can add to the blood pressure drop.
- Talk to your cardiologist first if you have had a recent heart attack or stroke, unstable angina, severe heart failure or uncontrolled blood pressure.
If you get chest pain after taking an ED drug, call 911 and tell the emergency team which drug you took and when. They need to know before giving nitrates. Compare the medicines in Viagra vs Cialis vs Levitra.
Which blood pressure medicines can affect erections?
Thiazide diuretics and some older beta-blockers are the blood pressure medicines most often linked to erection problems.
ACE inhibitors, angiotensin receptor blockers (ARBs) and calcium channel blockers are less likely to cause ED. High blood pressure itself damages arteries, so the condition is often more to blame than the pills.
Do not stop or skip a heart or blood pressure medicine on your own. Ask your doctor whether a different drug or dose would suit you better.
When should you see a doctor?
See a doctor for any erection problem that lasts more than a few weeks, and treat the symptoms below as urgent. Call 911 right away for:
- Chest pain, pressure or tightness, especially if it spreads to the arm, jaw, neck or back.
- Shortness of breath at rest or with light effort.
- Fainting, cold sweats, nausea or sudden lightheadedness with chest discomfort.
- Sudden weakness or numbness on one side, a drooping face or slurred speech.
Book a prompt appointment if you have ED with chest discomfort or breathlessness during exercise or sex, calf pain when you walk, or palpitations.
Erectile dysfunction and heart disease FAQ
Both usually result from damaged blood vessels. Endothelial dysfunction and atherosclerosis reduce blood flow in the arteries of the penis and the heart. Because penile arteries are smaller, erection problems can appear before heart symptoms do.
Which comes first, erectile dysfunction or heart disease?
Erection problems often come first. ED that develops gradually, with no clear psychological or medication cause, is linked to a higher risk of later heart attack and stroke, and often appears a few years before heart symptoms.
Does every man with ED have heart disease?
No. ED also results from stress, anxiety, low testosterone, nerve damage, pelvic surgery and some medicines. A doctor can sort out the likely cause with a history, an exam and a few blood tests.
Should I see a cardiologist if I have erectile dysfunction?
Start with your primary care doctor, who knows the link between erectile dysfunction and heart disease and can check blood pressure, cholesterol and blood sugar and estimate your cardiovascular risk. You may be referred on if you have symptoms or abnormal results.
Can I take Viagra or Cialis if I have erectile dysfunction and heart disease?
Most men with a stable, well-controlled heart condition can, with a doctor’s approval. You must not take them if you use nitrates such as nitroglycerin, because the combination can cause a dangerous fall in blood pressure.
Why are ED drugs and nitrates dangerous together?
Both widen blood vessels. Taken together, a PDE5 inhibitor and a nitrate can make blood pressure drop sharply, which may cause fainting, a heart attack or death. This applies to all nitrate forms, including recreational poppers.
Can blood pressure medication cause erectile dysfunction?
Some can. Thiazide diuretics and older beta-blockers are most often linked to erection problems. ACE inhibitors, ARBs and calcium channel blockers are less likely to cause them. Never stop a medicine without talking to your doctor.
Can lifestyle changes help both erectile dysfunction and heart disease?
Often, yes. Regular exercise, weight loss, stopping smoking and good control of blood pressure and blood sugar are linked to better erectile function. Results vary, and long-standing artery damage may not fully reverse.
Is sex safe for men with heart disease?
For most men with stable heart disease, sex is safe. It is roughly as demanding as climbing two flights of stairs. Ask your doctor first if you have chest pain with exertion or a recent heart attack.
Bottom line
Erectile dysfunction and heart disease usually share one cause: unhealthy arteries. Because penile arteries are small, ED can appear a few years before heart symptoms. Treat ongoing ED as a reason to check blood pressure, cholesterol and blood sugar. ED drugs are safe for most men with stable heart conditions, but never with nitrates.
References
- NIH NIDDK: Erectile Dysfunction (ED).
- MedlinePlus: Erectile Dysfunction.
- MedlinePlus: Heart Diseases.
- American Heart Association.
- American Urological Association: Clinical Guidelines.
This article is for information only and is not medical advice. Supplements are not intended to diagnose, treat, cure or prevent any disease.