You're making coffee, and they're there. You're halfway through an episode, and they're there. You finally fall asleep, and they're the first thing on your mind when you wake up.
If you can't stop thinking about someone, it can feel like your own mind has turned against you. You know they're gone, or that they're not good for you, or that it's never going to work. And still, the thoughts keep coming.
The good news is that this is one of the most studied experiences in psychology. There are clear reasons it happens, and there are things you can do that genuinely help. Some of them are the opposite of what most people try first.
Why You Can't Stop Thinking About Them
Before trying to change the thoughts, it helps to understand where they come from. Constant thoughts about someone are not a sign that you're weak or that you're meant to be together. They're what a brain does when it loses something it was attached to.
Your brain treats them like a reward it's lost
When researchers scanned the brains of people who had recently been rejected by someone they still loved, they saw activity in the same reward and motivation systems involved in cravings and addiction. The study, published in the Journal of Neurophysiology, suggested that romantic rejection can work a little like withdrawal: the brain keeps reaching for something it has learned to want.
That's why a thought about them can feel less like a memory and more like a pull. Your mind is not reflecting. It's seeking.
Unfinished stories keep looping
Our minds hold on to things that feel unresolved. If the relationship ended without a clear reason, or if you never got to say what you wanted to say, your brain keeps returning to it, trying to finish the story. Every "what if" and "why didn't they" is an attempt to close something that still feels open.
Everyday life is full of cues
You probably spent a lot of time with this person. Songs, places, foods, jokes and even certain times of day were linked to them. When you encounter those cues, the thought appears automatically. That doesn't mean you're going backward. It means those links haven't faded yet.
Why Trying Not to Think About Them Backfires
Most people's first instinct is to push the thoughts away: Don't think about them. Stop it. Think about something else.
Unfortunately, that rarely works. In a well-known experiment, psychologist Daniel Wegner asked people not to think about a white bear. The participants who tried to suppress the thought ended up thinking about it more, especially once they were allowed to think about anything again.
This is called the rebound effect. When you tell yourself not to think about something, part of your mind keeps checking whether you're succeeding, and in doing so, it keeps the thought nearby.
So the goal is not to force the thoughts out. It's to change how you respond when they arrive, until they arrive less often and with less weight.
9 Ways to Stop Thinking About Someone
1. Notice the thought without arguing with it
When they come to mind, try simply labeling it: There's a thought about them. You don't have to follow it, analyze it or fight it. You're just noticing it, the way you might notice a car passing outside.
This small step creates distance between you and the thought. Instead of being swept into a memory or a fantasy, you're observing it. Over time, thoughts that aren't fed with attention tend to lose their grip.
2. Remember the whole story, not the highlight reel
When you miss someone, your mind tends to replay the best moments: the laughter, the closeness, the way things were at the start. It quietly edits out the arguments, the loneliness and the reasons it ended.
In a study on getting over a breakup, researchers found that thinking about an ex's negative qualities reduced love feelings, although it also made people feel a bit worse in the moment. That's normal. Seeing someone more clearly can sting before it helps.
It can help to keep a written list of what actually happened, so you're not relying on memory when nostalgia is at its strongest.
3. Let yourself feel it, then let it pass
In the same research, reminding yourself that it's okay to love someone you're no longer with didn't make people any more attached. Accepting the feelings doesn't keep you stuck. You can still care about someone and still choose to move on. Both can be true.
Telling yourself "I shouldn't still feel this way" adds a second layer of pain on top of the first. Try "Of course I still feel this. It hasn't been long" instead.
4. Use distraction on purpose
Distraction often gets a bad reputation, but the research suggests it has a place. In the same study, people who turned their attention to pleasant, unrelated thoughts were in a better mood afterward, even though it didn't change how much they loved their ex.
The key is to choose activities that fully absorb your attention: a phone call with a friend, a workout, cooking something new, a puzzle, a walk somewhere you've never been. Scrolling usually isn't enough, and it can lead you straight back to their profile.
5. Give the thoughts a time and a place
If thoughts about them follow you everywhere, try giving them a specific window. Set aside 15 minutes in the evening to think, write, or feel whatever comes up. When a thought shows up during the day, tell yourself: Not now. I'll come back to this at 7.
This doesn't mean pretending the thoughts don't exist. It means you decide when they get your attention instead of them deciding for you. Many people find that by the time the window arrives, the urge to dwell is weaker.
6. Write it out instead of saying it to them
Many of the thoughts you're having are things you want to say to them. When those thoughts stay in your head, they repeat. When you write them down, they often settle.
In one study, people who regularly reflected on their breakup for research purposes recovered faster, partly because reflecting helped them rebuild a clearer sense of who they were without the relationship. Writing can do something similar. Put the questions, the anger and the "I miss you" on the page, where they can't be sent.
7. Remove the cues you can control
You can't avoid every song or street that reminds you of them. But you can reduce the reminders you see dozens of times a day.
Mute or unfollow them on social media. Archive your old chats. Move photos into a folder you don't open by accident. These steps aren't about pretending the relationship never happened. They're about giving your mind fewer triggers while it's still healing. If you're tempted to keep checking their profile, our guide on how to stop stalking an ex goes deeper.
8. Stop the contact that keeps restarting the loop
Every text, call or "just checking in" message resets the cycle. Even a short exchange can give your brain the reward it's been craving, and the thoughts come back stronger afterward.
That's why many people find the no contact rule so effective. It's not a punishment or a game. It's a way of giving your mind enough quiet to recover. If you're unsure whether to reach out, read should I text my ex? before you hit send.
9. Fill the space they left
Part of why someone stays on your mind is that they took up a lot of room in your life. Your routines, plans and weekends were built around them. When they're gone, the empty space keeps pointing back to them.
Start filling that space with things that belong to you: a class you've been putting off, old friendships, a new morning routine, a goal that has nothing to do with them. You're not replacing them. You're rebuilding a life that feels like yours again.
How Long Will It Take?
There's no fixed timeline, and it's rarely a straight line. You might have a good week and then a hard day that seems to come out of nowhere. That's normal, and it doesn't mean you're back at the start.
What usually changes first isn't whether you think about them, but how those thoughts feel. They become shorter, quieter and less urgent. One day you'll notice that a whole afternoon passed without them crossing your mind. For a closer look at what research says about recovery, see how long it takes to get over a breakup.
When to Reach Out for Support
Thinking about someone a lot after they leave your life is a normal part of heartbreak. But if the thoughts are making it hard to sleep, eat, work or function for weeks at a time, or if you're feeling hopeless, it's worth talking to a doctor, therapist or counselor. You don't have to wait until things feel unbearable to ask for help.
If you're ever thinking about harming yourself, contact your local emergency number or a crisis line straight away. In the US, you can call or text 988.
How No Contact Can Help
Knowing what helps is one thing. Doing it at 2am, when you're holding your phone and their name is right there, is another.
The No Contact app is built for exactly those moments. When the urge to reach out hits, the Panic Room gives you tools to get through it without breaking no contact, from grounding exercises to a place to write the message you won't send. Your evidence vault keeps the real story in one place, so you can remember why it ended when nostalgia starts rewriting it. And guided programs give you something to work on each day, so the space they left starts filling with things that are yours.
You Won't Always Feel This Way
Right now, it might feel like they're living in your head rent-free. But thoughts that feel constant today won't stay that way. Each time you notice a thought without chasing it, choose a distraction, write instead of texting, or stay in no contact for one more day, you're teaching your mind that it can let go.
You don't have to stop caring overnight. You just have to keep choosing yourself, one moment at a time.
Ready to take back your attention? Download the No Contact app today.
