Better sex, whenever you want.

Start here

9 Causes of Erectile Dysfunction in Your 20s

Kristin Hall, FNP

Reviewed by Kristin Hall, FNP

Written by Geoffrey Whittaker

Published 11/04/2020

Updated 06/29/2023

Dealing with erectile dysfunction (ED) can be a stressful experience, especially if you’re a young, fit, healthy guy with no other obvious health problems. But when you start to understand how erections work, you’ll realize why ED can happen at any age. 

Getting hard is a complex, multi-step process that requires your brain, hormones, circulatory system and numerous other parts of your body to work in unison. And while you might assume older men are more likely to have health problems leading to erectile dysfunction, it can (and often does) affect younger men. 

If you’re in your 20s and sometimes find it difficult to get an erection, you’re not alone. According to the National Institutes of Health, about 30 million men in the United States are affected by erectile dysfunction — that’s roughly one in every five adult men.

The data doesn’t lie. Recent census data shows that more than a third of the population is over the age of 45, but in a small 2013 study, researchers noted that one out of every four men seeking treatment for erectile dysfunction is below the age of 40.

More concerning, about half of the men under the age of 40 in the study suffered from severe erectile dysfunction, meaning they were unable to attain or maintain an erection firm enough for penetrative sex.

If you’re in your 20s and find it hard to get an erection (or lose your erection easily), it’s best to talk to a healthcare provider to find out what’s causing it and what you can do to treat it. But there are a few more things you might want to know before starting the convo.

Below, we’ll explain how and why erectile dysfunction can occur in your 20s, as well as what you can do about it. We’ll also look at public statistics to see how prevalent ED is for men in their 20s, along with factors that may increase your risk of dealing with ED.

Choose your chew

Add a boost to your sex life with our new chewable formats

Erectile Dysfunction in Your 20s: Causes and Treatment Options

9 Causes of Erectile Dysfunction in Your 20s

There’s no singular cause of erectile dysfunction. Erection issues can be caused by a range of factors, from physical ones like cardiovascular health issues to psychological ones like performance anxiety, depression or potentially even overuse of pornography.

ED can signal that something else isn’t right in your body. As we’ll explain below, erectile dysfunction is often caused by issues like cardiovascular disease, high blood pressure, diabetes and other potentially serious health conditions and medical conditions.

Research also indicates that erectile dysfunction is a growing problem. A 1999 study published in BJU International concluded that ED would likely affect 322 million men worldwide by 2025 — an increase of about 170 million compared to the mid-90s.

By talking to a healthcare provider about your ED, you can identify what’s causing it and take action before the underlying issue becomes more serious — and some potential causes are already pretty serious.

High Blood Pressure (Hypertension)

Erections are all about healthy blood flow. If you have high blood pressure (aka hypertension), you may have an elevated risk of developing erectile dysfunction due to the damage long-term high blood pressure can cause to your blood vessels.

This damage can affect blood flow throughout your body, making it difficult for blood to flow into the soft tissue of your penis when you’re aroused.

Some research also indicates that high blood pressure reduces your body’s production of sex hormones like testosterone — which plays a major role in regulating your sex drive. Studies have found that high levels of total and bioavailable testosterone may be associated with a stronger sex drive and better erectile function.

Being Overweight or Obese

As we learn more about what causes erectile dysfunction, science has observed a pretty clear link between obesity and ED.

ED is more common in people with cardiovascular disease or heart disease — a class of diseases that’s significantly more common in people who are overweight or obese. And yes, it can happen in your 20s.

There’s also evidence that losing weight can boost sexual performance and help get rid of erectile dysfunction. In an Italian study, overweight and obese men who lost an average of 33 pounds in two years reported improved erectile function.

Like high blood pressure, obesity is also associated with a lower level of testosterone — a key hormone for healthy erections and sexual performance. We explained the relationship between ED and low testosterone levels in more detail in our guide to weight and erection quality.


Diabetes is one of the main risk factors for ED early or late in life. It can damage blood vessels and affect your blood flow, making it more difficult for your body to supply blood to the soft tissue of your penis. It can also affect the nerves in and around your penis, potentially affecting sexual stimulation.

As we explained in our guide to diabetes and ED, these factors all contribute to an elevated risk of erectile dysfunction if you have diabetes. If you’re prediabetic or have other symptoms of diabetes, you may want to talk to a healthcare professional about whether it’s connected.


Your drinking habit might be one of the lifestyle changes you need to make as a college student or a recent grad. Not surprisingly, alcohol isn’t great for erectile health, and while a younger man’s hangover may not last as long, the effects of drinking on his erections can still add up.

While a drink or two is unlikely to hinder your sexual performance permanently, drinking alcohol excessively can affect your erections in both the short and long term.

In a 2007 study, researchers found that men with alcohol dependence syndrome had a high rate of sexual dysfunction. Of the 100 men who participated in the study, 72 percent had one or several forms of sexual dysfunction, with erectile dysfunction among the most common. 

A separate study from Hong Kong found that people who consumed more than three drinks per week were more likely to report erectile dysfunction than those who didn’t drink at all.

So if you’re a heavy or frequent drinker — or even just enjoy a drink socially — there’s a risk your drinking could be a contributing factor to erectile dysfunction. 


Young men are young enough to remember the anti-drug campaigns that bombarded them in school — but we’re pretty sure that if those campaigns included ED, they’d have more lasting effects on impressionable young minds. 

Using illicit drugs could increase your risk of developing erectile dysfunction and other sexual issues. Although in-depth research in this area is limited, there are clinical reports of erectile dysfunction in people who abuse drugs such as cocaine.

Even recently legalized recreational drugs, such as cannabis, are closely linked to erectile dysfunction and other sexual dysfunctions in some research.


Smoking is closely linked to erectile dysfunction — and smokers are at an erectile disadvantage at any age. In a 2015 scientific review, researchers noted that cigarette smokers have an elevated risk of developing erectile dysfunction compared to people who don’t smoke.

Cigarettes and other tobacco products can damage your cardiovascular system. Specifically, the chemicals in cigarettes and other tobacco products can damage your heart and blood vessels, increasing your risk of developing high blood pressure and other cardiovascular conditions often linked to ED.

The nicotine in cigarettes can also cause your arteries to narrow, affecting the flow of blood throughout your body. Since erections are all about healthy blood flow, this isn’t a good thing for your sexual performance.

Our full guide to smoking and ED goes into more detail about the effects of cigarettes on erections and sexual health.

Sexual Performance Anxiety

Not every problem that affects young men is physical, however. In fact, sexual performance anxiety is a common problem affecting up to 25 percent of men.

With this condition, you might feel nervous or anxious about your appearance or sexual performance before and during sex. Performance anxiety can affect men and women of all ages. It can even hit young, otherwise healthy men who don’t see it coming.

As we explained in our guide to sexual performance anxiety and ED, feeling anxious or nervous before and during sex is closely associated with sexual dysfunction.

Difficulty Using a Condom

Call it a problem of inexperience, but if you use condoms incorrectly, struggle to put them on the right way or run into other problems while using this form of contraception, it’s far from uncommon for you to lose your erection. This is known as a condom-associated erection problem (CAEP).

CAEP can occur while you’re putting on a condom or just before, like if you feel anxious about making a mistake during condom application. It can also occur during sex if your condom isn’t put on properly, feels overly loose or tight or reduces sexual stimulation. 

Erectile dysfunction caused by condom issues is more common than you may think, especially for men in their 20s. In a 2015 study involving 479 men aged 18 to 24, almost 14 percent had CAEP while putting on a condom.

Another 16 percent had CAEP during penis-in-vagina sexual intercourse, while roughly 32 percent had CAEP while putting the condom on and while having sex.


One thing that might affect your ability to get an erection is porn. Though studies are limited, some research has found that watching porn can change the way your brain responds to sexual stimulation. This may result in a form of ED referred to as porn-induced erectile dysfunction.

Unlike some causes listed above, porn-induced ED isn’t caused by a disease or physical factor. Instead, it might be due to changes in the way you respond to sex that result from the limitless novelty, quantity and unique potential for escalation of internet-based porn.

Choose your chew

Add a boost to your sex life with our new chewable formats

How to Treat Erectile Dysfunction in Your 20s

As a younger guy, ED can feel like an embarrassing problem. After all, most guys who feel too young to struggle to get hard might deny there’s a problem until it’s too big to ignore.

We suspect one reason for this is fear of the unknown. So, how do you treat ED? It’s pretty simple — some of the most effective options are highlighted below.

Talk to a Healthcare Provider

Talking to a healthcare provider is essential to root out problems like diabetes, cardiovascular disease or high blood pressure. 

A healthcare provider might prescribe medication or recommend another type of treatment that may help to improve your health and sexual function. They can also help you identify medications that might have ED as a side effect.

If you’re not seeing the results you want, always talk with your healthcare provider about the ED medications you use and see if other options are available.

Consider ED Medications

Prescription medications for ED may sound scary to a 20-year-old, but as erectile dysfunction treatments go, they’re actually among the safest and most reliable options. 

Names like sildenafil (generic for Viagra), tadalafil (generic for Cialis), levitra (Vardenafil) and stendra (Avanafil) are FDA-approved medications available to treat erectile dysfunction.

These medications (called PDE5 inhibitors) work by inhibiting certain enzymes that may prevent your erection from getting started — but they’ve come a long way since your dad’s little blue pill days. For instance, our chewable ED meds hard mints make taking ED medication easy and convenient.

Choose your chew

Sildenafil Chews

The same active ingredients as Viagra®. Starts working in 30 minutes and lasts up to 6 hours.

Tadalafil Chews

Same active ingredient as Cialis®. Starts working in 1 hour and lasts up to 24 hours.

Vardenafil Hard Mints

Exclusively at Hims, starts working in 15 minutes and lasts up to 6 hours. Same active ingredients as Levitra®.

Strive for a Healthier Lifestyle

If you’re trying to fix ED or learn how to prevent ED, your lifestyle may have the biggest clues to offer about what needs attention.

Making changes to your habits and lifestyle to improve your health may help treat erectile dysfunction and boost your sexual performance. If you’re in your 20s and have symptoms of ED, try making the following changes:

  • If you’re obese or overweight, try to lose weight. 

  • Avoid consuming too much alcohol. 

  • If you smoke, quit.

  • Eliminate your drug use — for ED treatment and your general well-being.

One thing you may also want to consider is pelvic floor exercises. There’s some evidence that pelvic floor exercises may help improve erectile function.

We dug into the science behind these exercises and put together a list of basic movements you can do at home in our guide to ED exercises.

Put Your Mental Health First

You can put your mental health first in several ways, including:

  • Taking steps to manage stress and anxiety. Treatment options such as counseling, sex therapy and sexual performance anxiety therapy may help you get over performance anxiety and other psychological causes of ED.

  • Working on low self-esteem. Self-esteem issues may cause some penile problems in the form of performance anxiety for young people engaging in sexual activity.

  • Limiting your porn consumption. If you think porn might be affecting your erections and sexual performance, try watching it less than you normally do — or make an effort to avoid watching porn entirely. It may also help to talk to a therapist.

  • Talking to your partner. Sometimes, talking to your partner can help reduce anxiety and improve intimacy in the bedroom. Our guide to talking to your partner about ED explains how to make sexual performance-focused conversations easier.

And if you’re already dealing with mental health issues, remember that some antidepressants may cause ED — something you’ll want to discuss with a healthcare provider. But don’t discontinue using them without medical advice.

Sildenafil citrate

Get hard for 95% cheaper than Viagra

Dealing With ED in Your 20s

Although erectile dysfunction is more prevalent in older men, it’s normal and far from uncommon to experience difficulty getting or maintaining an erection in your 20s. 

Dealing with ED can be stressful, especially when it affects budding relationships or a sex life that’s newer than your car. Here are some fast facts about the issue:

  • Yes, ED can affect men in their 20s.

  • One common problem for young men is psychological ED, which doesn’t have a physical component.

  • Luckily, almost all cases of ED are treatable with a combination of FDA-approved medications and lifestyle changes.

  • Solutions like online therapy and online psychiatry can help with the mental conflicts keeping you from getting hard.

If you’re in your 20s and have ED, don’t be afraid of talking to a healthcare provider. You’re not alone in your problem, and they can help you understand your options. We can help in the meantime.

Concerned about erectile dysfunction? Our guide to the most common treatments for erectile dysfunction goes into greater detail about the options available for treating ED and improving your sexual performance.

25 Sources

  1. United States Census Bureau. Census Bureau Releases New 2020 Census Data on Age, Sex, Race, Hispanic Origin, Households and Housing. (2023, May).
  2. Capogrosso P, et al. One patient out of four with newly diagnosed erectile dysfunction is a young man--worrisome picture from the everyday clinical practice. J Sex Med. (2013, Jul.).
  3. U.S. Department of Health and Human Services. (n.d.-a). Definition & Facts for erectile dysfunction - NIDDK. National Institute of Diabetes and Digestive and Kidney Diseases.
  4. Dean, R. C., & Lue, T. F. (2005). Physiology of penile erection and pathophysiology of erectile dysfunction. The Urologic clinics of North America, 32(4), 379–v.
  5. U.S. Department of Health and Human Services. (n.d.-f). Treatment for erectile dysfunction - NIDDK. National Institute of Diabetes and Digestive and Kidney Diseases.
  6. U.S. Department of Health and Human Services. (n.d.-a). Definition & Facts for erectile dysfunction - NIDDK. National Institute of Diabetes and Digestive and Kidney Diseases.
  7. Dorey, G., Speakman, M.J., Feneley, R.C.L., Swinkels, A. and Dunn, C.D.R. (2005), Pelvic floor exercises for erectile dysfunction. BJU International, 96: 595-597.
  8. Dhaliwal A, Gupta M. PDE5 Inhibitors. [Updated 2023 Apr 10]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2023 Jan-. Available from:
  9. Park, B. Y., Wilson, G., Berger, J., Christman, M., Reina, B., Bishop, F., Klam, W. P., & Doan, A. P. (2016). Is Internet Pornography Causing Sexual Dysfunctions? A Review with Clinical Reports. Behavioral sciences (Basel, Switzerland), 6(3), 17.
  10. Maiorino, M. I., Bellastella, G., & Esposito, K. (2014). Diabetes and sexual dysfunction: current perspectives. Diabetes, metabolic syndrome and obesity : targets and therapy, 7, 95–105.
  11. Nunes, K. P., Labazi, H., & Webb, R. C. (2012). New insights into hypertension-associated erectile dysfunction. Current opinion in nephrology and hypertension, 21(2), 163–170.
  12. Ayta, I. A., McKinlay, J. B., & Krane, R. J. (1999). The likely worldwide increase in erectile dysfunction between 1995 and 2025 and some possible policy consequences. BJU international, 84(1), 50–56.
  13. Del Río, F. J., Cabello, F., & Fernández, I. (2015). Influence of substance use on the erectile response in a sample of drug users. International journal of clinical and health psychology : IJCHP, 15(1), 37–43.
  14. Moon KH, Park SY, Kim YW. Obesity and Erectile Dysfunction: From Bench to Clinical Implication. World J Mens Health. (2019).
  15. Dubey, R. K., Oparil, S., Imthurn, B., & Jackson, E. K. (2002). Sex hormones and hypertension. Cardiovascular Research, 53(3), 688-708.
  16. Sanders, S. A., Hill, B. J., Janssen, E., Graham, C. A., Crosby, R. A., Milhausen, R. R., & Yarber, W. L. (2015). General Erectile Functioning among Young, Heterosexual Men Who Do and Do Not Report Condom-Associated Erection Problems (CAEP). The Journal of Sexual Medicine, 12(9), 1897-1904.
  17. Betjes, E. (2014, January 7). What are condom-associated erection problems (CAEP)?. ISSM.
  18. Lee, A. C., Ho, L. M., Yip, A. W., Fan, S., & Lam, T. H. (2010). The effect of alcohol drinking on erectile dysfunction in Chinese men. International Journal of Impotence Research, 22(4), 272-278.
  19. Pyke R. E. (2020). Sexual Performance Anxiety. Sexual medicine reviews, 8(2), 183–190.
  20. Kovac, J. R., Labbate, C., Ramasamy, R., Tang, D., & Lipshultz, L. I. (2015). Effects of cigarette smoking on erectile dysfunction. Andrologia, 47(10), 1087–1092.
  21. Gades, N. M., Jacobson, D. J., McGree, M. E., St Sauver, J. L., Lieber, M. M., Nehra, A., Girman, C. J., Klee, G. G., & Jacobsen, S. J. (2008). The associations between serum sex hormones, erectile function, and sex drive: the Olmsted County Study of Urinary Symptoms and Health Status among Men. The journal of sexual medicine, 5(9), 2209–2220.
  22. Akil, L., & Ahmad, H. A. (2011). Relationships between obesity and cardiovascular diseases in four southern states and Colorado. Journal of health care for the poor and underserved, 22(4 Suppl), 61–72.
  23. Schwarcz, M., Swerdloff, R. S., & Wang, C. (2009). Obesity, low testosterone levels and erectile dysfunction. International Journal of Impotence Research, 21(2), 89-98.
  24. U.S. Food and Drug Administration (FDA). How Smoking Affects Heart Health. (2021).
  25. American Heart Association. How Smoking and Nicotine Damage Your Body. (2023).
Editorial Standards

Hims & Hers has strict sourcing guidelines to ensure our content is accurate and current. We rely on peer-reviewed studies, academic research institutions, and medical associations. We strive to use primary sources and refrain from using tertiary references. See a mistake? Let us know at [email protected]!

This article is for informational purposes only and does not constitute medical advice. The information contained herein is not a substitute for and should never be relied upon for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment. Learn more about our editorial standards here.

Kristin Hall, FNP

Kristin Hall is a board-certified Family Nurse Practitioner with decades of experience in clinical practice and leadership. 

She has an extensive background in Family Medicine as both a front-line healthcare provider and clinical leader through her work as a primary care provider, retail health clinician and as Principal Investigator with the NIH

Certified through the American Nurses Credentialing Center, she brings her expertise in Family Medicine into your home by helping people improve their health and actively participate in their own healthcare. 

Kristin is a St. Louis native and earned her master’s degree in Nursing from St. Louis University, and is also a member of the American Academy of Nurse Practitioners. You can find Kristin on LinkedIn for more information.

Read more