← Back to Blog

What Causes OCD? Genetics, Brain Chemistry, and Environment

WD

Reviewed byWendy Delgado, P.A.

SiggyMD Clinical Team · Last updated June 26, 2026

Key Takeaways

  • OCD does not have a single cause. Research consistently points to a combination of genetic predisposition, brain circuit dysfunction, and environmental triggers that interact to produce the disorder.
  • Heritability studies attribute 40 to 65 percent of OCD cases to genetic factors. In 2025, the largest GWAS study ever conducted on OCD identified 30 gene regions and 25 likely causal genes across 53,660 cases.
  • The cortico-striato-thalamo-cortical (CSTC) circuit is the primary brain network involved in OCD. Dysfunction in this circuit, involving the orbitofrontal cortex, basal ganglia, and thalamus, underlies the repetitive thought and behavior patterns characteristic of the disorder.
  • Environmental triggers, including childhood trauma, streptococcal infections (PANDAS/PANS), and significant life stress, can activate OCD symptoms in people who are genetically predisposed.
  • Understanding the biological basis of OCD reduces self-blame, improves treatment engagement, and helps people recognize that their symptoms are the result of a brain circuit problem, not a character flaw.

OCD is one of the most misrepresented mental health conditions in popular culture.

The popular image is someone who likes cleanliness or checks that the door is locked twice. The clinical reality is a neurobiological disorder driven by a specific brain circuit that becomes stuck in a self-reinforcing loop of intrusion and response. It affects roughly one in 50 people globally. It is among the top 10 causes of disability worldwide. And for the people living with it, the explanation that it is just quirky perfectionism is not helpful, not accurate, and not backed by the science.

Research into what actually causes OCD has accelerated significantly. The largest genetic study ever conducted on OCD, published in Nature Genetics in 2025, identified 30 gene regions linked to the disorder across more than 53,000 people with OCD and two million controls. The findings confirm that OCD is a brain-based disorder with deep genetic roots, meaningful neurobiological mechanisms, and environmental factors that interact with those mechanisms.

Understanding what causes OCD does not just satisfy curiosity. It changes how people relate to their symptoms, how clinicians approach treatment, and, increasingly, how the field develops new interventions.

What This Page Covers

  • The genetics of OCD: what we know and what the newest research found
  • The brain circuit at the center of OCD
  • Neurotransmitter involvement: serotonin, dopamine, and glutamate
  • Environmental factors and triggers
  • PANDAS and PANS: when infections trigger OCD
  • Why understanding causes matters for treatment
  • How SiggyMD supports people with OCD-related anxiety and depression

The Genetics of OCD

Twin studies provide the clearest evidence for genetic contribution to OCD. Identical twins (who share 100 percent of their DNA) are more likely to both have OCD than fraternal twins (who share about 50 percent). Heritability estimates from these studies range from approximately 40 to 65 percent, meaning genetic factors account for roughly half of the variation in who develops OCD. Childhood-onset OCD shows a stronger genetic component than adult-onset OCD.

OCD does not follow a simple single-gene inheritance pattern. It is polygenic: influenced by many variants each contributing a small effect. This is why family history raises risk without guaranteeing transmission. Studies show that OCD can run in families, but between 10 and 20 percent of children with a parent with OCD develop it themselves, meaning the large majority do not.

In 2025, researchers published the results of the largest genome-wide association study (GWAS) ever conducted for OCD. The study analyzed DNA from over 53,660 people with OCD and more than 2 million controls, identifying 30 independent genome-wide significant loci and 249 genes of interest, with 25 classified as the most likely causal candidates. Among the top identified genes were WDR6, DALRD3, and CTNND1, along with multiple genes in the major histocompatibility complex (MHC) region, which has previously been linked to immune-related psychiatric associations.

The genetic signals for OCD were found to be highly enriched in brain tissue, specifically in excitatory neurons of the hippocampus and cortex, and in dopamine receptor-containing neurons of the striatum. This finding directly implicates the striatum and its dopamine circuitry in OCD’s biology, refining where in the brain the genetic risk concentrates.

The study also found genetic overlap between OCD and 65 of 112 additional phenotypes, including all psychiatric disorders examined: anxiety, depression, Tourette syndrome, and anorexia nervosa. This confirms what clinicians see in practice: OCD rarely exists in isolation, and the underlying genetic architecture connects it to related conditions.

The Brain Circuit: CSTC

The structural story of OCD centers on a network called the cortico-striato-thalamo-cortical (CSTC) circuit. This network links the orbitofrontal cortex (OFC), the basal ganglia (particularly the striatum), and the thalamus in a feedback loop that governs habit formation, error detection, emotional processing, and action regulation.

In OCD, the CSTC circuit appears to be stuck in a hyperactive state. The OFC generates a signal that something is wrong, incomplete, or threatening. Normally, the striatum would help terminate this signal once the threat has been addressed. In OCD, this dampening mechanism does not work properly. The signal recirculates: the thalamus feeds it back to the cortex, which generates another cycle of intrusion and the urge to respond.

Brain imaging studies have shown differences in OFC, anterior cingulate cortex (ACC), thalamus, and basal ganglia activity in people with OCD compared to those without it, though these differences are complex and not identical across individuals.

The OFC is particularly relevant. It is involved in integrating memory, emotion, and moral reasoning. In OCD, it appears to over-signal threat or wrongness in situations where no real danger exists. The result is the experience of an intrusive thought that feels urgent and meaningful even when the person consciously knows it is not.

Neurotransmitters: Serotonin, Dopamine, and Glutamate

Serotonin is the most prominently implicated neurotransmitter in OCD, which is why selective serotonin reuptake inhibitors (SSRIs) are the first-line medication treatment. SSRIs work by increasing the availability of serotonin in the brain, which helps modulate the overactive CSTC circuit. They are not a cure, but they consistently reduce symptom severity in controlled trials.

However, serotonin alone does not explain OCD fully. The 2025 GWAS data specifically implicates dopamine receptor pathways, particularly D1 and D2 receptor-containing medium spiny neurons in the striatum. This is consistent with clinical observations that adding antipsychotic medications, which affect dopamine, can augment SSRI response in treatment-resistant OCD.

Glutamate, an excitatory neurotransmitter, may contribute to the positive-feedback loop that drives the repetitive nature of OCD. GABA, a primarily inhibitory neurotransmitter, and acetylcholine are also thought to play supporting roles within the CSTC circuit. This multi-neurotransmitter picture explains why SSRIs help many people but not everyone, and why ongoing research into glutamate-modulating agents holds promise.

Environmental Triggers

Genetics create predisposition. Environment determines whether and when that predisposition activates.

Significant life stressors, childhood trauma, and chronic stress are recognized as precipitating factors for OCD onset in genetically vulnerable individuals. Experiences such as physical or emotional abuse, severe illness, or the death of a loved one can serve as triggers, particularly during periods of developmental vulnerability such as childhood, adolescence, and the postpartum period.

Prenatal stress exposure may also increase risk. Changes in hormonal levels, chronic illness, and autoimmune disorders have been identified as potential biological triggers that interact with genetic vulnerabilities, contributing to symptom onset or escalation.

PANDAS and PANS: Infection-Triggered OCD

Pediatric Autoimmune Neuropsychiatric Disorders Associated with Streptococcal infections (PANDAS) and Pediatric Acute-onset Neuropsychiatric Syndrome (PANS) are conditions in which OCD symptoms suddenly emerge or dramatically worsen following a Group A streptococcal infection or other infection.

The mechanism is thought to involve an autoimmune response: the body produces antibodies against the streptococcal bacteria that mistakenly attack brain tissue, producing neuroinflammation and sudden, severe OCD symptoms. PANDAS and PANS look distinct from typical OCD: the onset is abrupt, often appearing to happen overnight, and the presentation can include motor tics, emotional lability, and dramatic personality changes alongside obsessive-compulsive symptoms.

PANDAS and PANS represent the clearest evidence that external biological events can activate underlying neurobiological vulnerability and produce OCD-like symptoms. They have also opened new research directions into the role of immune function in OCD more broadly.

Why Understanding Causes Matters

Knowing that OCD is caused by a confluence of genetic predisposition, CSTC circuit dysfunction, and environmental triggers changes several things.

It reduces self-blame. OCD is not caused by poor parenting, character weakness, or trying too hard to be clean. It is a brain-based condition with identifiable mechanisms and a biological signature that now includes specific genetic loci.

It improves treatment engagement. Professor Eske Derks, senior group leader at QIMR Berghofer who co-led the 2025 GWAS study, emphasized that identifying the biological roots of OCD can reduce stigma and help people understand there is something that can be done to help. A person who understands that their intrusive thoughts arise from a dysregulated brain circuit, not from who they are, can engage with ERP therapy very differently.

It shapes treatment decisions. The CSTC model explains why both SSRIs (which modulate serotonin in the circuit) and exposure and response prevention therapy (which works by directly extinguishing the compulsive response cycle) are effective. And it provides a roadmap for future treatments targeting the specific genetic pathways identified in 2025.

About SiggyMD

OCD frequently co-occurs with depression and anxiety. Both are among the most common secondary conditions in people with OCD, and both respond to treatment that SiggyMD provides. For people managing anxiety or depression alongside OCD, getting those conditions under better clinical management can meaningfully change quality of life and the capacity to engage in OCD-specific treatment.

SiggyMD provides clinician-supervised medication management for anxiety and depression, with daily check-ins and prescriber access available between appointments.

“Many people with OCD have been living with the belief that their symptoms mean something bad about them as a person,” says Wendy Delgado, P.A., of the SiggyMD clinical team. “The clearest thing the research shows is that OCD is a brain circuit problem, not a moral failure. That reframe changes the relationship patients have with their own minds, and that change matters for treatment.”

SiggyMD’s anonymous intake requires no name, email, or account to begin. A licensed prescriber reviews the full clinical picture before anything is prescribed.

For more on OCD and related conditions, read our guides on what OCD is and how it presents or the different types of OCD.

Start your anonymous intake at SiggyMD to connect with a licensed prescriber who can help with anxiety and depression that often co-occur with OCD.

What Members Are Saying

AB

A.B., 31

OCD with Comorbid Depression

“I spent years thinking there was something fundamentally wrong with my character. When I finally understood that OCD is a specific brain circuit problem with real biological roots, I was able to actually engage with treatment instead of just fighting shame. The research explained what therapy had been trying to tell me.”

SM

S.M., 44

OCD and Anxiety Management

“My OCD and anxiety were always intertwined in ways that made them hard to separate. Getting a clearer clinical picture of both, and getting my anxiety treated as a separate condition that made the OCD worse, was a turning point. They needed different approaches but both needed attention.”

Member stories reflect real experiences. Names and identifying details have been changed to protect privacy. Results vary. You can begin anonymous intake without an account, name, email, or payment.

The Bottom Line

OCD does not have a single cause. The current evidence supports a model in which genetic predisposition (now mapped to specific gene regions and brain circuits) creates vulnerability, brain circuit dysfunction in the CSTC network underlies the symptoms, and environmental factors determine whether and when that vulnerability manifests.

This model has direct clinical implications. It explains why SSRIs work for many people, why ERP therapy is effective, and why the combination of both produces the best outcomes. It also explains why some people develop OCD after stress or infection, why it runs in families without being fully heritable, and why the most recent genetic research connects it to other psychiatric conditions.

Understanding what causes OCD is not separate from treating it. It is part of it.

Sources

  1. Arnold PD, Sicard T, Burroughs E, Richter MA, Kennedy JL. Genetics of Obsessive-Compulsive Disorder. Psychiatr Clin North Am. 2010;33(1):141-158.

  2. Levey DF, et al. Genome-wide analyses identify 30 loci associated with obsessive-compulsive disorder. Nature Genetics. 2025.

  3. International OCD Foundation. What Causes OCD? Accessed June 2026.

  4. University of Florida Health. Worldwide OCD Genetics Study Offers Clues for Higher Risk. May 2025.

  5. QIMR Berghofer. Biggest Ever Study Into Obsessive Compulsive Disorder Unlocks New Genes. 2025.

  6. Browne HA, et al. Genetics of obsessive-compulsive disorder and related disorders. Psychiatr Clin North Am. 2014;37(3):319-335.

  7. ScienceDirect. Hereditary Patterns and Genetic Associations in OCD: Neuropsychiatric Insights. 2025.

Frequently Asked Questions

Is OCD genetic?

Genetics contribute significantly to OCD risk. Heritability estimates from twin studies generally range from 40 to 65 percent, meaning genetic factors account for nearly half or more of the variation in who develops OCD. OCD has a polygenic architecture, meaning it is influenced by many genes with small effects rather than a single faulty gene. In 2025, the largest genome-wide association study ever conducted for OCD identified 30 genetic loci and 25 likely causal genes, marking the most concrete genetic mapping of the disorder to date.

If a parent has OCD, will their child develop it too?

Having a parent with OCD increases a child's risk, but it does not guarantee the child will develop it. Studies show that 10 to 20 percent of children with a parent with OCD develop it themselves, meaning 80 to 90 percent do not. Genetic predisposition increases vulnerability. Whether that vulnerability leads to the disorder typically depends on additional factors, including environmental triggers and how genes interact with developmental experiences.

What is the CSTC circuit and why does it matter for OCD?

The cortico-striato-thalamo-cortical (CSTC) circuit is a network of brain regions that regulates habits, error detection, decision-making, and emotional responses. In OCD, this circuit appears to be stuck in an overactive state. The orbitofrontal cortex signals that something is wrong or incomplete, the basal ganglia fail to dampen this signal appropriately, and the thalamus relays the signal back to the cortex repeatedly, producing the persistent intrusive thoughts and the urge to perform compulsions. SSRIs and ERP therapy both work in part by modulating this circuit.

Can a stressful event cause OCD?

Stress and trauma do not cause OCD directly in people without genetic predisposition, but they can trigger or worsen symptoms in people who are already vulnerable. Significant life stressors, childhood trauma, or major life transitions are recognized as precipitating factors for OCD onset or relapse. The most dramatic example is PANDAS and PANS, where a streptococcal infection can trigger sudden-onset severe OCD symptoms in children, demonstrating that external biological events can activate the underlying vulnerability.

How is serotonin involved in OCD?

Serotonin plays a role in regulating the CSTC circuit. The most compelling evidence for serotonin's involvement comes from treatment response: SSRIs, which increase serotonin availability, are the only class of medications with consistent evidence for reducing OCD symptoms. However, the serotonin hypothesis of OCD is not a complete explanation. OCD is not caused simply by low serotonin. Glutamate, dopamine, and GABA also contribute, and the 2025 GWAS data implicates dopamine receptor pathways in hippocampal and cortical neurons specifically.

Does OCD ever go away on its own?

OCD rarely resolves completely without treatment. For most people, it is a chronic condition that waxes and wanes over time, with symptoms often triggered or worsened by stress, life changes, or health events. The evidence-based treatments, ERP therapy and SSRIs, produce meaningful symptom reduction in most patients. Early treatment generally leads to better long-term outcomes. Untreated OCD tends to become more entrenched as compulsive behaviors are repeated and reinforced.

Mental healthcare should stay with you between appointments.

SiggyMD combines daily check-ins with clinician-supervised care so your treatment plan can respond to what is actually happening.

Start anonymously. A real doctor reviews every clinical decision. HIPAA-compliant.

Start Anonymous Intake