Content
Enjoy sex like you used to
Sudden erectile dysfunction (ED) can be frustrating and downright scary regardless of when it happens, but if you’re a college guy googling “sudden erectile dysfunction at 21 years old,” we can see why you might initially panic.
ED is sometimes a canary in the coal mine — a red flag that can signal issues caused by underlying health conditions. That’s not always the case though. Sudden loss of erection also can happen when you’re feeling particularly stressed or anxious, exhausted after a long day or simply not in the mood.
In many cases, the problem is a one-time thing. But if you’re seeing sudden ED become a recurring trend, you’ll want to check out the information on causes and treatments (and when to worry) that we’ve assembled below.
Content
Sudden erectile dysfunction is a condition in which a man loses his erection during sex, or is spontaneously unable to become aroused after previously having no problems.
Sudden ED isn’t really a medical term though. Although it is differentiated in some medical research to refer to spontaneous loss of erection or losing an erection in the middle of sex, the truth is that while you may feel the onset of ED symptoms is sudden, the problems may have been building for some time.
In that case, you might simply have erectile dysfunction — one of the most common sexual health issues reported by men. Though ED may not be immediately life-threatening, it can be frustrating and, in some cases, a symptom of an underlying health problem.
ED affects as many as 30 million men in the U.S. And it becomes more common for older men, too — it affects roughly 10 percent of men for each decade of life after age forty.
Any man can develop erectile dysfunction at any time, but you’re more likely to develop ED if you have an underlying physical or mental health issue, take certain medications, have certain health-related factors (like smoking or obesity) or are over a certain age.
What causes an erection to suddenly go away or stop appearing altogether? There are actually many potential causes. When ED happens without warning, it may stem from psychological issues like stress or health conditions associated with lifestyle, or it may be the result of a medication or other chemical, like alcohol.
While erectile dysfunction typically develops over time, it can occur suddenly and unexpectedly as well. These two types of ED may have different underlying causes.
In ED that develops gradually, the underlying cause is often tied to health issues related to the circulatory or nervous system. For instance, this might include vascular issues that impact the blood vessels like atherosclerosis or high blood pressure, or an injury to the penis, prostate or bladder. Prostate cancer treatment can also have an impact on erectile health.
Cases of sudden sexual dysfunction, however, are more likely related to a side effect of medication, some kind of psychological issue or lifestyle factors.
For instance, issues like sexual performance anxiety or low self-esteem can take you out of the moment or keep you from getting hard.
Meanwhile, medications that can cause ED include sedatives, appetite suppressants and antidepressants. Similarly, drug use or excessive alcohol consumption could also cause erectile dysfunction that happens all of a sudden.
Untreated ED can exacerbate feelings of depression, anxiety and low self-esteem. It can also have a negative impact on your sex life and your intimate relationships. So if you’re experiencing sudden ED, don’t delay in speaking to your physician.
Every man is different and so is every case of erectile dysfunction. In talking to your healthcare provider about your concerns, you may even find that your ED is linked to more than one underlying cause. In many cases, it takes a combination of multiple erectile dysfunction treatment options to find a consistent and satisfactory solution.
Here are some of the things you might try to overcome your erectile dysfunction.
There isn’t a specific diet suggested for the treatment of ED, but focusing on foods designed to support cardiovascular health may help. Research has shown that a diet rich in foods like lean protein, whole grains, fruits and vegetables is associated with a lower risk of erectile dysfunction. (As a bonus, it helps your cholesterol as well.)
Regular exercise has been shown to have positive effects for men with erectile dysfunction. In a 2018 review, researchers explored the benefits of physical activity for vascular erectile dysfunction and concluded that 40 minutes of moderate to vigorous aerobic exercise four times a week could decrease erectile problems in men.
Exercise could also help with weight loss, which may prove beneficial as well, since obesity is a risk factor for erectile dysfunction. Being overweight or obese puts a great deal of stress on the body, and it can contribute to circulatory problems, which may exacerbate issues with ED.
Aside from vascular issues related to obesity, having a high waist circumference has been linked to a higher risk of erectile dysfunction. Excess body fat can also interfere with hormone levels, which could affect your sexual function.
Erectile dysfunction is a condition that often develops slowly over time due to underlying medical conditions affecting the nervous system, circulatory system or other systems in the body. Chronic diseases like type 2 diabetes, heart disease, multiple sclerosis and Peyronie’s disease can all contribute to erectile dysfunction.
Talk to your healthcare provider if you’ve been diagnosed with one of these conditions or if you suspect an underlying health problem could be at play. They may review your medical history and perform a check-in on your overall health to see if anything is up.
Smoking and heavy drinking are also top contributors to erectile dysfunction, so one underlying condition you need to treat may be dependence. Lifestyle changes like reducing your tobacco and alcohol use while making healthy improvements to your diet and activity level may help your erectile function improve.
Many cases of erectile dysfunction are, at least in part, linked to psychological and emotional issues, a phenomenon known as psychological ED.
If you struggle with anxiety or depression, or if you experience stress related to sex, it may help to speak to a licensed therapist. Your therapist can help you identify and work through mental and emotional issues that may be contributing to your ED.
It may also help to bring your partner into some of your counseling sessions, so the two of you can learn how to work through issues together.
Counseling is often recommended for patients who are also undergoing treatment for physical or medical causes of ED. And if one type of therapy isn’t working, there are a number of different types of therapy that you can try.
Sometimes, the medication you're taking is the cause of sudden ED. Certain medications — particularly those for diabetes or heart conditions — can increase your risk of erectile dysfunction.
If you suspect your medications are contributing to your ED, talk to your healthcare provider about adjusting your dosage or making a switch.
You may also want to consider adding medications for treating ED to your life. The U.S. Food and Drug Administration (FDA) has approved several medications for the treatment of ED.
PDE5-inhibitors like sildenafil (the generic for Viagra®), tadalafil (Cialis®), and vardenafil (Levitra®) work by relaxing the smooth muscles in the penis and increasing blood flow during sexual stimulation.
If a pill is not your thing, we also offer convenient chewable ED med mints for guys on the go who want fresh breath with their hard erections.
Testosterone replacement therapy could also help if you have low testosterone.
It’s not at all out of the ordinary to experience ED from time to time. Maybe it’s because of a hard night of drinking, or maybe your mind is still back at the office. When it happens once, the best advice we can give you is to relax, give yourself a break, rest up and offer your partner some attention in the meantime.
After the first time, however, the issue is on its way to becoming a pattern. Sudden loss of erection can indicate a serious problem if it’s a repeat occurrence.
Luckily, it’s also seriously treatable. Keep the following in mind as you navigate this phase of penile performance problems:
Erectile dysfunction and other sexual health concerns are often treatable, but the first step is diagnosing the underlying cause.
Once you have a better understanding of the factors contributing to your ED, you can work with your physician to find the right ED treatment option for you.
To learn more about the causes of ED, including the psychological causes of ED like sexual performance anxiety, check out or blogs. We also offer online therapy for people struggling with double trouble like depression and ED .
Whatever treatment method you choose, you should also communicate with your partner about your ED. While it can feel difficult to talk about sex — especially when it involves a potentially embarrassing subject like ED — you may find that the simple act of opening up to your partner helps relieve some of the stress and anxiety you’ve been feeling.
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]!
Dr. Kelly Brown is a board certified Urologist and fellowship trained in Andrology. She is an accomplished men’s health expert with a robust background in healthcare innovation, clinical medicine, and academic research. Dr. Brown was previously Medical Director of a male fertility startup where she lead strategy and design of their digital health platform, an innovative education and telehealth model for delivering expert male fertility care.
She completed her undergraduate studies at University of North Carolina at Chapel Hill (go Heels!) with a Bachelor of Science in Radiologic Science and a Minor in Chemistry. She took a position at University of California Los Angeles as a radiologic technologist in the department of Interventional Cardiology, further solidifying her passion for medicine. She also pursued the unique opportunity to lead departmental design and operational development at the Ronald Reagan UCLA Medical Center, sparking her passion for the business of healthcare.
Dr. Brown then went on to obtain her doctorate in medicine from the prestigious Northwestern University - Feinberg School of Medicine and Masters in Business Administration from Northwestern University - Kellogg School of Management, with a concentration in Healthcare Management. During her surgical residency in Urology at University of California San Francisco, she utilized her research year to focus on innovations in telemedicine and then served as chief resident with significant contributions to clinical quality improvement. Dr. Brown then completed her Andrology Fellowship at Medical College of Wisconsin, furthering her expertise in male fertility, microsurgery, and sexual function.
Her dedication to caring for patients with compassion, understanding, as well as a unique ability to make guys instantly comfortable discussing anything from sex to sperm makes her a renowned clinician. In addition, her passion for innovation in healthcare combined with her business acumen makes her a formidable leader in the field of men’s health.
Dr. Brown is an avid adventurer; summiting Mount Kilimanjaro in Tanzania (twice!) and hiking the incredible Torres del Paine Trek in Patagonia, Chile. She deeply appreciates new challenges and diverse cultures on her travels. She lives in Denver with her husband, two children, and beloved Bernese Mountain Dog. You can find Dr. Brown on LinkedIn for more information.
Education & Training
Andrology Fellowship, Medical College of Wisconsin
Urology Residency, University of California San Francisco
M.D. Northwestern University Feinberg School of MedicineB.S. in Radiologic Science, Chemistry Minor, University of North Carolina at Chapel Hill
Published as Kelly Walker
Cowan, B, Walker, K., Rodgers, K., Agyemang, J. (2023). Hormonal Management Improves Semen Analysis Parameters in Men with Abnormal Concentration, Motility, and/or Morphology. Fertility and Sterility, Volume 118, Issue 5, e4. https://www.sciencedirect.com/journal/fertility-and-sterility/vol/120/issue/1/suppl/S
Walker, K., Gogoj, A., Honig, S., Sandlow, J. (2021). What’s New in Male Contraception? AUA Update Series, Volume 40. https://auau.auanet.org/content/update-series-2021-lesson-27-what%E2%80%99s-new-male-contraception
Walker, K., Shindel, A. (2019). AUA Erectile Dysfunction Guideline. AUA Update Series, Volume 38. https://auau.auanet.org/content/course-307
Walker, K., Ramstein, J., & Smith, J. (2019). Regret Regarding Fertility Preservation Decisions Among Male Cancer Patients. The Journal of Urology, 201(Supplement 4), e680-e681. https://www.auajournals.org/doi/10.1097/01.JU.0000556300.18991.8e
Walker, K., & Smith, J. (2019). Feasibility Study of Video Telehealth Clinic Visits in Urology. The Journal of Urology, 201(Supplement 4), e545-e545. https://www.auajournals.org/doi/10.1097/01.JU.0000556071.60611.37