Erectile dysfunction in your 20s: Causes and what helps

Reviewed By
Amanda Barge
Written by
Mojo's Research Team
Published on
March 22, 2022
Table of contents

Erectile dysfunction (ED) in your 20s is more common than most people realize, and it usually has nothing to do with a physical health problem. Up to 30% of men under 40 have had trouble getting or keeping an erection, and psychological factors are a common and important cause, particularly in younger men (Nguyen et al., 2017). For most guys in their 20s, the real drivers are stress, performance anxiety, and habits around porn, which means they're things you can actually work on.

How common is erectile dysfunction in your 20s?

If you're struggling with erections at 20, it's easy to feel like something is wrong with you, or that you're the only one. Plenty of men your age deal with exactly this. Most of them just never say it out loud.

Part of the shock comes from the way we talk about erectile dysfunction. It's usually pictured as an older man's problem, so when it happens in your 20s, it can feel like it came out of nowhere. The research tells a different story, with erection trouble showing up often in younger men too (Nguyen et al., 2017).

What causes erectile dysfunction in your 20s?

Erectile dysfunction in your 20s is usually psychological or linked to lifestyle, and only sometimes physical. The table below sorts the most common causes into those three groups and shows how each one tends to show up in day-to-day life.

CategoryCommon examplesHow it tends to show up
PsychologicalPerformance anxiety, general stress, expectations shaped by porn useComes and goes, often depending on the situation (fine solo or with one partner, but not another)
LifestyleSmoking, heavy alcohol use, poor sleep, recreational drug useBuilds gradually and tracks with the habit. It tends to improve once the habit changes
PhysicalCardiovascular issues, low testosterone, some medication side effects, obesity or weight issuesLess common at this age. Usually persistent, and not tied to a specific partner or situation

Psychological causes like these are covered in more depth in our guide to psychological erectile dysfunction.

Physical health problems linked to ED are less common in your 20s, but mental health can play a bigger part at this age. Low mood and depression often show up alongside erection problems, and the link between depression and erectile dysfunction is well documented. If you're dealing with both, it's worth mentioning to a doctor.

Psychological causes

Your 20s bring a lot of change at once. You might be moving out for the first time, supporting yourself, finishing your education, or figuring out your first serious relationship. All of that is stressful, and stress doesn't stay in its lane. It shows up in your body, including in your erections.

Experts
“Any kind of stressor can make a difference to your erections. I ask my clients: ‘What weights are hanging on your penis?’ If you are stressed about any life event, it will have an effect on desire or arousal.”
Amanda Barge
accredited COSRT and BACP therapist

Performance anxiety plays a big role too, especially early in your sex life. A rocky first experience can stick with you for years if you let it define how you see yourself in bed.

Experts
“First sexual experiences can be very impactful, so if that hasn't gone well, that can really stick with a man for years, until he finds a helpful relationship or finds a way to regain confidence.”
Amanda Barge
accredited COSRT and BACP therapist

Then there's porn. Years of watching porn, sometimes starting before any real sexual experience, can shape your expectations and make it harder to stay aroused with an actual partner. More on that below.

Lifestyle causes

Your 20s are often a decade of heavier drinking and later nights, and your erections notice. Smoking, drinking too much, and recreational drugs, including cocaine and weed, can all get in the way of a reliable erection. Nicotine, whether it comes from cigarettes or vapes, narrows your blood vessels, so less blood reaches your penis. Poor sleep and not moving much add to the load.

Dating apps play a role too. Hooking up with someone you haven't built any real connection with can raise performance anxiety before you've even gotten into bed, and that anxiety is often enough to stop an erection in its tracks.

Members
“I hooked up with this girl from Tinder, just because that was the normal thing to do, but my dick just didn't want to listen to me. I couldn't get hard. I learned hook ups aren't for everyone, and they aren't for me. When I slowed it down and built a connection, that's when it felt amazing.”
Lateef
28, UK, The Erection Reset

Physical causes

Physical causes are much less common at this age, but they can still happen. Cardiovascular issues can restrict blood flow to your penis. Low testosterone can lower your desire and make it harder to get hard, and some medications have side effects that affect erections. Because any of these is possible even in your 20s, a doctor's visit is worth doing rather than skipping.

Porn's role in erectile dysfunction in your 20s

Heavy porn use can shape your sexual expectations in ways that make it harder to stay aroused with a partner. Your brain learns from repetition, so if the only sexual script it knows is a porn scene, real sex can feel like it doesn't measure up.

Almost half of children in the UK aged 11 to 16 have seen porn online, and 42% of 15- and 16-year-olds said online porn had given them ideas about the type of sex they wanted to try (Martellozzo et al., 2020). If you're in your 20s now, there's a good chance you formed ideas about sex from porn before you'd had much sex of your own. That pattern can carry straight into adulthood, showing up as performance pressure or a gap between what turns you on and what's actually in front of you.

When we asked Mojo's community what puts the most stress on their erections, one anonymous member pointed straight to porn. He said it made him insecure about his body and left him feeling desensitized to real women.

If this sounds like your pattern, Mojo's Break Free From Porn program is built to help you rebuild a healthier relationship with porn and reset your expectations around sex.

Performance anxiety and ED in your 20s

Performance anxiety is one of the most common triggers at this age. The moment you start worrying about whether you'll get or keep an erection, that worry becomes the thing getting in the way.

It turns into a loop. Anxiety floods your body with the stress hormones adrenaline and cortisol, which make it harder to get an erection even when you feel turned on. A softer erection then makes you more anxious, and the cycle repeats the next time.

The good news is that a loop like this can be broken. Anxiety-driven ED usually responds well to the right approach, because it's a learned pattern you can retrain.

When to see a doctor about ED in your 20s

If your erection problems are persistent, came on suddenly, or come with other symptoms like low libido or tiredness, it's worth finding out whether your ED is physical or psychological rather than guessing.

Ruling out a physical cause usually takes a single appointment, and it means you know what you're actually dealing with.

What helps: treatment options for ED in your 20s

The right approach depends on what's driving your ED. The table below shows the three main routes and where to start with each one.

ApproachWhat it targetsWhere to start
Work on the psychological patternPerformance anxiety, porn-shaped expectationsThe Erection Reset treats ED as a nervous-system pattern you can train
Adjust lifestyle basicsSleep, alcohol, porn-viewing habitsSmall, practical changes tracked over a few weeks
Rule out a physical causeCardiovascular, hormonal, or medication-related EDA doctor's visit for bloodwork and a symptom review

If performance anxiety or porn-shaped expectations are behind your ED, the goal is to understand and retrain the pattern underneath it. That might mean changing up your masturbation routine, rebuilding confidence after a rough first experience, or learning to spot when stress is the real cause. Mojo's community forum is also a place to talk about it anonymously if that feels easier.

Some practical changes make a real difference alongside the psychological work:

  • Cut back on cigarettes and vapes, recreational drugs, and heavy drinking, since all three get in the way of a reliable erection.
  • Get consistent sleep instead of running on empty.
  • Take an honest look at your porn habits and how they might be shaping your expectations.
  • Stay active, because movement supports the blood flow your erections depend on.
  • Maintain a healthy diet, ensuring you don’t have any vitamin or mineral deficiencies.

You don't need to overhaul your whole life overnight. Small changes you can keep up tend to stick better than a big lifestyle rebuild you give up on three weeks later.

FAQs

Is it normal to have erectile dysfunction in your 20s?

Yes. Up to 30% of men under 40 have experienced erection difficulties, and psychological factors are a common cause at this age (Nguyen et al., 2017).

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

Sometimes, especially if it's tied to a stressful period that passes. If the pattern continues, working on the cause, whether that's anxiety, stress, or porn-related expectations, usually gets you there faster than waiting it out.

Does porn or masturbation cause ED in your 20s?

Heavy porn use can shape expectations that make sex with a partner feel less arousing by comparison, which can contribute to ED. Masturbation itself isn't the problem, though certain habitual styles can play a role for some men. See our guide to psychological erectile dysfunction for more detail.

Should I be worried if I'm in my early 20s and can't stay hard?

Not straight away. It's common and usually not a sign that anything is physically wrong. If it's persistent, sudden, or comes with other symptoms like low libido or tiredness, see a doctor to rule out a physical cause.

Can stress alone cause erectile dysfunction?

Yes. Stress and anxiety release hormones like adrenaline and cortisol, which can make erections harder to get, and sexual performance anxiety is one of the most common causes of ED in men in their 20s.

Sources

  1. Nguyen, H. M. T., et al. (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
  2. Martellozzo, E., Monaghan, A., Davidson, J. R., & Adler, J. R. (2020). Researching the effects that online pornography has on U.K. adolescents aged 11 to 16. SAGE Open, 10(1). https://journals.sagepub.com/doi/full/10.1177/2158244019899462
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
accredited COSRT and BACP therapist

With 18 years as an accredited COSRT and BACP therapist, Amanda helps people navigate desire, intimacy, and the changes life brings.

Learn more
Take the pressure off your erections
Dismiss

An evidence-based program that helps you break the anxiety loop behind ED in your 20s.