Men’s health · Erectile function
Erectile dysfunction and heart health: evaluation and medication safety
Erection changes can be a reason to review cardiovascular health, but they do not diagnose heart disease. Learn what an assessment may cover and which medicine interactions matter.
The short answer
ED can be a cardiovascular risk marker, but it does not diagnose heart disease. Evaluation usually starts with sexual and medical history, a focused exam, and selected tests such as blood pressure, glucose, cholesterol, and morning testosterone. Cardiac testing depends on symptoms, known disease, and exercise tolerance. PDE5 inhibitors must not be combined with nitrates or riociguat.
About 8 min read
Erectile dysfunction (ED) means repeated difficulty getting or keeping an erection firm enough for satisfying sexual activity. It can reflect blood-vessel, nerve, hormone, medication, sleep, relationship, or emotional factors, often in combination. Because penile arteries are small, erection changes can appear before symptoms of cardiovascular disease. ED is a reason to review heart and metabolic health, not proof that a person has coronary artery disease.
The American Urological Association (AUA) advises clinicians to discuss cardiovascular risk when evaluating ED. The 2024 Princeton IV consensus treats vasculogenic ED as a cardiovascular risk marker and recommends assessing overall risk. That evaluation may be as simple as checking blood pressure, cholesterol, diabetes risk, smoking, activity tolerance, and family history. Some people need further testing; many do not.
What details belong in an ED assessment?
Tell the clinician when the change began, whether it happens every time or only in certain situations, and whether erections during sleep or masturbation have changed. Mention changes in sexual interest, ejaculation, orgasm, penile pain or curvature, urinary symptoms, mood, sleep, and relationship stress if relevant. Sudden onset and gradual progression can point toward different contributors, but neither pattern identifies a cause on its own.
Bring a current list of prescription medicines, over-the-counter products, supplements, and recreational substances. Some blood-pressure, prostate, mood, pain, and cancer treatments can affect erection or desire. Do not stop a prescribed medicine yourself. The prescriber may be able to adjust timing, dose, or treatment after weighing the benefit of the medicine against the sexual effect.
A focused exam may include blood pressure, weight or waist measurement, pulses, and examination of the penis and testicles. Testing depends on the history. Common checks include glucose or A1C, a lipid profile, and a morning total testosterone level. Abnormal results need interpretation in context; a low testosterone result is usually confirmed and should not lead straight to testosterone treatment without discussing fertility plans and other risks.
Evidence: ED and cardiovascular risk
The Princeton IV consensus describes ED as a risk marker for cardiovascular disease and notes that it can precede clinically apparent disease by several years. American College of Cardiology summary recommends considering ED when estimating a person's atherosclerotic cardiovascular risk, especially when other risk factors are present.
Why ask about the heart if the symptom is sexual?
An erection depends on blood flow, so vascular disease can affect erections. Diabetes, high blood pressure, smoking, abnormal cholesterol, kidney disease, inactivity, and some medications can affect both erectile function and cardiovascular health. Yet ED is not always vascular. Neurologic disease, pelvic surgery or radiation, low testosterone, depression, anxiety, sleep problems, and relationship factors can also contribute. More than one cause may be present.
In a person without known heart disease, the clinician can review age, blood pressure, cholesterol, diabetes, smoking, family history, kidney health, and activity. The standard 10-year risk estimate is designed for certain age groups and can miss lifetime risk in younger adults. If estimated risk is borderline or intermediate, a clinician may discuss additional risk-refining information, such as coronary artery calcium imaging. That scan is not routine for every person with ED.
Chest pressure, unusual shortness of breath, fainting, or marked loss of exercise capacity changes the assessment. Tell the clinician if these occur with exertion or sexual activity. People with unstable symptoms or poorly controlled heart disease may need cardiac assessment and stabilization before resuming sex or starting ED treatment. A stress test is not automatically required for everyone with ED; it is considered when symptoms, known heart disease, or limited exercise tolerance make the answer uncertain.
Is sex safe when someone has heart disease?
For many people with stable cardiovascular disease, sexual activity is safe. Princeton guidance uses exercise tolerance and the stability of the heart condition to sort people into lower, uncertain, and higher-risk groups. Someone who can do moderate exertion without chest pain, unusual breathlessness, dizziness, or palpitations may not need additional cardiac testing, but the treating clinician should make that decision when heart disease is known.
Recent heart attack, ongoing or unstable angina, uncontrolled blood pressure, severe heart failure symptoms, or certain dangerous heart rhythms call for prompt medical review. The timing for resuming sexual activity depends on the condition and recovery. Ask the cardiology team for a specific activity plan rather than relying on a generic number of days.
What should I know before taking an ED pill?
Sildenafil, tadalafil, vardenafil, and avanafil are phosphodiesterase type 5 (PDE5) inhibitors. They support the blood-flow response to sexual stimulation; they do not create sexual desire or guarantee an erection. Clinicians consider other diagnoses, medication interactions, side effects, cost, and personal preference before choosing a treatment.
Do not combine PDE5 inhibitors with nitrate medicines. Examples include nitroglycerin and isosorbide used for angina. The combination can cause a dangerous drop in blood pressure. Tell the prescriber about regular or occasional nitrate use, including nitrite inhalants sometimes called poppers. Riociguat, a medicine for certain pulmonary hypertension conditions, is also incompatible with sildenafil. If chest pain occurs after using an ED medicine, call emergency services and tell responders exactly which drug was taken and when. Do not take nitroglycerin unless emergency clinicians direct you.
Alpha-blockers used for prostate symptoms or blood pressure can add to blood-pressure lowering. The clinician may need to review whether doses and timing are safe. Do not borrow another person's tablets, take more than prescribed, combine ED products, or rely on online supplements that promise an erection. The FDA has repeatedly found undeclared prescription-drug ingredients in some sexual enhancement products.
What if a PDE5 inhibitor does not work?
A poor response does not establish that the medicine class cannot help. The clinician can check whether the prescription fits the person's health and other medicines, whether instructions were followed, and whether stimulation and timing were adequate. Food can delay absorption of some sildenafil doses. Dose changes should come from the prescriber, especially for people taking interacting medicines or living with kidney, liver, or heart conditions.
Other options include a vacuum erection device, medicine placed in the urethra or injected into penile tissue, counseling when anxiety or relationship factors are part of the picture, and penile implant surgery for selected people. These options differ in effort, invasiveness, side effects, and reversibility. A urologist can explain which choices fit the cause and the person's priorities.
When should I seek urgent care?
Call emergency services for chest pressure, fainting, severe shortness of breath, or stroke symptoms during or after sex. If an erection lasts four hours or longer after an ED medicine, seek emergency care. Sudden vision loss or sudden hearing loss after taking a PDE5 inhibitor also needs urgent medical attention. Keep the package or medication name available so clinicians can identify what was taken.
Questions to bring to an appointment
Ask which causes are most likely from your history, which tests are useful now, and whether any current medicine could contribute. Ask how your blood pressure, cholesterol, blood sugar, smoking history, and exercise tolerance affect your cardiovascular plan. If you have heart disease, ask whether sexual activity is safe for you and whether any additional evaluation is needed.
Before using an ED treatment, ask whether it is compatible with every prescription and supplement you take, including medicines used only when chest pain occurs. If the first approach is ineffective, ask what safe adjustment or alternative makes sense. For related guidance on hormone treatment and fertility, read our article on testosterone therapy, sperm count, and fertility planning. For a practical overview of a common metabolic contributor, see diabetes and new bladder symptoms.
Questions to bring
Choose the questions that fit your situation and leave space to note the answers.
- Which causes and cardiovascular risk factors should we assess in my case?
- Are any of my medicines or supplements unsafe to combine with an ED treatment?
- Given my heart history and exercise tolerance, is sex safe and do I need additional cardiac evaluation?
Sources and further reading
- American Urological Association. Erectile Dysfunction Guideline. Evaluation, counseling, testosterone testing, and treatment options.
- American College of Cardiology. Erectile Dysfunction as an ASCVD Risk-Enhancing Factor: Highlights From Princeton IV. Cardiovascular risk review and selective coronary artery calcium assessment.
- Princeton IV Consensus Recommendations for the Management of Erectile Dysfunction and Cardiovascular Disease. Risk assessment, sexual activity, and treatment context.
- DailyMed. Viagra (sildenafil) prescribing information. Nitrate and riociguat contraindications, cardiovascular precautions, and adverse effects.
- National Institute of Diabetes and Digestive and Kidney Diseases. Erectile Dysfunction. Causes, diagnosis, and treatment overview.
- Testosterone therapy, sperm count, and fertility planning. Related article.
This guide supports, but does not replace, an individual medical assessment. Seek emergency help for severe heart symptoms or prolonged erection.