Keto Diet and Erectile Dysfunction: The Facts
Understand how low-carb eating affects erections and explore UK treatment options with pharmacist-led support.
Takes less than 2 minutes to complete 100% online

Our ED Treatments
Pricing Disclaimer: Prices on some pages may not be up to date — the live pricing table below and pricing shown during consultation are official current prices and take precedence over any other figures on the site.
Not sure which one? Start a free consultation →Keto Diet and Erectile Dysfunction: Understanding the Connection
Published: 17 October 2026
The relationship between keto diet and erectile dysfunction is a question many men following low-carbohydrate eating plans want answered. While the ketogenic diet has become popular for weight loss and metabolic health, some men report changes in sexual function when they start or follow this eating pattern. Understanding how dietary changes affect erections—and knowing when to seek help—can make a real difference to your confidence and wellbeing.
Give Keto Time to Work
If you've just started a ketogenic diet and notice erection changes, allow 4–6 weeks for your body to adapt. Ensure you're eating a balanced variety of whole foods, staying hydrated, and managing electrolytes—most men find energy and sexual function return to normal or improve once fully adapted.
How the Keto Diet and Erectile Dysfunction May Be Connected
The ketogenic diet drastically reduces carbohydrate intake (typically to under 50g per day) and increases fat consumption, pushing the body into a metabolic state called ketosis. During the initial transition—often called 'keto flu'—many people experience fatigue, headaches, irritability, and reduced energy. These temporary symptoms can affect libido and sexual performance simply because you don't feel your best [1].
Some men also report changes in testosterone levels when following very low-carb diets, though research findings are mixed. Testosterone plays an important role in sexual desire and erectile function, so any significant hormonal shift could theoretically influence erections. However, the keto diet can also lead to weight loss, improved blood sugar control, and better cardiovascular health—all of which typically improve erectile function over time [2].
The key distinction is between short-term adaptation effects and longer-term metabolic benefits. If you're experiencing erectile difficulties soon after starting keto, it may be a temporary adjustment. If problems persist or worsen, it's worth speaking to a healthcare professional to rule out other causes, as erectile dysfunction can be an early warning sign of cardiovascular disease or diabetes [1][2].
Does Keto Help or Harm Erections? What the Evidence Shows
The evidence on keto diet and erectile dysfunction is not straightforward. On one hand, the ketogenic diet has been shown to improve several risk factors for ED: it can reduce body weight, lower blood pressure, improve insulin sensitivity, and reduce inflammation—all of which support healthy blood flow and erectile function [2]. Obesity, type 2 diabetes, and metabolic syndrome are well-established causes of ED, so addressing these through diet may indirectly improve erections [10].
On the other hand, some small studies and anecdotal reports suggest that very low carbohydrate intake might temporarily reduce testosterone or affect energy levels, particularly during the adaptation phase. The body needs time to become efficient at using fat for fuel, and during this transition, physical and sexual performance can dip. Most men find that energy and libido return to normal—or even improve—once they are fully adapted to ketosis, typically within a few weeks.
There is no large-scale clinical trial specifically examining keto and erectile function, so recommendations are based on broader metabolic and cardiovascular research. If you're following keto for health reasons and notice erection problems, consider whether you're getting adequate micronutrients (magnesium, potassium, zinc), staying well hydrated, and allowing enough time for adaptation. If ED persists beyond the first month or two, it's important to see a GP to investigate other potential causes [1][2].
Nutritional Factors That Support Erectile Health on Keto
Regardless of your diet, certain nutrients are particularly important for erectile function. Zinc supports testosterone production, magnesium helps regulate blood pressure and blood flow, and omega-3 fatty acids reduce inflammation and support vascular health. A well-formulated ketogenic diet that includes oily fish, nuts, seeds, leafy greens, and a variety of healthy fats is more likely to support sexual health than one relying heavily on processed meats and low-quality fats. Hydration and electrolyte balance are also crucial, especially in the early weeks of keto when the body sheds water and minerals more rapidly.
When to get urgent help
- Erection lasting more than 4 hours (priapism) – go to A&E immediately
- Sudden loss of vision or hearing – seek urgent medical attention
- Chest pain during sexual activity – stop and call 999
- Severe dizziness or fainting after taking ED medication – seek immediate help
- New or worsening erectile dysfunction alongside chest pain, breathlessness, or fatigue – see a GP urgently, as ED can signal heart disease
Call 999 or go to A&E in an emergency, or contact NHS 111 for urgent advice.
Assessing Erectile Dysfunction When Following a Keto Diet
If you're experiencing erectile difficulties while on a ketogenic diet, the first step is to determine whether the diet is the cause or whether other factors are at play. Erectile dysfunction is common—affecting around half of men aged 40–70 to some degree—and has many potential causes, including cardiovascular disease, diabetes, high blood pressure, stress, anxiety, and certain medications [1][10].
Your GP or a specialist can assess your overall health, check blood pressure, blood sugar, cholesterol, and hormone levels, and review any medications you take. They may ask about the timing of your symptoms: did the ED start soon after beginning keto, or was it present beforehand? Have you lost weight, and has your energy improved? Are you experiencing other symptoms such as low mood, fatigue, or reduced libido? These details help distinguish between a temporary dietary adjustment and an underlying health issue [2].
At Cured Pharmacy, our online consultation asks about your medical history, current medications, lifestyle factors (including diet), and any recent changes. A UK-registered prescriber reviews every consultation to ensure that any treatment is safe and appropriate for you. If your ED appears to be linked to a new diet, the prescriber may suggest giving your body more time to adapt, optimising your nutrition, or trying a PDE5 inhibitor to restore confidence while your metabolism adjusts.
| Option | How it helps | Points to consider |
|---|---|---|
| Sildenafil (generic Viagra) – £0.45 (first order £0.36 with code Ednew) | Increases blood flow to the penis when sexually aroused; take about 1 hour before sex, lasts ~4 hours | Proven and affordable; max once daily; avoid heavy meals beforehand |
| Tadalafil (generic Cialis) – £7.95 (first order £6.36 with code Ednew) | On-demand or daily dosing; effects last up to 36 hours for flexibility | Longer window for spontaneity; take at least 30 minutes before sex |
| Vardenafil (generic Levitra) – £16.95 (first order £13.56 with code Ednew) | Similar to sildenafil; works in 25–60 minutes, lasts ~4–5 hours | Good alternative if sildenafil doesn't suit; max once daily |
| Spedra (avanafil) – £20.95 (first order £16.76 with code Ednew) | Fastest onset (15–30 minutes); lasts ~6 hours | Ideal if you want a quick-acting option; well tolerated |
Lifestyle Measures to Support Erectile Function on Keto
Whether or not your keto diet and erectile dysfunction are directly linked, several lifestyle strategies can support healthy erections. First, ensure your ketogenic diet is well-balanced: prioritise whole foods, include plenty of non-starchy vegetables, choose high-quality protein and fats, and consider supplementing electrolytes (sodium, potassium, magnesium) during the adaptation phase. Avoid excessive alcohol, which worsens ED and can interfere with ketosis [1].
Regular physical activity improves blood flow, supports cardiovascular health, and can boost testosterone levels. Aim for a mix of aerobic exercise (walking, cycling, swimming) and resistance training. Exercise also helps with weight management and stress reduction, both of which benefit erectile function [2]. If you're new to keto and feeling fatigued, start gently and build up as your energy returns.
Stress and anxiety are common contributors to ED, and dietary changes can sometimes add to stress if you're worried about symptoms or struggling with the transition. Mindfulness, good sleep hygiene, and open communication with a partner can all help. If you smoke, stopping is one of the most effective steps you can take to improve erections, as smoking damages blood vessels. If ED persists despite lifestyle measures, effective medical treatments are available and can be used safely alongside a ketogenic diet [1][2].
Monitoring Your Progress and When to Seek Help
Give yourself at least 4–6 weeks on a well-formulated ketogenic diet before concluding that it's affecting your erections. Keep a simple diary noting energy levels, mood, and sexual function. If you see steady improvement, the initial dip was likely part of adaptation. If ED worsens or doesn't improve, book a GP appointment. Remember, erectile dysfunction can be an early sign of heart disease or diabetes, so it's always worth investigating properly rather than assuming it's just your diet [1][2].
At a glance
Treatment Options for Keto Diet and Erectile Dysfunction
If you're following a keto diet and experiencing erectile dysfunction, effective treatments are available. The most commonly prescribed medications are PDE5 inhibitors, which work by increasing blood flow to the penis in response to sexual stimulation. They do not cause an automatic erection; you still need to feel aroused. The main options licensed in the UK are sildenafil (Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Spedra) [3][4][5][6].
Sildenafil is usually taken about one hour before sexual activity and works for around four hours. Tadalafil can be taken on-demand (at least 30 minutes before sex, with effects lasting up to 36 hours) or as a low daily dose for spontaneity. Vardenafil works similarly to sildenafil, while avanafil has a faster onset (15–30 minutes). All are effective, and choice often comes down to personal preference, timing, and how your body responds [3][4][5][6].
PDE5 inhibitors are generally safe for men following a ketogenic diet, as there is no direct interaction between these medications and the diet itself. However, you must declare all current medications and health conditions during your consultation. These medicines are not suitable if you take nitrates, nicorandil, or certain other drugs, or if you have severe heart problems. Your prescriber will check your full medical history to ensure treatment is safe [3][4][5][6]. At Cured Pharmacy, you complete a confidential online consultation, and a UK prescriber reviews it before approving and dispensing your treatment.
Choosing the Right ED Treatment While on Keto
There is no evidence that the keto diet affects how PDE5 inhibitors work, so you can choose based on the same factors as anyone else: how quickly you want the medicine to work, how long you want the effect to last, and how you respond to each option. Some men prefer the flexibility of tadalafil's long window, while others like the predictability of sildenafil taken an hour before. Your prescriber can guide you, and it's fine to try a different option if the first one doesn't suit you. All PDE5 inhibitors require sexual stimulation to work, so they support natural function rather than forcing an erection [3][4][5][6].
Important Safety Information and Cautions for Keto Dieters
PDE5 inhibitors are safe for most men, but certain combinations and conditions are not suitable. Never take these medicines if you use nitrates (such as GTN spray, isosorbide mononitrate, or isosorbide dinitrate), nicorandil, riociguat, or recreational drugs called 'poppers' (amyl or alkyl nitrites). The combination can cause a dangerous drop in blood pressure [3][4][5][6]. If you take alpha-blockers for prostate symptoms or blood pressure (such as tamsulosin or doxazosin), you must be stable on that treatment and start on the lowest PDE5 dose, as there is a risk of dizziness or low blood pressure.
Some medicines can raise the levels of PDE5 inhibitors in your blood. Potent CYP3A4 inhibitors—including ritonavir, cobicistat (often in HIV treatments), Paxlovid, ketoconazole, itraconazole, and clarithromycin—require dose adjustments or may make certain PDE5 inhibitors unsuitable. Conversely, CYP3A4 inducers (rifampicin, carbamazepine, phenytoin, St John's wort) can reduce effectiveness. Grapefruit juice can also raise drug levels, so it's best avoided. Heavy alcohol can worsen ED and add to blood-pressure-lowering effects [3][4][5][6].
PDE5 inhibitors are not suitable if sexual activity is inadvisable—for example, if you've had a recent heart attack or stroke, have unstable angina, or severe heart failure. They are also contraindicated if you've had sudden vision loss (NAION) or have certain inherited retinal disorders. During your consultation, declare all medications, supplements (including any keto-specific supplements), and health conditions. The prescriber and pharmacist check every detail to ensure your treatment is safe. Seek urgent medical help if you have an erection lasting more than four hours, sudden vision or hearing loss, or chest pain during sex [3][4][5][6].
In summary
- The keto diet may temporarily affect energy and libido during adaptation, but long-term benefits often improve erectile function.
- Weight loss and better metabolic health from keto can reduce ED risk factors such as obesity and diabetes.
- PDE5 inhibitors like sildenafil and tadalafil are safe to use on a ketogenic diet after a clinical assessment.
- Persistent ED should always be assessed by a GP, as it can signal underlying cardiovascular or metabolic conditions.
- A well-balanced keto diet with adequate nutrients, hydration, and exercise supports overall sexual health.
Scientific References
- NHS. (n.d.). Erectile dysfunction (impotence). NHS website. https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/ [accessed 17 October 2026]
- National Institute for Health and Care Excellence. (n.d.). Erectile dysfunction. Clinical Knowledge Summaries. https://cks.nice.org.uk/topics/erectile-dysfunction/ [accessed 17 October 2026]
- Joint Formulary Committee. (n.d.). Sildenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/sildenafil/ [accessed 17 October 2026]
- Joint Formulary Committee. (n.d.). Tadalafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/tadalafil/ [accessed 17 October 2026]
- Joint Formulary Committee. (n.d.). Vardenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/vardenafil/ [accessed 17 October 2026]
- Joint Formulary Committee. (n.d.). Avanafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/avanafil/ [accessed 17 October 2026]
- Feldman, H. A., Goldstein, I., Hatzichristou, D. G., Krane, R. J., & McKinlay, J. B. (1994). Impotence and its medical and psychosocial correlates: Results of the Massachusetts Male Aging Study. Journal of Urology, 151(1), 54–61. https://pubmed.ncbi.nlm.nih.gov/8254833/ [accessed 17 October 2026]
Information on this page is for educational purposes only and is not medical advice. Prescription treatments require clinical assessment by a UK-registered prescriber. Always consult a qualified healthcare professional before starting or changing any medication.
Trusted by thousands
Real people, real results
“Fabulous service and quick delivery”
“Felt the effects of these after about 5 days. Erections are better and can get aroused and ready easier”
“Excellent value and brilliant customer service”
“I received excellent service and everything went well. The order arrived quickly and in perfect condition. It's working very well! Thank you to the whole team for the great work!”
“Delivery was good, the product lived up to expectations.”
How it Works?
Select from our recommended UK-licensed medications.
1Choose your treatment

Select safe UK treatments. Quick answers.
2Answer quick questions

We will deliver direct to you as quickly as tomorrow.
3Get it delivered fast

Start Your Assessment For Erectile Dysfunction
- Reviewed by UK-based prescribers
- Takes under 3 minutes
- Discreet Packaging
Faq
Medically reviewed by
Tarun Kumar, Superintendent Pharmacist (GPhC 2233073)
Last updated on 17 October 2026.
Review History
Our experts continually monitor new findings in health and medicine, and we update our articles when new information becomes available.
Why this page was updated on 17 October 2026
Content checked and updated as part of our periodic review, to ensure accuracy and currentness.
Current version (17 October 2026)
Edited by: The Editorial Team
Medically reviewed by:
Tarun Kumar, GPhC No. 2233073, Superintendent Pharmacist
How we source info.
When we present you with stats, data, opinion or a consensus, we'll tell you where this came from.








