Skip to content
TestMyPsycheTestMyPsyche

💞 Relationships

The Science of Attachment: How Your Childhood Shapes Your Adult Relationships

How early bonds shape adult love: Bowlby's theory, Ainsworth's Strange Situation, internal working models and why earned security is possible at any age.

By TestMyPsyche Editorial TeamPublished 8 min read

Why do some people find it easy to trust a partner, while others worry about being abandoned or feel uneasy when someone gets too close? Part of the answer may go back to our earliest relationships. The science of attachment studies how the bond between a baby and their caregivers develops, and how those early experiences can shape the way we approach love, trust and closeness as adults. This guide explores the research behind it: John Bowlby's original ideas, Mary Ainsworth's famous Strange Situation experiment, the "internal working models" we carry with us, and the encouraging finding that early patterns are not destiny.

The science of attachment: where it began

Attachment is the deep emotional bond that forms between a child and the people who care for them. Attachment theory explains why this bond exists and how it shapes development.

The theory began with British psychiatrist John Bowlby. In the 1940s and 1950s, he worked with children who had been separated from their families, including young people in a child guidance clinic and children in hospitals and institutions. He noticed that long separations from caregivers often left children deeply distressed, and that this distress didn't simply fade once they were fed and physically cared for.

In 1951, Bowlby wrote a report for the World Health Organization on children who had lost their families, arguing that warm, continuous care was essential for healthy development. Around the same time, his colleagues James and Joyce Robertson filmed young children during hospital stays, when parents were often allowed to visit only briefly. Their films showed children moving from protest to despair to withdrawal, and helped change hospital policies so parents could stay with their children.

Bowlby developed his full theory in three books published between 1969 and 1980. Rather than seeing a baby's love for their mother as a side effect of feeding, as many psychologists then believed, he argued that attachment is a built-in survival system. Babies who stayed close to a protective adult were more likely to survive, so evolution favored infants who cry, cling and seek comfort when frightened.

Comfort, not just food: the evidence

Bowlby drew on research from animal studies. In the late 1950s, psychologist Harry Harlow showed that infant rhesus monkeys preferred a soft cloth "mother" over a wire one that provided milk, especially when frightened. This suggested that comfort and contact, not just food, were at the heart of early bonds. (Harlow's experiments are now widely seen as ethically troubling because of the distress they caused the animals.)

Bowlby described two key roles that caregivers play:

  • A safe haven: someone to return to for comfort when the child is frightened, hurt or upset.
  • A secure base: someone whose reliable presence gives the child confidence to explore the world.

Watch a toddler at a playground and you can often see both: they wander off to explore, glance back to check their parent is there, and run back for a hug if something scares them.

Mary Ainsworth and the Strange Situation

Bowlby's ideas were put to the test by American-Canadian psychologist Mary Ainsworth, who had worked with him in London. She first observed mothers and babies in Uganda in the 1950s, and later carried out detailed home observations of families in Baltimore, in the United States.

To study attachment in a standard way, Ainsworth and her colleagues developed the Strange Situation procedure, described in their 1978 book Patterns of Attachment. In a series of short episodes, usually with children around one year old, a baby and caregiver are in an unfamiliar playroom. A friendly stranger enters, the caregiver leaves briefly, and then returns. The most revealing moment is usually the reunion: how the child responds when the caregiver comes back.

Ainsworth identified three main patterns, and researchers Mary Main and Judith Solomon later described a fourth:

PatternWhen the caregiver leavesWhen the caregiver returnsOften linked with caregiving that is…
SecureMay be upset, but can be comfortedSeeks contact, calms down and returns to playGenerally sensitive and responsive
Insecure-avoidantShows little visible distressAvoids or ignores the caregiverOften less responsive to the child's distress
Insecure-resistant (ambivalent)Very distressedSeeks comfort but is hard to soothe, may seem angryInconsistent: sometimes responsive, sometimes not
DisorganizedConfused or contradictory behaviorMay freeze, approach then back awaySometimes linked with frightening or very stressful care

In Ainsworth's original Baltimore sample, about two-thirds of the babies were classified as secure. Later research found that secure attachment is the most common pattern in many countries, although the proportions of the insecure patterns vary between cultures.

Interestingly, the "avoidant" babies weren't actually calm. Later studies measuring heart rate found that infants who looked unbothered on the outside could still show signs of stress, suggesting they had learned to hide their need for comfort.

Internal working models: how the past travels with us

One of Bowlby's most influential ideas is the internal working model. Through thousands of everyday interactions, a child builds mental expectations about relationships: Am I worth caring for? Will others be there when I need them?

How early care can shape adult relationshipsFour steps from top to bottom, using a secure example. 1. Caregiving: comfort comes reliably and warmly. 2. The child learns: when I'm upset, someone helps. 3. Internal working model: I'm worth caring for, and others can be trusted. 4. Adult relationships: comfortable with both closeness and independence.1. CaregivingA secure exampleComfort comesreliably and warmly2. Child learnsA secure example“When I'm upset,someone helps”3. Working modelA secure example“I'm worth caring for;others can be trusted”4. Adult bondsA secure exampleComfortable with bothcloseness and space
Bowlby's idea of internal working models: repeated early experiences become expectations about ourselves and others, which we carry into later relationships. These expectations can change.

A child whose distress is usually met with comfort may come to expect that others are trustworthy and that their own needs matter. A child whose cries were often ignored may learn to rely on themselves and keep their needs hidden. A child who received comfort unpredictably may learn to watch closely for signs of rejection and to protest loudly to get attention.

These strategies make sense in childhood: they're the child's best way of staying close to the caregivers they depend on. The difficulty is that working models can carry over into later relationships, even when they no longer fit. That's why adults with insecure attachment may find themselves repeating old patterns with partners who would actually respond differently. Our guides to the signs of anxious attachment and the signs of avoidant attachment describe how these patterns often look in adult relationships.

Does childhood attachment predict adult relationships?

This is where the research gets more nuanced than popular summaries suggest.

There are real links. In 1987, Cindy Hazan and Phillip Shaver showed that adults describe romantic relationships in ways that echo the infant patterns. The Minnesota Longitudinal Study of Risk and Adaptation, led by Alan Sroufe and colleagues, followed children from before birth into adulthood and found that early attachment quality was linked with later social skills and relationship quality.

Attachment also passes between generations. Researchers developed the Adult Attachment Interview, in which adults talk about their own childhood. A 1995 meta-analysis by Marinus van IJzendoorn found that parents' interview results predicted their babies' attachment patterns well above chance.

But early attachment is not destiny. Studies tracking people over time show only moderate stability in attachment from infancy to adulthood. Later experiences, such as divorce, loss, supportive relationships or therapy, can shift a person's attachment security in either direction. Researchers also debate how much a child's inborn temperament contributes to their behavior in the Strange Situation.

It's also important to remember that children usually form attachments to several people, such as both parents, grandparents and other caregivers, not just one. A secure bond with one caring adult can make a real difference.

Earned security: rewriting your story

Perhaps the most hopeful finding in attachment research is earned security. Researchers have identified adults who describe difficult or painful childhoods but talk about them in a clear, balanced and reflective way, and who parent their own children with security.

What seems to matter most isn't whether your childhood was perfect, but whether you've been able to make sense of it. People often move toward security through:

  • Reflecting on the past: understanding what happened and how it affected you, without blaming yourself.
  • Supportive relationships: a reliable partner, friend, mentor or relative can provide a new model of what closeness can feel like.
  • Therapy: many therapies help people understand and change relationship patterns.
  • Practicing new behaviors: expressing needs directly, staying present during conflict and allowing others to help.

Our guide to attachment styles includes practical steps toward secure attachment, and our article on fearful-avoidant attachment looks at the most mixed pattern in detail.

What this means for parents

If you're a parent, attachment research can sound like pressure to be perfect. It isn't. Some reassuring points:

  • No caregiver gets it right all the time. Psychologists often talk about "good enough" parenting, a phrase from pediatrician Donald Winnicott. Children don't need constant perfect responses.
  • Repair matters. What helps children most is noticing when things go wrong, such as after an argument or a stressful day, and reconnecting.
  • Small, everyday moments count. Comforting a child when they're upset, being curious about their feelings and showing them they can rely on you all build security over time.
  • Your own history doesn't decide theirs. Reflecting on your own childhood can help you respond to your children in the way you would like.

This article is for understanding and self-reflection, not diagnosis. If you're concerned about a child's development or your own relationship patterns, a qualified psychologist, family therapist or pediatrician can help.

Find your attachment style

Our free attachment style test takes about 5 minutes and shows how you approach closeness, trust and independence in relationships. It's a tool for self-reflection, not a clinical assessment.

Key takeaways

  • The science of attachment began with John Bowlby, who saw the bond between child and caregiver as a built-in survival system.
  • Caregivers act as a safe haven for comfort and a secure base for exploration.
  • Mary Ainsworth's Strange Situation identified secure, avoidant and resistant patterns; a disorganized pattern was added later.
  • Internal working models carry early expectations about love and trust into later relationships.
  • Childhood attachment is linked to adult relationships, but only moderately: later experiences can change it.
  • Earned security shows that reflecting on the past and building supportive relationships can lead to security at any age.

Please note: our tests and articles are for self-reflection and education. They are not a medical, psychological or professional diagnosis. If you're struggling, please talk to a qualified professional.

Frequently asked questions

What is attachment theory?

Attachment theory, developed by John Bowlby, explains the emotional bond between children and their caregivers and how early experiences shape expectations about love, trust and closeness.

What is the Strange Situation?

It's a procedure developed by Mary Ainsworth and colleagues in which a young child is briefly separated from and reunited with a caregiver in an unfamiliar room. How the child reacts at reunion helps identify their attachment pattern.

What is an internal working model?

It's Bowlby's term for the mental expectations a child builds about relationships, such as whether they're worth caring for and whether others can be trusted. These expectations can carry into adulthood.

Does childhood attachment determine adult relationships?

No. Research shows real but moderate links. Later experiences such as supportive relationships, losses or therapy can change a person's attachment security.

What is earned security?

Earned security describes adults who had difficult childhoods but have made sense of them and developed secure ways of relating, often through reflection, supportive relationships or therapy.

Related articles