How Do I Know If I Have Erectile Dysfunction?

If you’re having trouble getting or keeping an erection firm enough for sex, and it’s happening repeatedly, you’re likely experiencing erectile dysfunction. An occasional difficulty is normal and happens to nearly everyone at some point. But when the pattern persists over several weeks or months, it crosses from a one-off event into something worth paying attention to.

Signs That Point to Erectile Dysfunction

ED isn’t a single symptom. It shows up in several ways, and you don’t need to experience all of them. The core signs include difficulty getting an erection in the first place, losing your erection during sex before you’re finished, erections that aren’t firm enough for penetration, and a noticeable drop in sexual desire. What matters most isn’t any single episode but whether the problem keeps showing up. A rough night after too many drinks or a stressful week at work doesn’t mean you have ED. A pattern that stretches over weeks or months does.

One useful self-check involves five key questions that doctors themselves use to screen patients. These ask how often you can get an erection during sexual activity, how often it’s hard enough for penetration, how often you can maintain it through intercourse, how difficult it is to keep, and how confident you feel about your ability to perform. Scoring yourself honestly on each of these, from “almost never” to “almost always,” gives you a clearer picture than gut feeling alone. Low scores across these areas suggest the problem is real and consistent enough to address.

How Common It Is at Different Ages

ED is far more common than most people assume, especially among younger men who often think it only affects older populations. Between 5% and 10% of men under 40 experience it. By age 40, roughly 39% of men have some degree of erectile difficulty. By 70, that number climbs to 67%. These figures come from the Massachusetts Male Aging Study, one of the largest investigations into male sexual health.

If you’re in your 20s or 30s and dealing with this, you’re not alone, and it doesn’t mean something is permanently wrong. But it does mean the cause is worth identifying, because in younger men, the underlying issue is often treatable or reversible.

Physical Causes vs. Psychological Causes

One of the simplest ways to start distinguishing between a physical and psychological cause is to pay attention to what happens while you sleep. Healthy men typically get several erections overnight, usually during dream sleep. If you wake up with erections or notice them during the night, your body’s plumbing is likely working fine, and the issue is more likely tied to stress, anxiety, depression, or relationship dynamics. If morning erections have disappeared entirely, the cause is more likely physical.

Doctors sometimes use a formal version of this called a nocturnal erection test, which you can do at home or in a sleep lab. It confirms whether your body is producing erections when your mind isn’t involved. The logic is straightforward: if erections happen during sleep, the blood vessels and nerves are functional, and something psychological is getting in the way during waking hours.

In practice, many men have a combination of both. Performance anxiety, for instance, can pile on top of a mild physical issue and make it significantly worse.

What Might Be Causing It

The physical side of ED almost always comes down to blood flow. Erections depend on blood filling the tissue of the penis rapidly and staying there. Anything that damages blood vessels or restricts circulation can cause problems. Diabetes, high blood pressure, high cholesterol, and obesity are the most common culprits. Smoking narrows blood vessels over time. Heavy alcohol use is strongly linked: among men with alcohol use disorder, more than 67% experience some form of sexual dysfunction. The encouraging flip side is that in one study, 88% of participants saw improvement in their ED after just three months of cutting out alcohol.

Depression plays a significant role too. Research shows that the risk of ED increases by 39% in men with depression, and it can be hard to untangle because the medications used to treat depression, particularly SSRIs, can also cause erectile problems. Other common medications that interfere with erections include blood pressure drugs (especially thiazides and beta blockers), antihistamines, Parkinson’s disease medications, and opiate painkillers. If your ED started around the same time you began a new medication, that connection is worth exploring with your prescriber.

Why It Can Signal Something Bigger

This is the part most men don’t expect. Because the arteries in the penis are significantly smaller than the arteries supplying the heart, ED often appears years before cardiovascular symptoms like chest pain. Both conditions start with damage to the inner lining of blood vessels, which reduces blood flow throughout the body. The smaller arteries show the effects first.

For men under 50, this connection is especially important. ED at a younger age is a stronger predictor of future heart disease risk. It doesn’t mean you have heart disease now, but it does mean your vascular system may be under strain, and catching that early gives you a real window to change course through exercise, diet, weight loss, or managing blood pressure and cholesterol.

What Happens When You See a Doctor

If you decide to get checked out, here’s what to expect. The visit typically starts with questions about your medical history, sexual history, and any medications you take. A physical exam checks the penis, testicles, and nerve sensitivity. None of this is invasive or painful.

Blood work helps identify underlying conditions. Your doctor will likely check blood sugar levels to screen for diabetes, thyroid function, and sometimes testosterone. If there’s concern about blood flow, an ultrasound of the penile arteries can map how well blood is reaching and staying in the tissue. In some cases, a medication is injected into the penis during the ultrasound to stimulate blood flow and produce an erection, giving a clearer picture of vascular function.

The goal of all this testing isn’t just to confirm that you have ED. You probably already know that. The point is to find out why, because the treatment depends entirely on the cause. Low testosterone, restricted blood flow, medication side effects, and psychological factors all lead to different approaches. Knowing the root cause is what makes the difference between a fix that works and one that doesn’t.

Patterns Worth Tracking Before Your Visit

If you’re not ready to see a doctor yet, start paying attention to a few things that will help clarify the picture. Note whether you still get morning or nighttime erections. Track whether the problem happens every time or only in certain situations, such as with a partner but not alone. Think about whether it started gradually or suddenly, since a sudden onset is more commonly psychological while a slow decline over months points to something physical. Write down any medications, supplements, or substances you use regularly, including alcohol and recreational drugs.

This kind of self-tracking isn’t a substitute for a medical evaluation, but it gives you and your doctor a much sharper starting point. It also helps you recognize whether what you’re experiencing fits the pattern of ED or something else entirely, like low desire, delayed ejaculation, or performance anxiety that resolves once the pressure is off.