By Dr. Malik Sherjeel Awan, PsyD ยท Last checked 26 November 2026
Published by Dr. Malik Sherjeel Awan, Makkah
Many men are surprised when they mention erection problems to a doctor and the first thing the doctor does is reach for a blood pressure cuff. It can feel unrelated. It is not. An erection depends on healthy blood flow, and the same things that strain the heart and blood vessels can also affect erections.
This guide explains, in plain language, what the NHS, the US National Institutes of Health and MedlinePlus say about that link. It is general education, not a diagnosis, and it does not recommend any product.
First, some reassurance
Occasional difficulty is normal. The NHS says most men occasionally fail to get or keep an erection, and that this is usually caused by stress, tiredness or drinking too much alcohol. MedlinePlus agrees that almost all adult men have trouble at one time or another, and that often the problem goes away with little or no treatment.
The picture changes when it keeps happening. The NHS advises seeing a GP or a sexual health clinic if erection problems keep happening, because it might be a sign of a health condition that can be treated. MedlinePlus suggests seeing your provider if you have trouble getting or keeping an erection more than 25% of the time.
Why the heart and blood vessels matter
MedlinePlus explains that, to get an erection, your brain, nerves, hormones and blood vessels all need to work together. If something gets in the way, erection problems can follow. It also says that most erection problems have a physical cause and are usually not “all in your head”.
The US National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists heart and blood vessel diseases, such as atherosclerosis (narrowed, clogged arteries), high blood pressure and stroke, among the most common conditions that can lead to erectile dysfunction (ED). The NHS names high blood pressure or high cholesterol and diabetes among the conditions that may be behind erection problems that happen often.
Put simply, the blood vessels in the penis are small. When blood vessels across the body are under strain, an erection can be one of the places a man notices it.
An erection problem can be an early signal
This is the most useful point in the whole article. MedlinePlus says that ED may be a sign of health problems such as diabetes or heart disease, and so, if you have an erection problem, you should not wait to seek help. NIDDK also notes that ED may be a symptom of another health problem.
That turns an embarrassing subject into a practical one. Seeing a doctor about erections is also a chance to check your blood pressure, blood sugar and general health, and to find something treatable earlier rather than later.
If you have diabetes, our guide to diabetes and men’s sexual health covers that link in more detail.
What the doctor may check
According to the NHS, the doctor or nurse may:
- ask about your lifestyle, your relationships and any problems you are having
- do some basic health checks, such as taking your blood pressure
- examine your genitals to rule out an obvious physical cause
MedlinePlus adds that tests may include urine or blood tests to check for conditions such as diabetes, heart problems or low testosterone. NIDDK says the physical exam often checks for blood vessel and nervous system issues and hormonal problems, and that blood tests may include thyroid and prostate tests.
The doctor will also ask about medicines. NIDDK and MedlinePlus both list some blood pressure medicines among the medicines that can contribute to erection problems. Do not stop or change any medicine on your own. MedlinePlus is clear on this point: talk to your provider, who may be able to adjust the dose or switch you to another medicine.
Heart conditions and ED medicines
Some men buy erection pills online without seeing anyone. This is where heart health matters most. MedlinePlus warns that ED pills can have side effects, ranging from muscle pain and flushing to heart attack, and that they must not be used with nitroglycerin, because the combination can cause blood pressure to drop. It lists conditions in which you may not be able to use these medicines, including a recent stroke or heart attack, severe heart disease, severe heart failure, uncontrolled high blood pressure, uncontrolled diabetes and very low blood pressure.
The NHS also warns that many websites sell fake medicines, and that it is best to see a doctor before buying medicines online. For more on this, read our guide to why men should be careful with sexual enhancement pills and supplements.
Worried that sex is bad for your heart?
Some men avoid intimacy because they are afraid it will strain the heart. MedlinePlus says to talk to your provider if your erection problems are linked to a fear of heart problems, and notes that sexual intercourse is usually safe for men with heart problems. Your own doctor, who knows your history, is the right person to confirm what is safe for you.
That fear can also feed anxiety, which can make erection problems worse. Our guide to sexual performance anxiety in men explains that cycle.
Habits that help the heart and erections
The good news is that the habits that protect your heart are the same ones official sources suggest for erections. The NHS lists:
- losing weight if you are overweight
- stopping smoking
- eating a healthy diet
- exercising daily
- trying to reduce stress and anxiety
- not drinking more than 14 units of alcohol a week
MedlinePlus adds getting plenty of sleep, staying at a healthy weight, exercising and eating well to keep good blood circulation, and keeping blood sugar well controlled if you have diabetes. NIDDK lists not getting enough physical activity, drinking too much alcohol and smoking among lifestyle behaviours that may contribute to ED.
None of this is a quick fix, and none of it replaces medical care. But small, steady changes support your whole body, not only your sex life. Our guide to everyday habits that support men’s sexual health has practical ideas.
When to get help
See a doctor or a sexual health clinic if:
- erection problems keep happening
- the problem started after an injury or surgery
- you also have other symptoms, such as a change in urination, low back pain or abdominal pain (MedlinePlus lists these)
- you have high blood pressure, high cholesterol, diabetes or a heart condition and have not had a recent check-up
MedlinePlus advises contacting your provider right away, or going to an emergency department, if you are taking ED medicine and get an erection that lasts more than 4 hours. If you ever have chest pain, call your local emergency number.
Not sure whether it is time? Read when a man should see a doctor about sexual health.
Frequently asked questions
Does having an erection problem mean I have heart disease?
No. Occasional problems are common and are usually caused by stress, tiredness or alcohol, according to the NHS. But because ED may be a sign of conditions such as heart disease or diabetes, MedlinePlus advises not waiting to seek help if it keeps happening.
Can my blood pressure tablets cause erection problems?
Some blood pressure medicines are listed by NIDDK and MedlinePlus among medicines that can contribute to ED. Do not stop them. Ask the doctor who prescribed them whether another option might suit you.
Is it safe to buy erection pills online?
The NHS warns that many websites sell fake medicines and advises seeing a doctor first. MedlinePlus lists several heart conditions in which these medicines may not be suitable.
Will lifestyle changes help?
The NHS says healthy lifestyle changes can sometimes help with erectile dysfunction, and they support heart health at the same time. They do not replace a medical check if the problem keeps happening.
This article is general information, not medical advice. If you are worried about your erections or your heart, please speak to a doctor.
Sources
- NHS, Erectile dysfunction (impotence) (page last reviewed 28 July 2023, opened 26 November 2026): https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/
- NIDDK (US National Institutes of Health), Symptoms and causes of erectile dysfunction (last reviewed October 2024, opened 26 November 2026): https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes
- NIDDK, Diagnosis of erectile dysfunction (last reviewed October 2024, opened 26 November 2026): https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/diagnosis
- MedlinePlus (US National Library of Medicine), Erection problems (review date 1 October 2025, opened 26 November 2026): https://medlineplus.gov/ency/article/007617.htm
