Erectile Dysfunction in Young Men: Causes and What Helps in Your 20s and 30s

Yes, erectile dysfunction (ED) can happen in your 20s and 30s. At this age, trouble getting or keeping an erection most often comes from anxiety, stress or habits such as heavy drinking, smoking and recreational drug use, though a health problem is sometimes behind it. A simple rule helps you tell which is more likely: if you still get erections in some situations, such as when you wake up or masturbate, anxiety is the likelier cause; if you can’t get one in any situation, see a doctor. Keep It Hard, a program in The Coach app, teaches exercises that calm anxiety, take the pressure off sex and train your pelvic floor, step by step.

Get my plan
4.7
1M+
Downloads
7,000+
User reviews

What causes erectile dysfunction in young men?

An erection starts in the brain. Arousal sends signals along your nerves, the blood vessels in your penis open up, and blood flows in. Anything that disrupts that chain can get in the way, from worry to a problem with your blood vessels, hormones or nerves. In younger men the cause is more often anxiety, stress or everyday habits than an illness, and several things often add up, with one feeding another.

Common causes of erectile dysfunction in young men include:

  1. Performance anxietyWorrying about whether you’ll get hard, stay hard or satisfy your partner switches on the fight-or-flight response, which sends blood away from the penis.
  2. Stress, low mood or relationship troublePressure at work or in your studies, depression, or conflict with a partner can dull desire and arousal and turn sex into a test.
  3. Alcohol and recreational drugsHeavy drinking makes an erection harder to get that night, and regular heavy drinking or drug use raises the risk over time.
  4. Smoking and vapingNicotine narrows blood vessels, including the small ones that supply the penis.
  5. Weight, exercise and sleepExtra weight and too little exercise make erection problems more likely, and constant tiredness leaves little energy for arousal.
  6. Medicines and health conditionsSome medicines, as well as diabetes, high blood pressure and hormone problems such as low testosterone, can affect erections at any age.

If your erections work but aren’t as firm as you’d like, our guide to getting harder erections covers what helps.

How to tell whether it’s anxiety or a physical problem

Many men have a mix of both, so no single sign settles it. A rule of thumb helps, though: if you can’t get an erection in any situation, a physical cause is more likely; if erections work in some situations and not in others, your mind is probably involved. Look at the pattern:

  1. You get erections when you’re aloneMorning erections, or erections when you masturbate, show that your blood vessels and nerves work. Anxiety is the likelier cause.
  2. It depends on the partner or the settingIt happens with a new partner, after a stressful week or when you feel under pressure, but not at other times. That also points to anxiety.
  3. It started suddenlyIt began after a stressful period, a new relationship or one bad night. A sudden start usually points to the mind.
  4. Nothing works in any situationIf you don’t get erections on your own or in the morning either, a physical cause is more likely. See a doctor.
  5. It has crept up over monthsA slow decline in every situation also points to the body, so get it checked.

These are clues, not a diagnosis. If anxiety looks like the main driver, our guide to psychological erectile dysfunction explains what helps.

What helps with erectile dysfunction at a young age

If any signs point to a physical cause, see a doctor. Whatever the cause, these steps are a good place to start:

Keep It Hard teaches the breathing and anxiety exercises step by step and tells you how often to repeat each one. Answer a few questions to get your plan.

Show me where to start

Why one lost erection can turn into a pattern

Losing an erection once, after a few drinks or with a new partner, happens to many men. The trouble starts when you begin to expect it. The next time, worry switches on the fight-or-flight response before anything has happened, blood flows away from the penis, and the fear seems confirmed. Avoiding sex after that only adds pressure to the next attempt.

Hardness also rises and falls during sex for every man, so a small dip is normal. It becomes a problem only when the dip itself sets off panic. Three habits help break the cycle:

If worry about performing is what holds you back most, our guide to sexual performance anxiety goes into more depth.

Situations that often trigger erection worries

A trigger is a situation that reliably sets off the worry. It helps to list yours: avoid the obvious ones, plan for the rest, and tell your partner so they can help instead of guessing. These situations are common:

01A new partner
Sex with someone new often comes with extra pressure. Taking things slowly, with plenty of kissing and touching first, lowers it.
02Putting on a condom
The pause can let doubts in, and the erection may soften. Practice putting one on alone, and with a partner, keep kissing or touching while one of you puts it on.
03The moment before penetration
This is when many men start checking how hard they are. Stay with what you feel instead of what might happen next.
04Sex after drinking
Alcohol can blunt an erection, and one bad night after a party can leave you worried about the next time. Remember that the alcohol played a part.
05Comparing yourself with porn
Porn shows erections that never fade and sex without pauses. Real sex has dips, breaks and changes of pace.
06Feeling rushed or overheard
Worrying about thin walls, roommates or the time can keep you on alert. Choose a time and place where you feel private and unhurried.

How to quiet your inner critic: the inner coach exercise

The inner critic is the harsh voice that says things like “You’re going to lose it again.” It can sound like your own voice, an ex or a parent, and it can switch on the fight-or-flight response by itself. The inner coach exercise, based on compassion-focused therapy, trains a calmer, kinder voice to answer it:

Keep It Hard pairs this exercise with a written technique for questioning anxious thoughts and adds both to your plan.

Build my plan

Myths about erectile dysfunction in young men

What many men believe

Erectile dysfunction only happens to older men
At my age, it must be all in my head
One lost erection means I have ED
A real man is always ready for sex

What’s closer to the truth

It can start in your 20s or 30s, and in younger men anxiety, stress and habits are common causes
Often it is, but physical causes happen too; if nothing works in any situation, see a doctor
An occasional lost erection is normal; doctors call it ED when the problem keeps coming back
Arousal changes with mood, stress and tiredness, for every man

Erection problems in your 20s and 30s are worth taking seriously, and there’s a lot you can do about them.

What you practice in Keep It Hard

Keep It Hard is a program in The Coach app for men who want stronger, more reliable erections. Its 17 lessons cover anxiety, the pelvic floor and skills for sex with a partner, and daily practice takes about 10 to 20 minutes.

Finding the likely cause

Early lessons help you tell physical causes from psychological ones and explain when a doctor’s visit should come first.

Calming anxiety

Breathing exercises, the inner coach exercise and a written technique for questioning anxious thoughts.

Getting comfortable with softness

Trigger planning, the soft penis exercise and a solo exercise in letting an erection fade and return.

Pelvic floor and partner skills

A short check, then exercises for the pelvic floor muscles that help hold blood in the penis, plus lessons on talking about sex, foreplay and positions.

A plan built from your quiz answers

Answer a few questions to get a personal plan that shows which practices to start with. Keep It Hard then lays out what to do each day.

Get my personal plan

When to see a doctor about erection problems

Being young doesn’t rule out a physical cause. See a doctor if any of these apply:

A doctor will usually ask about your sex life and habits, check your blood pressure and weight, and may order blood tests for sugar, cholesterol and testosterone. For more on the medical side, see our guide to erectile dysfunction.

How to talk to a partner about erection problems

Hiding the problem tends to add pressure. When a partner knows what’s going on, you can slow down together, avoid your triggers and enjoy sex that doesn’t depend on penetration.

With a new partner, a few honest words are enough, for example: “I get nervous with someone new, and it can affect my erection. It isn’t about you.” In a longer relationship, pick a calm moment outside the bedroom and treat it as something you work on as a team.

What users reported after four weeks

These figures come from a survey of The Coach users after their first four weeks. They describe what users reported, not a promise for every man.

58%
Felt more in control during sex
55%
Said sex became much more satisfying
39%
Reported a higher libido
41%
Had sex more often

Practice a little each day

Calming your body, quieting the inner critic and getting used to softness all get easier with repetition. Your plan lists what to do each day, and new exercises are added as you go.

Take the quiz

What men say about The Coach

Reviews from men using the app, in their own words.

“This app is just what I needed when my confidence was at an all time low. I felt stressed and completely lost all interest to the point where I struggled to get it up. But then I took a chance on this app. Daily listening and going through the exercises sometimes even half-mindedly. Well! Let’s just say she definitely noticed the change and now can’t seem to get enough of it 😁👍”

Elsa the Drame queen

“I started the Coach program because there was some real inconsistency in my response to stimulus. In fact I was beginning to believe that my sexual life was on its way out the door. I was pretty desperate to find a solution and I stumbled across The Coach. It has been a game changer.”

Buffjudd

“My experience with ‘The Coach’ app has been very good. The lessons and exercises have helped me tremendously. I am much more confident both within myself and also with my appearance. Intimate moments are not so anxious as before because I follow the helpful advice given in the ‘The Coach’ app.”

Mark Rushby

“This program has helped me get a harder erection without pills. I don’t have issues with pre-mature EJ. I just can’t EJ at all during intercourse but this issue is separate from this program. You have to do program everyday and there’s no quick fix. Anything thats body related takes time so stick with it.”

Anthony Dang

The specialists behind Keep It Hard

Keep It Hard was developed with specialists in men’s health, among them urologists, physiotherapists, a sex therapist and a sex coach.

Gerard Greene

Specialist men's health physiotherapist and senior lecturer at Coventry University.

Dr. Susie Gronski

Licensed physical therapist, certified sexuality counselor, and founder of a men's pelvic health clinic.

Natalie Goldberg

Certified sex and family therapist dedicated to improving intimate relationships and personal well-being.

Dr. Amy Pearlman

Board-certified urologist specializing in male sexual wellness, performance, and hormonal health.

Dr. Justin Houman

MD, UCLA-trained urologist and male reproductive specialist focusing on sexual health.

Cameron Fraser

Australia's leading men's sex coach, specializing in male sexual wellness and performance.

Ben Greenfield

13-time Ironman triathlete, bestselling author, and recognized expert in health, fitness, and performance.

Dr. Gary Shlifer

DO, board-certified internal medicine physician specializing in preventative care, nutrition, and anti-aging.

Questions about erectile dysfunction in young men

Is it normal to have erectile dysfunction at 20?

Erection problems are less common at 20 or 25 than later in life, but they do happen. Losing an erection now and then is normal at any age, especially when you’re nervous, tired or have been drinking. If it happens most times you try, look at the likely causes, and see a doctor if any physical signs apply.

What causes erectile dysfunction in your 30s?

Often the same things as in your 20s: anxiety, stress and habits. Other changes can add up with time, such as longer working hours, less exercise, weight gain and, in some men, the first signs of high blood pressure, high blood sugar or high cholesterol. If your erections have been getting weaker gradually, see a doctor.

Is erectile dysfunction in young men usually psychological?

Often, yes: anxiety, stress and low mood are common causes at this age. But physical causes happen too, and many men have a mix. If you still get erections when you wake up or masturbate, anxiety is more likely; if you don’t get them in any situation, see a doctor.

How can I fix erectile dysfunction at 20 or 30?

There’s no single fix, because treatment depends on the cause. A physical cause needs a doctor, who can talk you through the options. When anxiety or stress drives it, the usual approaches are talking therapy with a psychologist or sex therapist and practical exercises that calm anxiety, along with less alcohol, no nicotine and enough sleep. Keep It Hard isn’t a treatment: it’s a training program that teaches these exercises.

Will erectile dysfunction in your 20s go away on its own?

Sometimes it eases once a stressful period passes or after you cut back on drinking. But if worry keeps it going, waiting and avoiding sex tend to make it worse. If it keeps happening, or happens in every situation, see a doctor.

Which exercises help with erectile dysfunction at a young age?

Box breathing and the soft penis exercise ease anxiety, and the inner coach exercise helps with a harsh inner voice. Pelvic floor exercises support the physical side; our guide to exercises for erectile dysfunction explains them.

Do I need a partner to practice?

No. Box breathing, the soft penis exercise and the inner coach exercise are all done on your own. Keep It Hard covers partner skills, such as talking about sex and touch exercises, later in the program.

How much time does Keep It Hard take each day?

Plan on about 10 to 20 minutes a day. Some practices repeat daily and others less often, and your plan shows what to do each day.

More programs from The Coach

Last Longer

Real arousal control in eight weeks.

See the program

Sex is a Skill

Master her pleasure, stage by stage.

See the program

Overall Health

Boost your testosterone and get your energy back.

See the program

Man’s Guide to Sexting

Mental foreplay, one message at a time.

See the program

Work on erection problems with Keep It Hard

Keep It Hard puts it all in one daily plan: tools for calming anxiety, the inner coach and soft penis exercises, pelvic floor training and partner skills. Answer a few questions to get yours.

Begin my practice