What Is the Treatment for OCD: Therapy and Medication

OCD is treated with a specific type of therapy called exposure and response prevention (ERP), medication, or both. For most people, ERP is the most effective starting point, and when combined with the right medication, it produces the strongest results. Treatment typically takes several months to show full effects, but the majority of people experience meaningful improvement.

Exposure and Response Prevention Therapy

ERP is the gold standard therapy for OCD. It works by having you practice being around the thoughts, images, or situations that trigger your anxiety, while deliberately not performing the rituals or avoidance behaviors you normally rely on. Over time, your brain learns to tolerate the anxiety without needing the compulsion to neutralize it. This breaks the cycle that keeps OCD going.

The “response prevention” part is what makes ERP different from simply facing your fears. You’re not just exposing yourself to something uncomfortable. You’re training yourself not to follow through on the compulsive response afterward. A person with contamination fears, for example, might touch a doorknob and then sit with the discomfort instead of washing their hands. With repetition, the anxiety loses its grip.

Most people attend weekly sessions for at least a few months, though intensive daily programs also exist. ERP has a significantly lower relapse rate than medication alone: about 12% of people relapse after ERP, compared to 45 to 89% after stopping medication without ongoing therapy. That durability is one of the main reasons therapists recommend it as a first-line treatment.

Cognitive Therapy Alongside ERP

Many therapists blend ERP with cognitive techniques that target the distorted thinking patterns behind obsessions. The idea is to identify beliefs that fuel anxiety, question the evidence for those beliefs, and develop more realistic interpretations. Someone who believes touching a public surface will inevitably make them sick, for instance, would learn to evaluate that thought critically and consider how often that outcome actually happens.

These cognitive shifts aren’t meant to replace exposure work. They support it. Once you’ve reframed a belief, you test it through behavioral experiments that look a lot like ERP. You touch the doorknob, skip the hand washing, and observe what actually happens. The combination of thinking differently and acting differently reinforces both changes.

Medication: SSRIs at Higher Doses

Selective serotonin reuptake inhibitors are the first-line medications for OCD. Five drugs currently have FDA approval for this use: fluoxetine (Prozac), sertraline (Zoloft), fluvoxamine (Luvox), paroxetine (Paxil), and clomipramine (Anafranil). These are the same class of medications used for depression, but OCD typically requires doses two to three times higher than what’s prescribed for depression or generalized anxiety.

An adequate medication trial for OCD is longer than most people expect. You need 8 to 12 weeks on the medication, with at least 6 of those weeks at a moderate to high dose, before you can judge whether it’s working. Benefits usually become noticeable around week 6 but can take up to 8 weeks to begin. This means switching medications too quickly is a common pitfall. If a first SSRI doesn’t work after a full trial at appropriate doses, your prescriber will typically try a different one before moving to other strategies.

Combining an SSRI with ERP tends to produce better outcomes than either treatment alone, particularly for people with more severe symptoms.

Treatment for Children and Teens

ERP is also the recommended first-line treatment for children and adolescents with OCD, delivered either in person or through telehealth. A 2024 meta-analysis in Pediatrics confirmed that ERP alone, or ERP combined with an SSRI, is probably more effective than medication by itself in young people.

SSRIs may be added for children who have more severe impairment, who are too distressed to engage in ERP initially, or who don’t fully respond to therapy alone. Clomipramine is also effective in pediatric OCD but is generally reserved for cases where SSRIs haven’t worked, due to its side effect profile. The overall treatment structure mirrors the adult approach, with adjustments for developmental stage and the involvement of parents in therapy sessions.

When First-Line Treatments Don’t Work

Roughly a third of people with OCD don’t respond adequately to standard SSRIs and ERP. When that happens, several augmentation strategies can help. The most well-supported approach is adding a low-dose atypical antipsychotic to the existing SSRI, with risperidone and aripiprazole having the strongest evidence. Increasing the SSRI dose beyond the standard range is another option that some people respond to.

Research has also explored medications that work through different brain pathways. Agents that target the glutamate system, a signaling pathway increasingly linked to OCD, have shown promise as add-on treatments. Stimulant medications have been studied as fast-acting augmentation options for people who haven’t responded to conventional approaches. These are not first or second-line choices, but they represent real options for people stuck in treatment-resistant OCD.

Brain Stimulation for Severe Cases

Transcranial magnetic stimulation (TMS) is a noninvasive option that received FDA approval for OCD. The standard protocol involves 18-minute sessions, 5 days a week, for 6 weeks. TMS uses magnetic pulses to stimulate specific areas of the brain involved in OCD, and it doesn’t require anesthesia or surgery. Stanford University is currently trialing an accelerated version that delivers ten 10-minute sessions per day over just 5 days.

For the most severe, treatment-resistant cases, deep brain stimulation (DBS) is a surgical option. Eligibility criteria are strict. You must have had an OCD diagnosis for at least 5 years, be at least 18, score 28 or higher on the Yale-Brown Obsessive Compulsive Scale (indicating severe symptoms), and have already tried at least three different serotonin-targeting medications including clomipramine, augmentation with an antipsychotic, and at least 20 sessions of ERP with a trained therapist. DBS involves implanting electrodes in the brain and is reserved for people who have genuinely exhausted other options.

What a Realistic Timeline Looks Like

OCD treatment is not fast, and setting realistic expectations matters. If you start ERP, you’ll likely attend weekly sessions for several months before reaching your full benefit. If you start medication, you’re looking at 8 to 12 weeks before you can tell whether a given SSRI is working. If that first medication doesn’t help, switching to another SSRI and repeating the trial adds more time. Many people try two or three medications before finding the right fit.

The upside is that treatment works for the majority of people. The combination of ERP and an SSRI at appropriate doses gives most people a significant reduction in symptoms, and the skills learned in ERP provide lasting protection against relapse. OCD is a chronic condition, but with the right treatment, it’s one that most people can manage well enough to reclaim their daily lives.