Erectile dysfunction is when a man cannot get or keep an erection firm enough for sex

Erectile dysfunction (ED) means the penis does not become or stay hard enough during sexual activity. It is not the same as losing interest in sex, having trouble with orgasm, or low sexual desire — those are separate issues. ED can happen occasionally or consistently, and it can start at any age, though it becomes more common as men get older.

The condition has physical causes, psychological causes, or both. Physical causes include heart disease, diabetes, high blood pressure, obesity, and low testosterone. Psychological causes include stress, anxiety, depression, and relationship problems. Many men experience ED at some point; it does not mean something is permanently wrong.

ED is treatable. Treatments range from lifestyle changes and counseling to medications, devices, and surgery. The right approach depends on what is causing the problem and what the man prefers. A doctor can help figure out the cause and discuss options.

Key Takeaways

  • Erectile dysfunction is a medical condition with physical, psychological, or combined causes that a doctor can help diagnose.
  • Common physical causes include heart disease, diabetes, high blood pressure, and low testosterone; common psychological causes include stress, anxiety, and depression.
  • Medications like sildenafil (Viagra) and tadalafil (Cialis) work for many men, but they do not work for everyone and require a prescription.
  • Lifestyle changes — exercise, weight loss, quitting smoking, reducing alcohol — can improve ED on their own or make medications work better.
  • A doctor visit is the first step; they can rule out serious health problems and recommend treatment based on the cause.

Physical causes that lead to erectile dysfunction

ED often signals an underlying health problem. The most common physical cause is cardiovascular disease — problems with blood flow to the penis. The arteries that supply blood to the penis are smaller than those in the heart, so they narrow first. A man with ED may have heart disease before he has heart symptoms. High blood pressure, high cholesterol, and diabetes all damage blood vessels and make ED more likely.

Diabetes is one of the strongest predictors of ED. High blood sugar damages nerves and blood vessels over time, making erections difficult. Men with diabetes are two to three times more likely to have ED than men without it.

Other physical causes include low testosterone, obesity, Peyronie's disease (a bend in the penis caused by scar tissue), and side effects from medications. Medications that can cause ED include some blood pressure drugs, antidepressants, and antihistamines. Smoking, heavy alcohol use, and drug use also increase the risk.

Psychological and relationship factors

Anxiety is one of the most common psychological causes of ED. Performance anxiety — worry about whether an erection will happen — can create a cycle where the worry itself prevents an erection. Stress from work, finances, or family can have the same effect.

Depression reduces sexual desire and makes erections harder to achieve. Some antidepressant medications also cause ED as a side effect, creating a double problem. A man may not realize his depression is the cause until he talks to a doctor.

Relationship problems, poor communication with a partner, or lack of emotional connection can also cause ED. In these cases, counseling or sex therapy — sometimes with the partner present — can help. A therapist can teach techniques to reduce anxiety and improve communication.

Medications that treat erectile dysfunction

Prescription medications called phosphodiesterase-5 inhibitors are the most common treatment. The main ones are sildenafil (Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Stendra). These drugs relax blood vessels and increase blood flow to the penis, making erections easier to achieve and maintain.

Sildenafil works within 30 to 60 minutes and lasts about four hours. Tadalafil works within 30 minutes and can last up to 36 hours, so some men take a low dose daily rather than as needed. Vardenafil and avanafil have timings between the two. These medications work in about 70 percent of men, though effectiveness varies.

These drugs do not work if there is no sexual stimulation, and they do not increase sexual desire. They also have side effects — headache, flushing, indigestion, and nasal congestion are common. They can interact with other medications, especially those containing nitrates (used for chest pain). A man must tell his doctor about all medications he takes before starting ED medication.

If one medication does not work, a doctor may try a different one or adjust the dose. Some men need a combination approach — medication plus lifestyle changes or counseling.

Non-medication treatments and devices

Vacuum erection devices (penis pumps) are a non-medication option. A man places the device over the penis, pumps to create a vacuum, and blood flows into the penis. A ring at the base keeps the blood there during sex. These devices work for many men and have no systemic side effects, though some find them awkward to use.

Penile injections involve injecting medication directly into the side of the penis to relax blood vessels and increase blood flow. Alprostadil is the most common. A man learns to inject himself; the erection usually starts within five to 20 minutes and lasts 30 to 60 minutes. This method works for men who do not respond to oral medications, but it requires training and carries a small risk of infection or scarring.

Intraurethral therapy means placing a small pellet of medication into the urethra (the opening at the tip of the penis). Alprostadil is available this way as well. It is less invasive than injection but less reliable.

Surgery is rare and reserved for specific cases — usually when blood vessels are blocked or when there is a structural problem like Peyronie's disease. Penile implants are an option for men who do not respond to other treatments, but they are permanent and require surgery.

Lifestyle changes that can reduce or prevent erectile dysfunction

Many men see improvement by changing habits. Exercise improves blood flow, strengthens the heart, and reduces stress. Studies show that men who exercise regularly have lower rates of ED. Even moderate activity — 30 minutes of brisk walking most days — can help.

Weight loss improves ED, especially in men who are obese. Excess weight increases inflammation and damages blood vessels. Losing even 5 to 10 percent of body weight can improve sexual function.

Quitting smoking restores blood vessel function. Smoking damages the lining of blood vessels and makes them narrower. Men who quit often see improvement within weeks to months.

Reducing alcohol helps. Heavy drinking damages nerves and blood vessels and lowers testosterone. Limiting alcohol to one or two drinks per day (or less) can improve ED.

Managing stress through meditation, therapy, or other methods can reduce anxiety-related ED. Improving sleep and treating sleep apnea (if present) also helps, since sleep problems are linked to ED.

When to see a doctor about erectile dysfunction

A man should see a doctor if ED happens regularly or is causing distress. ED can be a sign of a serious health problem like heart disease or diabetes, so a medical evaluation is important even if the man is not concerned about the sexual function itself.

A doctor will ask about when the problem started, whether it happens in all situations or only some, what medications the man takes, and whether he has other health conditions. The doctor may do a physical exam and blood tests to check for diabetes, heart disease, and low testosterone.

The man should be honest about alcohol and drug use, stress, and relationship issues — these all affect ED and treatment options. A primary care doctor can start the evaluation, or a man can see a urologist (a specialist in urinary and sexual health).

Frequently Asked Questions

Is erectile dysfunction a sign of heart disease?

ED can be an early warning sign of heart disease because the blood vessels in the penis are smaller and narrow before larger vessels do. Men with ED should have their heart health checked, especially if they have other risk factors like high blood pressure or diabetes. A doctor can determine whether further cardiac testing is needed.

Can erectile dysfunction go away on its own?

It depends on the cause. If ED is caused by stress or anxiety, it may improve once the stressor is gone or the man learns to manage anxiety. If it is caused by a physical condition like diabetes or heart disease, it usually does not go away without treatment, though lifestyle changes can help. A doctor can identify the cause and discuss whether it is likely to resolve.

Do ED medications work for everyone?

No. Medications like Viagra and Cialis work for about 70 percent of men, but they do not work for everyone. Men with severe nerve damage, very low testosterone, or certain psychological issues may not respond. A doctor can try different medications or doses, or recommend other treatments if medications do not work.

Can I use erectile dysfunction medication if I have heart disease?

Some ED medications are safe with heart disease, but others are not. Men taking nitrates for chest pain cannot use phosphodiesterase-5 inhibitors because the combination can cause dangerous drops in blood pressure. A man must tell his doctor about all heart medications before starting ED treatment. A cardiologist and urologist can work together to find a safe option.

Does low testosterone cause erectile dysfunction?

Low testosterone can contribute to ED, but it is not the only cause. A man can have low testosterone without ED, or ED without low testosterone. A blood test can measure testosterone levels. If low testosterone is the problem, testosterone replacement therapy may help, though it has risks and is not right for everyone.