Erectile dysfunction (ED) and heart disease can be linked. ED can be one of the first signs that your blood vessels aren't working as well as they should, so it's worth taking seriously.1 It doesn't mean you have heart disease, but it's a good reason to get checked.
This guide covers how ED and heart disease are connected, the risk factors they share, which heart symptoms need urgent help and what to know about ED medicines if you have a heart condition.
Having ED doesn't mean you have heart disease. But if it keeps happening, it's worth asking a GP to find the cause.
How are erectile dysfunction and heart disease linked?
During an erection, the arteries to your penis widen so more blood can flow in.1 Atherosclerosis is when fatty material builds up inside your arteries. It makes them harder and narrower, so blood finds it more difficult to flow, including to your penis.1,2
The arteries in your penis are very narrow. That's why erection problems can be one of the first warning signs of atherosclerosis.1 The same condition raises your risk of heart attack and stroke.1,2
ED can also be linked to other health conditions, such as high blood pressure, high cholesterol, diabetes, depression, anxiety and hormone problems.3 Most men sometimes struggle to get or keep an erection, usually because of stress, tiredness or too much alcohol. On its own, that's nothing to worry about.3
Does getting erections at other times mean your heart is fine?
Not necessarily. Depending on the cause, you may still get erections at other times, such as when you wake up.3 That may point to a psychological factor, such as stress or anxiety. But it doesn't rule out a physical cause or a problem with your heart or blood vessels.4
BAUS says about 9 in 10 men with ED have at least one physical cause.4 Whatever the pattern, ED that keeps happening needs a proper assessment. Our guides to the physical causes of ED and the psychological causes of ED explain more.
Which risk factors do ED and heart disease share?
Atherosclerosis and ED have several risk factors in common. You can change some of them, but not all.1,2 The main ones are:
- High cholesterol1,2
- High blood pressure1,2
- Diabetes1,2
- Smoking1,2
- Drinking too much alcohol1
- Being overweight1,2
- An unhealthy diet1
- Age and family history - being over 50, or having close relatives with cardiovascular disease1,2
Our guide to ED risk factors and age looks at these in more detail.
Which heart symptoms need urgent help?
Heart disease doesn't always cause symptoms. Some people have none before they're diagnosed. The most common ones are chest pain (angina) and breathlessness.5
Call 999 straight away if:
- You have chest pain that feels tight or like squeezing6
- You have chest pain that's spreading to your arms, neck or jaw6
- You're having severe difficulty breathing, such as gasping, choking or not being able to get words out6
- Your lips or skin are pale, blue or grey6
- Someone has passed out and isn't responding normally6
Do not drive yourself to A&E. The 999 call handler will tell you what to do.6
Tight or squeezing chest pain, or pain spreading to your arm, neck or jaw, is a 999 call. Do not drive yourself to hospital.
Call NHS 111 for urgent advice if:
- You're suddenly more short of breath than usual6
- You have chest pain and you feel sick or are being sick6
- You have chest pain and your heart feels like it's racing, going too slowly, skipping a beat or fluttering6
Narrowed arteries can cause other symptoms too, such as pain in your arms or legs when you walk or exercise, or feeling tired or weak all the time. Ask for an urgent GP appointment or call 111 if you notice them.2
If you have chest pain during or after sex and you've taken an ED tablet, stop sexual activity immediately and rest. Do not use your own GTN spray or tablets, and do not take any other nitrates, because the combination can drop your blood pressure dangerously low.7,8,9
Call 999 straight away if the pain is tight or squeezing, spreads to your arm, neck or jaw, or you think you're having a heart attack. Call 999 too if the pain hasn't eased after 10 minutes.6,9
Tell the 999 call handler and the ambulance team which ED medicine you took, the dose and when you took it, so they can choose safe treatment. Follow their instructions.
Our Viagra side effects guide covers other symptoms that need urgent help.
What can you do to lower your risk?
Healthy lifestyle changes can help your heart, and they can sometimes help with ED too. The NHS suggests:3
- Losing weight if you're overweight
- Stopping smoking
- Eating a healthy diet
- Exercising regularly
- Cutting down on alcohol and trying to reduce stress and anxiety
For your heart, the NHS also advises eating less saturated fat, found in fatty meat, sausages, pies, butter, cream, cakes and biscuits. Try more oily fish, nuts, seeds, wholegrains, fruit and vegetables instead.10 Aim for at least 150 minutes of moderate exercise a week, and try not to drink more than 14 units of alcohol a week on a regular basis.10
Our guides to high cholesterol and ED and food and ED go into more detail. In England, if you're aged 40 to 74, you can also get a free NHS Health Check, which can spot early signs of heart disease and stroke.2
The habits that look after your heart can also sometimes help with ED. They're worth keeping up alongside any treatment.
Can you take ED medicines if you have heart disease?
It depends on your heart condition and your other medicines, so you need medical advice first. The main ED medicines are called PDE5 inhibitors. They include Viagra (sildenafil), Cialis (tadalafil), Levitra (vardenafil) and Spedra (avanafil).3
“If you have heart disease, speak to a doctor before using or changing any ED medicine. Do not take ED tablets with nitrates such as GTN, nicorandil or poppers, because the combination can drop your blood pressure dangerously low. A clinician needs to check that sex and treatment are safe for you.
Ana Carolina GoncalvesSuperintendent Pharmacist
PDE5 is an enzyme. PDE5 inhibitors slow the breakdown of a chemical called cGMP. That helps the muscle in your penis relax, so more blood can flow in when you're sexually aroused. They only work with sexual stimulation.4,7
Before prescribing, a doctor needs to think about your heart health, because sex puts some strain on the heart and ED tablets lower blood pressure a little.7 They aren't suitable if you've been told sex is unsafe for you, for example with unstable angina or severe heart failure. They also aren't suitable if you've recently had a heart attack or stroke, or if you have low blood pressure.7,8
The BHF says ED medicines can be prescribed from 6 months after a heart attack if your condition is stable. Your doctor decides when that's safe for you.1
Which heart medicines don't mix with ED tablets?
ED tablets can be taken with most heart medicines. But they must not be used with nitrates, such as GTN for angina, or with nicorandil.1 The combination can drop your blood pressure to a dangerous level.1,7 The same goes for poppers and for a medicine called riociguat.7
Do not take an ED tablet if you use GTN, nicorandil or poppers. Do not combine ED medicines.
Can heart medicines affect ED?
Some can. The BHF says beta-blockers and diuretics, used to treat high blood pressure, and conditions such as heart failure can make ED worse by reducing blood flow to the penis.1 The evidence on statins and erections is limited.1
Do not stop or change a heart medicine on your own. Ask your GP or pharmacist about your options.
What if you want to switch ED medicines?
Combining ED medicines hasn't been studied, so it isn't recommended.7 Do not combine them or swap between them without a prescriber's instructions. If your tablet isn't working well enough, ask your prescriber to review it.
What about Viagra Connect?
Viagra Connect 50mg is a pharmacy medicine, so a pharmacist can supply it without a prescription once they've checked it's suitable for you.11 The BHF advises checking with your GP first if you have a medical condition.1
When should you see a GP about erectile dysfunction?
See a GP or a sexual health clinic if erection problems keep happening. It might be a sign of a health condition that can be treated.3 They may ask about your lifestyle, check your blood pressure and arrange tests such as cholesterol and blood sugar.3,4
Get medical advice sooner if you have chest pain, breathlessness or any of the heart symptoms above.
Seeing your GP about ED can uncover a cause that's treatable. It's not something to put off.
Getting treatment through Pharmica
Before deciding whether we can prescribe, we look at your symptoms, past treatment, health and other medicines. Our ED consultation asks if you're male and aged 18 to 75, and whether you've used an ED medicine at least 4 times before without side effects.
These are screening questions, so completing the form doesn't guarantee supply. Treatment is assessed individually, so tell the clinician about all your conditions, medicines and supplements, including any heart condition or nitrate medicines. If you're new to treatment, ask our team about the right assessment route.
We also ask you to agree to see your GP for a clinical review within 6 months of starting. ED can be linked to diabetes, high blood pressure, high cholesterol or heart disease. That review is routine, so do not wait for it if you have chest pain or other worrying symptoms. Get medical advice sooner.12
Our ED treatments are prescribed only after a consultation.
Frequently asked questions
Is erectile dysfunction a sign of heart disease?
It can be. The arteries in the penis are very narrow, so erection problems can be one of the first warning signs of narrowed arteries (atherosclerosis), which raises the risk of heart attack and stroke. ED has other causes too, so it doesn't mean you have heart disease. If it keeps happening, book an appointment with your GP.
Can heart disease cause erectile dysfunction?
Yes. Atherosclerosis narrows and hardens arteries, which can reduce blood flow, including to the penis. Heart failure and some medicines for high blood pressure, such as beta-blockers and diuretics, can also make ED worse. Do not stop heart medicines yourself. If you're worried, ask your GP or pharmacist whether your medicines could be playing a part.
Can you take Viagra if you have heart disease?
Only after medical advice. A doctor needs to check your heart health first, because sex puts some strain on the heart and ED tablets lower blood pressure slightly. Do not take them with nitrates such as GTN, with nicorandil or with poppers. They also aren't suitable if you've recently had a heart attack or stroke, or if you have low blood pressure.
Can you take Viagra after a heart attack?
Not straight after. ED tablets aren't suitable if you've recently had a heart attack. The British Heart Foundation says they can be prescribed from 6 months after a heart attack if your condition is stable, but your doctor decides what's safe for you. Do not take them with nitrate medicines such as GTN. Always get medical advice first.
Why can't you take ED tablets with nitrates?
Nitrates, such as GTN for angina, nicorandil and poppers can all lower blood pressure. Taken with an ED tablet, the combination can drop your blood pressure to a dangerous level. Do not take them together, and do not work out the gaps between doses yourself. Tell your prescriber about every medicine you use, including sprays and anything bought over the counter.
Does getting erections at other times mean your heart is fine?
No. Erections can vary depending on the situation, and getting them at other times, such as when you wake up, may point to a psychological factor. But it doesn't rule out a physical cause or heart disease. If ED keeps happening, ask your GP for an assessment rather than assuming it's stress.
When should you see a GP about erectile dysfunction?
See a GP or a sexual health clinic if erection problems keep happening, because it could be a sign of a health condition that can be treated. They may check your blood pressure and arrange tests, such as cholesterol and blood sugar. If you have chest pain, call 999 instead of waiting for an appointment.
What lifestyle changes help ED and your heart?
The NHS suggests losing weight if you're overweight, stopping smoking, eating healthily, exercising regularly and cutting down on alcohol. For your heart, aim for at least 150 minutes of moderate exercise a week and no more than 14 units of alcohol a week. These changes can sometimes help ED too, but they aren't a guarantee.
References
- British Heart Foundation. Erectile dysfunction, Viagra and your heart. BHF; 2026. bhf.org.uk
- NHS. Atherosclerosis. NHS website; 2026. nhs.uk
- NHS. Erectile dysfunction (impotence). NHS website; 2023. nhs.uk
- British Association of Urological Surgeons. Erectile dysfunction (impotence). BAUS; 2024. baus.org.uk
- NHS. Coronary heart disease: symptoms. NHS website; 2024. nhs.uk
- NHS. Heart attack. NHS website; 2026. nhs.uk
- Viatris. Viagra 50 mg film-coated tablets: Summary of Product Characteristics. Electronic Medicines Compendium; 2026. medicines.org.uk/emc
- NHS. Sildenafil (Viagra). NHS website; 2026. nhs.uk
- NHS. Glyceryl trinitrate (GTN): common questions. NHS website; 2023. nhs.uk
- NHS. How to lower your cholesterol. NHS website; 2026. nhs.uk
- Viatris. Viagra Connect 50 mg film-coated tablets: Summary of Product Characteristics. Electronic Medicines Compendium; 2026. medicines.org.uk/emc
- Pharmica. Erectile dysfunction consultation. Pharmica; 2026. pharmica.co.uk
This article is intended for informational purposes only and does not replace professional medical advice. Always read the patient information leaflet supplied with your medication and speak to a healthcare professional if you have specific concerns.