Erectile dysfunction can’t always be “cured” in the permanent sense, but most men can restore reliable erections through a combination of lifestyle changes, targeted exercises, medication, or therapy. The right approach depends on what’s causing the problem, and for many men, more than one factor is at play. The good news: even simple changes like regular exercise and dietary shifts produce measurable improvements, sometimes rivaling the effects of medication.
What’s Actually Happening in Your Body
An erection depends on a chemical chain reaction. Nerve signals trigger cells lining the blood vessels of the penis to release nitric oxide, a molecule that relaxes smooth muscle tissue. That relaxation allows blood to rush in and fill the erectile chambers. The process is maintained by a second messenger molecule called cGMP, which keeps the muscle relaxed until a specific enzyme breaks it down and ends the erection.
ED happens when any link in that chain weakens. Poor blood vessel health reduces nitric oxide production. Nerve damage from diabetes or surgery disrupts the signal. Anxiety floods the body with stress hormones that counteract relaxation. Low testosterone can dampen the entire process. Identifying which link is broken, or whether several are, determines which treatments will work best for you.
Exercise as a First-Line Treatment
Aerobic exercise is one of the most effective interventions for ED, and it’s free. Men who exercise for 30 to 60 minutes, three to five times a week, see significantly more improvement in erectile function compared to men who stay sedentary. The benefit comes from improved blood vessel health: regular cardio increases the body’s ability to produce nitric oxide and keeps arteries flexible.
The type of exercise matters less than consistency. Walking, jogging, cycling, swimming, or any activity that raises your heart rate into a moderate-to-vigorous zone works. The improvements tend to be most dramatic in men whose ED is linked to cardiovascular risk factors like high blood pressure, high cholesterol, or excess weight. But even men without those conditions benefit, because exercise also reduces anxiety and boosts testosterone slightly.
Pelvic Floor Exercises
Strengthening the muscles at the base of the pelvis can improve both erection rigidity and the ability to maintain an erection. These are the same muscles you’d use to stop urinating midstream or to hold in gas. The protocol is straightforward: squeeze those muscles for three seconds, relax for three seconds, and repeat. Aim for at least three sets of 10 to 15 repetitions per day.
Start lying down if it’s easier to isolate the right muscles. As they get stronger, practice while sitting, standing, or walking. The key mistake most men make is accidentally flexing the abs, thighs, or glutes instead. Breathe normally throughout. Results typically appear within a few weeks to a few months of consistent daily practice.
Diet and Weight Loss
A Mediterranean-style diet, rich in vegetables, fruits, whole grains, olive oil, fish, and nuts, is the most studied dietary pattern for ED. In a randomized trial of 65 men with both metabolic syndrome and ED, those who followed a Mediterranean diet for two years showed significant improvements in both erectile function and blood vessel health compared to the control group. Their markers of vascular inflammation also dropped.
A separate trial involving 215 people with type 2 diabetes found that those eating a Mediterranean diet experienced significantly smaller declines in sexual function over time compared to those on a standard low-fat diet. The mechanism is direct: this eating pattern improves the health of blood vessel linings, which are the cells responsible for producing the nitric oxide that triggers erections. Losing excess weight amplifies these effects by reducing inflammation and improving hormone balance.
Medications That Work
PDE5 inhibitors remain the most effective pharmacological treatment. These drugs work by blocking the enzyme that breaks down cGMP, the molecule that keeps erectile tissue relaxed and engorged with blood. They don’t create arousal on their own; they amplify the body’s natural response to sexual stimulation.
In a 12-week randomized trial comparing the major options, daily low-dose tadalafil outperformed on-demand sildenafil in improving erectile function, particularly the ability to achieve and sustain penetration. Tadalafil also has a much longer window of activity (up to 36 hours versus about 4 to 6 hours for sildenafil), which many men prefer because it removes the pressure of timing a pill. On-demand tadalafil was also the most effective option for men dealing with premature ejaculation alongside ED, a combination that affects roughly two-thirds of men with ED.
These medications do carry one critical safety rule: they must never be combined with nitrate drugs, including nitroglycerin and isosorbide mononitrate, which are prescribed for chest pain. The combination can cause a dangerous drop in blood pressure. This also applies to recreational “poppers” (amyl nitrite). If you take a PDE5 inhibitor and then develop chest pain, emergency workers need to know so they can avoid giving you nitrates. Sildenafil requires a 24-hour gap before nitrates can be safely used; tadalafil requires at least 48 hours. Men on alpha-blocker medications for an enlarged prostate should also use PDE5 inhibitors cautiously, as the combination increases the risk of low blood pressure.
When Low Testosterone Is the Cause
The American Urological Association defines low testosterone as a total level below 300 ng/dL, and recommends testing testosterone in all men presenting with ED. The relationship is dose-dependent: the lower the testosterone, the higher the likelihood of erectile problems. Men with levels below 231 ng/dL are nearly twice as likely to have ED compared to men with normal levels.
Testosterone replacement can help when levels are genuinely low, but predicting who will respond well remains difficult. Some men with low testosterone see dramatic improvements in erections; others see improvements in desire and energy but still need a PDE5 inhibitor for reliable erections. Testosterone therapy is not appropriate for men with normal levels, as it won’t improve function and carries risks including fertility suppression.
Treating the Psychological Side
Performance anxiety, stress, depression, and relationship conflict can all cause or worsen ED, sometimes even when the underlying plumbing is fine. If erections work normally during sleep or masturbation but fail during partnered sex, a psychological component is likely involved.
Cognitive behavioral therapy (CBT), often combined with sex therapy techniques, directly targets the negative thought patterns and anxiety responses that interfere with arousal. In one study, men who received both CBT and a PDE5 inhibitor continued improving in erectile function 15 to 18 months after treatment. Men who took the medication alone plateaued or declined over the same period. This suggests that therapy doesn’t just provide a temporary fix; it rewires the anxiety response so the improvement sticks. Many men find that a short course of medication helps break the cycle of failure and anxiety, while therapy builds the long-term confidence to eventually reduce or stop the medication.
Shockwave Therapy
Low-intensity shockwave therapy uses acoustic energy waves applied to penile tissue, with the goal of stimulating new blood vessel growth. It has generated significant consumer interest, and some clinics market it aggressively. The European Society of Sexual Medicine reviewed the evidence and concluded that while results are “encouraging,” the overall effect size is modest, evidence quality is low, and a clear clinical recommendation cannot yet be made. Treatment protocols vary widely between studies, with no consensus on the optimal number of sessions, energy levels, or treatment duration. If you’re considering this option, know that the science is still unsettled.
Penile Implants as a Last Resort
For men who don’t respond to medications, lifestyle changes, or therapy, inflatable penile implants offer a permanent mechanical solution. A surgeon places a fluid-filled device inside the erectile chambers that can be inflated on demand using a small pump hidden in the scrotum. The devices are entirely concealed and undetectable when deflated.
Device survival rates are strong: 87% of implants are still functioning at 5 years, and about 77% at 10 years. Patient satisfaction rates are consistently high across studies. The trade-off is that the surgery permanently alters the erectile tissue, so natural erections are no longer possible if the device is removed. This makes it a decision that’s worth exhausting other options before pursuing.
Combining Approaches for Best Results
The most effective strategies for most men involve layering treatments. A man with mild ED driven by a sedentary lifestyle and rising cholesterol might fully recover with exercise, dietary changes, and pelvic floor work alone. A man with moderate vascular ED might combine lifestyle changes with a PDE5 inhibitor and find that over time, the medication dose can be lowered. A man with performance anxiety might start with both medication and CBT, using the drug as a bridge while therapy addresses the root cause.
The pattern across the research is consistent: lifestyle interventions improve the underlying biology, medications provide reliable short-term function, and psychological treatment addresses the mental component that almost always develops once ED takes hold. Addressing all three layers, when relevant, produces better and more durable results than any single approach.