How to Stop Thinking About Ex: A Therapist’s Guide to Moving On
If you’re wondering how to stop thinking about your ex, let me first say this: it’s not a matter of willpower. The fact that you’re stuck in this mental loop isn't a personal failing. It’s a biological response, deeply tied to your brain’s survival instincts and the attachment patterns you learned long ago.
The good news? These patterns can be understood and rewired.
Why You Can’t Stop Thinking About Your Ex
That feeling of being mentally stuck on a former partner isn't a sign of weakness. It’s your brain’s survival instinct kicking into high gear. When a meaningful connection is severed, your nervous system can register it as a genuine threat to your safety, and it will desperately scramble to get back to the familiar.
Think of it like your mind is a detective obsessively re-examining a case, convinced it missed the one clue that would change everything. You might find yourself replaying the last conversation over and for, or analyzing old texts for hidden meanings. This is your brain’s attempt to find a different, safer outcome where the connection isn't lost. This reaction is especially intense if you have an anxious attachment style, where the fear of abandonment is already on high alert.
The Brain's Response to Heartbreak
For many, the fixation on an ex is actually a trauma response. Your nervous system, which once felt regulated and safe within that relationship, is now completely dysregulated. It's sending out distress signals that show up as obsessive thoughts, constant anxiety, and that awful feeling of being emotionally untethered.
These persistent thoughts are more than just memories; they're your body's attempt to solve a problem it sees as critical to your survival. Recognizing this biological reality is the very first step toward self-compassion. You aren't "crazy" for feeling this way—your system is just trying to protect you in the only way it knows how.
This is how these pieces all fit together on the path to healing.

As you can see, the brain's response and your attachment style are intertwined, but targeted healing practices can address both at the root.
Your Attachment Style and Rumination
Your attachment style plays a huge role in how you process a breakup. If you have a secure attachment, you might feel deep sadness but are generally more resilient and can bounce back.
However, for those with insecure attachment patterns—anxious, avoidant, or disorganized—the end of a relationship can feel catastrophic. This is where those obsessive thought loops really take hold.
This isn't just a feeling; it’s a well-documented psychological phenomenon. The constant mental replay serves as an unconscious attempt to regain a sense of control and predictability after the disorienting experience of a relational loss.
Research shows this is more than just a broken heart. In my work at Securely Loved, we see that this fixation is often rooted in anxious attachment patterns, which can amplify rumination.
The proof is in the healing. In one study, an incredible 87% of participants in an attachment-based therapy program no longer met the criteria for major depressive disorder at a 6-month follow-up. They showed a major drop in the anxiety that fuels fixation on an ex. More importantly, their insecure attachment scores shifted significantly toward security, proving these patterns aren't permanent.
You can read the complete research on attachment therapy outcomes to see the full findings for yourself.
To get started right now, it helps to know what these thought loops look like and how to respond in a way that actually calms your nervous system.
From Rumination to Regulation
This table gives you a quick-reference guide to shift from a common obsessive thought loop into an actionable, healing response.
| Common Thought Loop (The Stuck State) | Actionable Response (The Healing Step) |
|---|---|
| "What if I'd done things differently? Maybe they wouldn't have left." | Acknowledge the urge to fix the past. Gently say, "My brain is trying to find control. I accept what happened and will focus on my own healing now." |
| "I'll never find someone like them again." | Challenge the scarcity mindset. Remind yourself, "This feeling of loss is intense, but connection is abundant. I am whole and capable of loving and being loved again." |
| "I need to know what they're doing. I'll just check their social media." | Recognize the impulse as a bid for safety. Put your phone down, place a hand on your heart, and say, "I am safe right now. Checking on them hurts me. I choose to soothe myself instead." |
| "Why don't they want me? What's wrong with me?" | Turn criticism into curiosity. Ask, "What need was this relationship meeting for me? How can I start meeting that need for myself today?" |
Use these swaps to interrupt the cycle. It's about recognizing the thought, validating the feeling underneath it, and then choosing an action that brings you back to yourself and your own sense of safety.
Find Immediate Relief When Thoughts Overwhelm You
When a tidal wave of obsessive thoughts about your ex crashes over you, you need emotional first aid, not a long-winded lecture. Trying to fight off the thoughts usually just gives them more power. The real work, right in that moment, is to soothe your body's physical reaction. When your body calms down, your mind will follow.
Imagine you're driving and a song comes on the radio—one that was your song. Instantly, your heart pounds, your stomach plummets, and your mind is a slideshow of memories. That’s a full-body, physiological alarm bell. The most effective way to answer it is with a physical response.

Use Your Senses to Ground Yourself
When your mind is spinning out, the quickest way to find solid ground is through your body. Grounding techniques work by pulling your focus out of the internal chaos and into the physical, present moment. The "5-4-3-2-1" method is a simple but incredibly powerful tool for this.
Wherever you are, just pause and gently notice:
- 5 things you can see: Don’t just glance. Really look. Notice the tiny scratch on your phone screen, the way light reflects off a window, or the texture of the fabric on your chair.
- 4 things you can feel: Bring your awareness to the sensation of your feet inside your shoes, the solidness of the floor beneath you, the air on your skin, or the weight of your keys in your pocket.
- 3 things you can hear: Listen past the obvious noise. Can you hear the low hum of a computer, birds chirping outside, or the sound of your own quiet breath?
- 2 things you can smell: Try to identify any scents around you—brewing coffee, fresh-cut grass, or even the subtle scent of your own hand soap. If you can’t smell anything, just imagine two smells that bring you comfort.
- 1 thing you can taste: Take a sip of whatever you’re drinking, or simply notice the current taste in your mouth.
This isn’t about distraction; it's about redirection. You're giving your brain a different, more concrete job to do than replaying painful memories, which breaks the obsessive loop.
Key Takeaway: You cannot be lost in anxious thoughts and fully present in your five senses at the same time. Grounding doesn’t erase the pain, but it does give you an anchor in the present moment so the waves of grief don’t pull you under.
Physically Release Pent-Up Anxiety
That feeling of spiraling isn't just in your head—it lives in your body. It’s the tension in your shoulders, the clench in your jaw, or that buzzing, restless energy that has nowhere to go. Somatic exercises are designed to give that stress a physical exit route.
One of the most effective I’ve seen is Somatic Shaking. It might feel a little silly at first, but it’s a primal way our bodies know how to signal to the nervous system that a threat has passed.
Find a private space and give it a try:
- Stand with your feet about shoulder-width apart, keeping your knees soft and slightly bent.
- Start by shaking out your hands, letting your wrists go completely loose and floppy.
- Let that shaking motion travel up into your arms and into your shoulders. Really let them jiggle and release.
- Now, let the movement move down into your hips and legs, bouncing gently on the balls of your feet.
- Shake your whole body for 1-2 minutes. When you stop, close your eyes for a moment. Notice the tingling sensation, the buzzing, and the new sense of calm.
This simple physical act can hit the reset button on an overwhelmed nervous system. When you feel completely overwhelmed and just need to know how to calm down fast, having science-backed methods ready can be a game-changer. Think of these as your emotional first-aid kit.
The point of these immediate tools isn't to pretend you're not hurting. It’s about building your capacity to handle those gut-wrenching moments without being completely consumed by them. Every time you successfully ground yourself or shake out the anxiety, you’re teaching your brain and body a profound lesson: I am safe, and I can get through this.
How Your Attachment Style Fuels Heartbreak
If you feel like you just can't stop thinking about your ex, I want you to know it’s not because you’re weak or "not over it yet." More often than not, it comes down to your attachment style. These patterns, formed way back in our earliest relationships, basically create the rulebook for how we love, connect, and grieve.
So, if you’re trapped in a loop of obsessive thoughts, it's not a personal failure. It’s an old attachment pattern running on autopilot. When a breakup hits, that internal programming kicks in and dictates how you respond—and for many of us, that response is exactly what keeps us fixated on an ex long after they’re gone.
Anxious Attachment and the Urge to Fix
If you lean toward an anxious attachment style, a breakup can feel like a code-red, life-or-death emergency. Your nervous system goes into a total panic, and the only thing that feels safe is closing that gap and fixing the connection, no matter the cost.
This usually shows up as:
- Obsessing over what went wrong. You replay conversations for hours, hunting for that one mistake you could correct to win them back.
- A constant, overwhelming impulse to reach out. The urge to text or check their social media isn’t just curiosity—it’s a biological drive to soothe the terror of abandonment.
- Taking all the blame. Anxious patterns often lead us to see the breakup as proof that we’re “too much” or “not enough,” which just feeds a painful cycle of self-criticism.
I remember a client, Sarah, who couldn't stop herself from writing these long, emotional texts to her ex, laying out all the reasons they were meant to be. In her mind, she was showing the depth of her love. But as we worked together, she realized it was her anxious attachment desperately scrambling for the safety of reconnection. Seeing this was the first step to finally redirecting all that energy toward soothing herself instead of chasing him.
Avoidant and Disorganized Patterns
While anxiously attached people get a lot of the attention for post-breakup fixation, other styles have their own unique struggles. Someone with an avoidant attachment might look like they've moved on in a flash, but they're often just stuffing their feelings down. This can lead to a sudden wave of grief or unexplained anxiety weeks or even months down the road.
A disorganized attachment, which is a mix of both anxious and avoidant traits, can make a breakup feel utterly chaotic. One minute you might be desperate to get your ex back, and the next you're pushing away any memory of them. This constant push-pull inside your own head is exhausting and makes it nearly impossible to find your footing and start healing.
Do these patterns sound painfully familiar? Figuring out which one is driving your behavior is a total game-changer. It’s the kind of insight that gives you your power back. To start connecting the dots, I highly recommend taking our Securely Loved Attachment Style Quiz. It's a powerful first step toward real self-discovery and change.
Healing Attachment Wounds Is Possible
Feeling haunted by your ex is incredibly common, especially during major life shifts like midlife, where hormonal changes can turn the emotional volume way up. This isn't just in your head—research confirms that these intense feelings are directly linked to insecure attachment styles, which often predict a tougher post-breakup experience.
But here’s the hopeful part: the science also shows that you can absolutely heal. For instance, therapies that focus on attachment trauma have shown 70-80% better results in helping couples improve their connection because they get to the root of the wound.
In one study, participants with insecure attachment styles saw their security scores jump from an average of 2.22 to 2.72 after therapy—that’s a massive, statistically significant leap toward security. These findings prove that with the right approach, you can fundamentally shift your patterns toward calm and security. You can explore the full research on attachment and therapy outcomes here.
Understanding your "why" is what finally lets you change your "how." When you recognize that this struggle is a predictable pattern, not a personal flaw, you can stop blaming yourself. That’s when you can start taking compassionate, effective steps to reclaim your peace of mind.
Building New Routines for a Future Without Them
Moving on isn't just about surviving the big emotional waves; it's about intentionally rebuilding your day-to-day life. Your old routines were likely built around your ex in a thousand small ways you never even noticed. Creating new ones is how you start to carve out a future that belongs entirely to you.
It starts with a brave, and often difficult, first step: the digital detox. I see it all the time with my clients—continuing to check their ex's social media keeps their nervous system in a constant state of low-grade alert. Every post, story, or tag is a potential trigger, a tiny hit of pain that stops your mind from settling and your heart from truly healing.

Go Cold Turkey on Social Media
Deciding to unfollow or mute your ex isn’t about being dramatic or petty. It’s an act of radical self-protection. You are giving your nervous system a much-needed break from the constant potential for emotional whiplash.
- Mute, Block, or Unfollow: Whatever you choose, commit to it. This includes their close friends and family if their posts are also a source of pain.
- Clear Out Digital Reminders: You don’t need to see them every time you scroll through your camera roll. Delete or archive old photo albums on your phone and computer.
- Set App Timers: Use your phone's wellness settings to limit your time on social media, especially during vulnerable times like late at night or first thing in the morning.
This isn't about pretending your history doesn't exist. It’s about clearing the path forward so you aren’t constantly tripping over the past. If you need help bringing structure back into your life, exploring daily routine apps can provide a solid framework for your new habits.
Reclaim Your Physical Space
Your environment is saturated with memories. The corner of the sofa where you watched movies, the coffee shop where you had your first date—even your running path can all be powerful triggers. Reclaiming these spaces is essential.
You don't need to move or spend a fortune on redecorating. Small, intentional changes can powerfully disrupt old associations and create new, positive ones.
Try rearranging your bedroom. Just moving the bed to a different wall can make the room feel entirely new. Or, buy new bedding in a color that makes you feel happy and calm. Find a different route for your morning run or a new park to walk in. The goal is to gently sever the ties between your physical world and your memories of them.
A Real-World Example: I once worked with a client who realized his evenings had become a painful void. He'd spend hours scrolling his ex's social media, feeling worse and worse. We designed a 'breakup-proof' evening routine for him. He started putting his phone in a drawer at 8 p.m. and picked up a guitar he'd wanted to learn for years. Within weeks, the urge to check on his ex was replaced by the satisfaction of mastering a new chord. That small, consistent change gave him back his mental freedom.
Rewrite Your Story with Journaling
Journaling is a powerful tool for shifting your narrative from one of loss to one of learning. When we're stuck, we tend to replay the same painful story. These prompts are designed to help you move from "What I lost" to "What I've learned and what I want now."
- What need was this relationship meeting for me (e.g., security, validation, companionship)? How can I start meeting that need for myself in a small way today?
- What is one thing I compromised on in the relationship that I can now reclaim for myself?
- What is one thing I learned about my own strength or resilience from this experience?
- If my future, healed self could give me one piece of advice right now, what would it be?
This isn’t about finding a silver lining. It’s about acknowledging the pain while actively looking for the lessons and opportunities for growth waiting for you on the other side. By building new routines, reclaiming your space, and rewriting your story, you aren't just trying to stop thinking about your ex—you are actively building a life that is so full and vibrant that those thoughts naturally begin to fade.
Navigating Breakups During Midlife and Hormonal Shifts
A breakup at any age can bring you to your knees. But trying to heal a broken heart during midlife, especially when you're also dealing with the hormonal chaos of perimenopause or menopause, can feel like weathering two storms at once.
If the sadness feels deeper, the anxiety is relentless, and you just can't stop thinking about your ex, please know: it is not all in your head. This is a very real, physiological experience.
The emotional rollercoaster of a breakup feels so much more intense during this life stage. The same hormonal shifts causing hot flashes and brain fog can also tank the very brain chemicals—like serotonin and dopamine—that regulate your mood. Suddenly, getting out of bed feels like a monumental task, and the obsessive thoughts are on a loop you can't seem to shut off.
It’s so important to validate this. You aren’t just processing heartbreak. You’re processing heartbreak while your body and brain are going through one of the biggest biological shifts of your life. This isn't a time for "toughing it out." It's a time for radical self-compassion.
Why It Feels So Much More Intense Right Now
Let me break down the hormonal link. During perimenopause and menopause, your estrogen levels drop significantly. This is a big deal because estrogen is a key player in producing and managing serotonin, your brain’s “feel-good” chemical. With less serotonin on board, you’re naturally more vulnerable to depression, irritability, and yes, obsessive thinking.
Now, add the stress of a breakup, which floods your system with cortisol. High cortisol messes with your sleep, weakens your immune system, and throws your already-unstable hormones even further out of whack.
This creates a vicious cycle: the hormonal changes make your emotional response to the breakup more extreme, and the stress from the breakup makes your hormonal symptoms even worse. It’s why so much of the standard breakup advice just doesn’t cut it. You need a different approach—one that supports both your heart and your hormones.
As a Certified Menopause Specialist, I want you to hear this loud and clear: your struggle is real. It is valid. Understanding the why behind what you're feeling is the first step to finding your footing again. You are not "overreacting." Your body is having a perfectly normal response to an absolute perfect storm of emotional and hormonal stress.
Gentle Strategies for Healing in Midlife
Because your body is already under so much strain, the key here is gentle, consistent support. Forget about pushing through the pain. Your only job right now is to nurture your nervous system and help your body find its balance.
These strategies are designed to honor the deep connection between how you feel physically and emotionally:
- Make Sleep Your Top Priority: Hormonal shifts are notorious for ruining sleep, but you absolutely need quality rest to regulate your emotions. Create a calming bedtime routine. Turn off all screens an hour before bed, try a warm bath with Epsom salts, and keep your bedroom as cool and dark as possible.
- Move Your Body Gently: This is not the time for high-intensity workouts, which can spike your cortisol even more. Instead, think about gentle yoga, tai chi, or just walking outside in nature. These activities help manage cortisol and give you a natural mood boost without adding more stress to your system.
- Balance Your Blood Sugar: Your body is extra sensitive to blood sugar swings right now, which directly impacts your mood and energy. Try to build your meals around protein, healthy fats, and fiber. This will help keep your energy stable and cut down on that awful irritability.
If you’re noticing that your anxiety is flaring up with other physical symptoms, it can be really empowering to learn more about the connection between menopause and anxiety symptoms.
Reconnecting With Who You Are Now
Midlife is already a time when we start asking big questions about our lives. A breakup just tends to force the issue. While it’s incredibly painful, it’s also a powerful opportunity to get reacquainted with the woman you are outside of a partnership.
Who were you before this relationship? More importantly, who do you want to be now?
Use this time to pick up a hobby you let go of or to find a brand-new passion. Have you always wanted to try a pottery class? Join a local hiking group? Start a little garden on your balcony? These aren't just "distractions." They are powerful acts of rebuilding your own identity and creating new sources of joy that belong only to you.
Most of all, be patient with yourself. Healing from a breakup during this chapter of life is not a straight line. You will have good days, and you will have really hard days. By approaching this with strategies that honor both your heart and your hormones, I promise, you can move through this with resilience and come out stronger on the other side.
Frequently Asked Questions About Moving On
Even when you're committed to the work of healing, certain questions can keep you up at night. It’s completely normal. Let’s walk through some of the most common concerns I hear from clients as they learn to stop the obsessive thoughts and reclaim their peace.
How Long Will It Take to Stop Thinking About My Ex?
This is the first question everyone asks, and my honest, professional answer is always the same: there is no magic timeline. Healing isn't a race with a clear finish line.
Think of it more like a spiral. You might circle back to old feelings, but each time you do, you’re approaching them from a higher, more self-aware place.
Some days will feel amazing, like you’ve completely turned a corner. Then, out of nowhere, a song on the radio or a familiar smell might knock the wind out of you. This isn't a setback; it's part of the process. The goal is never perfection. It's progress.
Your personal journey is shaped by so many things—your unique attachment style, how you were raised, and how consistently you’re able to practice the tools we've discussed. Someone with a more secure attachment history might find the thoughts quiet down sooner. If you're healing from anxious or disorganized patterns, it will likely require more time and a whole lot more self-compassion.
Instead of asking, "Am I over them yet?" try a different question: "Am I a little more grounded today than I was last month?" Celebrate the small wins. The moment you realize you went a whole morning without checking their social media. The day you drove past their favorite coffee shop and felt a flicker of nostalgia instead of a gut punch. That’s where the real healing happens.
What if We Have Kids or Have to See Our Ex?
Co-parenting or being forced to interact with an ex adds a whole other layer of complexity. When going "no contact" isn't an option, your focus has to shift from avoiding them to fiercely protecting your peace during the interactions you can't avoid.
This is where firm boundaries—both internal and external—become non-negotiable.
A powerful strategy I teach clients in this exact situation is the "gray rock" method. Your goal is to become as emotionally uninteresting as a plain, gray rock. You are polite, you are brief, and you stick to the absolute necessary logistics.
- Keep it strictly factual. Only discuss what you must, like pickup times, a child’s appointment, or a shared bill. No personal questions, no commentary on their life.
- Be boring. Don't volunteer any information about your life, your feelings, or what you did over the weekend. This gives their energy nothing to hook into.
- Disengage from drama. If they try to pull you into an old argument or an emotional conversation, you have a script: "I'm not going to discuss that with you. Let's stick to the schedule." Then you stop talking.
It’s also absolutely critical to regulate your own nervous system before and after any contact. Before a drop-off, take five minutes to do a grounding exercise. After they leave, put on your favorite song and do some somatic shaking to physically release the tension from your body. This proactive self-care is what keeps their energy from hijacking your entire day.
Is It Okay That I Still Miss My Ex Sometimes?
Yes. Absolutely, 100% yes. A relationship, even one that ended badly, was a significant part of your life story. Missing them doesn't mean you want them back, and it definitely doesn't mean you've failed at healing. It just means that person, and that time in your life, mattered.
The work here is learning to tell the difference between healthy nostalgia and obsessive rumination.
Healthy nostalgia is a fleeting, gentle memory—remembering a great vacation, smiling with a touch of wistfulness, and then moving on with your day. Rumination is when that same memory pulls you down a painful rabbit hole of "what-ifs," "if-onlys," and stories about how you'll never find that again.
Healing doesn’t mean you surgically remove all memories of your ex. It means you reduce their emotional charge. The goal is for the memories to become part of your life's story, not the defining narrative of your present moment.
When a wave of missing them hits, don't fight it. Acknowledge it with kindness. You can say to yourself, "I'm having a memory of a time that was good, and it's okay to feel sad that it's over." Then, gently guide your focus back to the here and now.
When Should I Seek Professional Help?
While the tools in this guide are incredibly powerful for self-healing, there are times when you need more targeted, professional support. Recognizing you need help isn't a weakness; it's a sign of profound strength and self-awareness.
It might be time to reach out to a therapist or coach if you notice:
- Your daily life is being disrupted: You can't focus at work, care for your responsibilities, or be present with your kids because thoughts about your ex are consuming you.
- The feeling of hopelessness won't lift: The sadness feels constant and heavy, and you're starting to believe you'll never feel happy again.
- Your other relationships are suffering: Your preoccupation with the breakup is pushing friends and family away.
- You're leaning on unhealthy coping tools: You find yourself using alcohol, shopping, or emotional eating just to numb the pain and get through the day.
If any of this sounds familiar, please know you don't have to navigate this alone. It may be time to get more support.
At Securely Loved, we specialize in helping people heal the deep-seated attachment patterns that make breakups feel so devastating. If you're ready to move from just coping to truly healing, we invite you to book a free, no-obligation 15-minute connection call to see if our approach is the right fit for you. Learn more and book your complimentary call today.