
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.
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).
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.
| Category | Common examples | How it tends to show up |
|---|---|---|
| Psychological | Performance anxiety, general stress, expectations shaped by porn use | Comes and goes, often depending on the situation (fine solo or with one partner, but not another) |
| Lifestyle | Smoking, heavy alcohol use, poor sleep, recreational drug use | Builds gradually and tracks with the habit. It tends to improve once the habit changes |
| Physical | Cardiovascular issues, low testosterone, some medication side effects, obesity or weight issues | Less 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.
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.
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.
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.
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.
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.
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 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.
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.
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.
| Approach | What it targets | Where to start |
|---|---|---|
| Work on the psychological pattern | Performance anxiety, porn-shaped expectations | The Erection Reset treats ED as a nervous-system pattern you can train |
| Adjust lifestyle basics | Sleep, alcohol, porn-viewing habits | Small, practical changes tracked over a few weeks |
| Rule out a physical cause | Cardiovascular, hormonal, or medication-related ED | A 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:
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.
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).
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.
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.
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.
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.
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.

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