Attachment style begins forming at birth and takes shape primarily during the first two years of life. This window is when infants build their earliest mental blueprints for how relationships work, based on interactions with their primary caregivers. But the story doesn’t end at age two. Genetics, life experiences, and the quality of later relationships all continue to shape how you relate to others well beyond early childhood.
The Four Stages of Early Attachment
Attachment doesn’t switch on at a single moment. It builds gradually through four overlapping phases that unfold across infancy and toddlerhood.
From birth to about 6 weeks, babies don’t prefer any particular person. They respond to warmth, touch, and feeding from whoever provides it. Starting around 6 weeks and continuing to roughly 7 months, infants begin recognizing familiar faces and voices. They show a preference for known caregivers but still accept comfort from others without much protest.
The most significant phase begins around 7 months and lasts until about 24 months. This is when a baby forms a strong, specific bond with a primary caregiver and clearly prefers that person over everyone else. Separation anxiety peaks during this period. A child who cries when a parent leaves the room or clings to them in unfamiliar settings is displaying textbook attachment behavior. After age two, toddlers begin understanding that caregivers have their own needs and feelings, and that a parent leaving doesn’t mean they’re gone forever. This marks the start of more flexible, give-and-take relationships.
What’s Happening in the Brain
During the first year of life, an infant’s brain is uniquely wired for attachment learning. Babies produce unusually high levels of a stress-related chemical called norepinephrine, which acts almost like a turbo boost for bonding. Any sensory input from a caregiver, whether it’s their smell, voice, or touch, triggers this chemical surge and activates the brain’s attachment circuitry. In fact, the infant brain can’t easily shut off this norepinephrine release once it starts, which is part of why early bonds form so rapidly and powerfully.
At the same time, the brain’s fear center (the amygdala) operates differently in infants than in older children or adults. A caregiver’s presence dramatically dampens amygdala activity, meaning babies feel less fear when their attachment figure is nearby. This is true even in stressful or painful situations. Infants can form attachments even through negative experiences, as long as their stress hormones remain low, which a responsive caregiver helps ensure. The attachment learning window eventually narrows because the brain stops releasing enough norepinephrine to sustain this rapid bonding process.
When early caregiving is harsh or unpredictable, the effects reach deep into brain development. Animal research shows that trauma during the attachment period can alter the connection between the brain’s fear center and the prefrontal cortex, the region responsible for emotional regulation and higher-order thinking. This suboptimal wiring is associated with depressive-like behavior later in life.
How Caregiving Shapes Each Style
About half the general population develops a secure attachment style. In a large combined sample of over 12,000 adults, 50% were classified as secure, 25% as avoidant (dismissing), 8% as anxious (preoccupied), and 17% as disorganized (unresolved). These proportions give a sense of how common each pattern is.
Caregiver responsiveness matters, but the relationship between parenting and attachment is more nuanced than “good parenting equals secure kids.” Research measuring how sensitively mothers responded to their infants at 6 months found only a small positive correlation with attachment security at one year. The link was real but modest, suggesting that many other factors are at play.
One important finding: what matters most is how a caregiver responds when the baby is upset, not just during calm, playful moments. When mothers were warm and engaged during happy times but unresponsive during distress, their children actually showed more avoidant behavior. In other words, a parent who plays enthusiastically but checks out when the baby cries can inadvertently teach the child that distress is something to handle alone. For babies with more intense emotional temperaments, a mother’s sensitivity to distress was especially important in preventing both anxious and disorganized patterns.
How Disorganized Attachment Forms
Disorganized attachment stands apart from the other insecure styles because it reflects the absence of any coherent strategy for dealing with stress. Avoidant children learn to suppress their needs. Anxious children learn to amplify them. Disorganized children haven’t been able to settle on any consistent approach. In lab observations, these children display contradictory behaviors: reaching for a caregiver while simultaneously pulling away, freezing mid-motion, or showing visible confusion and fear around the very person who is supposed to provide safety.
This pattern typically develops when a caregiver is the source of both comfort and fear. The child faces an impossible dilemma: the person they need to go to for safety is the same person who frightens them. Researchers have argued that the parenting behaviors behind disorganized attachment also interfere with a child’s developing sense of identity and their ability to understand other people’s thoughts and feelings.
Mental Blueprints for Relationships
As attachment forms, babies begin building what researchers call “internal working models,” essentially mental templates for how relationships function. These templates encode expectations like “When I’m hurt, someone will help me” or “When I need comfort, no one comes.” Beginning in the first year of life, children develop what’s known as a secure base script: a mental storyline about what happens when they’re distressed and seek help.
By ages three and four, these scripts become measurable. Children who were securely attached at age two create stories and narratives that reflect knowledge of and access to this secure base script. They can articulate, in age-appropriate ways, that distress leads to seeking help, help arrives, and things get better. Children without secure attachment tend to tell stories where help doesn’t come, or where the storyline breaks down.
These internal models act as a lens for interpreting future relationships. A securely attached child enters friendships and school expecting people to be generally trustworthy. An avoidantly attached child enters those same situations expecting to rely only on themselves.
Genetics Play a Larger Role Than Expected
Attachment style isn’t purely a product of parenting. A large twin study using the Minnesota Twin Registry found that attachment styles are roughly 36% heritable, with the remaining 64% attributable to environmental factors unique to each individual. Notably, shared family environment (the household, parenting style, and family culture that siblings experience together) did not account for meaningful variance. What mattered environmentally were experiences unique to each person.
The genetic contribution varies depending on the relationship. Attachment patterns toward parents showed higher heritability, around 44% to 59%, suggesting that the parent-child bond has a stronger genetic component. Attachment patterns toward romantic partners, by contrast, were primarily shaped by individual life experiences, with genetics accounting for less than a quarter of the variation. This means your attachment style in romantic relationships is more malleable and more influenced by what actually happens in those relationships than your attachment style toward your parents.
Can Attachment Style Change Over Time?
No longitudinal study has followed the same individuals from infancy all the way into adulthood to directly measure whether their attachment classification stayed the same. That gap in the research is important because it means confident claims about infant attachment “locking in” a lifelong pattern aren’t supported by direct evidence.
What is clear is that internal working models, while they start forming in the first year, continue to be updated by experience. The twin research reinforces this: since roughly two-thirds of attachment variation comes from non-shared environmental experiences, there is substantial room for change. Major life events, new relationships, therapy, and even significant friendships can reshape the mental blueprints laid down in early childhood. The first two years create a strong foundation, but they don’t write the final draft.

