Erectile dysfunction is the repeated inability to get or maintain an erection firm enough for satisfying sex. The key word is “repeated.” Every man occasionally has trouble with erections, whether from stress, alcohol, fatigue, or just an off night. That’s normal. ED becomes a real concern when the pattern is consistent rather than occasional, and when it starts interfering with your sex life or your confidence.
About 40% of men experience some degree of erectile difficulty by age 40, and the risk climbs roughly 10% per decade after that. But ED isn’t just an older man’s problem. A 2024 national survey of over 1,800 men found that nearly 18% of men aged 18 to 24 reported erectile difficulties, and about 13% of men in their late twenties and early thirties did as well. If you’re wondering whether what you’re experiencing counts, the signs below can help you sort it out.
What Counts as Erectile Dysfunction
There’s no magic number of failures that triggers a diagnosis. The clinical definition is straightforward: a consistent or recurrent inability to get or keep an erection sufficient for sexual satisfaction. “Consistent” is doing a lot of work in that sentence. A bad week doesn’t qualify. A pattern that stretches over several weeks or months, where you regularly can’t get hard enough or lose your erection before you want to, does.
ED also exists on a spectrum. You might have no trouble getting an erection but lose it partway through sex. You might get partially hard but never fully rigid. You might notice erections are fine sometimes but unreliable other times. All of these count. The common thread is that your erections aren’t reliably working the way they used to, and it’s affecting your sexual life.
Physical Signs vs. Psychological Signs
One of the most useful clues is whether you still get erections in other situations. Your body naturally produces erections during sleep, typically three to five times per night. These show up as morning erections when you wake during or just after one. Nocturnal erections serve as a biological marker for your body’s physical erectile capacity. If you’re still waking up with firm morning erections, or you can get a full erection during masturbation but not with a partner, the plumbing is likely working fine. The issue is more likely psychological.
Psychologically driven ED tends to have a distinct profile:
- Sudden onset. It appears seemingly out of nowhere rather than worsening gradually over months.
- Situational pattern. Erections work in some contexts (solo, with a different partner, during sleep) but not others.
- Early collapse. You can get an erection, but it fades quickly once sexual activity begins.
- Life circumstances. It coincides with relationship problems, major life stress, anxiety, or depression.
Physically driven ED looks different. It typically develops gradually, getting slightly worse over time. It affects erections across all situations, including morning erections and masturbation. You may also notice reduced sensation in the penis or that erections require much more stimulation than they used to. If your morning erections have become rare or noticeably weaker, that’s a meaningful signal that something physical may be involved.
In practice, many men have a mix of both. A physical issue makes erections less reliable, which creates performance anxiety, which makes the problem worse. Sorting out the balance matters because the treatments are different.
Why Erections Fail: The Common Causes
Erections depend on healthy blood flow, intact nerves, adequate hormones, and a brain that’s sending the right signals. A breakdown at any point in that chain causes trouble.
The most common physical cause is vascular, meaning the blood vessels that supply the penis aren’t delivering enough blood or aren’t holding it there. This happens through the same process that narrows arteries in the heart: the inner lining of blood vessels gets damaged, blood flow decreases, and fatty buildup accumulates over time. Because the arteries in the penis are much smaller than those feeding the heart, ED often shows up years before any chest pain or cardiac symptoms appear. This is why doctors take new-onset ED seriously in men over 40. It can be an early warning sign for cardiovascular disease.
Other physical contributors include diabetes (which damages both blood vessels and nerves), obesity, high blood pressure, high cholesterol, and certain medications, particularly antidepressants and blood pressure drugs. Smoking is a major risk factor because it directly damages the blood vessel lining throughout the body.
Low testosterone is less commonly the sole cause than most men assume, but it plays a role. The normal range for testosterone in healthy, non-obese men aged 19 to 39 is roughly 264 to 916 ng/dL. Levels below that range can reduce sex drive and make erections harder to achieve, though many men with low testosterone still get erections fine, and many men with normal testosterone still have ED.
A Simple Self-Check
Before seeing a doctor, you can gather useful information on your own. Pay attention to a few things over the next two to four weeks:
- Morning erections. Are you waking up with erections? How often? How firm are they compared to a year or two ago?
- Erections during masturbation. Can you get and maintain a full erection on your own without difficulty?
- Pattern with a partner. Does the problem happen every time, or only in certain situations? Does it depend on your stress level, the relationship dynamic, or how much you’ve been drinking?
- Gradual vs. sudden. Did this come on slowly over months, or did it start abruptly?
- Other symptoms. Have you noticed fatigue, weight gain, reduced sex drive, or numbness in the genital area?
If morning erections are strong, masturbation works fine, and the problem is mainly with a partner or in specific stressful situations, anxiety or relationship factors are the most likely explanation. If erections are weaker across the board and the decline has been gradual, a physical evaluation is worth pursuing.
What Happens at a Doctor’s Visit
A doctor’s evaluation for ED is straightforward and not as uncomfortable as most men expect. It typically starts with a conversation about your symptoms, sexual history, medications, and overall health. Be specific about what’s happening. “I can’t get it up” is less helpful than “I can get about 70% hard but lose it within a minute of penetration.”
The physical exam checks for blood vessel and nerve function, hormonal issues, and any structural problems with the penis such as Peyronie’s disease (scar tissue that causes curvature). Blood work usually includes testosterone levels, blood sugar, cholesterol, and sometimes thyroid function. These tests aren’t just about your erections. They’re screening for underlying conditions that ED may be signaling.
In some cases, a doctor may order a penile ultrasound to directly measure blood flow. This test uses a small injection to trigger an erection, then measures how fast blood moves through the penile arteries. Normal flow is above 30 centimeters per second. Below 25 indicates the arteries aren’t delivering enough blood. This test is usually reserved for cases where the cause is unclear or surgery is being considered, not for a first visit.
Lifestyle Factors You Can Address Now
Some of the most effective interventions for mild to moderate ED don’t involve medication at all. If you smoke, quitting produces measurable improvements in erectile function within three to six months as the blood vessel lining regenerates. Regular cardiovascular exercise, even brisk walking for 30 minutes a day, improves blood flow to the penis through the same mechanisms that protect your heart. Losing excess weight, particularly abdominal fat, can raise testosterone levels and improve vascular health simultaneously.
Alcohol is a common culprit that men underestimate. A drink or two may reduce inhibition, but more than that suppresses the nervous system’s ability to trigger and maintain an erection. If your ED is worst after drinking, the answer may be obvious.
Sleep matters more than most people realize. Poor sleep directly suppresses testosterone production and increases stress hormones. Men with untreated sleep apnea have significantly higher rates of ED, and treating the sleep disorder often improves erections without any other intervention.
When the Problem Is in Your Head
Performance anxiety is one of the most common causes of ED in younger men, and it creates a vicious cycle. You fail to get an erection once, then worry about it happening again, and the worry itself makes it happen again. The telltale sign is that you’re fine when there’s no pressure (morning erections, masturbation) but struggle when it “counts.”
Depression and anxiety disorders also directly affect erectile function through changes in brain chemistry, independent of any medication side effects. Relationship conflict, unresolved resentment, or lack of attraction can suppress arousal in ways that feel physical but aren’t. If your ED started around the same time as a major life change, job loss, new relationship, or period of high stress, that timing is a significant clue.
Psychologically driven ED responds well to therapy, particularly cognitive behavioral approaches that break the anxiety cycle. For many men, simply understanding that the problem is anxiety-based rather than a sign of permanent physical failure is enough to start improving.

