Get Hard or Your Money Back. Start here

Erectile Dysfunction: Symptoms, Causes & Treatments Men Must Know

Kristin Hall, FNP

Medically reviewed by Kristin Hall, FNP

Written by Our Editorial Team

Last updated 2/2/2022

As a man, it’s normal to have trouble getting or keeping an erection occasionally. However, if you frequently find it difficult to get an erection or maintain a firm enough erection to have sex, you might have erectile dysfunction (ED).

What is Erectile Dysfunction?

Erectile dysfunction is the inability for a man to get and maintain an erection that’s firm enough to have penetrative sex. ED is also referred to as impotence, but the term “impotence” is used less often when referring to this common condition.

Erectile dysfunction affects around 30 million men in the United States and hundreds of millions worldwide. According to data from the Massachusetts Male Aging Study (MMAS), 52 percent of men aged between 40 and 70 have mild to moderate ED.

Although the term “ED” is often associated with a complete inability to get an erection, the reality of erectile dysfunction is that it can vary in severity. You may have ED if you

  • Can get a normal erection, but find it difficult to maintain it during sex

  • Find it difficult to get an erection every time you want to have sex

  • Can’t get an erection at all, even when you’re sexually stimulated

Our article on how to know if you have ED goes more into detail on this.

For some men, ED is a short-term problem that happens every now and then. For others, it may be a long-term issue that develops over the course of years or decades.

Erectile dysfunction can occur for a variety of reasons. Sometimes, a psychological issue such as stress or feelings of guilt can trigger ED. In other cases, ED can be a sign that you may also have an underlying health problem.

Certain habits, such as your use of tobacco products, medications or alcohol can also contribute to erection issues and make it harder for you to maintain a fulfilling sex life.

When ED occurs at a bad moment, it can hurt your self-confidence. Luckily, erectile dysfunction is one of the easiest forms of sexual dysfunction to treat, either with FDA-approved medications, non-pharmaceutical treatments or a mix of both.

How Erections Work

While getting an erection may seem simple, like many other bodily functions, it’s actually kind of amazing. 

From a physical standpoint, your penis grows in size when you’re sexually aroused as the result of a complex sequence of events and balancing act that involves your nervous system, vascular system and -- you guessed it -- the erectile tissue of your penis.

Here’s what’s going on:

  • Inside your penis, there are two erectile chambers called the corpora cavernosa. These areas of soft tissue run along the left and right sides of your penis, extending all the way from your pelvis to the head of your penis (the glans penis).

  • When you’re sexually aroused due to physical or mental stimulation, your brain initiates an erection by sending chemical messages to the penis. This causes the muscles of the corpora cavernosa to relax and allows blood to flow into the tissue.

  • One particular chemical (cyclic GMP/cGMP) relaxes the corpora cavernosa and allows blood to flow into the base of the penis. As blood flows into the soft tissue of the penis, it expands and becomes firmer.

  • As the penis expands, a fibrous membrane called the tunica albuginea wraps around the corpora cavernosa, stopping blood flow from flowing out of the penis and maintaining the erection during sex.

  • Following orgasm and ejaculation, the process occurs in reverse. The muscles inside the penis start to contract, stopping blood flow into the tissue and promoting blood flow back into the circulatory system.

Like many other bodily functions we take for granted, this all happens behind the scenes while you’re focused on, well, more interesting things going on in front of you.

Erections can last from less than one minute to one hour or longer. Our guide to how long your erection should last goes into more detail about the process of developing an erection, as well as steps that you can take to maintain your erections for longer.

Symptoms of Erectile Dysfunction

The most common symptom of erectile dysfunction is is exactly what you’d expect -- difficulty getting and/or maintaining an erection during sex. If your ED is persistent, it can also cause mental symptoms, such as reduced confidence and less interest in sexual activity. 

Below, we’ve listed several of the most common symptoms of erectile dysfunction, as well as how each one may affect you.

Difficulty Getting an Erection

One of the most obvious signs of ED is difficulty getting an erection. You might find it difficult to get hard, even if you’re in the mood for sex. In some cases, you might find it challenging to get any erection, while in others you may find it difficult to get a firm enough erection for sex.

Difficulty Maintaining an Erection

In addition to making it difficult to get an erection, ED can involve difficulty keeping an erection during sexual intercourse.

Even if you can get an erection before sexual activity without much difficulty, you may find that it’s difficult to stay hard while you’re having sex. Even if you don’t fully lose your erection, you may notice that your penis becomes less firm during sexual intercourse.

This loss of penile firmness can affect your enjoyment of sex and may make it difficult to reach orgasm and ejaculate. 

Loss of Interest in Sexual Activity

Because of its effects on sexual performance, erectile dysfunction can cause sometimes result in psychological problems, such as sexual performance anxiety, depression or a reduced level of interest in sex.

When ED is severe or persistent, it can also affect your relationships and contribute to reduced intimacy and an unfulfilled sex life.

Painful Penile Erections

Sometimes, erectile dysfunction can develop because of Peyronie’s disease -- a condition that involves a curve in the penis caused by scar tissue. When ED occurs with Peyronie’s disease, it can involve painful erections.

get hard, stay hard

genuine Viagra® makes it possible

I Think I Have ED. When Should I See My Healthcare Provider?

If you’re worried about erectile dysfunction, it’s best to talk to your healthcare provider as soon as you experience multiple incidents in which you find it difficult to develop and/or maintain an erection during sex.

It’s especially important to talk to your healthcare provider if you’ve had persistent difficulty with erections that’s lasted for several months.

It’s common to deal with occasional issues maintaining an erection, especially if you’ve recently consumed alcohol or taken other medication prior to sex. If you find it difficult to get or maintain an erection once every few weeks or months, you may not have clinical ED.

However, it’s important to seek help if you frequently experience these symptoms. ED is highly treatable, and getting expert help early can help you to identify its cause and work out the most effective ED solution

Erectile Dysfunction Causes

Erectile dysfunction can occur for a range of reasons. Sometimes, it’s caused by one or several physical problems that affect blood flow or nerve function. In other cases, it may be caused by a psychological issue that affects your self-confidence or sexual arousal.

Physical Causes of Erectile Dysfunction

Since erections depend on proper nerve function and healthy, consistent blood flow, a variety of physical issues can potentially cause ED. Physical causes of erectile dysfunction include:

  • Cardiovascular disease. Because blood flow plays such an important role in erections, common forms of heart disease such as ​​coronary artery disease (CAD) are often linked to erectile dysfunction.

  • Hypertension (high blood pressure). Elevated blood pressure can damage your blood vessels and reduce blood flow throughout your body. This may cause or worsen erectile dysfunction.

  • Atherosclerosis (clogged arteries). When your arteries become clogged due to plaque buildup from high cholesterol, it can affect blood flow. This can cause or worsen erectile dysfunction.

  • Diabetes. Erectile dysfunction is closely associated with diabetes. Both type 1 and type 2 diabetes can reduce blood circulation and nerve function, both of which are important for healthy erections.

  • Chronic kidney disease. Having kidney disease can significantly increase your risk of developing erectile dysfunction. Approximately 70 percent of men with end stage renal disease are affected by ED.

  • Hormonal imbalances. Some hormonal conditions, such as hypothyroidism (low levels of thyroid hormone) and hyperthyroidism (high levels of thyroid hormone) are associated with ED. Low testosterone levels may also play a role in erectile dysfunction.

  • Multiple sclerosis (MS). Erectile dysfunction is common in men with multiple sclerosis, often as a result of neurological complications, psychological factors and side effects of some multiple sclerosis medications.

  • Metabolic syndrome. Research has linked ED with metabolic syndrome, a combination of diabetes, high blood pressure and obesity. Metabolic syndrome is associated with an elevated risk of heart disease and stroke.

  • Parkinson’s disease. Parkinson’s disease is linked with several sexual health problems in men, including a reduced level of sexual interest, ejaculation disturbances and erectile dysfunction.

  • Physical damage to the penis. Damage to the penis and surrounding area, whether it’s from prostate/bladder surgery, radiation therapy or injuries, can affect nerve function and blood flow and potentially cause erectile dysfunction.

  • Sleep disorders. Some sleep disorders, such as obstructive sleep apnea, are linked to erectile dysfunction. One study found that 51 percent of men with sleep apnea also had some degree of ED.

  • Medications. Some medications, including blood pressure medications, medications for prostate cancer therapy, antidepressants, prescription sleep aids, ulcer medications and appetite suppressants, can cause or contribute to ED. 

Psychological Causes of Erectile Dysfunction

Sexual arousal is both physical and psychological. When you’re feeling mentally unwell or under stress, you may find it harder to get an erection. Psychological causes of ED include:

  • Depression. Depression often causes sexual symptoms, including a reduced libido and difficulties with sexual arousal. If you’re depressed, you may find it more difficult to get an erection before and during sex.

  • Sexual performance anxiety. It’s normal to occasionally feel anxious about sex. When this anxiety is overly severe or persistent, it may affect your ability to get and maintain an erection.

  • Feelings of guilt about sex. You might find it harder to relax and achieve an erection if you feel guilty about certain types of sexual activity, or about engaging in sexual activity at all.

  • Relationship issues. If you’re going through relationship issues that affect your level of trust in or attraction to your partner, this could affect your sexual function and contribute to erectile dysfunction.

  • Pornography usage. Although the link between porn and erectile dysfunction isn’t quite crystal clear, some research suggests that problematic porn consumption may lead to a form of erectile dysfunction called porn-induced ED.

Our guide to the psychological causes of erectile dysfunction goes into greater detail about how the factors above may affect your erections and sexual performance. 

ED treatments, delivered

Generic for Viagra (sildenafil)

The more affordable FDA-approved medication that treats Erectile Dysfunction at a quarter of the cost. 🙌

Generic for Cialis (tadalafil)

Affordable and helps get the job done. Generic Cialis helps you get and maintain your erections through a simple, daily dosage.


The OG Little Blue Pill that made its name as the first prescription Erectile Dysfunction treatment.


Cialis helps you get and keep stronger erections with a daily or as-needed pill.

Risk Factors for Erectile Dysfunction

Erectile dysfunction can potentially affect men of all ages and backgrounds. However, like with other medical conditions, certain factors may increase your risk of developing ED.

Common risk factors for erectile dysfunction include: 

  • Age. Erectile dysfunction becomes more common with age. In one review, researchers noted that men have a roughy 40 percent chance of developing ED by age 40, with this risk increasing by 10 percent with each additional decade.

  • Obesity. Weight and erectile dysfunction are closely linked. Research shows that many men presenting with ED have a high BMI, and that your risk of developing ED increases by a substantial amount if you’re overweight or obese.

  • Tobacco use. Nicotine and other chemicals inside cigarettes, cigars and other tobacco products can damage your cardiovascular system. If you smoke, you have a higher risk of developing erectile dysfunction.

  • Alcohol consumption. While the occasional drink won’t harm your sexual functioning, consuming large amounts of alcohol or drinking on a regular basis may cause erectile dysfunction.

  • Recreational drug use. Both legal and illegal drugs can affect your sexual health and contribute to ED. For example, use of marijuana is linked to several sexual problems, including erectile dysfunction.

  • Lack of physical activity. You may have a higher risk of developing ED if you get little or no exercise. Living a sedentary lifestyle is also associated with other risk factors for ED, such as obesity and vascular disease.

Our full guide to erectile dysfunction risk factors discusses these issues and the effects they can have on your sexual health in more detail. 

Erectile Dysfunction Diagnosis

If you think you have erectile dysfunction, it’s best to speak to a healthcare provider. You can do this by talking to your primary care provider about your worries, scheduling an appointment with a urologist or by talking to a provider online about erectile dysfunction treatments

To diagnose erectile dysfunction, your healthcare provider may ask about ED symptoms you’ve experienced and how long they’ve persisted. You may also be asked about your sexual history, general medical history and lifestyle to see if you have any risk factors for ED.

Your healthcare provider may ask you if you get morning erections, if you’re able to maintain an erection during sex or about your sexual self-confidence.

While talking about these subjects may feel embarrassing, it’s important to give as much detail as you can. Remember that ED is a common issue and that your healthcare provider has likely asked these questions hundreds of times before. 

Your healthcare provider may perform a physical exam. During this exam, they may check your penis and testicles for signs of reduced sensation. They may also check for signs of damage to your penis, or for signs of hormonal issues such as extra body hair or puffy breast tissue.

To check for cardiovascular risk factors for ED, your healthcare provider may record your blood pressure and/or take your pulse in your extremities.

You may be asked to complete a test for ED. Several tests are used to diagnose ED and identify potential causes, including:

  • Blood tests. You may need to provide a blood sample. Blood testing can help to show health issues such as clogged arteries, diabetes, chronic kidney disease and hormonal problems that can cause or contribute to erectile dysfunction.

  • Imaging test. If your healthcare provider suspects your ED is caused by low blood flow to your penis, they may perform an imaging test called a Doppler ultrasound. This type of test measures arterial flow through the blood vessels inside your penis.

  • Injection test. This type of test, called intracavernosal injection, involves injecting your penis with an erectile dysfunction medication. Your healthcare provider might use this test to identify the cause of your erectile dysfunction.

  • Nocturnal erection test. Your healthcare provider may provide you with a small plastic device to wear around your penis while you sleep. This type of test helps to check if you are physically able to have nighttime erections.

Most of these tests are performed in your healthcare provider’s office. You may need to perform several tests to help your healthcare provider accurately diagnose erectile dysfunction and work out the most effective form of treatment. 

Treatment Options for Erectile Dysfunction

Although erectile dysfunction can be a frustrating issue when it occurs, it’s usually an easy one to treat. 

To treat ED, your healthcare provider will look at your symptoms and the potential cause of your erectile dysfunction. Based on your needs, they may prescribe ED medication, suggest therapy or recommend a combination of different treatment approaches. 

Erectile Dysfunction Medication

Erectile dysfunction is typically treated with oral medication. Currently, there are several drugs for ED that have received approval from the FDA. The most common are sildenafil (the active ingredient in Viagra®), tadalafil (Cialis®), vardenafil (Levitra®) and avanafil (Stendra®).

These medications belong to a class of drugs called PDE5 inhibitors, which work by increasing blood flow to the tissue inside your penis. This makes it easier to get an erection after sexual stimulation. Currently, all are prescription medications. 

All of these medications are common first-line treatment options for ED. However, there are a few key differences between them that may make one a better choice for you than others: 

  • Sildenafil is the most common ED medication on the market. It’s been available since 1998 and is available as a generic or as Viagra. It works in 30 to 60 minutes and offers relief from erectile dysfunction for approximately four hours.

  • Tadalafil is a longer-acting ED medication that’s available as a generic and as Cialis. A typical dose of tadalafil starts working in about one hour and may provide relief from ED for up to 36 hours.

  • Vardenafil is a short-acting ED medication that’s available as a generic or as Levitra. It has similar effects to sildenafil, but typically lasts for slightly longer.

  • Avanafil is a newer, more selective ED medication. It starts working in 15 to 30 minutes and is less likely to cause side effects than older ED medications. Currently, avanafil is only available under the brand name Stendra

We offer several erectile dysfunction medications online, following a consultation with a licensed healthcare provider who will determine if a prescription is appropriate. 

Psychological ED Treatment

Erectile dysfunction isn’t always caused by physical factors. From depression to anxiety, many cases of erectile dysfunction have their root in mental health issues that can affect the way you think and feel about sex. 

Some mental health disorders may also weaken your sexual desire, which may have additional effects on your sexual response and performance. 

If your erectile dysfunction is linked to a psychological issue, there are several treatment options that may be effective. These include:

  • Sex therapy. This is a specialized form of counseling that’s intended to help people with sexual difficulties overcome them. Some research suggests that sex therapy may help to treat psychological ED.

  • Cognitive-behavioral therapy (CBT). This type of therapy involves learning techniques to change thought patterns and behavior. It’s sometimes combined with techniques used in sex therapy to treat issues such as erectile dysfunction.

  • Counseling. When erectile dysfunction is caused by anxiety or depression, talking with a therapist may help. You can take part in counseling locally or from your home using our online therapy services. 

Other ED Treatments

In addition to medication and therapy, other forms of treatment for erectile dysfunction can often produce benefits. These include:

  • Vacuum erection devices. Vacuum devices create an erection by pulling blood into the tissue inside your penis. You’ll typically need to use this type of device with a small ring to maintain your erection during sex.

  • Alprostadil. This medication is an injectable treatment for ED. It works by causing blood to flow into the penis. The effects of alprostadil are instant, making it a fast and effective option for when oral drugs for ED don’t work.

  • Penile implants. Also known as a penile prosthesis, an inflatable implant can be placed inside the penis to help create an erection. This type of device is installed surgically by a urologist or other medical professional.

  • Surgical treatment. If your ED is caused by arterial damage that causes venous outflow or a blockage, it may need vascular surgery. Surgery for ED is generally only used when prescription drugs and other forms of treatment aren’t effective.

  • Topical ED creams. Creams are one of several future treatment options for ED that are currently being studied. One cream, called Vitaros®, is sold as a prescription medication in the UK but has yet to receive FDA approval in the United States.

Erectile Dysfunction Prevention

Changing your lifestyle and habits can help prevent erectile dysfunction. If you already have ED, making healthy changes to your lifestyle may also improve your symptoms and help you to have a normal sex life without the use of medication.

You can reduce your risk of developing ED by:

  • Quitting smoking. Smoking damages your cardiovascular system and increases your risk of developing erectile dysfunction. It also makes you more likely to develop other health issues, including heart disease and cancer. If you smoke, try to quit.

  • Eating a balanced diet. Eating a healthy diet helps to keep your blood pressure in the normal range, which may help to prevent ED. Limiting your intake of foods high in fat, sodium and simple sugars can also help to prevent obesity.

  • Limit your alcohol consumption. It’s okay to enjoy a beer, glass of wine or cocktail on occasion. However, excessive drinking can contribute to ED. Try to limit your intake of alcohol to one or two small servings per day.

  • Avoid using illicit drugs. Many recreational drugs can affect your sexual performance, health and function. For example, some drugs may affect your ability to become aroused or contribute to psychological issues that can cause ED.

  • Keep yourself physically active. Working out improves your sexual function by making your heart stronger and increasing blood flow. Try to get at least 30 minutes of exercise every day, even if it’s just a brisk walk around your neighborhood.

generic viagra (sildenafil)

get hard or your money back

Learn More About Treating Erectile Dysfunction

Erectile dysfunction is a common issue. Luckily, it’s also a treatable one. By taking action early and talking to your healthcare provider, you can treat erectile dysfunction and enjoy a fulfilling, satisfying sex life. 

Interested in learning more about erectile dysfunction? Our guides to the most common erectile dysfunction medications, the main causes of erectile dysfunction and talking about ED with your partner cover three important aspects of treating ED. 

You can also access FDA-approved ED medications online via our telehealth platform following a consultation with a licensed healthcare provider.

35 Sources

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.

  1. Definition & Facts for Erectile Dysfunction. (2017, July). Retrieved from
  2. Yafi, F.A., et al. (2016). Erectile dysfunction. Nature Reviews Disease Primers. 2, 16003. Retrieved from ​​
  3. Symptoms & Causes of Erectile Dysfunction. (2017, July). Retrieved from
  4. Erection Ejaculation: How It Occurs. (2020, November 27). Retrieved from
  5. Dhaliwal, A. & Gupta, M. (2021, June 25). PDE5 Inhibitors. StatPearls. Retrieved from
  6. Levine, L.A. & Latchamsetty, K.C. (2002). Treatment of erectile dysfunction in patients with Peyronie's disease using sildenafil citrate. International Journal of Impotence Research. 14, 478-482. Retrieved from
  7. Penile Curvature (Peyronie's Disease). (2019, August). Retrieved from
  8. Atherosclerosis. (n.d.). Retrieved from
  9. Diabetes and Your Heart. (2021, May 7). Retrieved from
  10. Diabetes and Nerve Damage. (2021, May 7). Retrieved from
  11. Papadopoulou, E., et al. (2015, July 6). Erectile dysfunction in chronic kidney disease: From pathophysiology to management. World Journal of Nephrology. 4 (3), 379–387. Retrieved from
  12. Can thyroid problems contribute to erectile dysfunction (ED)? (n.d.). Retrieved from
  13. Landtblom, A.-M. (2006, June). Treatment of erectile dysfunction in multiple sclerosis. Expert Review of Neurotherapeutics. 6 (6), 931-5. Retrieved from
  14. Sanchez, E., Pastuszak, A.W. & Khera, M. (2017, February). Erectile dysfunction, metabolic syndrome, and cardiovascular risks: facts and controversies. Translational Andrology and Urology. 6 (1), 28–36. Retrieved from
  15. Metabolic Syndrome. (n.d.). Retrieved from
  16. Bronner, G. & Vodušek, D.B. (2011, November). Management of sexual dysfunction in Parkinson’s disease. Therapeutics Advances in Neurological Disorders. 4 (6), 375–383. Retrieved from
  17. Pascual, M., et al. (2018). Erectile dysfunction in obstructive sleep apnea patients: A randomized trial on the effects of Continuous Positive Airway Pressure (CPAP). PLoS One. 13 (8), e0201930. Retrieved from
  18. Kennedy, S.H. & Rizvi, S. (2009, April). Sexual dysfunction, depression, and the impact of antidepressants. Journal of Clinical Psychopharmacology. 29 (2), 157-64. Retrieved from
  19. Dwulit, A.D. & Rzymski, P. (2019, July). The Potential Associations of Pornography Use with Sexual Dysfunctions: An Integrative Literature Review of Observational Studies. Journal of Clinical Medicine. 8 (7), 914. Retrieved from
  20. Ferrini, M.G., Gonzalez-Cadavid, N.F. & Rajfer, J. (2017, February). Aging related erectile dysfunction—potential mechanism to halt or delay its onset. Translational Andrology and Urology. 6 (1), 20–27. Retrieved from
  21. Skrypnik, D., Bogdański P. & Musialik, K. (2014, February). Obesity--significant risk factor for erectile dysfunction in men. Polski Merkuriusz Lekarski. 36 (212), 137-41. Retrieved from
  22. Pizzol, D., et al. (2019, November-December). Relationship Between Cannabis Use and Erectile Dysfunction: A Systematic Review and Meta-Analysis. American Journal of Men's Health. 13 (6), 1557988319892464. Retrieved from
  23. Lavie, C.J., et al. (2019, February). Sedentary Behavior, Exercise, and Cardiovascular Health. Circulation Research. 124, 799–815. Retrieved from
  24. Diagnosis of Erectile Dysfunction. (2017, July). Retrieved from
  25. Dhaliwal, A. & Gupta, M. (2021, June 25). PDE5 Inhibitors. StatPearls. Retrieved from
  26. VIAGRA® (sildenafil citrate) tablets, for oral use. (2014, March). Retrieved from
  27. CIALIS (tadalafil) tablets, for oral use. (2011, October). Retrieved from
  28. LEVITRA (vardenafil hydrochloride) tablets, for oral use. (2014, April). Retrieved from
  29. STENDRA™ (avanafil) tablets, for oral use. (2012, April). Retrieved from
  30. Hellstrom, W.J., et al. (2015, August). Efficacy of Avanafil 15 Minutes after Dosing in Men with Erectile Dysfunction: A Randomized, Double-Blind, Placebo Controlled Study. Journal of Urology. 194 (2), 485-92. Retrieved from
  31. What happens during sex therapy? (n.d.). Retrieved from
  32. Bilal, A. & Abbasi, N.H. (2020, September). Cognitive Behavioral Sex Therapy: An Emerging Treatment Option for Nonorganic Erectile Dysfunction in Young Men: A Feasibility Pilot Study. Sexual Medicine. 8 (3), 396–407. Retrieved from
  33. Nobre, P.J. (2017). Treating Men's Erectile Problems. The Wiley Handbook of Sex Therapy. Retrieved from
  34. Treatment for Erectile Dysfunction. (2017, July). Retrieved from
  35. Preventing Erectile Dysfunction. (2017, July). Retrieved from

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.