OCD and Erectile Dysfunction: Causes & Treatment
Learn how OCD affects sexual function and explore safe, effective treatments through a UK pharmacist-led consultation.
Takes less than 2 minutes to complete 100% online

OCD and Erectile Dysfunction: Understanding the Connection and Finding Effective Treatment
Published: 14 October 2026
The relationship between OCD and erectile dysfunction is complex and affects many men in the UK. Obsessive-compulsive disorder can contribute to erectile difficulties both directly through anxiety and performance worry, and indirectly through the side effects of medications commonly used to treat OCD. Understanding this connection is the first step toward finding effective, safe treatment that addresses both your mental health and sexual wellbeing.
Combining Treatments Works Best
Men with OCD-related erectile dysfunction often see the greatest improvement by combining PDE5 inhibitor medication with psychological therapy that addresses both OCD symptoms and performance anxiety. Speak to your GP about accessing CBT or specialist support alongside ED treatment.
How OCD and Erectile Dysfunction Are Connected
Obsessive-compulsive disorder affects sexual function through several pathways. The anxiety and intrusive thoughts characteristic of OCD can interfere with arousal and make it difficult to relax during intimate moments [1]. Performance anxiety is particularly common—worrying about whether you'll be able to maintain an erection can itself trigger erectile difficulties, creating a cycle that reinforces both the OCD symptoms and the sexual problems.
Many men with OCD also experience depression, which is independently associated with erectile dysfunction [10]. The constant mental strain of managing obsessive thoughts and compulsive behaviours can lead to fatigue, reduced libido, and difficulty concentrating on pleasurable sensations. Additionally, the stress response activated by OCD can affect blood flow and hormone levels, both of which are essential for healthy erectile function [2].
It's important to recognise that experiencing erectile dysfunction when you have OCD is common and treatable. Addressing the psychological aspects alongside any physical factors offers the best chance of improvement, and many men find that treating ED helps reduce the anxiety that feeds into their OCD symptoms.
OCD Medications and Their Impact on Sexual Function
Selective serotonin reuptake inhibitors (SSRIs) are the most commonly prescribed medications for OCD in the UK, and sexual side effects—including erectile dysfunction, reduced libido, and delayed ejaculation—are well-documented with this class of drugs [2]. SSRIs such as sertraline, fluoxetine, paroxetine, and escitalopram can all affect sexual function, though the severity varies between individuals and specific medications.
The mechanism involves serotonin's effect on other neurotransmitters involved in sexual arousal and response. While SSRIs are highly effective for managing OCD symptoms, the sexual side effects can be distressing and may lead some men to stop their medication without medical advice—which can worsen their mental health. If you're experiencing erectile difficulties that started or worsened after beginning an SSRI, it's essential to discuss this with your GP or psychiatrist rather than stopping treatment abruptly.
Other medications used for OCD, including some tricyclic antidepressants and antipsychotics, can also contribute to erectile dysfunction. Your prescriber can review your current medications and may be able to adjust the dose, switch to an alternative with fewer sexual side effects, or add a treatment specifically for ED. Never stop or change a prescribed medicine for OCD without professional guidance, as this can lead to a relapse of symptoms.
Managing Medication-Related Erectile Dysfunction
If your erectile difficulties are linked to OCD medication, several strategies may help. Your doctor might suggest waiting a few weeks to see if side effects diminish as your body adjusts, though sexual side effects from SSRIs often persist [2]. Dose reduction is sometimes possible if your OCD symptoms are well-controlled, or switching to an SSRI with a lower risk of sexual side effects, such as escitalopram, may be considered. In some cases, adding a PDE5 inhibitor such as sildenafil or tadalafil can effectively treat the erectile dysfunction while you continue your essential mental health medication [3][4]. Always discuss these options with your prescriber, who will consider both your OCD management and sexual health together.
When to get urgent help
- Erection lasting more than 4 hours (priapism) – call 999 or go to A&E immediately
- Sudden loss of vision or hearing after taking ED medication – seek emergency care
- Chest pain during sexual activity – stop and call 999
- Severe dizziness, fainting, or allergic reaction (swelling, rash, breathing difficulty) – emergency help needed
- Worsening suicidal thoughts or severe OCD symptoms after changing medication – contact crisis services or call 111
Call 999 or go to A&E in an emergency, or contact NHS 111 for urgent advice.
Assessment and Diagnosis of OCD and Erectile Dysfunction
If you're experiencing erectile dysfunction and have OCD, a thorough assessment is important to identify all contributing factors [2]. Your GP or a specialist will ask about the timing of your erectile difficulties—whether they began before or after starting OCD treatment, whether they occur in all situations or only with a partner, and how your OCD symptoms and general mental health are currently managed.
The assessment will also cover physical health factors that can contribute to ED, including cardiovascular health, diabetes, blood pressure, cholesterol levels, and lifestyle factors such as smoking, alcohol use, and exercise [1]. Because erectile dysfunction can be an early warning sign of heart disease, it's important not to dismiss it as 'just psychological' even when you have OCD. Blood tests may be arranged to check testosterone levels, blood sugar, and cholesterol.
Your prescriber will review all your current medications, not just those for OCD, as interactions and side effects from multiple drugs can compound erectile difficulties. They'll also explore the psychological impact of OCD on your intimate relationships and self-esteem. This comprehensive approach ensures that treatment addresses the root causes rather than just the symptoms, and that any ED medication prescribed is safe alongside your mental health treatment.
| Option | How it helps | Points to consider |
|---|---|---|
| Sildenafil (generic Viagra)<br>£0.45 (first order £0.36 with code Ednew)<br><a href='https://curedpharmacy.com/products/sildenafil'>View product</a> | Taken about 1 hour before sex; works for 4-6 hours when sexually aroused | Cost-effective option; take on an empty stomach for faster effect; max once daily |
| Tadalafil (generic Cialis)<br>£7.95 (first order £6.36 with code Ednew)<br><a href='https://curedpharmacy.com/products/tadalafil-2'>View product</a> | On-demand: works within 30 minutes, lasts up to 36 hours; or daily low-dose for spontaneity | Longer window for intimacy; can be taken with or without food; flexible dosing options |
| Vardenafil (generic Levitra)<br>£16.95 (first order £13.56 with code Ednew)<br><a href='https://curedpharmacy.com/products/vardenafil-generic-levitra-1'>View product</a> | Works in 25-60 minutes; effective for 4-5 hours | May work for some men when sildenafil has been less effective; take 1 hour before food |
| Spedra (avanafil)<br>£20.95 (first order £16.76 with code Ednew)<br><a href='https://curedpharmacy.com/products/spedra-avanafil-tablets'>View product</a> | Fastest-acting option: works in 15-30 minutes | Good for spontaneity; can be taken with moderate amounts of food; newer option |
Lifestyle Measures to Support Erectile Function with OCD
Lifestyle changes can improve both OCD symptoms and erectile function, creating a positive cycle of improvement [1]. Regular physical activity reduces anxiety, improves cardiovascular health, and enhances blood flow—all of which support erectile function. Aim for at least 150 minutes of moderate exercise per week, such as brisk walking, cycling, or swimming. Exercise also helps regulate sleep, which is often disrupted by OCD and can independently affect sexual function.
Managing stress through techniques such as mindfulness, cognitive behavioural therapy (CBT), or relaxation exercises can reduce the performance anxiety that often accompanies both OCD and erectile dysfunction. Many men find that addressing intrusive thoughts about sexual performance through CBT or exposure and response prevention (ERP) therapy—the gold-standard psychological treatment for OCD—helps break the anxiety-ED cycle.
Reducing alcohol intake is particularly important, as heavy drinking worsens both erectile function and anxiety [1]. Smoking damages blood vessels and significantly increases the risk of ED, so stopping smoking is one of the most effective changes you can make [2]. Maintaining a healthy weight, eating a balanced diet rich in vegetables, fruits, whole grains, and lean protein, and ensuring good sleep hygiene all contribute to better sexual and mental health. Open communication with your partner about both your OCD and erectile difficulties can reduce pressure and improve intimacy.
Psychological Support for OCD and Sexual Concerns
Psychological therapy specifically addressing the intersection of OCD and sexual function can be highly effective. A therapist experienced in both OCD and sexual health can help you identify and challenge intrusive thoughts about sexual performance, develop coping strategies for anxiety during intimacy, and work through any compulsive behaviours that may be affecting your relationships. Couples therapy may also be beneficial if your erectile difficulties are causing relationship strain. Your GP can refer you to NHS talking therapies, or you may choose to access private psychological support. Combining psychological approaches with medical treatment for ED often produces the best outcomes.
At a glance
Treatment Options for OCD and Erectile Dysfunction
PDE5 inhibitors are the first-line medical treatment for erectile dysfunction and can be safely used by most men with OCD, including those taking SSRIs [2][3][4]. These medications—sildenafil (Viagra), tadalafil (Cialis), vardenafil (Levitra), and avanafil (Spedra)—work by increasing blood flow to the penis when you're sexually aroused. They do not cure ED or affect your OCD medication, but they can help you achieve and maintain an erection sufficient for sexual activity.
Sildenafil is usually taken about one hour before sex and works for around four to six hours [3]. Tadalafil can be taken on-demand (at least 30 minutes before sex, with effects lasting up to 36 hours) or as a lower daily dose, which some men prefer as it allows for more spontaneity [4]. Vardenafil works similarly to sildenafil, while avanafil has a faster onset of action, typically 15 to 30 minutes [6]. All require sexual stimulation to work and should be taken at most once daily for on-demand doses.
Choosing the right PDE5 inhibitor depends on your individual circumstances, including your OCD medications, other health conditions, and personal preference regarding timing and duration of effect. At Cured Pharmacy, a UK-registered prescriber reviews your online consultation to ensure any treatment is safe and appropriate for you. If PDE5 inhibitors are not suitable or effective, other options such as vacuum erection devices, alprostadil (as a cream or injection), or referral to a specialist service may be considered [7].
Safety Considerations and Drug Interactions for Men with OCD
PDE5 inhibitors are generally safe for men taking SSRIs and other common OCD medications, but certain important interactions and precautions must be checked [3][4][5][6]. You must never take a PDE5 inhibitor if you use nitrates (such as GTN spray or isosorbide mononitrate for angina), nicorandil, riociguat, or recreational drugs known as 'poppers', as the combination can cause a dangerous drop in blood pressure. You should also not take more than one type of PDE5 inhibitor at the same time.
If you take alpha-blockers for prostate symptoms or blood pressure (such as tamsulosin or doxazosin), you may still be able to use a PDE5 inhibitor, but you must be stable on the alpha-blocker and start on the lowest dose of the ED medication, as the combination can cause dizziness or low blood pressure [3]. Some medications used in mental health care, such as certain antifungals (ketoconazole, itraconazole) or antibiotics (clarithromycin), can increase PDE5 inhibitor levels in your blood, requiring dose adjustments. Conversely, some anticonvulsants or St John's wort can reduce effectiveness.
During your online consultation at Cured Pharmacy, you'll be asked to list all your current medications, including over-the-counter products and supplements. The prescriber checks every medicine for interactions and ensures the treatment is safe for your individual situation. If you have cardiovascular disease, very low blood pressure, or a history of sudden vision loss, PDE5 inhibitors may not be suitable, and alternative treatments will be discussed [2]. Always be honest and complete in your consultation responses to ensure your safety.
When to Seek Urgent Medical Help
Seek immediate medical attention if you experience an erection lasting more than four hours (priapism), as this requires urgent treatment to prevent permanent damage [3]. Sudden loss of vision or hearing, or chest pain during sexual activity, also requires emergency care. If you develop severe dizziness, fainting, or an allergic reaction (rash, swelling, difficulty breathing) after taking an ED medication, call 999 or go to A&E. For non-urgent concerns or side effects, contact your GP or the prescribing pharmacy for advice. Never ignore new or worsening erectile dysfunction, as it can be an early sign of cardiovascular disease or poorly controlled diabetes [1].
In summary
- OCD contributes to erectile dysfunction through anxiety, intrusive thoughts, and performance worry
- SSRI medications for OCD commonly cause sexual side effects including erectile difficulties
- PDE5 inhibitors can safely treat ED in most men taking OCD medication
- Never stop mental health medication without medical advice; discuss ED with your prescriber
- Combining lifestyle changes, psychological therapy, and medical treatment offers the best outcomes
Scientific References
- NHS. (n.d.). Erectile dysfunction (impotence). NHS website. https://www.nhs.uk/conditions/erection-problems-erectile-dysfunction/ [accessed 14 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 14 October 2026]
- Joint Formulary Committee. (n.d.). Sildenafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/sildenafil/ [accessed 14 October 2026]
- Joint Formulary Committee. (n.d.). Tadalafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/tadalafil/ [accessed 14 October 2026]
- Joint Formulary Committee. (n.d.). Avanafil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/avanafil/ [accessed 14 October 2026]
- Joint Formulary Committee. (n.d.). Alprostadil. British National Formulary. NICE. https://bnf.nice.org.uk/drugs/alprostadil/ [accessed 14 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 14 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.
Take the First Step Today
Start your journey to better health today.
- Reviewed by UK-based prescribers
- Takes under 3 minutes
- Discreet Packaging
Start Your Journey To Better Health Today
Once you complete a short online assessment you will be able to choose your preferred treatment from safe medically approved options tailored to you.
Start My Assessment Log in to Your AccountAvailable 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.









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.”
Get Treatment in 3 Steps
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.
Common Questions
Medically reviewed by
Tarun Kumar, Superintendent Pharmacist (GPhC 2233073)
Last updated on 14 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 14 October 2026
Content checked and updated as part of our periodic review, to ensure accuracy and currentness.
Current version (14 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.