Anxiety is partly learned, but not entirely. Twin studies estimate that 30 to 50% of the risk for anxiety disorders is heritable, meaning your genes set a baseline level of vulnerability. The rest comes from your environment: direct experiences, what you observed growing up, and the stress you were exposed to early in life. In practice, most anxiety involves both a biological predisposition and learned patterns that reinforce it over time.
How Anxiety Gets Learned
The most well-studied pathway is classical conditioning. A neutral situation gets paired with something painful or frightening, and your brain links the two. A child bitten by a dog doesn’t just remember that one dog. The brain encodes a broader association: dogs equal danger. From that point on, the sight of any dog can trigger a fear response, complete with racing heart and the urge to flee. This learning happens fast, sometimes in a single event, and it sticks.
What keeps learned anxiety alive is avoidance. After that dog bite, the child avoids dogs. Because they never encounter a friendly dog, they never get the chance to update the association. The expectation of danger stays intact, and each successful avoidance actually reinforces the fear. This cycle of fear followed by avoidance is what turns a single bad experience into a lasting anxiety pattern.
The brain region at the center of this process is the amygdala, a small structure in the mid-temporal lobe. During a frightening experience, sensory information about the threat and the pain or fear it causes converge on the same neurons in the amygdala. This creates a memory trace, a physical encoding of the learned association stored as a network of excitatory neurons sometimes called an engram. When you later encounter the triggering stimulus, that network reactivates and drives defensive behaviors like freezing, fleeing, or the physical symptoms of panic.
Learning Anxiety From Other People
You don’t need a traumatic experience to develop anxiety. Children routinely learn fear by watching other people, especially parents. Research identifies three indirect pathways: observing fearful reactions in others, receiving negative verbal information about something (“that dog is dangerous”), and being punished or discouraged from approaching certain situations.
The observational pathway is particularly powerful in childhood. Studies show that children who watch a parent display fearful facial expressions toward unfamiliar animals, ambiguous toys, or strangers go on to show heightened fear of those same things. The child’s brain treats the parent’s reaction as reliable threat information and builds an association just as if the child had experienced the threat directly.
A meta-analysis in Clinical Child and Family Psychology Review found that these learning pathways have a stronger effect in children and adolescents (correlation of 0.44) than in adults (0.16). This makes sense developmentally. Young brains are primed to absorb safety information from caregivers. The downside is that anxious parents can inadvertently transmit their fears to their children without any direct threat ever occurring.
The Genetic Side
Genes don’t cause anxiety in the way they cause eye color, but they do influence how reactive your stress response system is. The 30 to 50% heritability figure for anxiety disorders means that in a population, roughly a third to half of the variation in anxiety risk traces back to genetic differences. When anxiety and depression occur together, heritability jumps to around 79%, suggesting a shared genetic architecture between the two conditions.
What genes primarily influence is temperament. Some people are born with a more reactive amygdala, a stronger startle response, or a stress hormone system that ramps up faster and takes longer to calm down. These traits don’t guarantee an anxiety disorder, but they lower the threshold for learning fear. A child with high innate reactivity may develop a lasting fear from an experience that barely registers for a less reactive child.
How Stress Changes Gene Expression
There’s a layer between pure genetics and pure learning that makes the picture more complex. Environmental stress, particularly early in life, can alter how your genes behave without changing the DNA itself. This process, called epigenetic modification, essentially turns certain genes up or down in response to what you experience.
Animal studies show that even brief periods of early-life stress (like separating infant rats from their mothers) can chemically modify genes involved in the stress hormone system, specifically a gene encoding a receptor that helps regulate resilience. These modifications persist into adulthood and produce lasting changes in behavior. Human research has found similar patterns. Severe maternal stress during pregnancy alters gene activity in offspring, affecting genes tied to brain growth and stress regulation, with changes detectable in infants as young as two months.
This means that some of what looks “innate” in an anxious person may actually reflect very early environmental programming. The genome is more vulnerable to these modifications during fetal development and early childhood than at any other point in life.
Not All Anxiety Is Learned
Some fears appear without any identifiable learning event. Researchers distinguish between experiential phobias, which develop after a direct or indirect frightening experience, and nonexperiential phobias, which arise without any prior associative learning. Fear of heights, for instance, often shows up in people who have never fallen or witnessed a fall. These nonexperiential fears likely tap into evolutionarily conserved threat-detection systems, hardwired responses to stimuli that posed survival risks for our ancestors.
Generalized anxiety, the kind that isn’t tied to a specific trigger but involves chronic worry across many situations, tends to lean more heavily on temperament and genetic factors than on a single learning event. Specific phobias, by contrast, more often have identifiable origins in conditioning or observation. The clinical reality is a spectrum, with some anxiety disorders sitting closer to the “learned” end and others closer to the “innate” end, and most landing somewhere in between.
Unlearning Anxiety Through Exposure
If anxiety can be learned, it follows that it can be unlearned. This is the principle behind exposure therapy, the most evidence-based treatment for anxiety disorders. The mechanism is called extinction learning: you encounter the feared stimulus repeatedly without the expected bad outcome, and your brain builds a new, competing association. The original fear memory doesn’t get erased. Instead, a new memory (“dogs don’t always bite”) forms alongside it and gradually becomes dominant.
Over repeated exposures, the new “no threat” association strengthens and inhibits the old fear response. A child afraid of dogs, for example, would interact with dogs in controlled settings where nothing harmful happens. Each safe encounter reinforces the updated expectation.
Research from the Association for Psychological Science shows that after each exposure exercise, 97% of patients report reduced threat expectations. On average, patients find the exercises 71% less threatening than anticipated, and this mismatch drives an average 48% shift in what they expect from future encounters. Patients with the highest learning rates (above 83%) see the largest reductions in anxiety symptoms over the full course of treatment.
The overall numbers are encouraging but honest. About 50% of patients experience a clinically significant reduction in anxiety after exposure-based cognitive behavioral therapy. Long-term durability is more variable: only 20 to 50% of adolescents maintain remission of anxiety, OCD, or PTSD six years after treatment. This doesn’t mean the learning failed. It means the original fear association, which was never erased, can resurface under stress. Anxiety management is often an ongoing process of reinforcing the newer, safer associations your brain has built.

