To stop thinking about your ex, quit fighting the thoughts head-on and start interrupting the loop: notice the thought, cut the triggers that feed it, like their social media and your old texts, give the thinking a set time slot, and fill the space with something that matters to you. Willpower alone rarely does it. These are skills, and they get easier with practice.
- How to stop thinking about your ex: Interrupt the loop instead of fighting it: label the thought, cut the triggers, give the thinking a set time slot and fill the space with something you care about.
- Why it happens: Love engages the brain's reward system, and rumination keeps the attachment bond alive, so the pull can feel like withdrawal.
- Thought techniques: Suppressing thoughts tends to backfire, while cognitive defusion ("I'm having the thought that...") and scheduled thinking time help you step back.
- Social media and no contact: Mute, restrict or block your ex, wait five minutes before acting on an urge, and keep contact to logistics if you co-parent.
- Slips and support: Treat a slip as information, tighten the boundary, and talk to a therapist if the thoughts disrupt your work, sleep or relationships.
Why can’t you stop thinking about your ex?
You can’t stop thinking about your ex because your brain bonded to them and now reads the loss as a reward it’s being denied. Psychologist Lisa Marie Bobby, PhD, LMFT, explains that falling in love is biologically addictive and “engages the brain’s reward system, the same area of the brain activated by drug or behavioral addictions” [1]. That’s why the pull can feel like withdrawal, with cravings and relapses [1].
Brain imaging points the same way. In a 2010 fMRI study by Fisher and colleagues, people who had been rejected showed activity in the same brain areas that activate during cocaine cravings [2].
There’s an attachment piece too. Experts interviewed by CNBC note that adults form attachment bonds through their thoughts, and rumination keeps that bond going by keeping your ex on your mind [3]. Losing a partner also “triggers the same survival instincts our brain deploys when we’re in physical danger” [3], so your mind keeps replaying the story and trying to solve it.
The American Psychological Association describes rumination as “obsessional thinking involving excessive, repetitive thoughts on themes that interfere with other forms of mental activity” [3]. In plain terms, the loop crowds out everything else: work, sleep, conversations and your own joy.
Discover Black singles nearby, make a match, and start a conversation that feels natural.
Bring more personality to every chat with expressive stickers made for the culture.
Take the connection beyond the screen and meet when the energy feels right.
Remembering vs. ruminating: how do you tell the difference?
Thinking about your ex turns into rumination when the thoughts start running your time instead of the other way around. Bobby says it’s healthy to think about an ex “if you’re using that as a vehicle for meaningful growth,” for example to recognize red flags or figure out where you need boundaries [1].
Therapist Pamela Larkin draws the line this way: “Basically, any time there is some empty space where your mind isn’t consumed, if you’re thinking about your ex, you’re ruminating” [3]. Watch for these rumination signs, adapted from CNBC’s list [3]:
- You feel like you have no control over your thoughts.
- Your free time fills up with thoughts about your ex.
- You keep checking their social media.
- You catch yourself hoping to bump into them.
- Your friends point out how much you talk about them.
- You compare new or potential partners to your ex.
If several of those sound familiar, the techniques below can help.
9 ways to stop thinking about your ex
The most effective approach is to pair thought techniques with fewer triggers: you change how you respond to a thought, and you cut down how often it gets sparked. Start with the first two, then add the others as you go.
Love regulation doesn’t work like an on/off switch. To make a lasting change, you’ll probably have to regulate your love feelings regularly. [4]
Sandra Langeslag, researcher, University of Missouri-St. Louis
1. Stop trying to push the thought away
Forcing a thought out of your head tends to backfire. Research on thought suppression, including the well-known “white bear” experiments, links it to thoughts that rebound and persist, along with more anxiety [5]. Telling yourself “Don’t think about them” keeps them on the agenda.
Pushing intrusive thoughts away is never going to work. [6]
Lauren Alexander, PhD, psychologist, Cleveland Clinic
Instead, label the intrusive thought for what it is: “That’s an intrusive thought about my ex.” Alexander lists labeling intrusive thoughts as a first step, along with grounding yourself in what’s around you [6].
2. Unhook with cognitive defusion
Cognitive defusion, a skill from acceptance and commitment therapy (ACT), helps you step back and see a thought as a string of words and images from a busy mind rather than a fact or an order [7]. Psychologist Albert Bonfil, PsyD, describes several simple exercises [7]:
- Add a frame: swap “I’ll never find anyone like them” for “I’m having the thought that I’ll never find anyone like them.”
- Thank your mind: say “Thanks, mind, noted,” then go back to what you were doing.
- Slow it down: repeat the thought very slowly, pausing between words, until it loses some of its weight.
- Sing it: set the thought to the tune of “Happy Birthday” to remind yourself it’s just language.
These exercises feel silly the first few times. Distance from the thought is the goal, because distance lets it pass without taking over your whole evening.
3. Give your thoughts an appointment
Scheduling a set thinking time sounds backward, but it gives the thoughts a container. The experts CNBC spoke with suggest setting a timer for 10 or 15 minutes to think about your ex “guilt-free,” journaling during that window, and stopping when the timer ends [3]. GoodRx describes a similar daily slot: when a thought pops up outside it, write it down and set it aside until the next day [1].
To make it concrete, pick a time like 7:30 p.m. and keep a phone note called “For later.” Park stray thoughts in that note during the day, then read them during your slot. Some of them may have lost their charge by then.
4. Map your triggers
Triggers are the apps, songs, places and moments that set off the thought spiral, and naming them makes them easier to plan around. Psychologist Roxy Zarrabi, PsyD, suggests asking yourself what feeling you’re trying to avoid when the urge to check on your ex shows up [8]. Here’s a starting map:
| Trigger | What it sets off | Try this instead |
|---|---|---|
| Late-night scrolling | Checking their page “just once” | Mute or restrict them and charge your phone outside the bedroom |
| Mutual friends’ posts | Wondering who they’re with now | Unfollow or mute their close friends and family for a while [9] |
| Anniversaries and birthdays | A wave of nostalgia | Delete shared calendar reminders [9] and plan time with your people that day |
| Lonely weekend nights | The urge to text them | Text a trusted friend or take a walk, as planned in advance [8] |
| “Our song” or your shared playlist | Replaying the good times | Build a new playlist for this season of your life |
| Photos in your camera roll | Scrolling back through the relationship | Move them to an archived folder you don’t open daily |
Write your own version in your notes app and pick one trigger this week. Zarrabi recommends writing your replacement activities down ahead of time, so the plan is ready when the urge hits [8].
5. Mute, restrict or block their social media
Checking your ex’s accounts keeps the wound open, and you’re far from alone in the habit. In a survey Zarrabi cites, 27% of 2,568 participants kept logging into an ex’s social media account after a breakup [8].
Zarrabi suggests muting, restricting or blocking your ex, or temporarily deactivating your own accounts [8]. When the urge hits, wait five minutes before acting on it, and stretch that wait a little longer each time [8]. Journalist Anna Goldfarb’s reporting for Vice adds two moves: unfollow your ex’s friends and relatives, and ask a friend to hold you accountable [9].
Mute or block? Choose whichever keeps you at peace. As psychotherapist Sarah Mandel told Vice, “Create the boundaries that are best for you” [9].
6. Go no contact, or low contact if you co-parent
Cutting contact with your ex gives the thoughts less fuel, and researchers have measured the cost of staying in touch.
No contact means no calls, texts or DMs, no checking their profile and no asking mutual friends about them [11]. It’s a boundary for your healing. Relationship writer Max Jancar puts it plainly: “No contact is not punishment” [11]. Keep in mind that no single timeline fits everyone, and the popular “30-day rule” has no scientific grounding [2].
If you share kids, a lease or a workplace, keep contact to logistics only [11]. Say it once, kindly: “I want to keep things smooth for the kids, so I’m going to keep our conversations to pickups and schedules for now.”
7. Write down the real story
Rumination tends to replay the highlight reel. Writing down facts about the relationship, like the times they lied or didn’t make you feel emotionally safe, can “reduce fantasizing,” according to therapist Adriana Alejandre, LMFT [1].
A study from the University of Missouri-St. Louis adds a useful caution. With 24 participants, researcher Sandra Langeslag found that thinking about an ex’s negative qualities was the only tested strategy that reduced love feelings, but it also worsened mood [4]. Distraction, on the other hand, improved mood without changing love feelings [4]. So when you write your list, plan something that lifts you up right after.
8. Distract yourself with a purpose
Distraction works best when it points toward something you care about. Larkin calls it “distracting, but distracting with a purpose,” like training for a half-marathon or learning a new skill [3].
When a thought hits hard in the moment, try the 5-4-3-2-1 grounding exercise, which Alexander recommends for intrusive thoughts: you walk through what you can see, touch, hear, smell and taste to bring your attention back to the room [6]. Breathwork, such as box breathing, is on her list too [6].
9. Ask what the thought is trying to tell you
Recurring thoughts about an ex often point to unfinished emotional business, which Bobby says could be anger, guilt, shame or grief [1]. Once you name the feeling, you can work on it directly instead of circling the person.
Therapist Cara Kraft, LCSW, describes the loop of replaying conversations and wondering, “Was it me? Or was it them?” She notes that the urge to keep analyzing “rarely brings relief” and suggests focusing on what you can control and creating a closure ritual [12]. One ritual from Zarrabi: write your ex a goodbye letter, then destroy it [8].
If your ex ghosted you, or ghosted you and then twisted the story, the need for answers can get loud. Respondents to BLK’s 2026 Dating Trends Report described setting boundaries around ghostlighting, meaning ghosting followed by gaslighting [13]. You can set that boundary in your own head, too. Author Allison Raskin’s advice for ghosting, shared in Liz Plank’s newsletter, is blunt: “you basically need to make up a story that they were abducted by aliens and then move on with your life” [14].
What should you do when you slip and check their page?
When you slip, treat it as information and tighten the boundary that let it happen. Langeslag’s work suggests love feelings take repeated regulation [4], and Bobby describes breaking up as “a process, not an event” [3]. Here’s a quick reset:
- Name what happened without judgment: “I checked their Instagram because I felt lonely.”
- Find the trigger and add it to your map.
- Tighten the boundary: mute again, block or archive the chat.
- Tell your accountability friend [9].
- Restart your five-minute wait the next time the urge shows up [8].
Then talk to yourself the way you’d talk to your best friend. Being kind to yourself is one of the strategies GoodRx lists for getting an ex out of your head [1].
When do thoughts about your ex need professional support?
Reach out to a therapist when thoughts about your ex start affecting your work, sleep or relationships. Alejandre’s warning signs include [1]:
- You can’t work or keep up with your responsibilities.
- You can’t concentrate during conversations.
- Intrusive thoughts show up out of nowhere.
- You’re neglecting your personal hygiene.
- Thoughts about your ex interfere with a new relationship.
- You obsess over “what could have been” or think about revenge.
Psychologist Brad Brenner, PhD, adds sleep or appetite changes that last six to eight weeks or more [15]. Cognitive behavioral therapy (CBT) teaches you to notice thought patterns and practice different responses [15], while mindfulness-based therapy can help soften negative self-talk and rumination [16].
It can also help to find a culturally responsive therapist. Therapy for Black Girls, founded by Dr. Joy Harden Bradford, offers a directory of culturally responsive therapists [17], and Therapy for Black Men helps men of color connect with therapists and coaches across the country [18].
How do you know the thoughts are losing their grip?
You’re moving forward when the urge to reach out fades and your attention drifts back to your own life. The Attachment Project lists signs that no contact is working, including [2]:
- You no longer feel the urge to contact your ex.
- You feel more accepting of the separation.
- Your focus shifts to friends, work or hobbies.
- Your feelings about the breakup lose some of their intensity.
Those shifts don’t arrive on a schedule. Keep leaning on your people, your faith if it grounds you, and routines that feel like yours. One day your ex will cross your mind, and you’ll notice the thought passed without pulling you under.
- [1]
goodrx.com — Ana Gascon, reviewed by India B. Gomez, PhD, GoodRx, 11 Things to Try If You Can't Stop Thinking About Your Ex
- [2]
attachmentproject.com — Attachment Project, No Contact Rule After Breakup: 5 Signs It's Working
- [3]
cnbc.com — CNBC Make It, 6 signs you're ruminating on your ex, and how to stop, according to a relationship psychologist
- [4]
blogs.umsl.edu — UMSL Daily, University of Missouri-St. Louis, How to get over a breakup: New research from UMSL's Sandra Langeslag featured in TIME
- [5]
en.wikipedia.org — Wikipedia, Thought stopping
- [6]
health.clevelandclinic.org — Lauren Alexander, PhD, Cleveland Clinic, How To Put a Stop to Your Intrusive Thoughts
- [7]
cogbtherapy.com — Albert Bonfil, PsyD, Cognitive Behavioral Therapy Los Angeles, Cognitive Defusion: 6 Thought Exercises From ACT
- [8]
psychologytoday.com — Roxy Zarrabi, PsyD, Psychology Today, 6 Tips to Stop Checking an Ex's Social Media
- [9]
vice.com — Anna Goldfarb, Vice, How to Stop Checking Your Ex's Social Media
- [10]
journals.sagepub.com — Karey L. O'Hara, Austin M. Grinberg, Allison M. Tackman, Matthias R. Mehl, David A. Sbarra, Clinical Psychological Science, Contact With an Ex-Partner Is Associated With Psychological Distress After Marital Separation
- [11]
maxjancar.com — Max Jancar, Max Jancar, The Ultimate Guide To The No Contact Rule
- [12]
kraftpsychotherapy.com — Cara Kraft, LCSW, Kraft Psychotherapy, Is It Me or Is It Them? Post-Breakup Rumination and Finding Acceptance
- [13]
theplugbyblk.com — BLK, BLK Unveils 2026 Dating Trends Report
- [14]
lizplank.substack.com — Liz Plank, Substack, how to stop thinking about your ex
- [15]
therapygroupdc.com — Brad Brenner, PhD, Therapy Group of DC, Therapy After Breakup: When & Why
- [16]
headspace.com — Headspace Editorial Team, Headspace, Best types of therapy for a breakup
- [17]
therapyforblackgirls.com — Therapy for Black Girls, Therapy for Black Girls
- [18]
therapyforblackmen.org — Therapy for Black Men, Therapy for Black Men
- [19]
988lifeline.org — 988 Suicide & Crisis Lifeline, 988 Suicide & Crisis Lifeline
