Most men think of erection problems as a bedroom issue. Cardiologists increasingly see them as something more: a possible early signal from the cardiovascular system. The link between erectile dysfunction and heart disease is now strong enough that an expert consensus panel calls erectile dysfunction (ED) a risk marker for cardiovascular disease. If you are over 40 and have noticed changes in your erections, here is what the research says and what to do next.
Key takeaways
- Erections and heart health depend on the same thing: healthy blood vessels.
- ED often shows up 2 to 5 years before a heart attack, according to Mayo Clinic.
- The warning is strongest in younger men, especially men in their 40s.
- ED does not always mean heart disease, but it is a good reason to have your cardiovascular risk checked.
- The habits that protect your heart also protect erectile function.
Why erectile dysfunction and heart disease are linked
An erection is a vascular event. When you are aroused, the inner lining of the blood vessels in the penis, called the endothelium, releases nitric oxide. That signal relaxes the vessel walls so blood can flow in. If you want the step-by-step version, this guide to how nitric oxide drives erections explains the process.
The same lining controls blood flow to the heart. Mayo Clinic explains that ED and heart disease both depend on healthy blood vessels and share common risk factors, including high blood pressure, high cholesterol, diabetes, smoking, and obesity. When those risk factors damage the endothelium and allow plaque to build up, both organs can lose blood supply.
Why the penis may send the first warning
Atherosclerosis, the buildup of plaque in the arteries, affects the whole body. So why would erections change before chest pain appears? Researchers have proposed the artery size hypothesis: because the penile arteries are smaller than the coronary arteries, the same amount of plaque restricts blood flow in the penis sooner.
That head start can be meaningful. According to Mayo Clinic, ED often occurs 2 to 5 years before men experience heart attacks. For many men, that is a window to find and treat risk factors early.
What the research shows
Several large studies of erectile dysfunction and heart disease have followed men for years to see whether ED predicts later heart problems:
- A 7-year study of 9,457 men. In a study published in JAMA, men aged 55 or older who developed ED had a 25% higher risk of later cardiovascular events, even after adjusting for other risk factors. The authors concluded that ED should prompt investigation of cardiovascular risk factors.
- A 10-year Mayo Clinic study. In a population study of 1,402 men, the strongest link appeared in the youngest group. Among men aged 40 to 49, new cases of coronary artery disease were more than 50 times more common in those with ED than in those without it.
- A meta-analysis of 12 studies. Pooling data from 36,744 men, a review in the Journal of the American College of Cardiology found that men with ED had a 48% higher risk of cardiovascular disease, a 46% higher risk of coronary heart disease, a 35% higher risk of stroke, and a 19% higher risk of death from any cause.
Experts have taken note. The Princeton IV consensus guidelines, highlighted by the American College of Cardiology, state that ED is a risk marker for cardiovascular disease and should be considered a risk-enhancing factor when doctors decide how aggressively to reduce risk.
Why men over 40 should pay attention
ED is common. In the Massachusetts Male Aging Study, 52% of men aged 40 to 70 reported some degree of erectile difficulty. But age changes what ED means. A Mayo Clinic cardiologist explains that for men older than 40, especially those with risk factors for atherosclerosis, ED becomes a more important warning of future heart problems, while in men older than 70, ED is so widespread that it loses its predictive value.
In other words, a 45-year-old who notices new erection problems has more reason to get a cardiovascular checkup than a 75-year-old with the same symptom. That does not mean every man with ED has heart disease. Mayo Clinic notes that having ED does not always mean there is an underlying heart condition. Stress, relationship issues, medications, and low testosterone can all play a role.
What to do if you notice erection problems
The most useful step is also the simplest: tell your doctor, and frame it as a heart-health question as well as a sexual-health one. A doctor who knows the link between erectile dysfunction and heart disease will usually look beyond the bedroom. A typical evaluation may include:
- A blood pressure check.
- Blood tests for cholesterol and blood sugar.
- A review of weight, smoking, activity, sleep, and family history.
- A 10-year cardiovascular risk estimate.
- For some men at borderline or intermediate risk, a coronary artery calcium scan, which the Princeton IV guidelines recommend considering in men with ED.

Questions to ask your doctor
- Could my erection problems be related to my blood vessels or heart?
- What is my 10-year risk of heart disease, and which numbers should I work on first?
- Would a coronary artery calcium scan help clarify my risk?
- Could any of my current medications be affecting erections?
- Is it safe for me to use ED medication with my other prescriptions?
Habits that protect your heart and your erections
Because erectile dysfunction and heart disease share roots, the same habits help both. That is encouraging, because these changes are within your control:
- Exercise regularly. A 2018 systematic review concluded that about 40 minutes of moderate-to-vigorous aerobic exercise four times a week can decrease ED in men with cardiovascular risk factors. The American Heart Association recommends at least 150 minutes of moderate activity a week for adults.
- Lose extra weight. In a randomized trial of men with obesity and ED, a program of diet and exercise restored erectile function in about one-third of participants, compared with 5% of the control group.
- Quit smoking. The CDC explains that smoking damages the cells lining blood vessels, increases plaque buildup, and narrows the vessels.
- Eat for your arteries. The AHA recommends a pattern built on whole foods, fruits and vegetables, lean protein, nuts, seeds, and olive oil.
- Sleep 7 to 9 hours. Healthy sleep is now one of the AHA’s eight core measures of cardiovascular health.
- Know your numbers. Keep blood pressure, cholesterol, and blood sugar in your target ranges with your doctor’s help.

A safety note on ED pills and “enhancement” products
Treating ED is safe for most men, but the link between erectile dysfunction and heart disease matters here too. Prescription ED drugs such as sildenafil can lower blood pressure to dangerous levels when combined with nitrates such as nitroglycerin, which are often prescribed for heart disease. The FDA has also found these drug ingredients hidden in many products sold as sexual enhancement supplements, which puts men who take nitrates at particular risk. Always tell your doctor about every medication and supplement you use.
When to seek emergency care
ED itself is not an emergency, but heart attack symptoms are. The American Heart Association advises calling 911 for warning signs such as chest discomfort; pain in the arms, back, neck, jaw, or stomach; shortness of breath; a cold sweat; nausea; or lightheadedness.
Frequently asked questions
Can erectile dysfunction be an early sign of heart disease?
Yes. Because the penile arteries are smaller than the coronary arteries, blood flow problems can show up there first. Mayo Clinic notes that ED often appears 2 to 5 years before a heart attack.
Does having ED mean I have heart disease?
Not necessarily. ED has many possible causes, including stress, medications, and hormone changes. It is a reason to have your cardiovascular risk checked, not a diagnosis.
At what age is ED most linked to heart disease?
The link is strongest in younger men. In a Mayo Clinic study, men in their 40s with ED had a far higher rate of new coronary artery disease than men of the same age without ED.
What tests should I ask for if I have ED?
Ask about a blood pressure check, cholesterol and blood sugar tests, and a 10-year cardiovascular risk estimate. Your doctor may also suggest a coronary artery calcium scan if your risk is borderline or intermediate.
Can improving my heart health improve my erections?
Often, yes. Regular exercise, weight loss, and quitting smoking have all been linked to better erectile function, and Mayo Clinic notes that treating heart disease also helps ED in many cases.
The bottom line on erectile dysfunction and heart disease
The connection between erectile dysfunction and heart disease turns an awkward symptom into a useful early warning. For men over 40, new erection problems are a good reason to book a checkup, know your numbers, and strengthen the habits that protect your blood vessels. Acting early can help your heart and your sex life at the same time.
This article is for general information and is not medical advice. Talk with a health care professional about your symptoms and risk factors.
About the author
This article was written by the editorial team at Human Mechanica, which publishes evidence-based guides on men’s health, circulation, and sexual wellness.
References
- Thompson IM, et al. Erectile dysfunction and subsequent cardiovascular disease. JAMA. 2005.
- Inman BA, et al. A population-based, longitudinal study of erectile dysfunction and future coronary artery disease. Mayo Clinic Proceedings. 2009.
- Dong JY, et al. Erectile dysfunction and risk of cardiovascular disease: meta-analysis of prospective cohort studies. Journal of the American College of Cardiology. 2011.
- Montorsi P, et al. The artery size hypothesis: a macrovascular link between erectile dysfunction and coronary artery disease. American Journal of Cardiology. 2005.
- Feldman HA, et al. Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study. Journal of Urology. 1994.
- American College of Cardiology. Erectile dysfunction as an ASCVD risk-enhancing factor: highlights from the Princeton IV consensus guidelines. 2024.
- Mayo Clinic. Erectile dysfunction: A sign of heart disease?
- Gerbild H, et al. Physical activity to improve erectile function: a systematic review of intervention studies. Sexual Medicine. 2018.
- Esposito K, et al. Effect of lifestyle changes on erectile dysfunction in obese men: a randomized controlled trial. JAMA. 2004.
- American Heart Association. Warning Signs of a Heart Attack.











