OCD Genetics: Is OCD Hereditary? Family Risk, Twin Studies, Genes, and Environment
Yes. Obsessive-compulsive disorder (OCD) is heritable in the statistical sense: genetic differences contribute substantially to differences in OCD liability across a population. That does not mean OCD follows a simple parent-to-child inheritance pattern, and it does not mean that a person with an affected parent, sibling, or child is destined to develop the disorder. The best current evidence supports a complex, polygenic model in which many common genetic variants, some rare variants, developmental factors, and environmental exposures contribute to risk.
A 2023 systematic review and meta-analysis of family and twin research concluded that OCD is strongly familial and has phenotypic heritability of roughly 50%. First-degree relatives of people with definite OCD had about seven times the odds of OCD compared with relatives of unaffected control participants. The estimate was particularly high in studies of children and adolescents. Read the systematic review in Translational Psychiatry. A large 2024 Swedish twin study of clinically diagnosed OCD independently estimated heritability at 50%, with the remaining variation attributed to nonshared environmental influences and measurement-related variance in the model. Read the JAMA Psychiatry study.
Molecular genetics has also advanced rapidly. In 2025, the largest OCD genome-wide association study (GWAS) to date analyzed 53,660 cases and more than 2 million controls and identified 30 independent genome-wide significant loci. The result is a major change from earlier OCD GWAS, which were often too small to identify robust individual loci. The modern picture is clear: OCD genetic liability is distributed across many variants rather than concentrated in one “OCD gene.” Read the 2025 Nature Genetics study.
Is OCD hereditary? The short answer
OCD runs in families, and genetic factors explain a meaningful share of population-level variation in liability. The inheritance pattern is complex rather than Mendelian. A person does not inherit OCD in the way someone may inherit a disorder caused by a single highly penetrant mutation. Instead, a person can inherit a larger or smaller collection of genetic variants that shift susceptibility, while many other biological and environmental influences also shape whether clinically significant OCD develops.
The National Institute of Mental Health lists genetics as an established OCD risk factor and notes that having a first-degree relative with OCD is associated with an increased chance of developing the disorder. NIMH also states that scientists have not identified one gene or set of genes that definitively causes OCD. See the NIMH OCD overview. MedlinePlus Genetics likewise describes OCD inheritance as unclear and emphasizes that most people with a close relative who has OCD do not themselves develop OCD. See MedlinePlus Genetics.
That distinction matters. “Familial,” “heritable,” “genetic,” and “inherited” overlap, but they answer different questions. Family aggregation asks whether OCD occurs more often among relatives. Heritability estimates how much variation in liability within a particular population can be statistically attributed to genetic differences. Molecular genetics identifies variants and biological pathways associated with risk. Individual prediction asks whether we can use those data to tell a particular person whether they will develop OCD. The evidence is strong for the first three questions and still limited for individual prediction.
What does 50% heritability actually mean?
A heritability estimate of about 50% does not mean that half of one person’s OCD was “caused by genes” and the other half by experience. Heritability is a population statistic. It describes how much of the observed variation in a trait or liability, under the conditions of a particular population and study design, is associated with genetic differences between people.
If a twin model estimates OCD heritability at 50%, the interpretation is that genetic differences account for about half of the modeled variation in liability across that population. The estimate says nothing about an individual person’s percentage of genetic causation. It can also differ across ages, populations, diagnostic methods, and environments.
The 2023 meta-analysis combined 29 twin studies and estimated additive genetic effects at about 46% and nonshared environmental effects at about 54%. The 2024 study of clinically diagnosed Swedish twins found a best-fitting model with 50% additive genetic influence and 50% nonshared environmental influence. The convergence is notable because the earlier literature often relied on symptom questionnaires, whereas the Swedish study used registry diagnoses.
In twin models, “nonshared environment” is a statistical component. It includes experiences that make twins different from one another, but it can also absorb measurement error and other unexplained variance. It should not be read as a list of proven environmental causes of OCD.
How much does having a family member with OCD increase risk?
Family history is one of the clearest established risk markers. In the 2023 meta-analysis, directly interviewed first-degree relatives of people with definite OCD had an odds ratio of 7.18 compared with first-degree relatives of controls. Studies involving child and adolescent probands produced a larger pooled estimate than studies involving adult probands, although the pediatric confidence interval was wide. Large population registries also show a gradient: risk tends to be highest among the closest biological relatives and declines as genetic relatedness decreases.
A Swedish population study of 24,768 people with OCD found elevated risk in siblings, parents, and offspring, and lower risk in more distant relatives. That pattern supports genetic contribution because recurrence broadly tracks biological relatedness. The same literature also indicates that early-onset OCD can show stronger familial loading. This does not establish a single early-onset gene; it indicates that genetic liability may be more concentrated in some families and phenotypic groups.
Family risk is relative risk, not destiny. If a study says a first-degree relative has several times the odds of OCD, that ratio compares two groups. It does not mean the relative has a 50%, 70%, or 100% personal probability of developing the disorder. Absolute risk depends on the underlying prevalence, age, sex, family structure, phenotype, ascertainment method, and other risk factors.
Family relationships also share environments, routines, stressors, cultural practices, and patterns of help-seeking. Family studies alone therefore cannot prove that every increase in recurrence is genetic. Twin and extended-family designs help separate these influences, while molecular studies test genetic association directly. For the interpersonal side of OCD, including accommodation and family burden, see OCD and Family.
If a parent has OCD, will their child develop it?
Usually not. A child of a parent with OCD has higher risk than a child without that family history, but most children of affected parents do not develop OCD. The exact absolute probability cannot be reduced to one universal number because studies differ in how they define OCD, the age at which relatives are assessed, whether subthreshold symptoms are counted, and whether the affected parent had early-onset, tic-related, or other clinically relevant features.
The practical implication of parental OCD is awareness rather than prediction. Families and clinicians can pay attention to persistent intrusive thoughts, compulsive rituals, avoidance, reassurance seeking, time consumption, and functional impairment without treating ordinary childhood routines or transient worries as evidence of a disorder. A family history raises prior probability; diagnosis still requires a clinical pattern.
Can OCD skip a generation?
Yes, in the everyday sense that one generation may have no diagnosed OCD while another does. Polygenic liability is transmitted probabilistically. A person can inherit some risk variants without developing clinically significant OCD, and those variants can still be passed to children. Relatives may also express different degrees or forms of obsessive-compulsive symptoms, or may never develop relevant symptoms at all.
The idea of “skipping” generations can be misleading if it suggests a hidden single gene that turns on and off. The evidence instead supports distributed liability with variable expression. Differences in age, environment, other genetic variants, comorbid conditions, access to diagnosis, and chance all contribute to who develops a clinical disorder.
What twin studies tell us about OCD genetics
Twin studies are useful because monozygotic twins share essentially all of their inherited DNA sequence, whereas dizygotic twins share roughly half of their segregating genetic variation on average. If monozygotic twins resemble each other more strongly for a trait than dizygotic twins do, that pattern supports genetic influence, assuming the model’s other assumptions are reasonable.
The 2023 systematic review found stronger obsessive-compulsive symptom correlations among monozygotic than dizygotic twins and estimated overall phenotypic heritability near one-half. In 2024, Mataix-Cols and colleagues examined 132,394 Swedish twins and found tetrachoric correlations of 0.52 among monozygotic twins and 0.21 among dizygotic twins for clinically diagnosed OCD. The best-fitting AE model estimated 50% heritability.
Twin studies do not say that environment is unimportant. Their central result is that both genetic and nonshared environmental variation matter. The absence of a statistically important shared-environment component in a particular model also does not prove that family or social environments can never influence symptoms. It means that the model did not need a shared-environment component to explain the observed twin resemblance after accounting for additive genetic effects and the residual component.
Another crucial point follows from imperfect monozygotic concordance: identical genomes do not produce identical clinical outcomes. That fact is exactly what a multifactorial model predicts.
There is no single OCD gene
For years, candidate-gene studies examined variants in serotonin, glutamate, dopamine, and other biological systems. Some reported associations, but candidate findings in complex psychiatric conditions have often been inconsistent or difficult to replicate. The field has therefore shifted toward much larger genome-wide studies that test variation across the genome without assuming in advance which gene must be responsible.
The modern conclusion is that common OCD is highly polygenic. Thousands of variants can each contribute a tiny amount of risk. The 2025 GWAS estimated that on the order of 11,500 causal variants could account for 90% of the SNP-based heritability captured by common variants in that analysis. That is a statement about distributed common-variant architecture, not a claim that researchers have already identified 11,500 clinically actionable OCD mutations.
This polygenic architecture explains why a simple diagnostic DNA test is difficult. Each common variant usually changes risk only slightly. The meaningful signal appears when effects are aggregated across very large samples.
What the 2025 OCD GWAS changed
The 2025 Nature Genetics meta-analysis was a step change in statistical power. It combined 28 case-control cohorts of European ancestry, with 53,660 OCD cases and 2,044,417 controls. It identified 30 independent genome-wide significant loci and 249 potential effector genes, including 25 prioritized as the most likely causal candidates.
Earlier OCD GWAS often produced no genome-wide significant loci because sample sizes were much smaller. For example, a 2018 meta-analysis of 2,688 cases and 7,037 controls found no single variant reaching the conventional genome-wide significance threshold. See the 2018 Molecular Psychiatry study. The contrast is a textbook example of why complex-trait genetics needs enormous samples: individual effects are small, so true signals become visible only when statistical power grows.
The 2025 study also estimated SNP-based heritability at 6.7% in its main meta-analysis under an assumed 1% population prevalence, with higher estimates in clinically ascertained subgroups. SNP-based heritability and twin heritability are different quantities. Twin models can capture the combined effects of a broader range of inherited variation and model assumptions, while common-SNP estimates measure the variance tagged by the genotyped or imputed common variants in a particular dataset. A lower SNP-based figure therefore does not contradict the roughly 50% twin estimate.
The GWAS was restricted to cohorts of European ancestry, and case ascertainment ranged from clinician diagnosis and health records to self-reported diagnosis. Those features matter for generalizability. The loci are scientifically important, but they should not be treated as a complete genetic map of OCD across all populations.
Common variants, polygenic risk scores, and what they can predict
A polygenic risk score (PRS) combines the effects of many genetic variants into a single statistical index. In research, PRS can test whether genetic liability discovered in one sample predicts a small amount of variation in another. OCD PRS has also been used to study overlap between diagnosed OCD and obsessive-compulsive symptoms in the general population.
A 2024 genome-wide study of obsessive-compulsive symptoms in 33,943 people did not identify genome-wide significant individual variants but found evidence that polygenic liability to diagnosed OCD was associated with symptom variation. Read the Molecular Psychiatry study. This fits a dimensional view: some of the genetic influences associated with clinical OCD also contribute to obsessive-compulsive traits below the diagnostic threshold.
At present, an OCD PRS is a research instrument rather than a stand-alone diagnostic test. Its predictive performance is not sufficient to determine whether a particular person has OCD or will develop it, and transferability across ancestry groups remains an important limitation in psychiatric genetics.
Do rare genetic variants contribute to OCD?
Yes, rare variation appears to contribute to risk in at least a subset of cases, although the architecture is still being mapped. Rare variants are individually uncommon and therefore require different study designs from common-variant GWAS.
In 2021, exome sequencing of 1,313 OCD cases found an excess of rare damaging coding variants, including loss-of-function variation in genes that are especially intolerant of such disruption and an excess of some damaging de novo variants. The strongest single-gene signal in that study was SLITRK5, but it did not establish a routine clinical genetic test for OCD. Read the Nature Neuroscience study.
A later study of rare copy-number variants found a modest excess burden of rare CNVs in OCD cases compared with controls. The result supports contribution from structural genomic variation while also illustrating an important limit: the study did not identify one copy-number locus that explains ordinary OCD across the population. Read the Molecular Psychiatry study.
Rare-variant findings are scientifically meaningful because they may illuminate biological pathways and, in selected unusual clinical presentations, may eventually contribute to precision assessment. They do not convert OCD into a monogenic disorder.
OCD shares genetic liability with other psychiatric conditions
Genetic risk for psychiatric disorders does not respect diagnostic boundaries perfectly. The 2025 GWAS reported substantial genetic correlations between OCD and several other conditions, including anxiety disorders, major depression, anorexia nervosa, post-traumatic stress disorder, and Tourette syndrome. A genetic correlation means that some of the variants influencing liability to one trait also influence liability to another; it does not mean the disorders are the same.
The overlap with Tourette syndrome is clinically relevant because tic-related OCD is a recognized phenotype with distinctive familial patterns in some studies. For the clinical relationship between tics, Tourette syndrome, compulsions, and treatment, see OCD and Tic Disorders.
Shared genetic liability can help explain why conditions cluster in individuals and families. It can also guide research toward biological systems that cut across conventional diagnostic categories. It cannot diagnose comorbidity from DNA.
How can identical twins have different OCD outcomes?
Because genes influence probability rather than dictate a fixed outcome. Monozygotic twins can differ in life experiences, infections, stress exposures, relationships, sleep, hormonal states, stochastic developmental processes, epigenetic patterns, and other biological events. They may also differ in whether symptoms are noticed, reported, or treated.
The twin evidence itself demonstrates this. If genetic sequence alone determined OCD, monozygotic twin concordance would approach 100%. It does not. Genetic liability interacts with a wider developmental system.
Genes and environment: what does interaction mean?
A gene–environment interaction occurs when the effect of genetic liability differs depending on environmental exposure, or when the effect of an environmental exposure differs depending on genotype. This is conceptually different from simply adding “genes plus environment.”
For OCD, direct evidence for specific gene–environment interactions is still preliminary. A 2023 systematic review found only seven eligible studies, examining candidate variants or polygenic scores together with childhood trauma or stressful life events. The findings suggested possible interactions but were heterogeneous and too limited to support a clinically validated predictive model. Read the systematic review in the Journal of Psychiatric Research.
This is an area where wording matters. It is well supported that OCD is multifactorial and that both genetic and environmental variation contribute to liability. It is not yet established that clinicians can identify a particular environmental exposure and a particular genetic profile and accurately calculate an individual person’s OCD outcome.
Can stress or trauma cause OCD in someone who is genetically vulnerable?
Stressful life events can precede or intensify symptoms in some people, but a temporal association does not prove that stress alone caused the disorder. A 2024 systematic review and meta-analysis examined stressful life events reported before OCD onset and found evidence of clinically relevant associations, while the literature remained heterogeneous. See the review in CNS Spectrums.
A useful model is vulnerability plus development rather than a single trigger. Genetic liability may alter sensitivity to certain processes; experiences may affect symptom onset or expression; learning can reinforce compulsions once they appear; and symptoms themselves can generate additional stress. These pathways can feed one another over time.
This also separates etiology from maintenance. Factors that contribute to why OCD develops are not identical to the processes that keep compulsions going after onset. Negative reinforcement, avoidance, reassurance, and ritualized attempts to obtain certainty can maintain symptoms regardless of how the initial vulnerability arose. For that maintenance process, see the OCD Cycle.
Does parenting cause OCD?
There is no evidence that a particular parenting style is a general cause of OCD. Family members can influence how symptoms are managed after they develop, especially through reassurance, ritual participation, and accommodation, but that is a maintenance and treatment issue rather than proof that parenting created the disorder.
This distinction is especially important in families with genetic loading. A parent can transmit genetic liability and also share an environment with a child, but neither fact supports blame. Clinical work is more useful when it identifies modifiable patterns such as accommodation while treating family history as one part of a broader risk profile.
Why early-onset OCD matters in genetic research
Family studies repeatedly suggest stronger familial aggregation when OCD begins in childhood or adolescence. The 2023 meta-analysis found substantially higher pooled familial odds in studies of pediatric probands than adult probands. Large registry studies also report stronger recurrence in some early-onset groups.
This does not make early-onset OCD a separate Mendelian genetic disease. It suggests that early onset may enrich samples for higher genetic loading or different combinations of risk factors. Researchers therefore often analyze age at onset as a potentially informative phenotype.
The same principle applies to tic-related OCD and other subphenotypes. Better phenotyping can increase genetic signal by reducing the biological heterogeneity that is hidden when every form of OCD is analyzed as one undifferentiated category.
Does family history change how OCD is diagnosed?
Family history can increase clinical suspicion, but it does not establish a diagnosis. OCD is diagnosed from the person’s symptoms and their functional significance: obsessions, compulsions, or both; associated distress or time consumption; impairment; and consideration of alternative explanations. A parent’s diagnosis cannot substitute for assessment of the child, sibling, or other relative.
Likewise, a person with no known family history can still have OCD. Polygenic liability can be distributed across relatives who never met diagnostic criteria; family members may have been undiagnosed; new rare variants can arise; and environmental and developmental factors also contribute.
Screening is also different from diagnosis. A questionnaire can identify elevated obsessive-compulsive symptoms and indicate that fuller assessment may be useful. It cannot determine from a score whether the symptoms reflect OCD, another condition, or a nonclinical pattern.
Is there a genetic test for OCD?
There is no clinically validated DNA test that can diagnose ordinary OCD or reliably predict whether an unaffected person will develop it. Current genetic discoveries are primarily useful for research into mechanisms, biological pathways, genetic correlations, and population-level risk.
Direct-to-consumer genetic results should not be used to self-diagnose OCD or make psychiatric medication decisions. NIMH advises discussing direct-to-consumer genetic testing with a health professional or genetic counselor before acting on results. See NIMH guidance on genes and mental health.
Pharmacogenomic testing is a related but different topic. Such tests may provide information about metabolism or selected drug-gene relationships; they do not reveal whether a person “has the OCD gene.” The International OCD Foundation notes that evidence specifically supporting pharmacogenomic testing for OCD treatment selection remains limited. See the IOCDF pharmacogenomic testing guide.
Clinical genetic evaluation can still be appropriate when OCD appears within a broader presentation that suggests a genetic or neurological syndrome, developmental disorder, dysmorphic features, intellectual disability, unusual neurological findings, or a strong pattern of other inherited conditions. That is individualized medical genetics, not routine genetic testing for common OCD.
Can genetics tell which OCD theme a person will have?
Not with clinically useful accuracy. Contamination fears, checking, symmetry, taboo intrusive thoughts, harm fears, scrupulosity, relationship-focused obsessions, and other symptom dimensions overlap within individuals and families. Twin research suggests that symptom dimensions can share genetic influences while also having partially specific influences.
At present, genetic findings are much better at describing broad liability than predicting the exact content of a person’s obsessions or compulsions. Symptom content is shaped by development, learning, culture, personal concerns, available technologies, and situational context as well as underlying vulnerability.
What does genetics mean for the brain?
Genes do not map one-to-one onto a single “OCD brain circuit.” Genetic variants can influence gene regulation, cellular development, neurotransmission, immune signaling, synaptic function, and many other biological processes. Those effects can accumulate across development and interact with experience.
The 2025 GWAS used gene mapping, transcriptomic and proteomic analyses, and cell-type enrichment to move from statistical loci toward potential biology. This is a research bridge between DNA variation and neural systems, not a completed causal chain from one variant to one symptom.
For current evidence on cortico-striatal circuits, networks, neurochemistry, and imaging, see OCD and the Brain. For the broader etiological framework that integrates genetics with biology, learning, cognition, and other risk factors, see OCD Causes.
Can OCD genetics be prevented from becoming OCD?
There is currently no established intervention that can remove inherited polygenic liability. Prevention research instead focuses on modifiable risk, early recognition, and timely evidence-based care. Family history can make people more attentive to persistent symptoms without turning ordinary thoughts or habits into pathology.
When clinically significant symptoms emerge, early assessment can reduce the time between onset and effective treatment. Exposure and response prevention and serotonin reuptake inhibitor medication are established OCD treatments; treatment decisions depend on age, severity, impairment, comorbidity, prior response, preference, and clinical context rather than on a routine OCD genetic profile.
Genetic vulnerability also does not determine prognosis. People with substantial family loading can respond well to treatment, and the clinical course can include improvement, remission, relapse, and symptom fluctuation. See OCD Course.
Common misunderstandings about OCD genetics
“If OCD is 50% heritable, my child has a 50% chance of getting it.”
No. Heritability is a population-level variance estimate, not a parent-to-child probability. Absolute risk to a child is much lower than 50% in most families, even though it is elevated compared with the general population.
“If nobody in my family has OCD, I cannot have genetic OCD.”
No. Polygenic risk can be carried by relatives without a diagnosis, family history can be incomplete, rare variants can arise de novo, and environmental and developmental influences also matter.
“Scientists found 30 OCD genes in 2025.”
No. The 2025 GWAS identified 30 genome-wide significant loci, which are genomic regions associated with OCD risk. Mapping those loci to causal genes and biological mechanisms requires additional analyses. The study nominated many potential effector genes, but a locus is not the same thing as a single proven causal gene.
“A genetic variant means I will develop OCD.”
For the common variants involved in polygenic liability, no. Most individual variants have tiny effects and are common in people without OCD. Risk emerges from combinations of variants plus other biological and environmental influences.
“If genes matter, therapy cannot change OCD.”
Genetic contribution says nothing of the sort. Heritable disorders can remain highly modifiable. OCD symptoms can respond to evidence-based psychotherapy and medication because treatment acts on learning, behavior, cognition, neurobiology, and symptom expression regardless of how the initial liability arose.
What should someone do if OCD runs in the family?
The most useful response is informed observation rather than genetic fatalism. Know the difference between ordinary intrusive thoughts and a persistent pattern of obsessions and compulsions. Notice whether rituals, checking, washing, mental reviewing, reassurance seeking, avoidance, or “just-right” behavior becomes time-consuming, distressing, or functionally impairing.
A clinician assessing possible OCD may find family psychiatric history useful, especially age at onset, tic disorders, related obsessive-compulsive conditions, and treatment response in relatives. Family history can sharpen a clinical picture; it does not replace direct assessment.
Family members can also learn how to respond to symptoms without becoming part of a reassurance or ritual system. That is particularly important when a child or adolescent is affected, because accommodation can become woven into everyday family routines.
Frequently asked questions
Is OCD genetic or environmental?
Both genetic and environmental variation contribute to OCD liability. Twin studies place genetic contribution near 40%–50% in many estimates, while the remaining modeled variation is largely nonshared environmental and residual variance. Molecular genetics confirms a polygenic contribution, and specific environmental and gene–environment mechanisms remain active areas of research.
How heritable is OCD?
The best recent evidence places phenotypic heritability around one-half. A 2023 meta-analysis estimated additive genetic effects at about 46%; a 2024 study of clinically diagnosed Swedish twins estimated 50%. These estimates describe population variation, not an individual person’s percentage of genetic causation.
How much higher is OCD risk for first-degree relatives?
The 2023 family-study meta-analysis found first-degree relatives of people with definite OCD had about 7.2 times the odds of definite OCD compared with relatives of controls. Large register studies generally find several-fold increases. Relative risk is not the same as absolute personal probability.
Is OCD more genetic when it starts in childhood?
Early-onset OCD appears more strongly familial in several studies and in the 2023 meta-analysis. That supports higher genetic loading in some early-onset cases, but it does not define a separate single-gene disorder and does not mean every child with OCD has an affected relative.
Can two siblings inherit different OCD risk?
Yes. Except for identical twins, siblings inherit different combinations of parental variants. They also experience different developmental and environmental exposures. One sibling can develop OCD while another does not, even within a strongly affected family.
Can identical twins differ, with one having OCD and the other not?
Yes. Monozygotic twins are more similar for OCD than dizygotic twins, which supports genetic influence, but concordance is far below 100%. Nonshared environmental influences, developmental variation, and other factors contribute.
Did scientists find the genes for OCD?
Scientists have identified many associated loci and candidate effector genes, especially in the 2025 GWAS, but there is no single set of variants that explains all OCD. Common OCD is polygenic, and rare variants also contribute in some cases.
Can a DNA test diagnose OCD?
No clinically validated DNA test can diagnose ordinary OCD. Diagnosis remains clinical. Polygenic scores and current gene findings are research tools and do not have adequate individual predictive performance for routine diagnosis.
Can genetics predict treatment response?
Not reliably enough for routine OCD care. Pharmacogenomic information may occasionally help with medication metabolism or selected prescribing questions, but evidence for using genetic profiles to choose OCD treatment remains limited. Treatment is guided primarily by clinical characteristics and evidence-based response data.
Does having OCD mean my children will inherit it?
Children of a parent with OCD have elevated risk, but most will not develop OCD. What is inherited is susceptibility, not certainty. Family history is useful for awareness and early recognition rather than prediction of an inevitable outcome.
Can lifestyle override OCD genes?
There is no evidence that a particular lifestyle can erase polygenic liability. Sleep, stress management, supportive relationships, and general health can matter for well-being and symptom burden, but they should not be marketed as ways to switch OCD genes on or off. Persistent symptoms deserve evidence-based assessment and treatment.
The bottom line
OCD is genuinely familial and moderately heritable. The most defensible current estimate is that genetic factors account for roughly half of population variation in liability in twin designs. First-degree relatives have substantially elevated relative risk, especially in families with earlier-onset illness, while most relatives still do not develop OCD.
The molecular picture is now much sharper than it was a decade ago. The 2025 GWAS identified 30 significant loci in more than 53,000 cases and confirmed that OCD is highly polygenic. Exome and copy-number studies add evidence that rare variants also contribute for some people. Yet these discoveries do not support a simple “OCD gene,” a deterministic inheritance rule, or a routine diagnostic DNA test.
The strongest model is a developmental liability model: many genetic variants alter susceptibility; rare variants matter in some cases; environmental and developmental factors contribute; and learning processes can maintain symptoms once they emerge. Genetics helps explain why OCD clusters in families. It does not determine one person’s future.
References
Blanco-Vieira, T., Radua, J., Marcelino, L., Bloch, M., Mataix-Cols, D., & do Rosário, M. C. (2023). The genetic epidemiology of obsessive-compulsive disorder: a systematic review and meta-analysis. Translational Psychiatry, 13, 230. https://doi.org/10.1038/s41398-023-02433-2
Halvorsen, M. W., Samuels, J., Wang, Y., et al. (2021). Exome sequencing in obsessive–compulsive disorder reveals a burden of rare damaging coding variants. Nature Neuroscience, 24, 1071–1076. https://doi.org/10.1038/s41593-021-00876-8
Halvorsen, M. W., et al. (2025). A burden of rare copy number variants in obsessive-compulsive disorder. Molecular Psychiatry, 30, 1510–1517. https://doi.org/10.1038/s41380-024-02763-7
International OCD Foundation. (n.d.). Pharmacogenomic testing and OCD. https://iocdf.org/about-ocd/ocd-treatment-guide/pharmacogenomic-testing/
International OCD Foundation Genetics Collaborative & OCD Collaborative Genetics Association Studies. (2018). Revealing the complex genetic architecture of obsessive-compulsive disorder using meta-analysis. Molecular Psychiatry, 23, 1181–1188. https://doi.org/10.1038/mp.2017.154
Mataix-Cols, D., Boman, M., Monzani, B., Rück, C., Serlachius, E., Långström, N., & Lichtenstein, P. (2013). Population-based, multigenerational family clustering study of obsessive-compulsive disorder. JAMA Psychiatry, 70(7), 709–717. https://doi.org/10.1001/jamapsychiatry.2013.3
Mataix-Cols, D., Fernández de la Cruz, L., Beucke, J. C., et al. (2024). Heritability of clinically diagnosed obsessive-compulsive disorder among twins. JAMA Psychiatry, 81(6), 631–632. https://doi.org/10.1001/jamapsychiatry.2024.0299
National Institute of Mental Health. (n.d.). Looking at my genes: What can they tell me about my mental health? https://www.nimh.nih.gov/health/publications/looking-at-my-genes
National Institute of Mental Health. (n.d.). Obsessive-compulsive disorder: When unwanted thoughts or repetitive behaviors take over. https://www.nimh.nih.gov/health/publications/obsessive-compulsive-disorder-when-unwanted-thoughts-or-repetitive-behaviors-take-over
Strom, N. I., Burton, C. L., Iyegbe, C., et al. (2024). Genome-wide association study of obsessive-compulsive symptoms including 33,943 individuals from the general population. Molecular Psychiatry, 29, 2172–2184. https://doi.org/10.1038/s41380-024-02489-6
Strom, N. I., et al. (2025). Genome-wide analyses identify 30 loci associated with obsessive–compulsive disorder. Nature Genetics, 57, 1389–1401. https://doi.org/10.1038/s41588-025-02189-z
Wang, L., Chen, Y., Wang, M., Zhao, C., & Qiao, D. (2023). Relationship between gene-environment interaction and obsessive-compulsive disorder: A systematic review. Journal of Psychiatric Research, 164, 281–290. https://doi.org/10.1016/j.jpsychires.2023.06.004
