How Do I Know If I Have Erectile Dysfunction?

Erectile dysfunction is defined as a consistent inability to get or maintain an erection firm enough for satisfying sex, and the key word is “consistent.” Every man occasionally has trouble with erections, whether from stress, alcohol, fatigue, or just an off night. That’s normal. ED becomes a medical concern when the pattern persists for three months or longer and happens regularly, not just once in a while.

About 22% of men experience moderate to complete ED by age 40, and that number rises to roughly 49% by age 70. Even among men under 40, somewhere between 5% and 10% deal with erectile difficulties. So if you’re noticing a pattern, you’re far from alone, and there are concrete ways to figure out what’s going on.

What Counts as Erectile Dysfunction

The clinical threshold isn’t complicated. If you consistently can’t get an erection, can’t keep one long enough for sex, or notice your erections are significantly less firm than they used to be, and this has been happening for at least three months, that meets the medical definition. Occasional difficulty doesn’t qualify. A bad week after a stressful event at work isn’t ED. A persistent pattern over months is.

Severity exists on a spectrum. Some men can still get partial erections but not firm enough for penetration. Others lose their erection partway through sex. Some can’t get one at all. About 10% of men between 40 and 70 have complete ED, meaning erections don’t happen at all, while another 25% in that age range have moderate or intermittent problems. Knowing where you fall on that spectrum helps determine what kind of evaluation and treatment makes sense.

The Morning Erection Test

One of the simplest clues to whether your problem is physical or psychological is what happens when you’re not trying to have sex. If you still wake up with erections in the morning, still get firm erections during masturbation, or notice spontaneous erections throughout the day, your body is showing it can still do its job. The plumbing works. The issue is more likely situational, meaning something about the context of partnered sex is interfering.

If morning erections have disappeared or become noticeably weaker, that points more toward a physical cause: reduced blood flow, nerve damage, low testosterone, or a side effect of medication. This distinction isn’t perfect, and many men have a mix of physical and psychological factors, but it’s a useful starting point.

Situational ED vs. Ongoing ED

Situational erectile dysfunction is when erections work fine in some settings but not others. The classic version: a man can get and maintain an erection during masturbation but struggles during partnered sex. This pattern strongly suggests a psychological or relational component, because the body has already proven it can produce an erection.

The most common driver is a mental loop that sexual medicine specialists call “spectatoring.” Instead of being immersed in the experience, you mentally step outside it and start monitoring yourself. You check how firm your erection is every few seconds, interpret any slight fluctuation as the beginning of failure, and that anxiety itself becomes what kills the erection. It’s a self-fulfilling prophecy: the fear of losing your erection is exactly what makes you lose it.

This loop tends to build over time. It starts with one bad experience, which creates anticipatory anxiety before the next encounter, which triggers more monitoring, which causes another failure, which deepens the fear. Relationship tension, unresolved conflict, shame about previous episodes, or pressure around sexual frequency can all feed into it. Situational ED is real and worth addressing, but it’s a different problem from ED caused by vascular disease or hormonal deficiency, and it responds to different approaches.

Physical Signs That Point to a Medical Cause

Certain patterns suggest your erectile difficulty has a physical origin. A gradual decline in erection quality over months or years (rather than a sudden onset tied to a life event) is one of the strongest indicators. Physical ED also tends to affect all situations equally. You don’t get good erections during masturbation and bad ones with a partner; erections are consistently weaker across the board.

Several health conditions are closely linked to ED because they damage blood vessels or nerves:

  • Diabetes: high blood sugar damages both small blood vessels and the nerves that trigger erections
  • Heart disease and high blood pressure: reduced blood flow to the penis mirrors reduced blood flow elsewhere in the body
  • High cholesterol: fatty deposits narrow arteries, including the ones supplying the penis
  • Obesity: contributes to hormonal changes, inflammation, and vascular problems
  • Low testosterone: reduces sex drive and can impair the erection process itself

In fact, ED is sometimes the first warning sign of cardiovascular disease. The arteries supplying the penis are smaller than those supplying the heart, so they tend to show the effects of plaque buildup earlier. Men who develop ED with no obvious psychological explanation should consider it a reason to get their heart health checked.

A Quick Self-Assessment

Doctors often use a standardized questionnaire called the International Index of Erectile Function to gauge severity. You don’t need a formal version to get a useful picture. Ask yourself these questions about the last six months:

  • How often can you get an erection when you want one?
  • When you do get an erection, how often is it firm enough for penetration?
  • How often can you maintain your erection through the completion of sex?
  • How difficult is it to maintain your erection until you finish?
  • How satisfied are you with your sexual experiences overall?

If your honest answers to most of these are “sometimes,” “rarely,” or “never,” and this has been the case for three months or more, that’s a strong signal to get evaluated. Scores on the clinical questionnaire break into ranges: mild difficulty, moderate difficulty, and severe. Even moderate scores, where erections happen but aren’t reliable, warrant a conversation with a doctor because they often reflect underlying health issues that benefit from treatment.

What a Medical Evaluation Looks Like

If you decide to see a doctor, the visit is more straightforward than most men expect. It starts with a conversation about your symptoms, your medical history, medications you take, and your mental health. Many common medications, including some for blood pressure, depression, and anxiety, can contribute to erectile problems.

Blood work is the main diagnostic step. At minimum, your doctor will check your testosterone level, ideally drawn in the morning when testosterone peaks (around 8 a.m.). Both total and free testosterone are measured. If testosterone is low, additional hormone tests help pinpoint whether the problem originates in the testes or in the brain’s signaling to the testes.

Beyond hormones, screening bloodwork typically includes a blood sugar test (hemoglobin A1c) to check for diabetes or prediabetes, a cholesterol panel, and basic blood chemistry. A urine test can reveal signs of kidney disease or diabetes. If you’re in the appropriate age range, prostate cancer screening may also be discussed. These tests aren’t just about diagnosing ED. They’re about catching the conditions that cause it, many of which have their own serious health consequences if left untreated.

What Normal Looks Like

It helps to know what isn’t ED. Erection quality naturally fluctuates. Stress, poor sleep, heavy drinking, being distracted, or simply not being in the mood can all cause a one-off failure. Men in their 20s and 30s sometimes expect to function like a light switch, instant and automatic, and interpret any hiccup as dysfunction. That expectation itself can trigger the anxiety-monitoring loop described above.

It’s also normal for erections to require more direct physical stimulation as you age. A 50-year-old typically won’t get as hard as fast from visual cues alone as he did at 25. That gradual shift is part of normal aging, not necessarily a disorder. The line between normal aging and ED is whether you can still achieve an erection firm enough for sex that satisfies you, even if it takes more time or stimulation than it used to.

The three-month threshold matters because it filters out temporary causes. A rough patch at work, a new medication, a period of relationship conflict, or even a bout of illness can temporarily affect erections. If function returns once the stressor resolves, that’s not ED. If it doesn’t, or if you can’t identify a clear trigger, that’s when further evaluation makes sense.