Can’t Get Hard? Common Causes and Treatments

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 prevent one from happening. The issue is extremely common: 20 to 30% of men between 40 and 70 experience it, and it affects younger men more often than most people realize. The cause is usually physical, psychological, or a combination of both, and in most cases it’s treatable once you identify what’s going on.

How Erections Actually Work

Getting hard is fundamentally a blood flow event. When you’re aroused, your brain sends signals through your spinal cord to nerves in the pelvis. Those nerves release a chemical messenger (nitric oxide) that triggers the smooth muscle tissue inside the penis to relax. As the muscle relaxes, the spongy tissue fills with blood and expands against the outer casing of the penis, which traps the blood in place. That trapped, pressurized blood is what creates firmness.

Anything that disrupts this process, whether it’s restricted blood flow, damaged nerves, low levels of that chemical messenger, or a stress response that overrides the relaxation signal, can keep you from getting or staying hard.

Physical Causes Are the Most Common

In the majority of cases, especially for men over 40, the root cause is vascular. Your arteries need to deliver a large volume of blood quickly, and the arteries in the penis are quite small compared to the ones supplying your heart. That means the same kind of damage that leads to heart disease (plaque buildup, stiff artery walls, poor circulation) shows up in erectile function first. Research published in JACC: Advances found that erectile problems often appear years before any signs of cardiovascular disease, making them one of the earliest warning signs that your blood vessels aren’t in great shape.

Diabetes is another major physical cause. About 52.5% of men with diabetes experience erectile difficulties. Chronically high blood sugar damages both the small blood vessels and the nerves responsible for triggering that relaxation response. Over time, the muscle tissue in the penis itself can deteriorate, making the problem harder to reverse.

Other physical contributors include obesity, high blood pressure, high cholesterol, and conditions that affect nerve function like multiple sclerosis or spinal cord injuries. If you’ve had surgery in the pelvic area, particularly prostate surgery, nerve damage during the procedure can also play a role.

Stress and Anxiety Can Shut Things Down

Erections require your parasympathetic nervous system to be in control. That’s the “rest and relax” branch. When you’re stressed, anxious, or stuck in your own head during sex, your sympathetic nervous system takes over instead. This is the same system responsible for your fight-or-flight response, and it actively blocks the nerve signals that would normally relax penile tissue and allow blood to flow in.

This is why performance anxiety creates a vicious cycle. You fail to get hard once, worry about it happening again, and that worry itself becomes the thing preventing the erection. Relationship tension, work stress, depression, and general anxiety all activate this same pathway. Depression alone increases the risk of erectile problems by about 39%.

For younger men in particular, psychological factors are often the primary cause. One useful clue: if you wake up with morning erections or can get hard during masturbation but not with a partner, the underlying hardware is probably fine and the issue is more likely situational or psychological.

Medications That Interfere

A surprisingly long list of common medications can cause or worsen erectile problems. Antidepressants, particularly SSRIs like sertraline, fluoxetine, paroxetine, and citalopram, are among the biggest offenders. A realistic estimate is that 30 to 50% of men on SSRIs experience some form of sexual dysfunction, including difficulty getting hard, reduced desire, and delayed orgasm. Some studies put the number even higher depending on the specific drug.

Blood pressure medications (especially older types like beta-blockers and certain diuretics), anti-anxiety drugs, opioid painkillers, and hormonal treatments like antiandrogens can all have similar effects. If your erection problems started around the same time you began a new medication, that’s a strong clue. Don’t stop taking a prescribed medication on your own, but it’s worth a conversation with your prescriber about alternatives that may have fewer sexual side effects.

Low Testosterone Is Less Common Than You Think

Testosterone plays a role in sex drive and helps maintain the tissue health needed for erections, but it’s not the sole driver most men assume it is. European clinical guidelines consider testosterone “low” at or below 230 ng/dL, with a borderline range up to about 346 ng/dL. In studies of men with erectile dysfunction, roughly a third had testosterone in that low or borderline range.

Low testosterone is more likely to show up as reduced desire rather than a mechanical inability to get hard. If your interest in sex has dropped significantly and you’re also experiencing fatigue, loss of muscle mass, or mood changes, testosterone may be worth investigating with a blood test. But if your sex drive feels normal and erections just aren’t cooperating, low testosterone probably isn’t the main issue.

Alcohol, Smoking, and Lifestyle Factors

Alcohol is one of the most common and most overlooked causes. It widens your blood vessels, which sounds like it would help, but it actually drops blood pressure in a way that prevents enough blood from reaching the penis. More than 67% of men with alcohol use disorder report sexual dysfunction. Even a few drinks on a given night can temporarily make erections unreliable.

The encouraging flip side: in one study, 88% of men who stopped drinking saw improvement in their erectile function within three months. Chronic heavy drinking does additional long-term damage by hardening arteries and reducing blood flow over time, but a significant amount of the effect is reversible.

Smoking damages blood vessels through a similar mechanism. Nicotine constricts arteries and accelerates plaque buildup, directly reducing the blood flow erections depend on. Poor sleep, a sedentary lifestyle, and being significantly overweight all compound the problem by worsening cardiovascular health, lowering testosterone, and increasing inflammation.

What Treatment Looks Like

The most well-known treatment option is a class of oral medications that work by enhancing the same chemical pathway erections rely on naturally. They boost the effect of nitric oxide signaling, helping the smooth muscle in the penis relax more fully when you’re aroused. These medications don’t create arousal on their own; you still need to be mentally and physically stimulated.

The most commonly prescribed version takes about an hour to kick in and lasts several hours. A longer-acting option can be taken daily at a low dose, which some men prefer because it removes the need to plan around a pill. Research suggests that daily low-dose use may actually be more effective than taking a higher dose only when needed. These medications work for the majority of men, though they’re less effective when the underlying cause is severe nerve damage or advanced vascular disease.

For psychological causes, cognitive behavioral therapy and sex therapy have strong track records, especially for performance anxiety and relationship-related issues. Sometimes the most effective approach combines medication with therapy: the medication breaks the failure cycle, reducing anxiety enough for the psychological work to take hold, and eventually the medication becomes unnecessary.

Lifestyle changes matter more than most men expect. Improving cardiovascular fitness through regular exercise, losing excess weight, cutting back on alcohol, and quitting smoking can meaningfully restore erectile function on their own, particularly when the problem is mild to moderate. These changes also improve how well medications work if you end up needing them.

When It’s Occasional vs. Ongoing

Every man experiences a failed erection occasionally. Fatigue, too much alcohol, stress, distraction, or just an off night are all normal and don’t indicate a problem. Erectile dysfunction as a medical concern generally means a consistent pattern over several weeks or months where you regularly can’t get hard enough for sex or can’t maintain it long enough.

Doctors use a standardized five-question survey to gauge severity. Scores break down into mild, mild-to-moderate, moderate, and severe categories. You don’t need to score yourself formally, but the key distinction is between something that happens once in a while (normal) and something that’s become a reliable pattern (worth investigating). If it’s been happening consistently, start with your primary care provider. The evaluation is straightforward, typically involving a conversation about your symptoms, a physical exam, and basic blood work to check for diabetes, cholesterol issues, and hormone levels.