Erectile Dysfunction

Written by: S Vilbrun — MD

Last editorial update:

Evidence, definition, focused assessment, cardiovascular and treatment safety, structure and references updated by the Best Remedies editorial team.

Sources: Reference list included (7 cited sources)

Learn about our qualified contributors and their credentials on the About Us page. A medical-review credit is shown only when a reviewer is recorded for this article.

Erectile Dysfunction

Seek emergency care for chest pain, severe breathlessness, fainting or other possible heart symptoms during sexual activity. An erection lasting more than four hours needs urgent treatment. Sudden vision or hearing loss after an erectile-dysfunction medicine also needs immediate medical advice.

What is erectile dysfunction?

Erectile dysfunction (ED) is a persistent or recurrent difficulty getting or keeping an erection firm enough for a person's desired sexual activity. An occasional difficulty is common and does not necessarily mean there is a disorder. Diagnosis depends on the pattern, duration, distress and personal goals—not on satisfying a partner or meeting one definition of sexual performance.

ED concerns erection. Changes in sexual desire, ejaculation, orgasm or pain are different issues, although they may occur at the same time and deserve separate assessment. ED can affect confidence, mood and relationships, but it is a health concern rather than a personal failing.

Causes and contributing factors

An erection involves blood vessels, nerves, hormones, the brain and emotional context. Contributors are often mixed and can occur at any age. They include cardiovascular and blood-vessel disease, diabetes, high blood pressure, abnormal blood lipids, neurological conditions, low testosterone in selected cases, sleep disorders, kidney disease, penile curvature, pelvic injury, and prostate or other pelvic surgery or radiotherapy.

Smoking, low physical activity, excess alcohol, recreational drugs and some prescribed medicines can contribute. Depression, anxiety, stress, trauma and relationship difficulties may also affect erectile function and may interact with physical causes. Ordinary cycling should not automatically be blamed; a history of significant pelvic or perineal trauma is different.

Never stop a blood-pressure, antidepressant, hormone or other prescribed medicine on your own. A clinician can review timing, dose and alternatives while protecting the condition for which it was prescribed.

When to arrange an assessment

Make a routine medical appointment when erectile difficulty persists, recurs or causes concern. Assessment matters because ED may be an early marker of cardiovascular or metabolic risk. It does not predict that a heart attack or stroke is inevitable, but it creates an opportunity to check blood pressure, diabetes, cholesterol, smoking and other risk factors. New symptoms with exertion or sexual activity need prompt cardiovascular assessment.

Seek earlier advice for penile pain or curvature, testicular symptoms, loss of sexual desire, symptoms of low testosterone, pelvic injury, or ED after surgery or cancer treatment. A clinician should also consider mental health and relationship wellbeing without assuming that the cause is “all psychological.”

How erectile dysfunction is diagnosed

A private, respectful history is the starting point. It covers onset, frequency, firmness and duration of erections; morning or spontaneous erections; desire, ejaculation and orgasm; pain; medicines and substances; medical conditions; mental health; and what the person wants from treatment. A partner may take part only if the person wishes. Validated questionnaires can help describe severity and response but do not replace clinical discussion.

The physical examination is focused according to the history and may include blood pressure, heart rate, body composition, circulation, genital anatomy and relevant endocrine or neurological signs. Prostate examination is not automatically required for every person with ED.

Recent glucose or HbA1c and lipid results are commonly reviewed. An early-morning testosterone test may be appropriate, especially when there are compatible symptoms; an abnormal result normally requires confirmation and interpretation. Other hormone, kidney, thyroid or urine tests are chosen for specific findings.

Most people do not need specialized testing. Penile injection testing, duplex ultrasound, nocturnal erection monitoring and vascular studies are reserved for selected complex cases, such as major trauma, penile deformity or consideration of vascular surgery. An injection response or nocturnal test is not conclusive by itself.

Treatment choices

Treatment should address underlying health conditions where possible and reflect safety, preference, cost, ease of use and the person's goals. Response varies, and finding a suitable option may take review and adjustment.

Health and psychological support

Stopping smoking, being physically active within medical limits, eating a nutritious pattern, moderating alcohol and managing diabetes, blood pressure and lipids can support vascular health and may improve erectile function. Targets should be individualized. Psychosexual counselling or psychological therapy may help when anxiety, depression, stress, trauma or relationship factors contribute, either alone or alongside medical treatment.

Oral medicines

Phosphodiesterase type 5 (PDE5) inhibitors improve the erectile response to sexual stimulation; they do not create desire or cause a permanent erection. A prescriber should check cardiovascular fitness, other medicines and the correct way to use the selected product.

PDE5 inhibitors must not be combined with nitrate medicines or recreational nitrites (“poppers”) because blood pressure can fall dangerously. Important interactions and cautions also apply to some prostate and blood-pressure medicines and to unstable heart disease. Do not use someone else's tablets or buy unverified medicines online.

Testosterone is not a general ED treatment. It may be considered only when symptoms and appropriately repeated tests show deficiency, after discussion of contraindications and monitoring.

Devices, local treatment and surgery

A vacuum erection device uses a cylinder and pump to draw blood into the penis, with a correctly fitted constriction ring to maintain the erection. Instruction matters because bruising, numbness, discomfort and ejaculation changes can occur, and the ring must not be left on longer than advised.

Prescribed injections or urethral medicines can help some people but require training and clear instructions about pain, scarring and priapism. An erection lasting more than four hours is an emergency; do not wait for it to settle.

Penile implants are an option for selected people after detailed discussion of benefits, infection, mechanical failure and alternatives. Arterial reconstruction has a narrow role, usually in younger people with a specific traumatic arterial injury. Surgery is not a routine next step for most ED.

Supplements and online products

“Natural” sexual-enhancement products can contain undeclared medicines or interact with nitrates, anticoagulants and other treatments. Evidence for many supplements is uncertain, and product quality varies. Discuss every supplement with a clinician or pharmacist and use regulated prescribing routes for ED medicine.

Outlook

Many people improve with treatment of contributing conditions, an appropriate ED therapy, counselling or a combination, but no approach works for everyone. Follow-up can check technique, side effects, satisfaction and changing health. Protecting cardiovascular and metabolic health may reduce risk, yet not every cause of ED is preventable. Persistent ED is worth discussing without shame because effective, preference-sensitive options are available.

References and further reading

These references were supplied with the article and are provided so readers can examine the supporting material.

  1. Kim E. Erectile dysfunction. 2020. Legacy reference retained from the original article.
  2. Snyder P. Overview of male sexual dysfunction. 2020. Legacy reference retained from the original article.
  3. Khera M. Treatment of male sexual dysfunction. 2020. Legacy reference retained from the original article.
  4. European Association of Urology. 2026 Sexual and Reproductive Health Guidelines: Management of Erectile Dysfunction. Accessed 3 September 2026.
  5. National Institute of Diabetes and Digestive and Kidney Diseases. Diagnosis of Erectile Dysfunction. Last reviewed October 2024. Accessed 3 September 2026.
  6. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for Erectile Dysfunction. Last reviewed October 2024. Accessed 3 September 2026.
  7. American Urological Association. Erectile Dysfunction: AUA Guideline. Accessed 3 September 2026.

Was this article helpful?