Erectile dysfunction 101

Reviewed By
Amanda Barge
Written by
Mojo's Research Team
Published on
December 28, 2021
Table of contents

Erectile dysfunction (ED) is when you can’t get or keep an erection firm enough for sex or masturbation (Burnett et al., 2018). It’s pretty common; up to 30% of men under 40 have experienced it (Nguyen et al., 2017). But treatment isn’t always as simple as taking a little blue pill. ED can have psychological causes, physical causes, or both. So before you can address ED, you need to figure out what’s causing it. This guide covers everything you need to know about spotting ED, knowing the causes, and how to speak to a doctor about it.

What is erectile dysfunction?

The clinical definition of ED, according to the American Urological Association, is not being able to get or keep an erection firm enough for sex or masturbation (Burnett et al., 2018).

One soft erection doesn’t mean you have ED. It’s also normal to be harder and softer at different points during sex, so an occasional softer moment is also not cause for concern. However, if it keeps happening, and gets in the way of sex or masturbation, it’s more likely. Check out Mojo’s guide on what ED symptoms look like for a more detailed breakdown.

ED used to be called impotence, but that term is outdated. Most people now just say “getting hard” or “struggling to get it up.” Whatever you call it, feeling like your body isn’t cooperating can knock your confidence.

What causes erectile dysfunction?

ED can have psychological causes, physical causes, or both (Burnett et al., 2018). Here’s a breakdown of each.

Psychological causes of ED

Psychological ED comes from mental, emotional, or situational factors (Nguyen et al., 2017; Burnett et al., 2018), including:

  • Performance anxiety, worrying about how you’ll perform instead of focusing on enjoying sex
  • Stress, from work, your finances, or anything else weighing on you
  • Relationship problems, including conflict, emotional distance, or a new partner
  • Depression and low self-esteem, which can reduce your desire and lower your confidence
  • Porn-related concerns, if your patterns of arousal have shifted over time

Psychological erectile dysfunction often responds to different approaches to physical ED, because it’s driven by what’s happening in your head and your life rather than a problem with blood flow or nerves.

Physical causes of ED

Physical causes affect the blood flow, nerves, and hormones your body needs to get and hold an erection (Burnett et al., 2018), including:

  • High blood pressure and high cholesterol
  • Heart disease
  • Hormone changes, like low testosterone
  • Medication side effects, common with some blood pressure medications and antidepressants
  • Smoking, heavy drinking, or diabetes
  • Pelvic floor or nerve issues, sometimes from injury, surgery, or cycling

For a more detailed breakdown of the different causes of ED, including less common ones, check out Mojo’s guide to the causes of ED.

Is erectile dysfunction normal?

ED is really common. Up to 30% of men under 40 have experienced erection difficulties, and in one study up to 85% of those cases came down to psychological factors like stress and anxiety (Nguyen et al., 2017). One clinic also found that about a quarter of its new ED diagnoses were in young men (Capogrosso et al., 2013).

Physical vs. psychological ED: how to tell the difference

If you can get a firm erection during masturbation, alone, or while asleep but not with a partner, the cause is more likely psychological. If you can’t get one in any context, it’s more likely physical (Burnett et al., 2018). Here’s how that could look:

What you notice It’s more likely physical when… It’s more likely psychological when…
Getting erections during masturbation or while asleepThey don’t happen, even when you’re alone or asleepThey happen and feel firm when you’re alone or asleep
Getting erections with a partnerThey’re hard to get even when you feel relaxedThey’re hard to get when you feel stressed or anxious
How it startedIt came on slowly, along with other health changesIt came on suddenly, around a stressful event or a new relationship
Other symptomsLow sex drive, tiredness, or heart-related symptomsNo physical symptoms, but anxiety or low mood is there

This table is a starting point, not a diagnosis. For a deeper look at telling physical and psychological ED apart, read Mojo’s full guide.

When to see a doctor about erectile dysfunction

See a doctor if ED keeps happening and doesn’t go away on its own after a few weeks. It can be an early marker of cardiovascular disease or diabetes, and a medical evaluation is the recommended first step (Burnett et al., 2018).

It’s normal to feel awkward about this, but most doctors have had every version of this conversation already. Read Mojo’s guide on what to expect from that first conversation to help you prepare.

Treatment options for erectile dysfunction

There are lots of ways to work through ED, and medication is only one of them. The right approach depends on what’s causing it (Burnett et al., 2018). For instance, psychological ED often responds to exercises and structured work rather than medication. Here’s a quick comparison:

Approach Addresses What it involves Best fit
Lifestyle changesCardiovascular and physical risk factorsExercise, quitting smoking, managing blood pressure or diabetesPhysical causes, or as a first step alongside other treatment
MedicationBlood flow to the penisPDE5 inhibitors prescribed by a doctorPhysical causes, or alongside psychological treatment
Therapy or structured programsAnxiety, arousal, relationship issuesTalk therapy, sex therapy, programs like The Erection ResetPsychological or mixed causes

Mojo’s full guide to ED treatment options breaks down each approach in more detail.

Why ED so often goes untreated

An estimated three-quarters of men with an ED diagnosis go untreated (Cakir et al., 2013, as reported in EurekAlert, 2013).

Stigma is the biggest reason. Most men aren’t encouraged to talk about their health problems, so often hope it will sort itself out, don’t know where to start, or feel embarrassed to talk to a doctor.

Performance anxiety drives erection issues too. If you start worrying about ED happening again, that worry itself keeps the pattern going.

The Erection Reset’s approach to ED

The Erection Reset, built by Dr. Shannon Chavez, a licensed clinical psychologist, AASECT-certified sex therapist, and certified clinical sexologist, helps you work through the psychological and behavioral patterns behind ED using the biopsychosocial model. This means looking at your body, your mind, and your relationships together, instead of treating ED as a purely physical problem.

Most men using Mojo’s The Erection Reset program say their partner’s pleasure is what motivates them most (Mojo, 2026). The goal isn’t to chase a harder erection for its own sake. It’s to rebuild the confidence and connection that erection issues tend to disrupt.

Dr. Chavez sums up her approach this way:

Experts
“Sex therapy isn't just about sex. It's about your relationship with your body.”
Dr. Shannon Chavez
Clinical psychologist & AASECT-certified sex therapist

The Erection Reset is not a treatment, diagnosis, or cure for ED.

FAQs

Is erectile dysfunction permanent or temporary?

For many men, especially when the cause is psychological or situational, like stress, a new partner, or tiredness, ED is temporary and improves once the underlying cause is addressed (Nguyen et al., 2017). Persistent ED linked to an underlying physical condition needs medical support (Burnett et al., 2018).

Do men with erectile dysfunction still feel pleasure or desire?

Yes. ED affects the physical ability to get or keep an erection firm enough for penetrative sex. It doesn't remove sexual desire or the capacity to feel pleasure, including through non-penetrative sex.

What is the best treatment for erectile dysfunction?

There's no single best treatment. It depends on the cause. Options range from lifestyle changes and medication for physical causes to therapy or structured programs for psychological causes (Burnett et al., 2018).

Is erectile dysfunction normal in your 20s and 30s?

Yes. Up to 30% of men under 40 have experienced erection difficulties (Nguyen et al., 2017), and it's common enough that clinics see it regularly in younger patients (Capogrosso et al., 2013).

Can stress and anxiety alone cause erectile dysfunction?

Yes. Performance anxiety and stress are among the most common psychological causes of ED. One study found up to 85% of ED cases in men under 40 were psychological (Nguyen et al., 2017).

Sources

  1. Burnett, A. L., Nehra, A., Breau, R. H., et al. (2018). Erectile dysfunction: AUA guideline. Journal of Urology, 200(3), 633–641. https://doi.org/10.1016/j.juro.2018.05.004
  2. Nguyen, H. M. T., Gabrielson, A. T., & Hellstrom, W. J. G. (2017). Erectile dysfunction in young men: A review of the prevalence and risk factors. Sexual Medicine Reviews, 5(4), 508–520. https://doi.org/10.1016/j.sxmr.2017.05.004
  3. Capogrosso, P., Colicchia, M., Ventimiglia, E., et al. (2013). One patient out of four with newly diagnosed erectile dysfunction is a young man: Worrisome picture from the everyday clinical practice. Journal of Sexual Medicine, 10(7), 1833–1841. https://doi.org/10.1111/jsm.12179
  4. Cakir, O., et al. (2013). The frequencies and characteristics of men receiving medical intervention for erectile dysfunction: Analysis of 6.2 million patients [Abstract #126]. 28th Annual European Association of Urology Congress, Milan. As reported in EurekAlert. https://www.eurekalert.org/news-releases/784343
Editorial standards

Mojo aims to provide useful wellbeing resources to its users; however, you should not solely rely on opinions or advice available on the Website or given by the Community. Always seek advice from a qualified medical doctor or other healthcare professional before acting.

About the experts

Amanda Barge
Psychosexual and relationship therapist

With 18 years as a psychosexual and relationship therapist, Amanda helps people navigate desire, intimacy, and the changes life brings.

Learn more
ED isn't the end of your sex life
Dismiss

The Erection Reset is the expert-led program built around the real causes of ED, most of them things you can change without pills.