How to Stop Thinking About Your Ex With Someone Else

Picturing your ex with someone else is one of the most painful loops your brain can get stuck in, and it’s also one of the hardest to shut off on purpose. That’s not a personal failing. Your brain is processing a genuine threat to something it was deeply invested in, using the same neural circuits that handle physical pain. The good news: you can weaken these mental images significantly, and faster than you might expect, once you understand what’s fueling them and apply the right strategies.

Why Your Brain Won’t Let This Go

Romantic rejection activates many of the same brain regions involved in physical pain and reward processing. The areas that light up when you feel the sting of rejection overlap extensively with the areas that fired during the best moments of your relationship. Your brain’s dopamine and opioid systems, the same ones responsible for the high of being in love, are now generating distress signals because the source of that reward is gone. You’re essentially going through withdrawal.

On top of that, the part of your brain responsible for reading other people’s intentions and imagining their emotional states is working overtime. It’s trying to construct a narrative: what your ex is feeling, what they’re doing with this new person, whether they’re happier. This isn’t curiosity. It’s a threat-detection system scanning for information about whether you’ve been permanently replaced. Jealousy evolved specifically to protect pair bonds, so when your brain detects a rival, it floods you with intrusive imagery designed to make you act. The problem is there’s nothing productive to act on, so the loop just keeps spinning.

Your Attachment Style Changes the Intensity

Not everyone experiences this at the same volume. If you tend toward anxious attachment, meaning you worry about being abandoned and need a lot of reassurance in relationships, you’re significantly more likely to experience hyperactivated distress after a breakup. That means more preoccupation with your ex, more intrusive thoughts, and a greater sense of lost identity. Research published in PLOS ONE found that highly anxious individuals respond to breakups with intense emotional and physiological distress and persistent preoccupation with their former partner.

If you lean avoidant, you might feel less immediate distress but suppress the cognitive processing that leads to growth. You may think you’re fine, then get blindsided months later when the feelings surface. Neither pattern is broken. But if you recognize yourself in the anxious category, it helps to know that the volume of your pain is partly a wiring issue, not evidence that your ex was uniquely irreplaceable.

Stop Monitoring Their Social Media

This is the single most actionable thing you can do right now. A study of 464 people published in Cyberpsychology, Behavior and Social Networking found that monitoring an ex’s social media was strongly correlated with continued distress, longing, and sexual desire for the ex, while being negatively associated with personal growth. The effect wasn’t subtle. The correlation between social media surveillance and longing for an ex-partner was the strongest relationship in the entire study.

Checking their profiles, scrolling through their tagged photos, looking at who liked their posts: all of it feeds your brain exactly the kind of threat information that keeps the intrusive imagery alive. Every new photo or comment becomes raw material for your brain to construct more vivid, more painful scenarios. Unfollow, mute, or block depending on what you need. If you can’t stop yourself from searching their name, consider using a website blocker during the worst periods. You’re not being dramatic. You’re cutting off the fuel supply to a fire.

Catch the Thought, Then Reframe It

The NHS recommends a cognitive technique called “catch it, check it, change it” for managing intrusive and unhelpful thoughts. It works well for the specific torture of imagining your ex with someone new because those images are almost always built on distorted thinking.

The first step is simply noticing when it’s happening. That sounds obvious, but most people are several minutes deep into a painful fantasy before they realize they’ve been spiraling. Practice flagging the moment it starts: “I’m doing the thing again.”

Next, check the thought. Ask yourself: How much of what I’m imagining is based on actual evidence? What would I say to a friend who was picturing this? Am I assuming the worst-case scenario (they’re blissfully happy, they never think about me, this new person is better in every way) and treating it as fact? Most of the time, you’re working with almost no real information and filling the gaps with the most painful interpretation possible.

Finally, replace the thought with something more neutral. Not falsely positive, just more accurate. “I don’t actually know what their relationship is like” is more honest than the cinematic highlight reel your brain is producing. “Their life after me is not my business to track” is a statement you can repeat until it starts to feel true.

Shrink the Image

When the mental picture is vivid and won’t budge, a technique from Acceptance and Commitment Therapy can help. Instead of trying to force the image out of your mind (which usually makes it stronger), you change your relationship to it. Visualize the scene you’re stuck on, then imagine placing it on a TV screen across the room. Shrink it down. Make it black and white. Speed it up until it looks ridiculous. Put a silly soundtrack behind it.

This isn’t about pretending it doesn’t hurt. It’s about reminding your brain that these are thoughts, not events happening in real time. The goal is to reduce the emotional charge of the image so it loses its grip. With practice, the same mental picture that used to ruin your entire afternoon becomes something you can notice, acknowledge, and let pass.

Create Genuine Distance

Going no-contact isn’t just dating advice. It’s a psychological reset. When you stay in touch with an ex, even passively through social media or mutual friends relaying updates, your brain never gets the chance to fully process the loss. You stay in a half-attached state where every new piece of information reopens the wound.

There’s no magic number of days, but the general principle is that it takes roughly 90 days to begin establishing new neural patterns and habits. That tracks with what most people report: the first month is brutal, the second is uneven, and somewhere around the third month the intrusive thoughts start losing their frequency and intensity. During that time, the goal isn’t to sit around waiting to feel better. It’s to actively fill the space your ex occupied with things that give you a sense of identity independent of them.

Redirect, Don’t Suppress

Trying to force yourself not to think about something almost guarantees you’ll think about it more. This is a well-documented psychological phenomenon. Telling yourself “stop thinking about your ex with that person” makes the image more vivid and more frequent.

Redirection works differently. When the thought arrives, you don’t fight it. You acknowledge it (“there’s that image again”) and then deliberately shift your attention to something that requires active engagement. Passive activities like watching TV or scrolling your phone leave too much mental bandwidth for the thoughts to creep back in. Activities that demand concentration, like learning something new, exercising intensely, cooking a complicated meal, or having a real conversation with someone, occupy enough of your working memory that the intrusive images can’t compete.

This isn’t a permanent fix on its own. But over weeks and months, you’re training your brain to spend less time in the loop. Each time you successfully redirect, the neural pathway that leads to “imagine your ex with someone else” gets a little weaker, and the pathways connected to your new activities get a little stronger.

What the Pain Actually Means

It’s worth understanding that the intensity of this pain is not a reliable measure of how good the relationship was or how much you’ve lost. Your brain responds to the withdrawal of a bonding connection with the same neurochemical distress it would feel from any significant loss. The dopamine and opioid systems don’t distinguish between “I lost the love of my life” and “I lost a relationship that wasn’t working.” They just register that a major source of reward is gone and someone else might be getting it now.

People who go through this and come out the other side consistently report that the images lose their power gradually, then suddenly. You’ll realize one day that you thought about it and it didn’t ruin your morning. Then you’ll notice a whole day went by without the thought at all. The research on anxious attachment and breakups actually found something hopeful: people who experienced the most intense distress also showed the greatest personal growth afterward, precisely because the pain forced them to do the deep cognitive processing that leads to real change.

The thoughts will slow down. In the meantime, cut the information supply, challenge the stories your brain is telling, and pour your energy into anything that reminds you who you are outside of that relationship.