Dr. Kris ClinicDr. Kris ClinicKnowledge
Men's Sexual Health

Erectile Dysfunction (ED): Causes, Tests and Treatment

Erectile dysfunction is common and treatable. Learn the real causes, how ED is linked to heart health, and what modern treatment looks like.

Erectile Dysfunction (ED): Causes, Tests and Treatment

Key points

  • ED is common and treatable; the cause is usually a mix of physical, hormonal and psychological factors.
  • ED can be an early warning of heart disease, diabetes or high blood pressure, so check your overall health too.
  • PDE5 inhibitor medicines work well, but a doctor must assess you first, especially if you use nitrate medicines.

"It just won't get hard" is something many men experience but few dare to say out loud. For some it starts with no longer waking up with an erection. For others it only happens with a partner, or they can get hard but it doesn't last. I want to say first that this does not make anyone less of a man, and in most cases it can get better once we find the cause.

What is ED?

Erectile dysfunction (ED) means persistently being unable to get an erection, or to get one firm enough, or to keep it long enough for satisfying sex (usually for more than 3 months).

Occasionally not getting hard when you are exhausted, have drunk a lot or are very stressed is not necessarily ED. More than half of all men experience this at least once in their lives.

If you want a clearer picture, try assessing yourself with the IIEF-5 questionnaire or the Erection Hardness Score.

Common myths

  • "ED only happens to old men." Not true. Age does raise the risk, but diabetes, high blood pressure, high cholesterol, smoking, alcohol and stress can cause ED at any age.
  • "Just take an erection pill every time." The tablets work well, but if the underlying cause, such as high blood sugar or high blood pressure, is ignored, the problem tends to come back and the other disease quietly progresses.
  • "A testosterone injection will cure it." Not for everyone. Hormones only help men whose testosterone is genuinely low, and the TRAVERSE study (2023) found that testosterone in men with low levels improved desire and sexual activity, but did not clearly improve erections compared with placebo.
  • "Seeing a doctor is embarrassing." Avoiding it only lets the problem drag on and affect your relationship.

The three main groups of causes

In real life the cause is usually a mix of more than one group.

1. Physical causes

  • Blood vessels: the most common cause in middle age, from diabetes, high blood pressure, high cholesterol, smoking and belly fat
  • Nerves: for example long-standing diabetes, pelvic surgery or spinal cord injury
  • Some medicines: certain antidepressants, some blood pressure medicines and anti-hormone treatments
  • Recreational drugs and alcohol

Read more in What causes erection problems, and vascular ED.

2. Psychological causes

Stress about work or money, conflict with a partner, worry about not getting hard (performance anxiety) and depression all stop the nerves that control erections from working fully. When a man still gets good morning erections or erections during masturbation, but not with a partner, psychological factors are usually involved.

3. Hormonal causes

Low testosterone tends to reduce desire more than it directly causes ED. It often comes with tiredness, poor sleep, loss of muscle and more belly fat. See Symptoms of low testosterone. Thyroid problems and abnormal prolactin levels can also play a part.

Premature ejaculation and ED can feed each other

Many men have both. Worried about losing the erection, they rush; rushing leads to ejaculating quickly; afterwards the mood drops, a second round isn't possible, and the worry grows. Treatment needs to address both at the same time. Read more about premature ejaculation (PE).

DiagramThree main groups of ED causes (often combined)
ED

Physical

Body

  • Blood vessels (most common in middle age)
  • Nerves
  • Some medicines
  • Drugs, alcohol

Psychological

Mind

  • Stress: work, money
  • Conflict with partner
  • Fear of not getting hard
  • Depression

Hormonal

Hormones

  • Low testosterone (reduced desire)
  • Thyroid disorders
  • Prolactin disorders

Why diabetes causes ED

Blood sugar that stays high for a long time damages the inner lining of the blood vessels (the endothelium), so it produces less nitric oxide, the key chemical messenger for erections. It also damages small nerves. Men with diabetes are therefore several times more likely to have ED than other men, and tend to develop it earlier. Good blood sugar control is part of the treatment.

How ED is diagnosed

  1. Medical history: how long, what exactly happens, morning erections, medicines, stress and your relationship
  2. Physical examination: blood pressure, pulse, waist size, penis and testicles
  3. Blood tests: blood sugar (FBS/HbA1c), cholesterol, and a morning testosterone level when low testosterone is suspected
  4. Cardiovascular risk assessment following the Princeton IV recommendations (2024), because ED can come years before coronary heart disease
  5. Special tests, such as ultrasound of the penile blood vessels, only for selected men
DiagramSteps to find the cause of ED
  1. 1HistoryDuration, morning erections, medicines, stress, relationship
  2. 2ExaminationBlood pressure, pulse, waist, penis and testicles
  3. 3Blood testsGlucose, lipids, morning testosterone if suspected
  4. 4Heart checkED can appear years before heart disease
  5. 5Special testsE.g. vascular ultrasound, only in some men

Heart-risk assessment follows the Princeton IV guidance (2024).

Treatment options

The latest AUA and EAU guidelines focus on treatment that matches the goals of the patient and their partner, with several options that can be combined.

  • Lifestyle changes: aerobic exercise, weight loss, stopping smoking, cutting down on alcohol and getting enough sleep genuinely help, especially in vascular ED.
  • PDE5 inhibitors such as sildenafil and tadalafil are the main treatment and work well for most men. See how they differ in Tadalafil vs sildenafil.
  • Hormone treatment only for men with confirmed low testosterone. Read What is TRT and who is it for?
  • Sex therapy and couples therapy, for example Sensate Focus, reduce anxiety and rebuild intimacy.
  • Other options, such as penile injections, vacuum devices or a penile implant, for men in whom tablets don't work. "Restorative" treatments such as low-intensity shockwave therapy or PRP still have limited evidence.

When to see a doctor

  • Erection difficulties lasting more than 3 months, or starting suddenly without an obvious reason
  • You have a chronic condition such as diabetes, high blood pressure or heart disease, or take several medicines
  • Your penis has an unusual bend, a lump or pain
  • Go to hospital immediately if an erection lasts more than 4 hours, or if you have chest pain or tightness during or after sex (in Thailand call 1669)

At Dr. Kris Clinic we look after ED as a whole: assessing your symptoms, checking blood tests and hormones, looking at other conditions, planning safe use of medicine, and offering relationship counselling. You can see us at the clinic in Surat Thani or online, and consultations in English are available. There is no judgement here, so feel free to tell me everything.

Treatment options & prices

Medicines and services your doctor may consider

Prices are per pack. Every medicine is prescribed only after a doctor's assessment; your doctor will advise whether it suits you. See all medicines & services

Next step

Want help with this? Three simple steps

Reading is a good start. When you are ready, check where you are, see how a consultation works, then book a time that suits you.

Self-checks are a guide only and do not replace a doctor's assessment. Outcomes vary from person to person, depending on the severity of symptoms, the complexity of the problem and other factors.

Consult Dr. Kris

Worried about sexual performance?

Talk to a doctor in private. We look at physical, hormonal and vascular causes before choosing the treatment that suits you.

Book onlineChat on LINE @dr.krisclinicSee treatments & services

Every medicine and service requires a doctor's assessment first.

Frequently asked questions

Can ED be cured?

Many men improve a lot or return to normal erections, especially when the cause can be fixed, such as stress, weight or a particular medicine. Some men need ongoing medication, depending on the cause.

Does not waking up with an erection mean I have ED?

Not always. But if morning erections have clearly and consistently decreased, together with problems during sex, it is worth checking for physical causes such as blood vessel or hormone problems.

Are erection pills addictive?

PDE5 inhibitors are not physically addictive, but some men come to rely on them psychologically. Treating the underlying causes and talking with your partner can reduce that reliance.

Is ED really linked to heart disease?

Yes. The penile blood vessels are small, so they show problems first. Men with ED should also have their cardiovascular risk assessed.

ภาษาไทย

อ่านบทความนี้เป็นภาษาไทย

ED อวัยวะเพศไม่แข็งตัว: สาเหตุ การตรวจ และการรักษา →

References

  1. Burnett AL, et al. Erectile Dysfunction: AUA Guideline. J Urol. 2018;200(3):633-641
  2. European Association of Urology. EAU Guidelines on Sexual and Reproductive Health. 2025
  3. Kloner RA, et al. The Princeton IV Consensus Recommendations for the Management of Erectile Dysfunction and Cardiovascular Disease. Mayo Clin Proc. 2024
  4. Pencina KM, et al. Effect of Testosterone Replacement Therapy on Sexual Function and Hypogonadal Symptoms in Men with Hypogonadism (TRAVERSE). J Clin Endocrinol Metab. 2023
  5. NIH Consensus Development Panel on Impotence. JAMA. 1993;270(1):83-90

This article is for education and does not replace diagnosis or treatment by a doctor. If you have symptoms or concerns, please see a doctor.

Dr. Kris ClinicFamily Medicine & Sexual Health Clinic, Surat ThaniLed by Dr. Krida Uakridathikarn · licence 48387

Opening hours

  • MondayClosed
  • Tuesday – Friday17:00 – 20:00
  • Saturday – Sunday10:00 – 15:00

Online consultations across Thailand · English spoken

Contact