Erections depend on a chain of events involving your brain, nerves, hormones, and blood vessels, and a problem at any point in that chain can make it difficult or impossible to get hard. This is extremely common: about 5% to 10% of men under 40 experience it, and by age 40, roughly 39% of men deal with some degree of difficulty. The cause is usually physical, psychological, or a combination of both.
How Erections Actually Work
Understanding the basic mechanics helps explain why so many different things can interfere. When you’re sexually aroused, nerves in the penis release a signaling molecule called nitric oxide. This triggers a chemical chain reaction that relaxes the smooth muscle inside the penis and widens the small arteries feeding it. Blood rushes in, fills the spongy tissue, and the expanding tissue compresses the veins that would normally drain blood out. That trapped blood is what creates and maintains the erection.
Anything that disrupts nitric oxide production, damages blood vessels, interferes with nerve signals, or shifts your hormonal balance can weaken or prevent this process entirely.
Blood Flow Problems
The most common physical cause is poor blood flow, and the penile arteries are some of the smallest in your body. That means vascular damage tends to show up here before it affects larger vessels like the ones supplying your heart. High cholesterol, high blood pressure, and diabetes all damage the inner lining of blood vessels in ways that reduce nitric oxide availability. The result is arteries that can’t dilate properly and tissue that can’t relax enough to let blood flow in.
This is why erection problems are considered an early warning sign for cardiovascular disease. The same process that narrows coronary arteries narrows penile arteries first, sometimes years before a cardiac event. If you’re having persistent trouble getting hard and you also have risk factors like high blood pressure or elevated cholesterol, the erection issue may be pointing to something bigger happening in your circulatory system.
Weight, Smoking, and Alcohol
Carrying extra weight creates a chronic inflammatory state that directly reduces nitric oxide, the molecule your body needs to start an erection. Prospective studies show that overweight or obese men have a 70% to 96% higher probability of developing erection problems compared to men at a healthy weight. This isn’t just correlation: the inflammation actively impairs the blood vessel lining throughout the body, including in the penis.
Smoking does double damage. Chronic exposure decreases testosterone levels and reduces the rate at which blood fills the erectile tissue. The good news is that quitting makes a measurable difference: at least 25% of men who stop smoking see improvement within a year, while men who keep smoking see none. Heavy alcohol use has similar effects on nerve function and hormone levels over time, though occasional moderate drinking is less of a concern.
Stress and Performance Anxiety
Your nervous system has two competing modes. The one responsible for erections is the parasympathetic system, which operates when you’re relaxed. The one that kills erections is the sympathetic “fight or flight” system, which activates when you’re stressed, anxious, or afraid. These two systems work against each other, and your body prioritizes survival over sex every time.
When stress becomes chronic, your body ramps up cortisol production. Cortisol raises blood sugar and blood pressure while actively suppressing testosterone, the hormone responsible for sex drive and partly involved in the blood flow changes that produce erections. So ongoing stress hits you from two directions: it blocks the relaxation response you need to get hard, and it lowers the hormone that drives your desire in the first place.
Performance anxiety is a particularly vicious version of this. You fail to get hard once, maybe for a random reason like fatigue or alcohol, and then the next time you’re so worried about it happening again that the anxiety itself triggers the sympathetic response. The worry becomes the cause, which creates more worry. This cycle is one of the most common reasons younger men have trouble.
Low Testosterone
Testosterone levels below 300 nanograms per deciliter are considered low. The sexual symptoms are the most recognizable: reduced sex drive, loss of morning erections, and difficulty getting or staying hard. You might also notice decreased muscle mass, lower energy, and reduced endurance. Testosterone naturally declines with age, but levels can drop earlier due to obesity, chronic stress, poor sleep, or certain medical conditions. A simple blood test can confirm whether this is a factor.
Medications That Cause Problems
Several common medications interfere with erections as a side effect. Antidepressants are among the most frequent culprits, particularly SSRIs like sertraline, fluoxetine, paroxetine, and escitalopram. Paroxetine carries the highest risk of sexual side effects in that class. Older antidepressant types, including tricyclics and MAOIs, can cause similar problems.
Blood pressure medications, especially beta-blockers and certain diuretics, can also contribute by lowering blood pressure too much or interfering with nerve signals. If your erection problems started around the same time you began a new medication, that timing is a strong clue. Don’t stop taking a prescribed medication on your own, but it’s worth a conversation about alternatives, because many drug classes have options with lower sexual side effect profiles.
Age and How Common This Is
Erection difficulty increases with age, but it’s not inevitable and it’s not exclusive to older men. The combined rate of moderate to complete erectile dysfunction rises from about 22% at age 40 to 49% by age 70. In younger men under 40, the cause is more likely to be psychological, lifestyle-related, or hormonal rather than vascular. Regardless of age, the underlying issue is almost always identifiable and treatable.
What Treatment Looks Like
Oral medications like sildenafil (Viagra), tadalafil (Cialis), and vardenafil (Levitra) work by amplifying the nitric oxide signaling pathway, making it easier for blood to flow into the penis when you’re aroused. They don’t create arousal on their own. In clinical trials, these medications produce successful intercourse in roughly 61% to 75% of men, compared to about 20% to 32% with a placebo. They can start working in as little as 11 to 14 minutes, though most men see reliable results within 30 to 60 minutes.
These medications work best when the underlying cause is vascular. If the root problem is low testosterone, hormone therapy may be more appropriate. If the cause is psychological, therapy focused on performance anxiety and stress management often resolves the issue without medication, or works alongside it while you rebuild confidence.
Lifestyle changes make a real difference too, sometimes enough on their own. Losing weight, quitting smoking, exercising regularly, improving sleep, and reducing alcohol all directly improve the vascular and hormonal pathways that produce erections. For men whose problems are driven by weight or smoking, these changes can be as effective as medication.
Occasional vs. Persistent Problems
Failing to get hard occasionally is normal and not a medical concern. Fatigue, alcohol, distraction, and stress can all cause a one-off failure. The clinical threshold is consistent difficulty lasting longer than three months. If you’re regularly unable to get or maintain an erection sufficient for sex over that period, something identifiable is likely going on. Getting it checked isn’t just about fixing the erection problem: it’s also a chance to catch underlying conditions like cardiovascular disease, diabetes, or hormonal imbalances before they cause bigger issues.

