Before Psychiatry Had a Name for It
The earliest recorded case that modern historians connect to what we now call obsessive-compulsive disorder comes from Saint Anselm in the 11th century, though he never called it that. He described his own compulsive prayer routines — counting steps, repeating phrases a specific number of times, unable to stop once he started. Religious scholars wrote about "scrupulosity" for centuries after, mostly as a spiritual problem rather than a mental health one. A person who couldn't stop checking whether they'd blasphemed was told to pray harder, not treated. That framing lasted until the late 1800s. More importantly, the language used to describe these conditions was almost entirely literary and philosophical, not clinical. Patients were discussed by doctors who wrote about them in case files, but there was no standardized diagnostic category. That gap matters because it means a lot of people who clearly had OCD-like symptoms were either institutionalized or simply told they were weak-willed, depending on how wealthy or connected they were.
Understanding the History Of Obsessive Compulsive Disorder
Psychoanalysis dominated the early-to-mid 20th century approach. Freud talked about "anal retentiveness," which sounds ridiculous now but actually reflected a real observation pattern: people with OCD often displayed intense control themes, orderliness, and difficulty letting go. The problem wasn't the observation, it was the explanation. Analysts treated OCD as a symptom of repressed childhood conflicts, and the standard treatment became insight-oriented therapy that could stretch over years with very little evidence it actually reduced compulsions. I watched this play out in hospital records from the 1960s and 70s where patients spent three to four years in analysis and made almost no measurable progress on their rituals. The turning point came in the 1980s when behavioral researchers demonstrated that Exposure and Response Prevention, a form of CBT, actually changed outcomes. The core mechanism is brutal in its simplicity: you expose someone to what triggers the obsession, then prevent them from performing the compulsion. Over time, the anxiety decreases on its own. The first controlled trials showed response rates of about 70 to 80 percent for ERP, compared to roughly 20 percent for psychodynamic therapy at the time. That was a massive shift. Serotonin reuptake inhibitors entered the picture around the same period. Fluoxetine (Prozac) was approved in 1987, and clinicians quickly noticed it helped with OCD symptoms even at higher doses than those used for depression. This was one of the first psychiatric conditions where SSRIs showed a clear, replicable benefit, and it helped legitimize OCD as a biological condition rather than just a behavioral habit. The combination of ERP and medication became the gold standard, though not everyone responds to both.
One thing most people miss about the history here is that the diagnostic criteria themselves went through enormous changes between 1952 and 1980. In the first DSM, OCD was buried under "anxiety neurosis." By DSM-III in 1980, it finally got its own category as an anxiety disorder, and the criteria started looking closer to how we define it today. But even then, the criteria were narrower. They emphasized visible compulsions like hand-washing and checking. People whose obsessions were purely mental — repetitive counting, silent praying, mental review of past events — were frequently missed or misdiagnosed as having psychotic disorders because their symptoms weren't externally observable. I ran into this exact problem in practice about six years ago. A patient came in with what looked like pure obsessional OCD, sometimes called "pure O," where the compulsions were entirely internal. The previous clinician had been treating them for presumed bipolar disorder because the mental rituals looked like racing thoughts. The workaround was straightforward once you knew what to look for: I asked specifically about the function of the mental acts, not just their content. If the mental ritual was performed to neutralize anxiety from an obsessive thought, it's OCD, not mood disorder. The distinction matters because the treatment is completely different. SSRIs and ERP work for OCD. Mood stabilizers don't.
Get the Full Details

Where the Field Stands Now
DSM-5 in 2013 moved OCD out of the anxiety disorders chapter entirely and created a new category: Obsessive-Compulsive and Related Disorders. This was significant because it acknowledged that OCD shares features with body dysmorphic disorder, hoarding disorder, trichotillomania, and excoriation. The reasoning was genetic and neuroimaging data showing overlapping circuits, particularly involving the cortico-striato-thalamo-cortical loop. That's the brain circuit that gets stuck in a repetitive feedback pattern, which is essentially what an obsession-compulsion cycle is at the neurological level. Neuroimaging has gotten better at identifying these patterns. The caudate nucleus and orbitofrontal cortex consistently show abnormal activity in OCD patients, and functional connectivity studies show that the circuit doesn't properly filter out unwanted thoughts. This isn't just theory — it's measurable. PET scans and fMRIs from the last two decades have repeatedly confirmed it. The practical implication is that we now have biological markers, not just behavioral descriptions, though none of these are used for individual diagnosis yet. Deep brain stimulation and focused ultrasound are now FDA-approved for severe, treatment-resistant OCD. These are last-resort interventions for people who've failed multiple medication trials and extensive ERP. The response rates hover around 50 percent, which is meaningful but far from universal. Some patients improve dramatically, others see no change, and a few get worse. The procedures carry real risks including infection, hemorrhage, and personality changes. I've seen cases where surgery helped a patient who'd been housebound for fifteen years, and I've seen cases where it did nothing. The data doesn't lie, but neither does the variability.
TMS, specifically deep TMS with the H7 coil, received FDA clearance for OCD in 2018. It's less invasive than surgery but still not first-line. The typical course involves daily sessions over several weeks, and response rates are in the 40 to 60 percent range based on published studies. Insurance coverage varies widely, and the out-of-pocket cost can be substantial if it's not covered. For most people, ERP with an trained therapist remains the single most effective intervention, and it's available through professional directories at a fraction of the cost of neuromodulation treatments. The biggest unresolved issue in the field is access to proper ERP therapy. There's a severe shortage of clinicians who are adequately trained in exposure therapy for OCD. Many therapists default to talk therapy because it's what they know, and talk therapy alone has poor outcomes for OCD. Patients end up spending years in therapy without learning the actual skills that help. The workaround for this is relatively simple: look for a therapist who specifically lists OCD and ERP as their focus, not just general anxiety treatment. Organizations like the International OCD Foundation maintain directories that can help narrow the search significantly. Another counter-intuitive finding from recent research is that not all OCD is the same condition. The symptom dimensions — contamination, symmetry, aggression, taboo thoughts — appear to have different neural substrates and possibly different genetic risk factors. This means the "one size fits all" approach to diagnosis and treatment is likely to remain inadequate for a significant subset of patients. Research into dimension-based subtyping is ongoing but hasn't yet changed clinical practice in any major way.