How Anxiety Develops: Genetics, Stress, and Trauma

Anxiety develops through a combination of genetic predisposition, brain wiring, learned behavior, and life experience. There is no single cause. For most people, anxiety disorders emerge when several of these factors converge, often during a vulnerable period of life. Understanding how each layer contributes can help make sense of why anxiety takes hold in some people and not others.

Genetics Set the Baseline

Your genes don’t guarantee you’ll develop an anxiety disorder, but they strongly influence your susceptibility. Twin studies estimate that genetic factors account for 39 to 46 percent of the variation in generalized anxiety at any given point in time. When researchers tracked the same individuals over several years, that number climbed to about 60 percent for people whose anxiety remained stable and persistent rather than coming and going. In other words, the more chronic and enduring the anxiety, the more genetics seem to be driving it.

What’s inherited isn’t anxiety itself but rather a temperament and nervous system that reacts more intensely to uncertainty and perceived threat. This includes traits like neuroticism and behavioral inhibition, the tendency to withdraw from new situations as a child. These traits create fertile ground, but they need environmental input to grow into a full disorder.

How the Brain Processes Fear

At a biological level, anxiety is rooted in how your brain’s alarm system communicates with the parts responsible for rational thought. The brain’s threat detector fires rapidly when it senses danger, and the prefrontal cortex, the area behind your forehead that handles planning and decision-making, is supposed to evaluate that alarm and dial it down when the threat isn’t real.

In people with high trait anxiety, the physical connections between these two regions are measurably weaker. Brain imaging studies show that the nerve fiber pathways linking the threat detector to the prefrontal cortex have lower structural integrity in anxious individuals. People with low anxiety, by contrast, show stronger functional connectivity between these areas, meaning their “calm down” signal travels more efficiently. When this top-down braking system is underpowered, the alarm keeps ringing even after the danger has passed, or when there was no real danger to begin with.

The Role of Brain Chemistry

Your brain runs on a balance between excitatory and inhibitory chemical signals. Glutamate acts as the accelerator, encouraging nerve cells to fire and pass messages along. GABA acts as the brake, blocking those messages and producing a calming effect. A properly functioning brain maintains a delicate equilibrium between the two.

When GABA activity is too low or glutamate activity is too high, nerve cells become hyperactive. This hyperactivity is closely linked to the racing thoughts, physical tension, and heightened startle response that characterize anxiety. Many anti-anxiety medications work by boosting GABA’s inhibitory effects, which is indirect confirmation of how central this imbalance is to the condition.

Stress Can Rewire the System Before Birth

The groundwork for anxiety can be laid before a person is even born. When a pregnant person experiences significant chronic stress, their elevated stress hormones can cross the placenta and reach the developing fetus. Normally, the placenta has an enzyme that breaks down stress hormones before they reach the baby. But under sustained maternal stress, this protective enzyme gets overwhelmed, exposing the fetus to higher levels of cortisol than it should encounter at that stage of development.

This early exposure can permanently alter how the baby’s stress response system calibrates itself. The result is a stress thermostat set too sensitive from the start, one that produces more cortisol in response to smaller triggers throughout life. This isn’t destiny, but it does mean some people enter the world with a nervous system already primed to overreact.

Childhood Experiences and Trauma

Adverse childhood experiences are among the strongest environmental predictors of adult anxiety. Physical and sexual abuse carry a particularly high association with anxiety disorders specifically, while emotional abuse is more closely linked to depression. The more types of adversity a person experiences, the higher their risk climbs. Data from the UK Biobank, covering over a decade of records, found that individuals who experienced seven or more categories of childhood adversity had roughly five to nine times the odds of developing combined anxiety and depression compared to those with no adverse experiences, with the risk being higher for women than men.

These experiences don’t just create bad memories. They physically reshape the brain’s stress circuitry during critical developmental windows, reinforcing the same weak prefrontal braking and heightened threat sensitivity described above. A child who grows up in an unpredictable or threatening environment develops a nervous system tuned for constant vigilance, because in that context, vigilance was adaptive. The problem is that the system doesn’t easily recalibrate when the environment becomes safe.

How Anxiety Learns to Sustain Itself

One of the most important mechanisms in anxiety isn’t how it starts but how it maintains itself. The two-factor theory, the most influential learning model for understanding anxiety disorders, explains this through two stages. First, a neutral situation becomes associated with fear through direct experience. A person who has a panic attack in a grocery store, for example, begins to associate grocery stores with panic. This is classical conditioning, the same principle demonstrated in the famous Little Albert experiment in 1920, where a child learned to fear a white rat after it was repeatedly paired with a loud, startling noise.

The second stage is what locks the anxiety in place. The person starts avoiding grocery stores, and the avoidance works: they feel immediate relief. That relief reinforces the avoidance behavior, making it more likely to happen again. But because they never return to the store and discover that nothing bad actually happens, the fear never gets corrected. This avoidance loop is the engine that keeps anxiety disorders running long after the original trigger has lost any real threat. It’s also why exposure-based therapy, which involves gradually facing feared situations rather than avoiding them, remains the foundation of effective treatment.

Thought Patterns That Feed Anxiety

Anxious people don’t just feel more fear. They literally see the world differently. Research on attention bias shows that individuals with anxiety are hypersensitive to threat-related information, detecting and locking onto potential dangers faster than non-anxious people, even when no actual threat exists. In practical terms, this means an anxious person walking into a room will notice the one frowning face before seeing the twenty smiling ones.

This bias creates a self-reinforcing cycle. Because you’re scanning for threats, you find more of them. Because you find more threats, your brain confirms that the world is dangerous. Because the world seems dangerous, you scan harder. Over time, this selective attention reshapes your baseline perception of reality, making anxiety feel less like a disorder and more like an accurate reading of a genuinely threatening world. Breaking this cycle often requires deliberate retraining of attention, which is a component of cognitive behavioral therapy.

When Anxiety Typically Appears

Different anxiety disorders tend to emerge at different life stages, which reflects the interplay between brain development and the types of challenges each age group faces. Specific phobias, social anxiety, and separation anxiety typically begin before age 15, often in late childhood. Panic disorder, generalized anxiety disorder, and agoraphobia tend to onset later, with average ages of onset falling between 21 and 35 years old. This doesn’t mean anxiety can’t develop at any age, but these windows represent the periods of highest vulnerability for each subtype.

Chronic Stress and the Body’s Tipping Point

Anxiety isn’t purely psychological. Prolonged stress takes a measurable physical toll that researchers quantify as allostatic load, essentially the cumulative wear and tear on the body’s metabolic, cardiovascular, and inflammatory systems from sustained stress hormone exposure. A large prospective study found that individuals with high allostatic load had a 30 percent increased risk of developing an anxiety disorder compared to those with low scores. The relationship works in both directions: chronic stress creates the biological conditions for anxiety, and ongoing anxiety keeps the body in a state of stress that further damages these systems.

This helps explain why anxiety often co-occurs with physical health problems like heart disease, diabetes, and chronic inflammation. It also explains why anxiety that goes unaddressed for years tends to become harder to treat. The longer the stress system stays activated, the more entrenched the biological changes become.

Social Media as a Modern Accelerant

While anxiety has always existed, certain modern conditions appear to be accelerating its development in young people. Adolescents who spend more than three hours a day on social media face double the risk of experiencing anxiety and depression symptoms, according to the U.S. Surgeon General’s advisory on youth mental health. The average teenager currently spends about 3.5 hours daily on these platforms, meaning the typical teen already exceeds the risk threshold. Nearly half of adolescents aged 13 to 17 report that social media makes them feel worse about their body image, creating a constant source of social comparison that feeds the attention bias and threat-scanning patterns described above.

Social media doesn’t cause anxiety on its own, but for adolescents who already carry genetic vulnerability, early life stress, or a threat-sensitive cognitive style, it provides a relentless stream of exactly the kind of social evaluation cues that the anxious brain is wired to detect and amplify.