Independent health informationUrgent helpHow information is checked
Evidence Health
Menu
Search
Condition

Erectile Dysfunction: Symptoms, Causes and When to Get Help

Erectile dysfunction means a repeated difficulty getting or keeping an erection that is firm enough for the sexual activity a person wants. One difficult night is common and does not establish a disorder. When the change persists, it deserves a health conversation—not because it reflects masculinity or desire, but because erections depend on blood vessels, nerves, hormones, medicines, emotions, and relationship context.

Written byEvidence Health Editorial Team
Evidence checked2026-08-20
References5 sources
UpdatedAugust 24, 2026
An adult discussing sexual health with a healthcare professional
On this page

Erectile dysfunction means a repeated difficulty getting or keeping an erection that is firm enough for the sexual activity a person wants. One difficult night is common and does not establish a disorder. When the change persists, it deserves a health conversation—not because it reflects masculinity or desire, but because erections depend on blood vessels, nerves, hormones, medicines, emotions, and relationship context.

Key points

  • Erectile dysfunction can mean erections occur only sometimes, are not firm enough, or fade sooner than wanted.
  • Occasional difficulty with stress, fatigue, illness, or alcohol is common; repeated or distressing change should be assessed.
  • Blood-vessel disease, diabetes, nerve injury, hormones, medicines, smoking, depression, anxiety, and relationship factors can overlap.
  • An assessment usually includes medical, sexual, and mental-health history, blood pressure, examination, and targeted tests.
  • An erection lasting four hours, severe penile injury, or chest symptoms during sex or after a treatment requires urgent care.

What erectile dysfunction means

An erection problem may involve difficulty becoming firm, losing firmness before or during sexual activity, or having erections only in some situations. The definition is about a repeated pattern and whether it interferes with the person’s desired sexual activity. Penetrative intercourse is not the only measure of a satisfying sex life, and treatment goals should reflect the individual or couple rather than a fixed performance standard.

Erectile dysfunction, often shortened to ED, usually does not mean a complete loss of erections. Someone may have an erection during sleep, on waking, during masturbation, or with one type of stimulation but still have difficulty in another context. Those differences can be useful clues, but they do not prove that the cause is physical or psychological.

Low sexual desire, difficulty reaching orgasm, early or delayed ejaculation, penile pain, and curvature are different problems, although they can occur together and affect erections. Tell a clinician about the whole change rather than using “ED” as a label for every sexual concern.

How an erection happens

Sexual stimulation activates signals in the brain and nerves. Smooth muscle in penile blood vessels and erectile tissue relaxes, allowing more blood to enter. Expanding tissue compresses veins that would otherwise drain the blood, helping maintain firmness. Hormones, sensation, attention, safety, and desire influence this process.

A change anywhere along the pathway can affect erections. Reduced arterial flow may limit filling. Nerve injury may interrupt signals. Changes in hormones can reduce desire or affect tissue. Pain, fear, distraction, depression, or performance anxiety can interrupt arousal. Medicines and substances can alter several steps at once.

Aging increases the likelihood of conditions that contribute to ED, and erections may require more time or stimulation. However, NIDDK emphasizes that ED is not an inevitable or routine part of aging. A new persistent change should not be dismissed solely because of age.

When an occasional problem becomes worth checking

Fatigue, acute stress, unfamiliar circumstances, relationship tension, a large amount of alcohol, or recent illness can cause a temporary difficulty. If the next experiences are typical and there are no other symptoms, medical testing may not be needed.

Arrange a routine appointment when the problem keeps happening, lasts for several weeks or months, is worsening, causes distress, or leads to avoidance of intimacy. Seek advice sooner when it begins after pelvic injury, surgery, radiation, or a medicine change, or when it occurs with reduced desire, penile curvature or pain, loss of genital sensation, urinary change, infertility concerns, or symptoms of diabetes or hormone disturbance.

ED may be an early sign of a health condition that has not yet been diagnosed. The blood vessels in the penis are small, so vascular changes can become noticeable there. That does not mean every erection problem predicts a heart attack, but it is a good reason to review blood pressure, glucose, cholesterol, smoking, activity, and cardiovascular symptoms.

Physical and psychological factors often overlap

Common physical contributors involve blood vessels, metabolism, nerves, hormones, or penile structure. Diabetes can affect both vessels and nerves. High blood pressure, abnormal cholesterol, atherosclerosis, kidney disease, obesity, sleep apnea, and smoking are associated with ED. Pelvic surgery, radiation, spinal cord injury, multiple sclerosis, stroke, and other neurologic conditions may disrupt signals.

Hormone problems are a less common explanation than many advertisements imply. Low testosterone can contribute, particularly when sexual desire is also reduced, but one unscheduled test or a symptom checklist is not a diagnosis. Thyroid and pituitary conditions can sometimes affect sexual function. The detailed possibilities are covered in our guide to physical and psychological causes of ED.

Depression, anxiety, trauma, stress, low self-esteem, relationship conflict, and fear of another erection difficulty can start or maintain a cycle. A first episode may have a physical trigger and later become reinforced by attention and performance pressure. Calling this “all in your head” is inaccurate and unhelpful; emotions and nervous-system responses are part of sexual physiology.

Medicines and substances can contribute

Some medicines used for blood pressure, depression, anxiety, pain, prostate conditions, cancer, hormones, allergies, or sleep can affect erections or desire. Recreational drugs, anabolic steroids, tobacco, and heavy alcohol use can also contribute. The timing of a change is important, but an item on a side-effect list does not prove it is responsible.

Do not stop a prescribed medicine on your own. Abrupt changes can worsen the underlying condition or cause withdrawal. A prescriber can review the need, dose, alternatives, and other possible causes. Bring a complete list that includes over-the-counter products, supplements, injections, and substances used occasionally.

What happens at an appointment

A clinician may ask when the problem began, whether it is consistent or situational, what type of stimulation is involved, whether erections occur during sleep or masturbation, and whether desire, ejaculation, orgasm, pain, or curvature changed. Questions about relationships, mood, stress, pornography, alcohol, smoking, and drugs are intended to map the context, not judge it.

Medical history includes cardiovascular disease, diabetes, blood pressure, cholesterol, kidney disease, neurologic conditions, sleep, pelvic surgery or injury, and medicines. The examination may include blood pressure, pulses, body-hair or breast changes, the penis and testes, and selected nerve or prostate checks according to symptoms.

Targeted blood tests may include glucose or long-term glucose control, cholesterol, and an appropriately timed testosterone measurement when indicated. Other hormone, kidney, thyroid, urine, or cardiovascular tests depend on the history. Specialized penile blood-flow testing, nocturnal testing, or imaging is not necessary for everyone.

A validated questionnaire can help describe severity and treatment response, but it cannot determine the cause by itself. Partner information may be useful with the patient’s permission. Privacy should be respected, and part of an appointment can be held without a partner or family member present.

Cardiovascular safety comes before performance

Current European Association of Urology guidance incorporates cardiovascular risk into ED assessment. A clinician may ask about chest pain, breathlessness, exercise capacity, previous heart events, and current treatment before recommending sexual activity or ED therapy. Stable cardiovascular disease does not automatically rule out sex, but unstable symptoms need evaluation.

Chest or neurologic symptoms

Call the local emergency number for chest pressure, severe breathlessness, collapse, or stroke signs during sexual activity. Tell emergency staff about any erection treatment used and when. Do not take another person’s heart or erection medicine in response.

Oral erection medicines can interact dangerously with nitrate medicines and some other cardiovascular treatments. This is not a problem to solve by adjusting the time or dose from an internet article. The prescriber or pharmacist must review the exact products and health status.

Read more about the shared risk factors in ED, heart disease, and diabetes.

Treatment is matched to cause, safety, and preference

Care begins with treatable contributors and personal goals. Improving smoking, activity, sleep, alcohol use, blood pressure, diabetes, and other cardiovascular risks may support erectile and overall health. These changes are not a promise that ED will resolve, and treatment does not need to be withheld while every lifestyle goal is pursued.

Counseling or sex therapy can reduce performance anxiety, address avoidance, improve communication, and help after illness or a distressing sexual experience. It can be used alone or alongside medical care. Involving a partner is optional and should be based on consent and relationship safety.

Clinical options include oral medicines that improve penile blood flow, vacuum erection devices, locally delivered medicines, and implanted devices for selected people. Hormone treatment is considered only when a relevant deficiency and clinical context are established. Benefits, adverse effects, manual dexterity, spontaneity, cost, other medicines, and preference affect the choice.

Our separate guide explains how ED is diagnosed and treated without recommending a product or dose.

Avoid unverified pills, supplements, and procedures

Products sold as “natural male enhancement” may contain undeclared prescription ingredients or stimulants, and the amount can be unpredictable. They can interact with heart medicines and delay diagnosis of diabetes or vascular disease. “Natural” does not mean safe, and a testimonial does not establish the contents.

Do not order a prescription ED medicine from a site that does not require an appropriate prescription or cannot be verified through the pharmacy regulator in your country. Be cautious with guaranteed enlargement, shockwave or injection packages sold before a clinical diagnosis, hormone treatment based only on symptoms, or pressure to pay for a long course on the first visit.

When erectile symptoms are urgent

An erection lasting four hours

Go to emergency care for an erection that lasts four hours, with or without pain. This is called priapism and can permanently damage tissue. Do not wait for it to settle overnight or repeat home remedies.

Severe penile pain, a snap or pop with immediate loss of erection, rapid swelling, bruising, deformity, or bleeding after injury needs emergency assessment. Sudden loss of genital sensation with new leg weakness, saddle numbness, or bladder or bowel change can indicate spinal nerve compression and also requires emergency care.

Talking about ED with a partner

Silence can be interpreted as loss of attraction or rejection. A simple explanation—that erections are a health response, not a verdict on the partner—can reduce pressure. Consider intimacy that is not organized around penetration or maintaining an erection. This creates room for pleasure while assessment and treatment proceed.

If there is coercion, fear, pain, or pressure to perform, prioritize safety and confidential support. Treatment should never be used to override a person’s consent or comfort.

Questions people often ask

Do morning erections prove the cause is psychological?

No. Their presence can provide information about nerve and blood-flow function, but physical and psychological factors can coexist. A diagnosis requires the wider history and assessment.

Does ED mean infertility?

No. Erectile function and sperm production are different. ED can make timed intercourse difficult, and some conditions affect both, but one does not automatically establish the other.

Can ED improve?

Often, yes. Improvement depends on the cause, health conditions, treatment, and goals. Some people need ongoing therapy or adapt sexual activity rather than achieve a complete return to a previous pattern.

Should a young person get checked?

Persistent ED at any adult age deserves discussion, especially with pain, curvature, injury, reduced desire, medicine use, or cardiometabolic symptoms. Age alone does not establish anxiety as the cause.

Sources and evidence scope

This guide was researched using the NIDDK overview of erectile dysfunction and its symptoms and causes, the European Association of Urology 2026 guideline, the NHS guide to erection problems, and the MedlinePlus patient overview. Evidence and guidance were checked on August 20, 2026. Diagnostic pathways, treatment licensing, emergency numbers, and pharmacy regulation vary by country.