Erectile dysfunction is common, treatable, and almost always improvable with the right approach. About 52% of men experience some form of ED between ages 40 and 70, and roughly 26% of men under 40 are affected too. Whether your ED is occasional or persistent, the path forward typically involves some combination of lifestyle changes, addressing psychological factors, and medical treatment.
What’s Actually Happening in Your Body
An erection depends on blood flow. When you’re aroused, nerves and blood vessel linings release nitric oxide, which triggers a chemical chain reaction that relaxes the smooth muscle tissue inside the penis. This lets blood rush in, expand the tissue, and compress the veins that would normally drain blood away. The result is a firm erection that lasts until that chemical signal fades.
Anything that disrupts this process can cause ED. Damaged blood vessels from high blood pressure, diabetes, or high cholesterol make it harder for blood to flow in. Nerve damage from surgery or conditions like multiple sclerosis can weaken the signal. Low testosterone (below 300 ng/dL on two separate morning blood tests, per the American Urological Association) can reduce arousal drive. And stress, anxiety, or depression can interrupt the brain’s role in initiating the whole sequence. Most men with ED have more than one contributing factor at play.
Lifestyle Changes That Measurably Help
Diet and exercise aren’t just general health advice here. They directly affect the vascular system that erections depend on. In a two-year study published in the International Journal of Impotence Research, men with metabolic syndrome who followed a Mediterranean diet (rich in fruits, vegetables, nuts, whole grains, and olive oil) saw their erectile function scores jump from 14.4 to 18.1 on a standardized scale. About one-third of the men in the diet group regained normal sexual function. The control group barely changed.
Physical activity matters too. Walking at least 30 minutes a day, swimming, or playing active sports improves blood vessel health and helps with weight management, both of which feed directly into better erections. If you smoke, quitting is one of the single highest-impact changes you can make, since smoking damages the blood vessel lining that produces nitric oxide.
Cutting back on alcohol also helps. While a drink or two may reduce anxiety, heavier drinking suppresses the nervous system signals needed for arousal and erection.
Oral Medications: What to Expect
The most widely used ED medications all work the same way: they block the enzyme that breaks down the chemical signal keeping blood in the penis. This doesn’t create an erection on its own. You still need arousal. The medication just makes it easier for the natural process to work.
The three main options differ mostly in timing. Sildenafil (Viagra) works in about an hour and lasts 4 to 5 hours, with roughly 82% of men responding to the higher dose. Tadalafil (Cialis) kicks in within 30 minutes and lasts up to 36 hours, which is why some men prefer it for a more spontaneous experience. Vardenafil (Levitra) has a similar profile to sildenafil, reaching peak levels in about an hour with a 4 to 5 hour window.
All three can cause headaches, flushing, nasal congestion, or mild digestive upset. They should not be combined with nitrate medications used for chest pain, as the combination can cause a dangerous drop in blood pressure. A doctor can help you pick the right option based on your other medications and how you want to use it.
When the Cause Is Psychological
Performance anxiety, relationship stress, depression, and past experiences can all cause or worsen ED, especially in younger men. The pattern often feeds itself: one episode of difficulty creates anxiety about the next encounter, which makes it more likely to happen again.
Cognitive behavioral therapy (CBT) is the best-studied psychological approach for ED. It works by identifying and challenging the thought patterns and avoidance behaviors that keep the cycle going. A 2019 study found that men who combined CBT with oral medication had lower anxiety and depression and continued improving their erectile function for at least 18 months after treatment, outperforming men who took medication alone. If anxiety or mood issues are part of your picture, therapy isn’t a soft alternative to “real” treatment. It’s the piece that makes everything else work better.
Talking to Your Partner
ED affects relationships, and silence tends to make it worse. Partners often assume the problem means a loss of attraction or interest, which isn’t the case. Harvard Health recommends having this conversation outside the bedroom, at a time when neither of you feels vulnerable. The core message is simple: this is a medical condition, it’s extremely common, and you’re working on it.
Being open about what’s happening gives your partner a chance to be supportive rather than confused or hurt. It also takes pressure off sexual encounters, which can reduce the anxiety component significantly. Many couples find that expanding their definition of intimacy while working through ED actually strengthens the relationship.
Beyond Oral Medications
If pills don’t work well enough, or if you can’t take them due to other medications, there are effective alternatives. The American Urological Association no longer recommends a strict ladder of treatments from least to most invasive. Instead, the current guideline encourages discussing all options upfront so you can choose what fits your situation.
Penile injections deliver medication directly into the erectile tissue before sex. This bypasses the need for the nitric oxide pathway to work properly, which is why injections can help men who don’t respond to oral medications. Over 80% of men in studies reported the treatment met their expectations, and more than 75% said their partners were satisfied. The main downsides are injection-site pain and bruising, and some men find the process uncomfortable enough to stop over time.
Vacuum erection devices use a pump to draw blood into the penis, then a constriction ring holds it in place. They’re noninvasive and don’t require medication, though some men find them awkward. They tend to have lower dropout rates than injections.
For men who don’t respond to any of these approaches, surgical implants are a permanent option with high satisfaction rates, though they’re typically considered after other treatments have been tried.
Testosterone: When It’s the Missing Piece
If your total testosterone is below 300 ng/dL on two separate early-morning blood draws, low hormone levels may be contributing to your ED. Symptoms of low testosterone go beyond erections and often include fatigue, reduced sex drive, loss of muscle mass, and mood changes. Testosterone replacement can improve desire and arousal, but it doesn’t always fix erections on its own if vascular damage is also involved. Many men with low testosterone and ED benefit from hormone therapy combined with other treatments.
Avoid Unregulated Supplements
The FDA has issued hundreds of warnings about over-the-counter “male enhancement” products sold online and in convenience stores. Many of these products, despite being marketed as natural or herbal, contain hidden pharmaceutical ingredients at unpredictable doses. The FDA notes these contaminated products “pose a serious health risk” and that the agency’s warning list “covers only a small fraction of the contaminated products on the market.” If a supplement promises to work like a prescription ED drug, it may literally contain one, without the safety controls. Stick with treatments that have been evaluated by a healthcare provider.

