Mental health
Medicines for Obsessive-compulsive disorder (OCD)
A condition where unwanted intrusive thoughts (obsessions) drive repetitive behaviours or mental acts (compulsions) — treated with psychological therapy, medicine, or both, matched to its severity.
Education and reference only. This explains which medicines are used and why, in plain language — it deliberately contains no doses and is not a substitute for advice from your doctor or pharmacist. Always discuss your own treatment with a qualified clinician, and check the BNF and the product labelling for prescribing detail.
Quick answer
What is Obsessive-compulsive disorder (OCD)?
Obsessive-compulsive disorder involves two linked experiences. Obsessions are intrusive, unwanted thoughts, images or urges that keep coming back and cause marked anxiety or distress — for example fears of contamination, of harm coming to others, or a need for things to feel "just right".
- How it is treated: The first-line treatment is a psychological therapy: cognitive behavioural therapy with exposure and response prevention (ERP), in which a person gradually faces the trigger while resisting the compulsion, so the anxiety can settle on its own and the link between obsession and ritual is weakened.
- Self-care: Understanding the obsession-compulsion cycle, resisting reassurance-seeking, keeping a regular routine, sleep and activity, and involving supportive family or friends in the agreed therapy plan all help recovery alongside any medicine.
- When to seek help: If OCD is taking over daily life, or you have thoughts of harming yourself or that life is not worth living, seek help now — contact your GP urgently, call 111, go to A&E, or call the Samaritans on 116 123 (call 999 in an emergency).
What it is
Obsessive-compulsive disorder involves two linked experiences. Obsessions are intrusive, unwanted thoughts, images or urges that keep coming back and cause marked anxiety or distress — for example fears of contamination, of harm coming to others, or a need for things to feel "just right". Compulsions are repetitive behaviours or mental acts, such as washing, checking, counting or seeking reassurance, that a person feels driven to perform to relieve that anxiety or to prevent a feared outcome. The relief is usually brief, so the cycle repeats and can take up a great deal of time. OCD is common, often starts in adolescence or early adulthood, and ranges from mild to severely disabling. People frequently recognise their fears are excessive, which can add shame and delay them seeking help — but it is a recognised, treatable condition, not a character flaw.
How it is treated
The first-line treatment is a psychological therapy: cognitive behavioural therapy with exposure and response prevention (ERP), in which a person gradually faces the trigger while resisting the compulsion, so the anxiety can settle on its own and the link between obsession and ritual is weakened. For more troubling symptoms, an SSRI is the main medicine and is often combined with therapy. SSRIs in OCD are typically used at the higher end of their range and given a longer trial than in depression before judging benefit, so improvement can be gradual. Clomipramine, a tricyclic antidepressant, is an effective alternative where SSRIs have not helped or are unsuitable. Treatment is reviewed regularly, and people with severe, complex or treatment-resistant OCD should be referred to a specialist service.
For this condition, these medicines
Medicine classes used for Obsessive-compulsive disorder (OCD)
Each links to a full, dose-free guide — what it is, how it works, who can and cannot use it, side effects, interactions and FAQs.
Symptom checker
Symptoms that can point to Obsessive-compulsive disorder (OCD)
Obsessive-compulsive disorder (OCD) can be one cause of these symptoms. Each guide explains the other possible causes and the red-flag warning signs that mean you should get urgent help:
Beyond medication
Lifestyle and self-care
Understanding the obsession-compulsion cycle, resisting reassurance-seeking, keeping a regular routine, sleep and activity, and involving supportive family or friends in the agreed therapy plan all help recovery alongside any medicine.
When to get help
When to see a doctor
If OCD is taking over daily life, or you have thoughts of harming yourself or that life is not worth living, seek help now — contact your GP urgently, call 111, go to A&E, or call the Samaritans on 116 123 (call 999 in an emergency). You do not have to wait for an appointment.
Not sure how urgent it is? It is always OK to call NHS 111 for advice, day or night.
Answers
Obsessive-compulsive disorder (OCD): frequently asked questions
What medicines are used for OCD?
SSRIs are the main medicine for OCD and are usually used at the higher end of their range, given a longer trial than in depression before judging whether they are working. Clomipramine, a tricyclic antidepressant, is an effective alternative where SSRIs have not helped or are unsuitable. Medicine often works best combined with cognitive behavioural therapy.
Is therapy or medication better for OCD?
Cognitive behavioural therapy with exposure and response prevention (ERP) is the first-line treatment and is highly effective. For more troubling or severe OCD, combining therapy with an SSRI generally works better than either alone. The right balance depends on how severe symptoms are and your own preferences.
Why do SSRIs take so long to help my OCD?
In OCD, SSRIs are usually given a longer trial than in depression — improvement is often gradual and can take a couple of months or more to become clear, sometimes at higher doses. It is important not to stop early, and to review with your prescriber. Note that SSRIs can briefly increase anxiety, restlessness or, rarely, suicidal thoughts in the first weeks — especially in younger adults — so early symptoms should be monitored closely.
Will my OCD come back if I stop treatment?
OCD can return after stopping treatment, which is why medicine is usually continued for a period after improvement and reduced gradually under guidance rather than stopped abruptly. The skills learned in ERP therapy help protect against relapse and can be used again if symptoms return.
Keep reading
Related articles
Sources
Where this is drawn from
- NICE CKS: Obsessive-compulsive disorder.
- Royal College of Psychiatrists: Obsessive-compulsive disorder (OCD).
Related conditions
Browse by body system
Building a patient-information or formulary resource?
We create evidence-led, dose-free clinical references and decision aids for teams.