Mental illness is partly genetic, but no psychiatric condition is fully determined by your DNA. Heritability estimates range from about 30% for major depression to 80% for ADHD, meaning genetics explains a significant share of risk but never the whole picture. The rest comes from life experiences, environment, and the complex interplay between the two.
This means having a family history of a mental health condition raises your risk, but it doesn’t seal your fate. And developing a condition without any known family history is entirely possible.
How Much Risk Comes From Genes
Heritability is a measure of how much variation in a condition across a population can be traced to genetic differences. For psychiatric conditions, these estimates fall into two broad tiers. Schizophrenia, bipolar disorder, autism, and ADHD sit in the higher range, with heritability estimates between 51% and 80%. Major depression, OCD, anorexia, and alcohol dependence cluster in a lower range, between 30% and 41%.
Twin studies help illustrate this. Identical twins share virtually all their DNA, so if a condition were purely genetic, both twins would always have it. For schizophrenia, the concordance rate in identical twins is estimated at 33% to 65%. That’s far higher than in fraternal twins or the general population, confirming a strong genetic component. But it also means that even with an identical genome, one twin can develop schizophrenia while the other doesn’t. Something beyond DNA is clearly at work.
Thousands of Genes, Each With a Tiny Effect
Mental illness doesn’t follow the pattern of conditions caused by a single gene mutation. Instead, psychiatric conditions are what researchers call “highly polygenic,” meaning risk comes from hundreds or thousands of genetic variants, each contributing a small amount. No single gene causes depression or schizophrenia the way a single mutation causes cystic fibrosis.
Scientists now use polygenic risk scores to capture this complexity. These scores add up the small effects of all known risk variants across a person’s genome into a single number, creating a continuous measure of genetic vulnerability. Someone with a high polygenic risk score for schizophrenia has more of these risk variants than average, but that score alone doesn’t predict whether they’ll develop the condition.
There’s one notable exception to this “many small effects” pattern. In autism, spontaneous genetic mutations that weren’t inherited from either parent (called de novo mutations) can play a larger role. In families with no prior history of autism, these spontaneous changes may account for 52% to 67% of cases. In families where multiple members are affected, inherited variants matter more, and de novo mutations account for only 9% to 11% of cases.
How Life Experience Reshapes Genetic Risk
Your genes don’t change over your lifetime, but whether specific genes are active or silent does. This is the field of epigenetics: chemical modifications that sit on top of your DNA and control which genes get “turned on” or “turned off” without altering the genetic code itself. One of the most studied mechanisms is DNA methylation, where a small chemical group attaches to a section of DNA and essentially blocks that gene from being read. Think of it as a dimmer switch on a lamp that’s already wired into the wall.
Childhood trauma is one of the most powerful triggers for these changes. Research shows that abuse, neglect, and early-life stress can alter methylation patterns on genes involved in the body’s stress response system. For example, trauma can change how genes controlling cortisol (the body’s primary stress hormone) are regulated, leading to a stress system that stays chronically overactivated. These changes have been linked to higher rates of depression, anxiety, and other psychiatric conditions later in life. Similar epigenetic shifts have been observed in genes related to serotonin signaling and brain growth factors, both of which are central to mood regulation.
One of the most well-known examples of gene-environment interaction involves a gene that controls serotonin transport in the brain. People who carry a particular variant of this gene show more depressive symptoms after stressful life events than people with a different version. The gene variant alone doesn’t cause depression, and stressful events alone don’t always cause depression. It’s the combination that raises risk most sharply.
Environmental Factors That Raise Risk
Beyond genetics, a wide range of environmental exposures influence mental health risk. These operate across the entire lifespan, starting before birth.
Pregnancy and birth complications are well-documented risk factors, particularly for psychosis. Bleeding during pregnancy, preeclampsia, low birth weight, and exposure to infections like influenza or toxoplasmosis during pregnancy have all been associated with increased risk. Advanced paternal age (roughly 34 and older) also shows a statistical link to schizophrenia in offspring.
Childhood adversity is among the strongest environmental predictors. A meta-analysis covering sexual abuse, physical abuse, neglect, parental death, and bullying found that people who experienced childhood adversity had nearly three times the odds of developing psychosis in adulthood. Stressful life events in the months to years before onset also appear to triple the odds.
Social circumstances matter too. Living in an urban environment roughly doubles the risk of psychosis compared with rural living. Social isolation, poverty, unemployment, and migration (especially as a refugee) all carry elevated risk. These factors likely work through chronic stress, reduced social support, and the biological pathways that connect them to brain function.
What Genetic Testing Can and Can’t Tell You
Despite the strong genetic component, there is currently no genetic test that can diagnose, confirm, or rule out a psychiatric condition. No clinical guidelines recommend genetic testing for conditions like schizophrenia, bipolar disorder, depression, anxiety, or OCD. The genetic architecture is simply too complex, involving too many variants with effects too small, for a test to deliver a meaningful yes-or-no answer.
The one area where genetic testing has practical clinical use is pharmacogenomics, which helps predict how your body will process certain medications. Variations in specific liver enzymes determine whether you metabolize antidepressants and antipsychotics quickly, slowly, or at a typical rate. If you metabolize a drug too quickly, it may not reach effective levels in your blood. Too slowly, and side effects become more likely. This kind of testing can help your prescriber choose the right medication or dose more efficiently, potentially shortening the trial-and-error process that many people experience when starting psychiatric medication.
What Family History Actually Means for You
If a close relative has a mental health condition, your risk is higher than average, but “higher than average” is not a diagnosis. Most people with a family history of depression never develop depression. Most children of parents with schizophrenia do not develop schizophrenia. What you inherit is vulnerability, not inevitability.
That vulnerability interacts with everything else in your life: your childhood experiences, your social environment, your exposure to stress, substance use, and even factors that predate your birth. Two people with identical genetic risk profiles can have completely different mental health outcomes depending on what they encounter. This is why mental illness clusters in families without following clean inheritance patterns, and why it appears in people with no family history at all.

