Diabetes And Erectile Dysfunction
Overview
Erectile dysfunction (ED) means finding it hard to get an erection, or to keep one firm enough for sex. It is sometimes called impotence. ED is very common in people with diabetes. Over time, high blood sugar can damage the tiny blood vessels and nerves that erections depend on. It can also lower the body's natural sex hormones and affect mood and confidence. ED is a medical problem, not a personal failure, and there is a lot that can be done to help.
Key facts
- ED is one of the most common health problems caused by diabetes, and it often appears years earlier than it would in someone without diabetes.
- Erections rely on healthy blood flow, working nerves and the right hormonal balance — all of which diabetes can affect.
- ED can be an early warning sign that blood vessels elsewhere, such as the heart, may also be under strain — so it is worth checking out.
- Most people with diabetes-related ED can be helped by better blood sugar control, lifestyle changes, and treatments your doctor can discuss with you.
Yes, it is very common. Research suggests that around half of men with diabetes have some difficulty with erections, and the chance rises the longer someone has had diabetes and the higher their blood sugar levels have been over time. It is one of the most frequent sexual concerns reported by people with diabetes.
It affects men and people with a penis who have type 1 or type 2 diabetes, at any adult age. It becomes more common as people get older, but diabetes-related ED often starts in a person's 40s or 50s, earlier than average. It is more likely if blood sugar has been high for a long time, if you smoke, drink a lot of alcohol, are overweight, have high blood pressure or high cholesterol, or feel low or anxious.
Symptoms
- An erection that lasts longer than 4 hours and is painful or does not go down — this is called priapism and needs emergency treatment straight away to prevent lasting damage
- Chest pain, chest tightness, severe shortness of breath, or fainting during or just after sex — call your local emergency number immediately
- Signs of very high blood sugar with vomiting, tummy pain, deep fast breathing, fruity-smelling breath or drowsiness — call your local emergency number
- ⚠New erection problems together with chest pain, breathlessness, or calf and leg pain when walking — see a doctor the same day
- ⚠A sudden, painful bend or lump in the penis (a curved erection) — ask for an urgent appointment
- ⚠Sudden difficulty passing urine, or a swollen painful scrotum — seek same-day medical advice
- ⚠A new sore, ulcer or infection on the penis or foreskin, especially if you have diabetes — get it checked quickly
Common symptoms
- Finding it harder to get an erection than you used to
- Erections that are less firm, or that do not last long enough for sex
- Fewer or no erections on waking in the morning
- Needing more direct physical stimulation than before
- Being able to get an erection sometimes but not at other times
- Lower interest in sex or a reduced sex drive
- Worry or anxiety about sex, which can make the problem worse
Symptoms in children
- Erectile dysfunction is not a childhood condition, so it does not apply to children. In children, the focus of diabetes care is on steady blood sugar control, growth, and learning good habits for later life.
Symptoms in older adults
- Erections may take longer to achieve and may need more stimulation than when you were younger — this is a normal part of ageing.
- Other health conditions are more common with age, such as high blood pressure, heart disease and prostate problems, and these can also affect erections.
- Some medicines used for blood pressure, prostate problems or low mood can affect erections — never stop a medicine on your own, but do ask your doctor or pharmacist to review them.
- Tiredness, pain, poor sleep and low mood can all reduce interest in sex, and these are worth mentioning to your doctor.
Causes
Main causes
- Nerve damage (neuropathy) from long-term high blood sugar, which can dull the signals that trigger an erection
- Damage to small blood vessels (angiopathy), which reduces blood flow into the penis
- Lower levels of testosterone (the male sex hormone), which is more common in people with diabetes
- High blood pressure, high cholesterol and narrowed arteries, which often go hand in hand with diabetes
- Side effects of some medicines, including certain blood pressure and prostate treatments
- Stress, anxiety, depression, relationship difficulties and performance worry
- Smoking, heavy drinking and being overweight, which all reduce blood flow
- Other health problems such as kidney disease, thyroid problems and prostate surgery
Risk factors
- Blood sugar levels that have been high for a long time, or a high HbA1c (your average blood sugar over about three months)
- Having had diabetes for many years
- Smoking or vaping nicotine
- Drinking more alcohol than the recommended limits
- Being overweight, especially around the middle
- High blood pressure and high cholesterol
- Being physically inactive
- Poor sleep, long-term stress, depression or anxiety
- Certain medicines — ask your pharmacist or doctor to review yours
When to see a doctor
See a doctor urgently if:
- An erection lasting more than 4 hours — go to an emergency department or call your local emergency number
- Chest pain, severe breathlessness or fainting during sex — call emergency services
- New erection problems along with chest pain or leg pain when walking — get medical advice the same day
- A sudden painful curve in the penis, or a swollen painful scrotum — seek same-day care
Book a routine appointment if:
- Any change in your erections that bothers you or your partner — even if it feels embarrassing, doctors discuss this every day
- Low sex drive, tiredness, or low mood alongside erection problems
- You are taking a new medicine and think it may be affecting your sex life
- You are due your annual diabetes review — this is a good moment to raise sexual health
- You feel anxious or low about your sex life, or it is putting strain on your relationship
Diagnosis
There is no need for special tests to confirm erectile dysfunction — it is usually diagnosed from your description of what is happening. Your doctor or nurse will ask about your erections, your sex drive, your mood and your relationship, and will review all your medicines. Because ED can be linked to heart and blood vessel health, they will also check your blood pressure and order some blood tests. You may be referred to a specialist clinic if the cause is unclear or if first treatments do not help.
Tests that may be done
- A blood test for HbA1c, to see how your blood sugar has been over the past few months
- A cholesterol and blood fat profile
- A testosterone level, usually taken in the morning
- Kidney and liver function tests, and sometimes thyroid tests
- Blood pressure and weight measurements
- A review of all your medicines, including anything bought over the counter
- A physical examination, including checking the penis and testes, and sometimes a pulse in the groin or feet
- A check of your heart risk, which may include an ECG (heart trace) if you have symptoms
What to expect at your appointment
The appointment is a conversation, not an examination you should dread. Your doctor will ask some personal questions — such as whether you still get morning erections, and how things are at home — because these give useful clues. You can bring a partner or a friend if that helps, and you can ask to speak to a male or female clinician if you prefer. Nothing is usually decided in one visit; most people leave with a plan and a follow-up.
Treatment
Treatment works best when it tackles the whole picture: getting blood sugar, blood pressure and cholesterol into a healthier range, reviewing medicines that may be getting in the way, addressing lifestyle factors, and offering specific help for erections. Many people notice a real difference within a few months of making these changes. Your doctor will talk you through the options and help you choose what suits you.
Self-care at home
- Aim for steadier blood sugar levels — your diabetes team can help you set realistic targets
- Stop smoking; ask your pharmacist or GP for free stop-smoking support
- Cut back on alcohol and avoid heavy drinking
- Move more — even a brisk 20 to 30 minute walk most days helps blood flow
- Lose a little weight if you can; even a small loss can improve erections
- Get enough sleep and find ways to manage stress
- Be open with your partner about what is happening — reducing pressure often helps
- Avoid using pornography or sex toys as a 'test' of function; anxiety makes ED worse
- Never stop or change a prescribed medicine without speaking to your doctor first
Medical treatments
Doctors have several approaches, and they can be used together. The first step is usually to tighten up diabetes control and review any medicines that could be contributing. For many people, tablets that increase blood flow to the penis are effective — these are only suitable for some people, especially those with certain heart conditions, and must be prescribed by a doctor rather than bought online. Other options include medicines that are placed inside the penis or injected, a small pump device that draws blood into the penis, and psychological or couples therapy, which is particularly helpful when anxiety plays a part. Testosterone treatment may be offered if blood tests show low levels. Your doctor will explain the benefits, risks and which options are safe for you.
When is surgery considered?
Surgery is only considered when other treatments have not worked or are not suitable. Options include a small inflatable or bendable implant placed inside the penis, which can allow erections for sex, and, in rare cases, surgery to improve blood flow. These are specialist procedures and your doctor would refer you to a hospital team to discuss them fully.
Living with this condition
Erectile dysfunction can affect confidence, relationships and mood, so it helps to treat it as a health issue to manage rather than a secret to carry. Keep up your diabetes reviews, take your medicines as prescribed, and tell your team early if something changes. Many couples find that talking openly, and broadening what counts as intimacy, takes the pressure off and improves things.
Lifestyle tips
- Build activity into your day — walking, swimming, cycling or gardening all count
- Eat more vegetables, beans, whole grains and fish, and fewer processed and sugary foods
- Keep alcohol within the recommended limits and have alcohol-free days
- Stop smoking and avoid nicotine products
- Protect your sleep — aim for a regular bedtime and 7 to 8 hours where possible
- Have a medication review at least once a year
- Keep up with foot, eye and kidney checks, as these show how your blood vessels are doing
Diet and exercise
There is no special 'ED diet', but the eating pattern that is good for your heart and blood vessels is also good for erections: plenty of vegetables, fruit, beans, nuts, whole grains, olive oil and fish, with less processed meat, fried food, salty snacks and sugary drinks. Aim for about 150 minutes of moderate activity a week — enough to make you slightly warm and out of breath — plus some strength work twice a week. Start where you are and build up gradually; your diabetes team can refer you to a local activity programme if you would like support.
Mental health and emotional wellbeing
Erection problems often bring worry, embarrassment, low mood or a sense of loss, and anxiety about performance can make the physical problem worse. This is very common and treatable. Talking therapies, couples counselling and support groups all help, and your GP can refer you. If you ever feel hopeless, overwhelmed, or have thoughts of harming yourself, please reach out to a crisis line or emergency service in your area straight away — you deserve support, and help is available.
Prevention
You cannot control everything, but you can lower your risk a lot. The single most important step is keeping blood sugar, blood pressure and cholesterol in a healthier range, because this protects the small nerves and blood vessels that erections depend on. Not smoking, limiting alcohol, staying active and keeping to a healthy weight all make a real difference, and the earlier these habits start, the better.
Vaccines
People with diabetes are usually advised to keep up to date with routine vaccinations, such as the annual flu vaccine and pneumonia protection, because infections can upset blood sugar control. Ask your GP or pharmacist which vaccines are recommended for you.
Screening programmes
Attend your annual diabetes review, which includes blood pressure, cholesterol, kidney and HbA1c checks, plus yearly eye screening and foot checks. These appointments are also a natural moment to raise any sexual health concerns, so nothing gets missed.
Complications
If left untreated
- Erection problems usually continue or worsen if the underlying blood vessel and nerve damage is not addressed
- Strain on relationships, loss of confidence and low mood or depression
- Missed opportunity to detect heart and circulation problems early — ED can be a warning sign worth acting on
- Poorer diabetes control if worry about sex leads people to disengage from their care
- Rarely, painful curved erections (Peyronie's disease) or other penis conditions that are easier to treat early
Long-term outlook
The outlook is genuinely encouraging. Most people with diabetes-related ED see improvement when blood sugar, blood pressure and lifestyle are addressed, and there are several effective treatments available if needed. Many find that getting help early makes the biggest difference — both for their sex life and for their heart health. Talk to your doctor or diabetes nurse; there is almost always something that can be done.
Find support
External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.
Always verify with your doctor
Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.
Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.
Related conditions
Sources and guidance
No guideline names this topic
No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.
Last updated: October 23, 2026
Educational note: This information is for education only and is not a diagnosis.
Use it to support, not replace, advice from a licensed clinician.
If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.
Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.