Erectile dysfunction (ED) 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, especially when tired, stressed, or after drinking. ED becomes a real concern when it happens consistently over several weeks or months, not just once or twice.
About 27% of adult men experience ED, so if you’re wondering whether what you’re going through counts, you’re far from alone. Here’s how to tell the difference between a bad night and a pattern worth paying attention to.
What Counts as ED vs. a Bad Night
A one-off difficulty getting hard doesn’t mean you have ED. The clinical definition requires a consistent or recurrent pattern. That means you’re regularly unable to get an erection, regularly losing it before you’re done, or regularly finding that your erection isn’t firm enough for penetration. If this is happening more often than not over a stretch of a few weeks, that’s the threshold most doctors use to start taking it seriously.
There’s actually a five-question screening tool called the IIEF-5 that doctors use worldwide. It asks you to rate, on a scale, how confident you are about getting an erection, how often it’s firm enough for penetration, how often you can maintain it, how difficult it is to maintain, and how satisfying intercourse has been. Your total score falls into a clear range: 22 to 25 means no ED, 17 to 21 is mild, 12 to 16 is mild to moderate, 8 to 11 is moderate, and 1 to 7 is severe. You can find this questionnaire online and score yourself in under two minutes. It won’t replace a doctor’s evaluation, but it gives you a concrete starting point instead of guessing.
The Morning Erection Clue
One of the simplest indicators you can check at home is whether you still get erections in your sleep or when you wake up. During certain sleep stages, your body automatically triggers erections that have nothing to do with sexual thoughts or arousal. These are a sign that the physical plumbing (blood flow, nerves, hormones) is working properly.
If you’re still waking up with firm morning erections but struggling during sex, that’s a strong hint that the problem is more psychological than physical. Your body can do it; something in the moment is getting in the way, whether that’s performance anxiety, stress, relationship tension, or depression. On the flip side, if morning erections have faded or disappeared, that can signal a physical issue like poor blood flow, nerve damage, or low testosterone. Men with diabetes, for example, often lose nocturnal erections because of damage to nerves and blood vessels.
One caveat: severe depression can also suppress morning erections, so a lack of them doesn’t automatically mean a physical cause. But as a general rule, morning wood is one of the most useful clues you have without any medical testing.
Physical ED vs. Psychological ED
The pattern of your symptoms reveals a lot about what’s driving them. Physical and psychological ED look quite different in practice.
Signs It’s Psychological
- Sudden onset. It seemed to start overnight rather than worsening slowly.
- Situational. You can get hard on your own or during masturbation but not with a partner, or it works with one partner but not another.
- Early collapse. You get an erection but lose it quickly, often when your mind starts racing.
- Life context. It coincided with a major life event, relationship problems, job stress, or a period of anxiety or depression.
Signs It’s Physical
- Gradual onset. Erections have been slowly getting less firm or less reliable over months or years.
- Consistent across situations. It happens during masturbation, with a partner, and spontaneously. No scenario is reliably better.
- Normal desire. You still want sex, you just can’t perform.
- Risk factors present. You smoke, drink heavily, have diabetes, high blood pressure, high cholesterol, or take certain medications (blood pressure drugs, antidepressants, or others).
Many men have a mix of both. A physical issue creates a few failures, which triggers performance anxiety, which makes the problem worse. Figuring out the original trigger matters because it changes what kind of help is most effective.
Why ED Can Be a Warning Sign
ED and heart disease share the same underlying mechanism: damage to the lining of blood vessels. The arteries supplying the penis are smaller than the ones feeding the heart, so they tend to show problems first. Research published in Circulation, the American Heart Association’s journal, confirmed that ED independently predicts future cardiovascular events like heart attacks and strokes. In the study, men with ED who had no prior heart symptoms went on to develop cardiovascular problems within roughly four years of follow-up.
This is why doctors take ED seriously even when the man himself is mainly concerned about sex. Difficulty with erections in your 40s or 50s, especially combined with risk factors like high blood pressure, smoking, or a family history of heart disease, can be an early signal that your blood vessels need attention. Getting evaluated for ED can end up catching a cardiovascular problem years before it would have shown symptoms on its own.
How Age Affects the Picture
ED gets more common with age, but it’s not inevitable. Among men aged 40 to 60, about 16% experience it. That number jumps to 57% in the 60 to 80 age group. So while a 45-year-old with persistent erection problems is in a smaller minority, a 65-year-old with the same issue has plenty of company.
Age matters for interpretation, too. A 30-year-old with sudden ED and no physical risk factors is more likely dealing with something psychological. A 55-year-old with gradually worsening erections, high cholesterol, and a sedentary lifestyle is more likely dealing with a vascular issue. Neither situation is hopeless, but they point toward different solutions.
What Happens at a Doctor’s Visit
If you decide to get evaluated, the visit is more straightforward than most men expect. Your doctor will ask about the pattern of your symptoms, your overall health, medications you take, and your mental health. There’s usually a physical exam, but the most informative part is often just the conversation.
Blood work is the standard next step. At minimum, a morning testosterone level is checked, since low testosterone is one of the most treatable causes. Depending on your age and health history, your doctor may also check blood sugar levels (to screen for diabetes), a cholesterol panel, thyroid function, and sometimes prolactin, a hormone that can interfere with erections when elevated. A urine test may also be done to look for signs of kidney problems or undiagnosed diabetes.
Most men don’t need imaging or specialized testing. The blood work and your symptom history are usually enough to identify the likely cause and start a treatment plan. Specialized tests like ultrasound of penile blood flow are reserved for unusual cases or when initial treatments don’t work.
Signs You Shouldn’t Wait
Some situations call for a prompt evaluation rather than a wait-and-see approach. If your erection problems started suddenly after a pelvic injury or new medication, that’s worth addressing quickly. If you already have diabetes or heart disease, ED may signal that your condition isn’t well controlled. And if you’re noticing other symptoms alongside ED, like pain during sex, changes in urination, breast tissue growth, or significant mood changes, those combinations can point to specific treatable conditions that a doctor can identify with basic testing.

