Erectile Dysfunction

Reviewed by Dr C. J. Odike, MRCGP

You may think that erectile dysfunction always reflects low testosterone, lack of attraction or a psychological problem. Erection difficulties can involve blood vessels, nerves, hormones, medicines, mental wellbeing, relationships or several factors together. Persistent symptoms can also provide an opportunity to identify diabetes or cardiovascular risk.

Erectile dysfunction describes a recurring erection difficulty Erectile dysfunction, or ED, means repeatedly being unable to obtain or maintain an erection sufficient for the sexual activity you want. An occasional difficulty is common and may follow tiredness, stress, alcohol, illness, relationship tension, lack of privacy, or a rushed or pressured situation. Persistent or recurrent difficulties deserve assessment, particularly when they cause distress or represent a clear change. ED is not the same as low sexual desire Libido means sexual desire or interest. You may want sex but struggle with erections, have erections but little interest in sex, experience both problems, or have different levels of interest in different situations. Low libido and ED may share causes, including depression, medicine effects and hormonal conditions, but they are assessed separately. ED is not the same as ejaculation difficulty You may have premature ejaculation, delayed ejaculation, no ejaculation, retrograde ejaculation or painful ejaculation while still obtaining an erection. You may also have ED while ejaculation and orgasm remain possible. Clear description helps avoid receiving treatment for the wrong symptom. ED does not automatically mean infertility Erectile dysfunction can make intercourse involving penile penetration difficult. However, it does not directly measure sperm count, sperm quality, testosterone level, ability to produce semen, or capacity to become a parent through other routes. Fertility assessment is a separate process when pregnancy is a goal. Erections vary naturally Erection firmness and duration vary with age, health, stimulation, sleep, alcohol, stress, medicines and relationship context. An erection does not need to resemble a previous age or a commercial image to be healthy or satisfactory. The relevant question is whether the change prevents desired sexual activity or causes distress. Physical and psychological causes often interact ED may have mainly physical contributors, mainly psychological contributors, or a combination of both. A physical change may create anxiety about future performance. Anxiety can then increase monitoring and reduce arousal, making the original problem more persistent. Situational patterns provide clues A mainly situational pattern may include erections during sleep or on waking, erections during masturbation, difficulty only with a partner, difficulty during penetrative sex but not other activity, or symptoms beginning after one distressing experience. This may suggest that anxiety, expectations, relationship factors or context are important. It does not prove that the cause is entirely psychological. A consistent loss may suggest a physical contributor A physical cause becomes more likely when erections are difficult in every situation, morning erections have reduced, or symptoms developed gradually. Reduced genital sensation, diabetes or vascular disease, pelvic surgery or injury, reduced libido, and neurological symptoms are also relevant. These are clues rather than diagnostic rules. Blood vessel health is central to erections An erection requires increased arterial blood flow and reduced outflow from the penis. Conditions that affect blood vessels can therefore contribute, including high blood pressure, high cholesterol, diabetes, smoking related vascular disease, cardiovascular disease, obesity and reduced physical activity. ED and cardiovascular disease share several risk factors. NICE CKS recommends assessing cardiovascular risk rather than treating the erection symptom in isolation. ED can precede recognised cardiovascular disease Penile arteries are smaller than many coronary arteries. Vascular dysfunction may therefore become noticeable through erections before chest symptoms appear. This does not mean that everyone with ED has heart disease. It means persistent ED provides a useful opportunity to check blood pressure, glucose, cholesterol and wider cardiovascular risk. Diabetes can affect nerves and blood vessels Diabetes may contribute through reduced arterial blood flow, nerve damage, reduced genital sensation, hormonal changes, medicine burden, or psychological effects of chronic illness. ED may be the symptom that leads to diabetes testing. Other diabetes symptoms include thirst, frequent urination, tiredness and unexplained weight loss. Neurological conditions can affect erection signals Possible neurological contributors include multiple sclerosis, spinal cord injury, stroke, Parkinson's disease, peripheral neuropathy, cauda equina syndrome, and pelvic nerve injury. Sudden ED with saddle numbness, leg weakness or bladder and bowel change requires emergency assessment. Pelvic surgery and radiotherapy can affect erections ED may follow treatment involving the prostate, bladder, rectum, pelvis or spinal cord. Nerves may recover gradually after some procedures. Early access to rehabilitation and treatment can support sexual function, relationships and quality of life. Hormonal causes are less common but important Low testosterone may cause reduced libido, fewer spontaneous erections, low energy, reduced muscle strength, reduced body hair, fertility problems, or low mood. ED without low libido is not automatically caused by low testosterone. A diagnosis requires symptoms and appropriately timed blood tests, usually repeated when an initial result is low. Prolactin and thyroid disease may also contribute High prolactin can suppress testosterone and libido. Thyroid disorders can affect desire, energy, mood, ejaculation and erectile function. These tests are selected according to symptoms and initial findings rather than requested indiscriminately. Medicines may contribute Possible medicine related contributors include some antidepressants, antipsychotics, blood pressure medicines, opioids, hormonal treatments, prostate medicines, anti androgen treatments and anticonvulsants. Do not stop prescribed treatment suddenly. A clinician may adjust the dose, timing or medicine when a safe alternative exists. Alcohol and recreational drugs can affect erections Alcohol may initially reduce inhibition but can impair erection quality, sensation and orgasm. Other substances may affect blood pressure, arousal, nerve signalling, hormones, judgement, and interaction with ED medicines. Tell the prescriber honestly about substance use. The information is needed for safety, not judgement. Smoking affects the blood vessels Smoking damages blood vessels throughout the body. Stopping smoking may improve vascular health and reduce future cardiovascular risk, although erectile improvement varies. Exercise, balanced nutrition and weight management may also help, particularly when metabolic or cardiovascular factors are present. Anxiety can maintain the problem You may begin monitoring whether an erection is appearing, whether it is firm enough, whether it will last, how your partner may react, or whether a previous difficulty will recur. This monitoring can reduce attention to pleasure and increase the body's stress response. The difficulty is genuine even when anxiety is a major contributor. Depression can affect desire and erections Depression may reduce motivation, pleasure, energy, libido, confidence and relationship engagement. Some antidepressants can also affect sexual function. Treatment may involve reviewing both the illness and the medicine rather than assuming one explanation. Relationship factors should not be assumed ED does not automatically mean loss of attraction, infidelity, a failing relationship, lack of love, or a particular sexual orientation. Communication problems, unresolved conflict or pressure can contribute, but they should be explored only when relevant. Your partner should be involved only with your agreement. Sexual activity should remain consensual Treatment of ED is intended to support wanted sexual activity. An erection is not consent. Neither you nor another person should feel pressured to pursue penetration, use medicine or continue sexual activity because treatment has been prescribed. Gender identity does not remove the need for care Erection difficulties can affect anyone with a penis, including cisgender men, trans women and non binary people. Hormone treatment, genital surgery, dysphoria and personal sexual goals may alter the assessment. Care should use your preferred language and avoid assumptions about partners or desired sexual activity. ED after prostate cancer treatment deserves support Sexual function difficulties after cancer treatment are common and can affect body image, intimacy and wellbeing. You should be offered information and access to appropriate rehabilitation rather than being told that the symptom is inevitable or unimportant. Treatment may include tablets, devices, injections or specialist sexual therapy. Assessment should be confidential Your clinician may ask when the problem began, whether it is occasional or consistent, and whether you can obtain an erection in any setting. They may also ask about morning erections, libido, ejaculation and orgasm, pain or penile curvature, medicines and substances used, relationship or mental health concerns, and cardiovascular, diabetic or neurological symptoms. These questions identify possible mechanisms. They are not a judgement about your sexual life. Physical examination is targeted Assessment may include blood pressure, cardiovascular examination, weight or waist assessment, genital examination, assessment of penile shape, testicular examination, neurological examination, and prostate examination when urinary symptoms or other indications are present. You should be told why each examination is being proposed. Blood tests assess underlying causes and risk Current NICE CKS advice includes checking HbA1c or fasting glucose, lipid profile, and early morning testosterone. Further testing may include prolactin, thyroid function, kidney function, or additional hormone tests. The selection depends on your history and initial results. Clinicians may also discuss a PSA test and digital rectal examination to help assess for prostate cancer in people with relevant male reproductive organs who present with erectile dysfunction, explaining the benefits, limitations and possible consequences of PSA testing beforehand. This does not mean that ED usually indicates prostate cancer. Treatment begins with the contributing factors A personalised plan may include improving diabetes control, treating blood pressure or cholesterol, stopping smoking, or reducing excessive alcohol. Reviewing medicines, treating depression or anxiety, addressing testosterone deficiency, psychosexual therapy and specific ED treatment may also form part of the plan. You do not need to complete every lifestyle change before receiving symptom treatment. PDE5 inhibitors are common first treatments PDE5 inhibitors include sildenafil, tadalafil, vardenafil and avanafil. They improve penile blood flow during sexual arousal. They do not create desire and do not usually produce an erection without stimulation. Correct use affects whether tablets work Effectiveness may depend on correct dose, timing, sexual stimulation, food effects for some medicines, and repeated appropriately spaced attempts. Alcohol intake, underlying testosterone deficiency and medicine interactions also matter. One unsuccessful dose does not prove that all PDE5 treatment will fail. A clinician or pharmacist can explain how the specific medicine should be taken. Nitrates must not be combined with PDE5 inhibitors Nitrate medicines are used for angina and include glyceryl trinitrate products and other prescribed nitrates. Combining nitrates with sildenafil or another PDE5 inhibitor can cause a dangerous fall in blood pressure. Tell the prescriber if you use nitrate tablets, sprays, patches or any medicine for chest pain. Recreational nitrites are also dangerous Recreational substances known as poppers contain nitrites. Combining them with sildenafil or tadalafil can cause serious cardiovascular effects and a dangerous blood pressure drop. Do not hide recreational drug use from the prescriber. Chest pain after an ED medicine requires careful action If chest pain develops during or after sexual activity, stop the activity. Call 999 if the pain is severe, persistent or accompanied by breathlessness, sweating or faintness. Tell the ambulance and hospital team which ED medicine you took and when. Do not use a nitrate medicine unless emergency clinicians confirm that it is safe, because this information affects which emergency medicines can be given. PDE5 inhibitors are not suitable for everyone Extra assessment may be needed when you take nitrates, have unstable heart disease, or recently had a heart attack or stroke. The same applies if you have very low blood pressure, severe liver disease, take several interacting medicines, or have particular rare eye conditions. A doctor or pharmacist should assess suitability. Common side effects are usually temporary Possible effects include headache, flushing, indigestion, nasal congestion, dizziness, visual colour changes with some medicines, and back or muscle discomfort with some treatments. Seek urgent advice for severe symptoms, sudden visual loss, significant chest symptoms or collapse. Priapism is an emergency Priapism is a prolonged erection that does not settle normally. Go to A&E or call 999 if an erection lasts longer than three to four hours, or if you have sickle cell disease and a painful erection lasts longer than one hour. Delayed treatment can cause permanent damage and future erectile dysfunction. Do not use ice, exercise or further ED medicine to treat a prolonged painful erection. Vacuum devices are another option A vacuum erection device draws blood into the penis using negative pressure. A ring placed at the base helps maintain the erection temporarily. Advantages include avoiding systemic drug interactions. Possible problems include bruising, discomfort, numbness and difficulty with ejaculation. Appropriate instruction and ring timing are important. Alprostadil can be delivered locally Alprostadil may be used as an injection into the penis, a preparation inserted into the urethra, or a topical preparation in selected settings. It can be effective when tablets are unsuitable or ineffective. Training is required because incorrect dosing may cause pain or priapism. Testosterone is not a general erection enhancer Testosterone treatment is appropriate only when deficiency is confirmed and treatment is clinically suitable. Using testosterone without deficiency may cause harm and suppress sperm production. It should not be bought from unregulated sources or used solely because ED is present. Psychosexual therapy can be effective Psychosexual therapy may help with performance anxiety, fear following one unsuccessful experience, relationship communication, sexual avoidance, changes after illness or surgery, trauma related sexual difficulties, and combined physical and psychological ED. Therapy can be offered alongside medical treatment rather than only after tablets fail. NHS psychosexual services manage difficulties with mixed physical and psychological causes. Penile curvature may need separate assessment Peyronie's disease causes scar tissue within the penis. Possible features include new curvature, a firm plaque, painful erections, shortening and difficulty with penetration. Do not force a painful curved erection. A new deformity or injury should be assessed by a GP or urology service. Unregulated products can be dangerous Products sold as herbal or natural sexual enhancers may contain undeclared prescription medicines, unsafe doses, stimulants, contaminants, or substances interacting with heart medicines. Use a regulated pharmacy or clinical service. Do not take another person's prescription. ED can affect emotional wellbeing You may feel embarrassed, ashamed, anxious, frustrated, less confident, avoidant of intimacy, or concerned about your identity or relationship. These reactions are common, but ED is a health symptom rather than a personal failure. Seek mental health help if distress becomes overwhelming. Immediate risk of self harm requires emergency support. Follow up matters Review should assess whether the treatment was used correctly, benefit and side effects, cardiovascular findings, blood test results, relationship or psychological factors, whether another treatment is preferred, and changes in urinary or neurological symptoms. Treatment can often be adjusted successfully.

Erectile function depends on several systems working together: sexual interest and stimulation, brain and nerve signals, blood flow into and out of the penis, hormonal health, physical comfort and genital structure, and psychological safety and relationship context. Difficulty in one setting does not define your masculinity, fertility, orientation or feelings towards another person.

Medical words made simple

Erectile dysfunction
Recurrent difficulty obtaining or maintaining an erection for desired sexual activity.
Libido
Sexual interest or desire.
PDE5 inhibitor
A medicine that improves penile blood flow during sexual stimulation.
Nitrate
A medicine used for angina that can interact dangerously with ED medicines.
Priapism
A prolonged erection that does not settle normally and may require emergency treatment.
Psychosexual therapy
Therapy addressing sexual difficulties, emotional factors and relationship context.

Quick recap

  • ED is a recurrent difficulty with erections, separate from libido, ejaculation and fertility.
  • Physical and psychological causes commonly interact and are rarely purely one or the other.
  • Persistent ED is a useful trigger for checking blood pressure, glucose and cholesterol.
  • Never combine PDE5 inhibitors with nitrates or poppers: the blood pressure drop can be dangerous.
  • An erection lasting three to four hours or more is a priapism emergency.
  • Treatment usually addresses physical health, medicines, psychological factors and sexual goals together.