Viagra vs sildenafil: What’s the difference between the...
Reviewed by Dr. Anup Jethwa
Yes, lifestyle changes can improve erectile dysfunction (ED), and for some men they are enough on their own. In one randomised trial, about a third of men with obesity and ED regained normal erectile function after two years of weight loss and regular exercise.
Regular aerobic exercise, drinking within the UK low-risk guideline, treating poor sleep and stopping smoking all have evidence behind them. Changes take weeks to months to show, so many men use ED medication alongside them in the meantime. That isn't cheating. It's what the clinical guidelines describe.
If you've noticed your erections aren't what they were, you're in large company. In the Massachusetts Male Aging Study, 52% of men aged 40 to 70 reported some degree of erectile difficulty. It's one of the most common reasons men speak to a prescriber, and it's rarely a sign that something is "wrong with you" as a person.
It is, though, often a sign of something worth paying attention to. Erections depend on healthy blood vessels, so the habits that affect your heart can affect your erections too, and erection problems can be an early warning sign of poor blood vessel health.
That's the useful part: the same changes that protect your heart can also improve your erections, and they're within your control.
This guide covers what the evidence shows for weight, exercise, alcohol, sleep and smoking, how long changes take, and how lifestyle and medication work together. OnlineClinic has been operating since 2011 and has treated more than 2.1 million patients. Our prescribers handle ED consultations every day, discreetly and without judgement, and this guide is written the same way: straight answers, sourced, no scare tactics.
An erection is a blood-flow event. When you're aroused, nerves signal the lining of the blood vessels in the penis (the endothelium) to release nitric oxide. That relaxes the vessel walls, blood flows in, and the erection follows.
Anything that damages the endothelium or narrows small arteries makes that process less reliable. Excess weight, inactivity, smoking, heavy drinking and poor sleep all do this, mostly through the same routes as heart disease: raised blood pressure, higher blood sugar, unhealthy cholesterol and chronic inflammation.
The arteries in the penis are smaller than those supplying the heart. So when blood vessels start to struggle, erections are often the first thing to change.
A large US study followed 9,457 men aged 55 and over for several years. Men with ED had a 45% higher risk of a later heart attack, stroke or other cardiovascular event than men without it. The researchers noted that this was in the same range as the risk linked to current smoking. (Thompson et al, JAMA, 2005)
That's not a reason to panic. It's a reason to take ED seriously as health information, and a reason the lifestyle changes below matter beyond the bedroom.
Lifestyle isn't the only cause of ED. Age plays a role (see ED causes by age), so can low testosterone and anxiety. This guide focuses on the parts you can change.
| Factor | What the evidence shows | A realistic target |
|---|---|---|
| Weight | Men with obesity who lost weight and exercised more were more than five times as likely to regain normal erections as a control group (Esposito, JAMA, 2004) | Aim for gradual, sustained loss. In the trial, average BMI fell from about 37 to 31 over two years |
| Exercise | Regular aerobic exercise improved erectile function in men with ED linked to inactivity, obesity, high blood pressure or heart disease (Gerbild, Sexual Medicine, 2018) | Around 40 minutes of moderate to vigorous activity, four times a week, for six months |
| Alcohol | Drinking temporarily impairs erections. In population studies, moderate drinking was associated with a lower risk of ED | No more than 14 units a week, spread over three or more days (UK Chief Medical Officers) |
| Sleep | Obstructive sleep apnoea is strongly linked to ED. One week of short sleep lowered testosterone by 10–15% in young men | Seven or more hours. Get loud snoring or daytime sleepiness checked |
| Smoking | ED risk rises the more you smoke. Former smokers have better erectile function than current smokers | Stop completely. Support roughly doubles quit rates in trials |
| Pelvic floor | In a UK trial, 40% of men with ED regained normal function after pelvic floor training | Daily exercises for at least three months |
Sources for each row are listed at the end of this article.
Carrying excess weight, especially around the middle, raises the risk of ED through blood pressure, blood sugar and inflammation. Losing weight reverses some of that.
The clearest evidence comes from a randomised trial of 110 men with obesity (BMI 30 or over) and ED, aged 35 to 55, published in JAMA. Half were given detailed, ongoing support to lose at least 10% of their body weight through eating less and moving more. The other half received general healthy-living information.
After two years:
Two things are worth taking from this. First, the improvement was real and measurable. Second, it took sustained effort over two years, and two-thirds of men in the active group still had some degree of ED at the end. Weight loss helps, but it isn't a guaranteed fix, and it isn't fast.
A 2021 meta-analysis of randomised trials in men with overweight or obesity found that, on average, men in the weight-loss groups scored 1.99 points higher on the IIEF, a standard erection questionnaire used by clinicians, than men in the control groups. (Andrologia, 2021) That's a modest but meaningful shift, often enough to move someone from one severity band to the next.
If your BMI is 30 or above, or 27 or above with a weight-related condition, prescription weight-loss treatment may also be an option. Our complete UK guide to GLP-1 medications covers who is eligible and what to expect.
Exercise improves erections in two ways. It helps with weight, and it directly improves how blood vessels behave, independent of weight loss.
A systematic review in Sexual Medicine looked at intervention studies in men whose ED was linked to inactivity, obesity, high blood pressure, metabolic syndrome or heart disease. Its recommendation was specific:
(Gerbild et al, Sexual Medicine, 2018)
"Moderate to vigorous" means you're breathing harder and can talk in short sentences but not sing. If you're starting from very little, there's no need to hit 160 minutes in week one. Build up over a month or two. If you have a heart condition, or haven't exercised in years and have chest symptoms, speak to your GP before increasing intensity.
Most men have never heard of pelvic floor exercises, but the muscles involved help keep blood in the penis during an erection.
In a UK randomised trial, 55 men with ED were taught pelvic floor exercises with biofeedback. After three months, the exercise group improved significantly on erectile function scores compared with men given lifestyle advice only.
By six months, 40% had regained normal erectile function, 34.5% had improved, and 25.5% had not improved. (Dorey et al, British Journal of General Practice, 2004)
To find the right muscles, imagine stopping yourself passing urine and holding in wind at the same time. Squeeze and lift, hold for a few seconds, then relax fully. Do this in sets several times a day, lying, sitting and standing. A specialist physiotherapist can check your technique if you're unsure. It costs nothing and carries no real risk.
The short-term effect is clear. Alcohol depresses the nervous system, and enough of it makes erections harder to get and keep. The patient leaflets for both Viagra and Cialis say drinking can temporarily impair your ability to get an erection. (Viagra patient leaflet, MHRA; Cialis patient leaflet, MHRA)
The long-term picture is less clear-cut, and it's worth being honest about that. A 2018 meta-analysis of population studies found a curved relationship between alcohol and ED, in which moderate drinking was associated with a lower risk of ED. (Allen and Walter, Journal of Sexual Medicine, 2018)
What this means practically:
Fourteen units is roughly six pints of average-strength beer or six medium glasses of wine across a week.
If you take sildenafil or tadalafil, heavy drinking works against you. It can blunt the erection the tablet is helping with. If you take tadalafil (Cialis), excessive drinking (a blood alcohol level of 0.08% or more) may also increase the risk of dizziness when you stand up, and the Cialis leaflet advises avoiding it for this reason. A drink or two is generally fine. A big night out is the situation where the tablet is most likely to seem as if it "didn't work".
Sleep affects erections through hormones, mood and, in some men, a treatable medical condition.
Testosterone is mostly released during sleep. In a small study published in JAMA, 10 healthy young men slept under five hours a night for one week. Their daytime testosterone fell by 10–15%.
For comparison, the researchers noted that normal ageing lowers testosterone by 1–2% a year. (Leproult and Van Cauter, JAMA, 2011) One week of poor sleep won't cause ED on its own, but long-term short sleep adds up. If you're worried your testosterone might be low, see Testosterone and ED.
Obstructive sleep apnoea (OSA) is a condition where the airway repeatedly narrows or closes during sleep, briefly cutting oxygen. It's common in men who are overweight, and it's strongly linked to ED.
Signs worth mentioning to your GP include loud snoring, a partner noticing you stop breathing at night, waking unrefreshed and feeling very sleepy during the day. OSA is diagnosed with a sleep study, and treating it helps far more than erections.
Aim for seven or more hours on a consistent schedule. Keep alcohol away from the last few hours before bed, since it fragments sleep. If stress or worry about performance is keeping you awake, that's common too, and Anxiety and erectile dysfunction covers the psychological side.
Smoking isn't in the title, but it belongs here. It damages the endothelium directly and reduces nitric oxide, the chemical that starts an erection.
The risk is dose-dependent. A 2018 meta-analysis of population studies found that the risk of ED increased with greater cigarette smoking. (Allen and Walter, Journal of Sexual Medicine, 2018)
Stopping helps:
If you smoke, stopping is likely to be the single most useful change for your erections and your heart. Our stop smoking page covers the support available.
Yes, mostly through the routes above. A 2024 meta-analysis of 14 studies and more than 27,000 men found that diets rich in vegetables, fruit, nuts and plant foods were associated with lower ED risk.
Detailed advice combining diet and exercise was linked to lower risk, and a low-fat diet showed an even stronger association. (Yang et al, Asian Journal of Andrology, 2024) Most of these studies were observational, so they show a link rather than proof of cause.
A practical rule: eat in a way that would please a cardiologist. More vegetables, pulses, whole grains, oily fish and olive oil. Less processed meat, sugary drinks and ultra-processed snacks. There's no single "erection food", and supplements sold for ED are not a substitute for this.
This is the question most men are really asking. If lifestyle can help, should you hold off on treatment?
There's no rule that says you have to choose. The European Association of Urology guidelines on ED place lifestyle change and risk factor management at the centre of treatment, alongside medication where it's needed, not as a hurdle you must clear first. (EAU Guidelines on Sexual and Reproductive Health, 2026)
The practical reasons for doing both:
You can buy sildenafil or tadalafil from OnlineClinic after a free consultation with a GMC-registered prescriber. If you'd like to understand the difference between taking tadalafil as needed or every day, see Cialis daily vs on-demand.
Two practical points from the patient leaflets. Sildenafil (Viagra) is taken about an hour before sex, and may take longer to work after a heavy meal. Tadalafil (Cialis) can be taken with or without food. (Viagra patient leaflet, MHRA; Cialis patient leaflet, MHRA)
It depends on the change and the cause, but expect weeks to months, not days.
| Change | Timeframe seen in studies |
|---|---|
| Stopping smoking | Blood-flow changes within 24–36 hours in a small study. Clinical improvement measured at six months |
| Pelvic floor exercises | Improvement at three months, further gains at six months |
| Aerobic exercise | Recommended for six months to reduce ED |
| Weight loss | Measured over two years in the main trial |
| Treating sleep apnoea | Improvements reported after CPAP treatment, timing varies between studies |
A sensible approach is to pick one or two changes you can stick with, give them three months, and keep a rough note of how things are going. Small, sustained changes beat a burst of effort that stops after a fortnight.
ED is usually manageable, but sometimes it's a signal to get a fuller health check. Speak to your GP if:
See your GP if
Given the link between ED and heart health, a check of your cardiovascular risk is worthwhile for most men with ED, even if you feel well. We cover this in more depth in When should I see a doctor about ED?
Straightforward and discreet. From start to finish:
Our pharmacy is registered with the General Pharmaceutical Council (GPhC), our prescribers are registered with the General Medical Council (GMC), and the service is regulated by the Care Quality Commission (CQC). On Trustpilot, our service rating is 4.6 from over 7,365 reviews.
Disclaimer
Sildenafil and tadalafil are prescription-only medicines when supplied through our consultation. Decisions about whether treatment is suitable for you are made by a GMC-registered prescriber based on your individual medical history. The information here is for general guidance and is not a substitute for professional medical advice.
OnlineClinic is operated by Hexpress Healthcare Ltd, 106 Lower Addiscombe Road, Croydon CR0 6AD. Registered with the Care Quality Commission and the General Pharmaceutical Council, and supported by GMC-registered prescribers. Operating since 2011 · 2.1M+ patients treated · Trustpilot 4.6 from 7,361+ reviews.
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Reviewed by Dr. Anup Jethwa
Not sure which treatment is right for you?
No obligation · Reviewed by GMC-registered prescribers · CQC regulated