The Psychology Behind Why We Miss People Who Hurt Us
You know that feeling when someone who treated you poorly crosses your mind at 2 a.m., and suddenly you’re scrolling through old messages or wondering what they’re doing now? You’re not broken. You’re not weak. You’re experiencing one of the most universal and confusing aspects of human psychology: missing someone who hurt you.
It seems illogical on the surface. If someone caused us pain, shouldn’t we want them completely out of our lives? Yet here we are, often longing for people who disappointed us, betrayed us, or left us feeling small. Understanding why this happens isn’t just intellectually satisfying—it can help us navigate these feelings with more compassion for ourselves and clarity about what’s actually going on in our heads.
The Brain’s Attachment System Never Stops Trying
British psychologist John Bowlby spent decades studying attachment, and his work fundamentally changed how we understand human bonding. According to attachment theory, our brains are wired from infancy to form deep connections with caregivers. This system doesn’t simply shut off when someone mistreats us.
Even when a relationship becomes painful, that attachment bond remains active in our neural pathways. Your brain has spent months, years, or even decades building neural connections associated with this person—their laugh, their presence, the way you felt around them. When they’re gone, your brain keeps reaching for those patterns. It’s like your mind is searching for a file that used to be regularly accessed, and the absence feels wrong.
The cruel twist? Intermittent reinforcement—when someone is sometimes kind and sometimes cruel—actually strengthens attachment more than consistent kindness would. Psychologist Harriet Lerner explains this using variable rewards. When someone occasionally shows affection after long periods of coldness, your brain floods with dopamine, the neurotransmitter associated with motivation and reward. It’s the same mechanism that makes slot machines addictive.
Memory Selectively Edits Our Pain
Have you ever realized that you’re remembering the good moments with someone while the painful ones fade into the background? This isn’t an accident of memory. It’s a psychological phenomenon called “selective memory bias.”
Our brains don’t record experiences like a video camera. Instead, we reconstruct memories, and that process is heavily influenced by our emotional needs. When we’re missing someone, we unconsciously emphasize the positive moments and downplay the negative ones. That argument where they made you feel worthless? Your brain might file it away as less important than the evening they brought you soup when you were sick.
Research on memory reconsolidation shows that each time we recall a memory, we actually alter it slightly. So if you’ve spent months reminiscing about someone, you’ve been essentially editing your memories of them—often in a more flattering direction. You’re not lying to yourself; your brain is simply doing what it evolved to do: maintain connection and suppress the details that threaten that bond.
Loss Triggers Grief, Not Relief
Here’s something counterintuitive: grief doesn’t care whether the person was good for you. Loss is loss. When someone exits your life—whether they left, you left them, or the relationship ended—your brain processes it as a genuine bereavement.
Even if that person caused you tremendous pain, part of you might have held onto hope that things could change. You might have invested emotional energy into believing they would become better, or that you could make them see your worth. When that hope dies, it’s a genuine loss. Grief requires space and time, regardless of whether the person deserved to stay in your life.
A 2018 study published in PLOS ONE found that people who ended relationships with toxic partners still experienced significant grief symptoms for months afterward. The absence of harm doesn’t automatically bring relief. Sometimes leaving someone actually intensifies the missing phase, because you’re grieving not just the person, but the version of them you hoped they’d become.
Unfinished Business Creates Mental Loops
There’s a concept in psychology called the “Zeigarnik effect,” which describes our tendency to remember uncompleted tasks better than completed ones. In relationships, this translates to something painful: unresolved conflicts or unexplained departures loop continuously in our minds.
If someone hurt you and never acknowledged it, never apologized, or left without explanation, your brain keeps cycling through the situation, searching for the closure it never received. It’s almost like your mind is trying to solve an unsolvable puzzle. You replay conversations, imagine what you should have said, or construct explanations for their behavior. This mental cycling actually deepens the longing, because you’re staying emotionally engaged with them even in their absence.
We Miss the Identity We Had With Them
Here’s something rarely discussed: sometimes we’re not missing the person themselves. We’re missing who we were when we were with them.
In relationships, we develop a relational identity—a version of ourselves that exists specifically in connection with another person. You might have been the one who made them laugh, who calmed them down, who understood them deeply. That role felt important. It felt like it mattered.
When the relationship ends, that identity dissolves too. Suddenly, you’re not the person they needed. You’re not the one they talk to anymore. The loss of that role—that sense of mattering in someone’s life—can feel as significant as the loss of the person themselves. Missing them might actually be missing the purpose you felt in their presence.
Self-Compassion Is the Path Forward
Understanding why you miss someone who hurt you isn’t an excuse to rekindle contact or romanticize the relationship. It’s permission to stop judging yourself for the longing.
Your attachment system, your selective memories, your unresolved grief—these aren’t character flaws. They’re normal human responses to loss. What matters now is building awareness around the feelings without acting on them automatically. Notice the longing. Acknowledge it. And gently remind yourself why the distance is necessary.
Missing people who hurt us remains one of the most paradoxical human experiences. But recognizing the psychology behind it takes some of the shame away. You’re not broken. You’re just human, with a brain that was built to connect, to hope, and sometimes to hold on a little longer than is wise.
You might also like: