Sudden Erectile Dysfunction: Causes & What to Do
Learn why ED can appear suddenly and how a UK pharmacist-led consultation can help.
Takes less than 2 minutes to complete 100% online

Sudden Erectile Dysfunction: Causes, When to Seek Help, and Treatment Options
Published: 15 October 2026
Sudden erectile dysfunction—when you find it difficult or impossible to get or keep an erection firm enough for sex, seemingly out of nowhere—can be worrying, but it is a common problem and often treatable [1]. Many men experience a sudden change in erectile function, and the causes range from temporary stress or lifestyle factors to underlying health conditions that need attention [2]. Understanding what might be behind your symptoms and knowing when to speak to a healthcare professional are the first steps toward finding the right support and treatment.
Key takeaways
- Sudden erectile dysfunction is common and often linked to stress, lifestyle factors, or new medicines.
- It can be an early warning sign of heart disease or diabetes, so see your GP for a health check.
- Prescription PDE5 inhibitors like sildenafil and tadalafil are effective for most men after a clinical review.
- Lifestyle changes—exercise, reducing alcohol, stopping smoking—can significantly improve erectile function.
- Seek urgent help if an erection lasts over four hours or you experience sudden vision or hearing loss.
What is sudden erectile dysfunction and why does it happen?
Erectile dysfunction (ED) is the persistent difficulty in achieving or maintaining an erection sufficient for satisfactory sexual activity [1]. When ED appears suddenly rather than gradually, it often signals a specific trigger or change in your health or circumstances. Unlike ED that develops slowly over months or years, sudden onset erectile dysfunction may point to recent physical, psychological, or lifestyle factors [2].
Common causes of sudden erectile dysfunction include acute stress or anxiety (such as work pressure, relationship difficulties, or bereavement), a new medication that affects blood flow or hormone levels, excessive alcohol consumption, recreational drug use, or an undiagnosed health condition such as diabetes or cardiovascular disease [1][2]. Because erections depend on healthy blood vessels, nerves, hormones, and psychological wellbeing, a sudden change in any of these areas can disrupt normal function. It is important to recognise that sudden ED can also be an early warning sign of heart disease or other serious conditions, so seeking medical advice promptly is always recommended [2].
If you notice a sudden change in your ability to get or maintain an erection, do not ignore it. A conversation with your GP or a pharmacist-led online consultation can help identify the cause and guide you toward the most appropriate treatment or lifestyle adjustments.
Common triggers and risk factors for sudden erectile dysfunction
Several factors can trigger sudden erectile dysfunction, and they often overlap. Psychological stress is one of the most frequent culprits: anxiety about performance, relationship conflict, work pressure, or major life events can all interfere with sexual arousal and erection [1]. Even short-term stress can have an immediate impact, and the worry about ED itself can create a cycle that makes the problem worse.
Lifestyle factors also play a significant role. Heavy alcohol intake, smoking, and recreational drug use (including cocaine and cannabis) can all impair erectile function suddenly [2]. Starting a new prescription medicine—particularly certain antidepressants, beta-blockers, or diuretics—may cause ED as a side effect, so it is worth reviewing any recent changes to your medication with your GP or pharmacist [2]. Physical health conditions such as high blood pressure, high cholesterol, diabetes, or hormonal imbalances (low testosterone) can present with sudden ED, especially if they have been developing unnoticed [1][2].
Fatigue, poor sleep, and lack of physical activity can also contribute. If you have recently gained weight, become less active, or experienced disrupted sleep patterns, these changes can affect blood flow and energy levels, both of which are essential for healthy erections [2]. Identifying and addressing these triggers early can often improve symptoms without the need for medication.
When a new medication might be the cause
If your sudden erectile dysfunction coincided with starting a new prescription medicine, the medication may be contributing to the problem. Common medicines associated with ED include certain antidepressants (particularly SSRIs), beta-blockers used for high blood pressure or heart conditions, thiazide diuretics, and some treatments for prostate enlargement [2]. Never stop or change a prescribed medicine without speaking to your GP or pharmacist first, as the underlying condition being treated is usually more important to manage. Your doctor can often switch you to an alternative medicine or adjust the dose, and in many cases, ED treatments can be safely used alongside your existing medication after a clinical review [2].
At a glance
Why you should see a doctor about sudden erectile dysfunction
Sudden erectile dysfunction should always prompt a conversation with a healthcare professional, even if you suspect the cause is stress or lifestyle-related [1][2]. ED can be an early warning sign of cardiovascular disease: the smaller blood vessels in the penis are often affected by atherosclerosis (narrowing of the arteries) before larger vessels, so erectile problems can appear years before a heart attack or stroke [2]. Similarly, sudden ED may be the first noticeable symptom of diabetes, high blood pressure, or hormonal imbalance, all of which benefit from early diagnosis and treatment.
Your GP will take a medical history, ask about your symptoms, lifestyle, and any medicines you are taking, and may arrange blood tests to check for diabetes, cholesterol, testosterone levels, and other markers of cardiovascular or hormonal health [2]. This assessment is important not only for treating the ED itself but also for protecting your overall health. If an underlying condition is identified, treating it may improve your erections naturally, and if not, your doctor can discuss safe and effective treatment options tailored to your situation.
Do not feel embarrassed—ED is extremely common, affecting around half of men aged 40–70 to some degree, and healthcare professionals are well used to discussing it [10]. Early intervention can prevent the problem from becoming long-term and can identify serious health risks that might otherwise go unnoticed.
| Topic | Key point | What you can do |
|---|---|---|
| Psychological triggers | Stress, anxiety, and relationship problems can cause sudden ED | Talk to your partner, consider counselling, and try relaxation techniques |
| Lifestyle factors | Heavy alcohol, smoking, and inactivity impair erectile function | Reduce alcohol, stop smoking, and aim for 150 minutes of exercise per week |
| New medications | Some medicines (antidepressants, beta-blockers) can cause ED as a side effect | Review your medicines with your GP—never stop them without advice |
| Underlying health conditions | Sudden ED can be an early sign of diabetes, high blood pressure, or heart disease | See your GP for a health check, including blood tests if needed |
| Prescription treatments | PDE5 inhibitors (sildenafil, tadalafil, vardenafil, avanafil) help most men with ED | Complete an online consultation or see your GP to discuss safe, effective options |
| When to seek urgent help | Erection lasting over 4 hours, sudden vision or hearing loss, or chest pain during sex | Go to A&E or call 999 immediately |
How prescription treatments for sudden erectile dysfunction work
If sudden erectile dysfunction persists and an underlying cause has been addressed (or ruled out), prescription medicines called PDE5 inhibitors are usually the first-line treatment [2]. These include sildenafil (the active ingredient in Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Spedra) [3][4][5][6]. PDE5 inhibitors work by relaxing the blood vessels in the penis, allowing increased blood flow when you are sexually aroused. They do not cause an erection on their own—sexual stimulation is still needed—but they make it easier to achieve and maintain one [1][2].
Each PDE5 inhibitor has a slightly different profile. Sildenafil is taken about one hour before sex and lasts for around four to six hours; tadalafil can be taken on-demand (working within 30 minutes and lasting up to 36 hours) or as a low daily dose for spontaneity; vardenafil works similarly to sildenafil; and avanafil is the fastest-acting, often effective within 15–30 minutes [3][4][5][6]. Your prescriber will help you choose the most suitable option based on your health, other medicines, and personal preference.
These medicines are prescription-only because they are not safe for everyone. They must not be taken with nitrates (such as GTN spray for angina), nicorandil, riociguat, or recreational drugs called 'poppers', as the combination can cause a dangerous drop in blood pressure [3][4][5][6]. Men taking alpha-blockers for prostate symptoms or blood pressure need careful dose adjustment, and those on certain other medicines (such as potent CYP3A4 inhibitors like ritonavir or ketoconazole) may need a lower dose or alternative treatment [3][4][5][6]. A clinical consultation ensures the treatment is safe and appropriate for you.
What to expect from an online consultation
At Cured Pharmacy, you complete a confidential online health questionnaire covering your symptoms, medical history, current medicines, and lifestyle. A UK-registered prescriber reviews your answers and, if appropriate and safe, approves a prescription for an ED treatment. The medicine is then dispensed by our GPhC-registered pharmacy and delivered discreetly to your door. If the prescriber has any concerns or needs more information, they will contact you, and if an ED treatment is not suitable, they will advise you to see your GP for further investigation. This process ensures you receive safe, personalised care without needing to visit a clinic in person.
See your GP promptly
Sudden erectile dysfunction can be an early sign of heart disease or diabetes. A simple health check and blood tests can identify underlying conditions early, protect your long-term health, and guide you toward the most effective treatment.
Lifestyle changes that can help sudden erectile dysfunction
Alongside medical treatment, lifestyle changes can significantly improve erectile function, especially when sudden erectile dysfunction is linked to stress, alcohol, or physical inactivity [1][2]. Regular physical activity—aim for at least 150 minutes of moderate exercise per week—improves cardiovascular health, blood flow, and mood, all of which support healthy erections [2]. Even brisk walking, cycling, or swimming can make a difference.
Reducing alcohol intake is important: heavy drinking impairs erectile function both in the short term (by affecting the nervous system) and long term (by damaging blood vessels and lowering testosterone) [2]. If you smoke, stopping is one of the most effective steps you can take, as smoking damages blood vessels and reduces blood flow to the penis [2]. Managing stress through relaxation techniques, talking therapies, or simply making time for activities you enjoy can also help, particularly if anxiety or low mood is contributing to your ED [1].
Maintaining a healthy weight and eating a balanced diet rich in fruit, vegetables, whole grains, and lean protein supports vascular health and hormone balance [2]. If you have high blood pressure, high cholesterol, or diabetes, working with your GP to control these conditions will protect both your general health and your sexual function. Small, consistent changes often add up to significant improvements over time.
When to seek urgent help for sudden erectile dysfunction symptoms
Most cases of sudden erectile dysfunction are not medical emergencies, but certain symptoms require urgent attention. If you experience an erection that lasts longer than four hours (priapism), you must go to A&E immediately, as prolonged erection can damage the penis permanently if not treated quickly [3][4][5][6]. Priapism is rare but can occur with ED treatments or other causes, and it is a medical emergency.
Sudden loss of vision in one or both eyes, or sudden decrease or loss of hearing, are also serious side effects that have been reported rarely with PDE5 inhibitors and require you to stop the medicine and seek urgent medical advice [3][4][5][6]. If you develop chest pain during or after sexual activity, stop and seek immediate medical help, as this may indicate a heart problem [2]. These situations are uncommon, but it is important to be aware of them.
If your sudden erectile dysfunction is accompanied by other new symptoms—such as severe fatigue, unexplained weight loss, pain in the pelvis or genitals, blood in the urine, or difficulty urinating—see your GP promptly, as these may indicate an underlying condition that needs investigation [2]. For most men, however, sudden ED is a signal to have a health check and consider treatment options, rather than an emergency.
What happens if ED treatments do not work?
If oral PDE5 inhibitors are not effective, not suitable, or cause unacceptable side effects, other treatments are available. Your GP or a specialist may suggest a vacuum erection device (a plastic tube and pump that draws blood into the penis), alprostadil cream (Vitaros, applied to the tip of the penis) or alprostadil injections (Caverject, injected into the side of the penis), or, in some cases, referral for psychological therapy if anxiety or relationship issues are significant [2][7]. Surgery (such as penile implants) is an option for men who do not respond to other treatments. Your healthcare team will work with you to find the most appropriate solution.
When to get urgent help
- Erection lasting longer than 4 hours (priapism)—go to A&E immediately
- Sudden loss of vision in one or both eyes—stop the medicine and seek urgent medical advice
- Sudden decrease or loss of hearing—stop the medicine and see a doctor urgently
- Chest pain during or after sexual activity—stop and call 999
- Severe dizziness, fainting, or difficulty breathing after taking ED treatment—seek emergency help
Call 999 or go to A&E in an emergency, or contact NHS 111 for urgent advice.
Scientific References
- NHS. (n.d.). Erectile dysfunction (impotence). NHS website. https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/ [accessed 15 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 15 October 2026]
- Joint Formulary Committee. (n.d.). Sildenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/sildenafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Tadalafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/tadalafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Vardenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/vardenafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Avanafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/avanafil/ [accessed 15 October 2026]
- Joint Formulary Committee. (n.d.). Alprostadil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/alprostadil/ [accessed 15 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 15 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.
Ready to Speak to a Pharmacist?
Reviewed by UK-based prescribers · Takes under 3 minutes · Discreet Packaging
Treatment Options
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.









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.”
Your Path to Treatment
Choose your treatment
Select from our recommended UK-licensed medications.

Answer quick questions
Select safe UK treatments. Quick answers.

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

Frequently Asked Questions
Can't find your answer? Our UK pharmacists review every consultation and can help.
Can sudden erectile dysfunction go away on its own?
Yes, if the cause is temporary—such as acute stress, a one-off heavy drinking session, or fatigue—sudden ED may resolve once the trigger is removed. However, if it persists for more than a few weeks or recurs, see your GP to rule out underlying health conditions.
Is sudden erectile dysfunction a sign of a serious health problem?
It can be. Sudden ED may be an early warning of cardiovascular disease, diabetes, or high blood pressure, so it is important to have a medical assessment even if you feel otherwise well.
Can I use Viagra or Cialis if I have sudden erectile dysfunction?
PDE5 inhibitors like sildenafil (Viagra) and tadalafil (Cialis) are effective for most men with ED, but they are prescription-only and require a clinical assessment to ensure they are safe for you, especially if you take other medicines or have certain health conditions.
How quickly do ED treatments work for sudden erectile dysfunction?
Sildenafil typically works within 30–60 minutes, tadalafil within 30 minutes (and lasts up to 36 hours), vardenafil within 25–60 minutes, and avanafil within 15–30 minutes. All require sexual stimulation to be effective.
Can anxiety cause sudden erectile dysfunction even if I have no physical health problems?
Yes. Performance anxiety, stress, low mood, or relationship worries can all interfere with arousal and erection, even in men who are physically healthy. Addressing the psychological cause—through talking therapy, stress management, or reassurance—often helps.
Should I stop my blood pressure medicine if it is causing sudden erectile dysfunction?
No. Never stop a prescribed medicine without speaking to your GP first, as uncontrolled blood pressure is a serious health risk. Your doctor can often switch you to a different medicine or prescribe an ED treatment that is safe to use alongside your blood pressure tablets.
What should I do if I get sudden erectile dysfunction after starting a new antidepressant?
Speak to your GP. Some antidepressants, particularly SSRIs, can cause ED as a side effect, but your doctor may be able to adjust the dose, switch to a different antidepressant, or discuss ED treatment options that are safe to use.
Can I buy ED treatment over the counter for sudden erectile dysfunction?
Viagra Connect (sildenafil 50mg) is available from pharmacies without a prescription after a consultation with the pharmacist, and Eroxon gel is sold over the counter. However, if you have sudden ED, it is important to see a healthcare professional to identify and address any underlying cause.
Medically reviewed by
Tarun Kumar, Superintendent Pharmacist (GPhC 2233073)
Last updated on 15 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 15 October 2026
Content checked and updated as part of our periodic review, to ensure accuracy and currentness.
Current version (15 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.