What Causes Erectile Dysfunction?

⏱ 7 min read Updated May 21, 2026

What causes erectile dysfunction? Learn the most common physical, hormonal, and mental triggers, plus when to seek expert care.

Medical Disclaimer: This content is for educational purposes only and does not constitute medical advice. Consult a licensed healthcare provider before starting or changing any medication.
Affiliate Disclosure: Back Nine Health may earn a commission if you start a visit through our partner links. This does not affect our editorial content or recommendations.

A lot of men assume erectile issues show up out of nowhere. They usually do not. If you are asking what causes erectile dysfunction, the short answer is that erections depend on blood flow, nerve function, hormones, mental state, and overall health all working together. When one part of that system is off, performance can change.

That is why erectile dysfunction is not just a bedroom issue. It can be tied to stress, low testosterone, medication side effects, poor sleep, weight gain, high blood pressure, diabetes, or cardiovascular problems. Sometimes the cause is straightforward. Sometimes it is a mix of factors. Either way, it is worth taking seriously because the right treatment depends on finding the real reason behind it.

What causes erectile dysfunction in the body?

An erection sounds simple, but it is actually a chain reaction. The brain signals arousal, nerves carry that message, blood vessels open up, blood flows into the penis, and hormones help support libido and sexual function. If any link in that chain is weak, erections can become less reliable, less firm, or harder to maintain.

For many men, blood flow is the biggest factor. Conditions that affect circulation can make it harder for enough blood to reach the penis. High blood pressure, high cholesterol, diabetes, and smoking all increase that risk. Erectile dysfunction can sometimes be one of the earliest signs that blood vessels are under strain elsewhere in the body too.

Nerve function matters just as much. Nerve damage from diabetes, spinal injuries, or certain surgeries can interfere with the signals needed for an erection. Even when desire is there, the body may not respond the way it used to.

Hormones are another piece of the picture. Testosterone does not control erections by itself, but it plays a major role in libido, energy, mood, and sexual performance. Men with low testosterone may notice reduced interest in sex, weaker erections, or both. That does not mean every case of ED is hormonal, but it is one of the common reasons worth evaluating.

The most common physical causes of erectile dysfunction

Aging gets blamed for almost everything, but age alone is not the real cause. What changes with age is the likelihood of underlying issues that affect sexual function. Many of the most common physical causes of ED are health conditions that become more common over time.

Cardiovascular disease is high on the list. Erections depend on healthy blood vessels, so anything that narrows or stiffens arteries can interfere with performance. High blood pressure and high cholesterol often work quietly in the background for years before symptoms become obvious.

Diabetes is another major driver. It can damage both blood vessels and nerves, which makes ED more likely and sometimes more persistent. Men with poorly controlled blood sugar often notice sexual symptoms earlier than expected.

Weight also plays a role. Excess body fat is linked to inflammation, lower testosterone, poor circulation, and insulin resistance. Those factors can push sexual function in the wrong direction at the same time. Sleep apnea can add to the problem by lowering sleep quality, straining the cardiovascular system, and affecting hormone balance.

Some men are surprised to learn that medication can be part of the issue. Certain blood pressure drugs, antidepressants, anti-anxiety medications, and treatments for other chronic conditions may affect libido or erectile function. That does not mean you should stop a prescription on your own. It does mean medication review should be part of a proper evaluation.

What causes erectile dysfunction mentally?

Not every case of ED starts with a physical problem. Mental and emotional factors can absolutely affect sexual performance, and they often do it fast.

Stress is a common trigger. When your brain is locked into work pressure, poor sleep, financial strain, or relationship tension, arousal becomes harder to sustain. Even if your body is otherwise healthy, chronic stress can interfere with libido and make erections less reliable.

Performance anxiety is another major factor, especially if a man has had one or two bad experiences and starts expecting it to happen again. That anticipation can create a cycle where the fear of erectile dysfunction helps cause it. The issue feels physical in the moment, but the trigger is often psychological.

Depression can lower sexual interest and make erections harder to achieve. Anxiety can do the same. Sometimes the condition itself is the problem. Other times the treatment contributes. This is one reason ED should not be reduced to a simple confidence issue. It often sits at the intersection of mental health and physical health.

Relationship dynamics can matter too. If there is unresolved tension, lack of communication, or emotional disconnection, sexual symptoms may show up as part of a bigger pattern. That does not mean ED is always a relationship problem, only that context matters.

Hormones, testosterone, and sexual performance

When men think about sexual health, testosterone is usually the first hormone that comes to mind, and for good reason. Low testosterone can affect sex drive, energy, mood, body composition, and overall sense of vitality. It can also contribute to erectile problems, although it is not always the only explanation.

This is where nuance matters. A man can have normal testosterone and still deal with ED because of blood flow, stress, or medication side effects. Another man can have low testosterone that is dragging down libido and making erections weaker across the board. The symptoms can overlap, which is why guessing is not the best strategy.

Other hormone issues can affect sexual function too. Thyroid disorders, elevated prolactin, and metabolic dysfunction can all play a role. A specialist evaluation helps separate what is actually driving the problem from what just sounds plausible.

Lifestyle habits that can make ED worse

Sometimes the cause is not a disease so much as a pattern. Alcohol, poor sleep, inactivity, smoking, and chronic stress all work against sexual performance.

Heavy alcohol use can blunt arousal in the short term and disrupt hormone balance over time. Smoking damages blood vessels and reduces circulation. Lack of exercise makes it harder to maintain cardiovascular health, healthy weight, and insulin sensitivity. Poor sleep lowers energy, affects testosterone, and raises stress levels.

These factors do not always cause ED on their own, but they often make an existing problem worse. That matters because treatment is usually more effective when the bigger picture improves too.

When erectile dysfunction is a warning sign

One of the biggest mistakes men make is treating ED like a private inconvenience instead of a health signal. Because penile arteries are smaller than coronary arteries, erectile issues can show up before other symptoms of vascular disease become obvious. In some cases, ED is an early warning sign of cardiovascular trouble.

That does not mean every man with ED has heart disease. It does mean recurring symptoms should not be brushed off, especially if they are new, getting worse, or showing up alongside fatigue, weight changes, low libido, or changes in exercise tolerance.

If erectile dysfunction is happening consistently, the goal should not be to mask it and move on. The goal should be to understand why it is happening and address the cause directly.

How to figure out what causes erectile dysfunction for you

The right workup is usually more straightforward than men expect. A clinician will look at your symptoms, medical history, medications, lifestyle, and lab work. Depending on the situation, that may include hormone testing, cardiovascular risk review, or discussion of mental health factors.

This matters because treatment is not one-size-fits-all. If low testosterone is part of the picture, that needs its own plan. If blood flow is the issue, managing cardiovascular risk becomes part of the solution. If stress or anxiety is driving the problem, performance medications alone may not fully fix it.

For a lot of men, the best results come from addressing more than one factor at once. That could mean improving sleep, adjusting medications, treating hormone imbalance, supporting weight loss, and using ED treatment when appropriate. A direct, private model like Back Nine Health can make that process a lot easier for men who want specialist-backed care without the usual friction.

There is no upside in waiting months or years to see if the problem disappears on its own. Erectile dysfunction is common, treatable, and often more connected to overall health than men realize. Getting answers is not overreacting. It is a smart move for your confidence, your relationships, and your long-term health.

If something feels off, pay attention to it. The sooner you understand the cause, the sooner you can do something useful about it.

View Care Options →

Back Nine Health does not prescribe medications.