Attachment and Codependency: When You Lose Yourself in Other People’s Lives

“Codependency” is one of those terms that has traveled far enough from its origins that it now means different things in different conversations. It began in addiction treatment, describing family members and partners who organized their lives around the addicted person in ways that maintained the problem. It’s since expanded to describe any relational pattern in which a person’s sense of self and wellbeing becomes excessively dependent on another person’s emotional state, functioning, or approval.

Used carefully, the concept captures something real and important about a particular relational style. Used carelessly, it becomes a way to pathologize the normal human desire for closeness, or to blame people in difficult relationships for “enabling” when what they’re actually doing is trying to love someone who is struggling.

Understanding codependency through an attachment lens is clarifying, both for what it is and for what it isn’t — and more importantly, for what actually changes it.

What Codependency Looks Like Through an Attachment Lens

Anxious attachment is the primary driver of what we call codependency, though some elements also appear in disorganized attachment.

The person with anxious attachment grows up in a relational environment where the caregiver’s availability was inconsistent — sometimes present and attuned, sometimes preoccupied, sometimes emotionally absent. The child learns two things simultaneously: that connection is desperately needed, and that connection is unreliable. The response is to monitor the caregiver’s emotional state with extraordinary attention, to become skilled at reading signals of approach and withdrawal, and to organize behavior around maintaining the caregiver’s emotional proximity.

That’s not dysfunction in a child — it’s a reasonable response to an environment that actually is unpredictable. The problem is that the strategy persists into adulthood, where the hypervigilance to others’ emotional states becomes the defining feature of how the person moves through all their relationships.

In adult relationships, this looks like: knowing what the partner needs before they’ve said it, struggling to tolerate the partner’s distress without intervening, deriving self-worth primarily from being helpful or needed, profound difficulty letting others manage their own difficulties, panic at signs of the partner’s displeasure or distance, and an internal experience that is more organized around the partner’s emotional reality than the person’s own.

This isn’t weakness or low self-esteem in any simple sense. It’s an attachment adaptation that made sense in an early relational environment and that is now overdetermined — applied in contexts where the level of vigilance and self-abandonment is no longer necessary, and preventing the person from developing any stable internal experience of their own worth that doesn’t depend on how the other person is doing.

The Safety That Came From Managing Others

There’s often a specific historical logic to codependency that’s worth naming. Many people who develop codependent patterns grew up in households where their own wellbeing actually was contingent on managing the emotional states of their caregivers. The child of a depressed parent who needed to be cheerful to bring the parent out of their depression. The child of an angry parent who needed to read the signs early enough to redirect or diffuse. The child of an anxious parent who felt responsible for containing the parent’s worry.

These children weren’t being passive. They were being adaptive — they developed a genuine skill set for reading and managing other people’s emotional states. The problem is that the skill was developed at the cost of developing an equally sophisticated relationship to their own inner life. While so much attention went outward, the question “what am I feeling, what do I need?” got relatively little developmental airtime.

The codependent adult who doesn’t know what they feel, who can’t identify their own preferences, who seems to find it genuinely more natural to attend to others than to themselves — is often someone who learned, very early, that attending to the self was either irrelevant or dangerous, and that attending to others was the only reliable path to safety.

What Doesn’t Actually Help

The most common advice given to codependent people is “set limits,” or “practice saying no,” or “take care of yourself first.” This advice is not wrong, but it operates at the surface level — the behavioral level — without addressing what’s underneath. Telling someone with codependent patterns to “just set limits” is similar to telling someone with a fear of heights to “just look down.” The instruction is technically correct and functionally useless without attention to what makes the feared thing feel so threatening.

What makes limits feel threatening to the codependent person is not a simple misunderstanding about selfishness. It’s a body-level, nervous-system-level belief that disappointing others, failing to be needed, stepping out of the caretaking role, or tolerating others’ distress without intervening — these things put the relationship at risk. That belief may be conscious or completely unconscious, and it was installed early enough that it feels less like a belief and more like a fact about how the world works.

Telling a person with this internal organization to just say no is like telling someone to step off a curb that their nervous system experiences as a cliff. They can learn to do it, but not through instruction alone.

What Does Work

Actual change in codependent patterns comes through a combination of things that go deeper than behavioral strategies.

Understanding the attachment roots is often the first meaningful shift. When someone begins to understand that their hypervigilance to others’ emotional states was a survival strategy that developed for good reasons in a specific early context — not a character flaw, not inherent weakness — the self-judgment that accompanies the pattern often softens enough to allow real curiosity.

Building an internal experience of self is the central work. This means gradually developing the capacity to notice what you feel, what you need, what you actually want — independently of what would please, reassure, or help the other person. This is often done in therapy, where the therapeutic relationship itself becomes a context for practicing: what do I notice in my own body right now? What do I actually think about this? What would I want if the other person’s preferences weren’t the primary consideration?

Tolerating others’ distress without intervening requires developing a different relationship to the nervous system activation that others’ distress produces. For the codependent person, others’ pain feels like a problem they must solve — partly because solving it reduces their own anxiety. Learning to stay present to someone else’s distress without taking it over or making it go away is a practice that requires both the internal work and, often, support from a therapist.

Developing worth that doesn’t depend on being needed is perhaps the deepest layer. The person who knows, at some embodied level, that they are valuable independent of what they provide to others — that person doesn’t need to earn their place in relationships through endless caretaking. Getting there is a process, not an affirmation. It requires enough relational experience of being valued not-because-of-usefulness that the nervous system gradually updates its model.

This is slow work. But it’s the work that actually changes the pattern, rather than just managing its most uncomfortable expressions.


This article is for educational purposes only and is not a substitute for professional mental health treatment. If you are experiencing a mental health crisis, please reach out to a qualified mental health provider or call 988.

Ready to Take the Next Step?

If you'd like support in working through these issues, I'm here to help.

Schedule a Session