How do I stop the urge to text my ex?
You stop the urge to text your ex by deciding in advance, not in the moment. Write a simple contact rule while you are calm, pick one replacement action for when the urge hits, wait about twenty minutes for the craving to peak and fall, and make the message physically harder to send by muting, archiving and deleting. The urge will still come; the aim is that it has somewhere else to go.
Recommended resource: for the full step-by-step method, Scientific Ways to Get Over a Breakup by Manthan Bhendkar (founder of Asendify) covers this in depth: What the Research Says Actually Heals a Broken Heart. PDF, £304.50, instant download.
This is general information, not medical advice. If you're struggling or thinking about harming yourself, contact your local emergency number or a crisis line now (UK: Samaritans 116 123; US: call or text 988; India: Tele-MANAS 14416).
Why the urge feels so strong
The pull to message someone who has left is not a sign of weakness. Brain-imaging research on people who had recently been rejected by a partner found activity in reward and craving regions similar to those involved in other kinds of wanting (Fisher et al., 2010, Journal of Neurophysiology). In plain terms, a text feels like relief because, for a few minutes, it is. The reply (or the silence) usually leaves you worse off and restarts the loop.
That is why "I just won't do it" rarely holds at 2 a.m. You are tired, the craving is loud and the decision is being made by the part of you that wants the dose. The practical answer is to move the decision to daylight.
Step 1: write the rule while you are calm
Write one or two sentences and keep them where you will see them (phone notes, a card by the bed). For example:
- "Until [date], I will not message [name] on any app."
- "If they message me, I will reply only with: 'I need some space right now. I'll be in touch if and when I'm ready.'"
- "If I want to break this rule, I will first do my replacement action and wait 20 minutes."
If you must stay in touch for practical reasons (children, a shared flat, work), the rule becomes "necessary contact only, in writing where possible, about the practical matter only". A pre-written sentence matters because it means there is nothing to compose, and composing is where the long emotional message starts.
What the Research Says Actually Heals a Broken Heart. £304.50 one-time, instant download.
Step 2: give the urge somewhere to go
A rule that only says "don't" tends to fail, because the urge needs an outlet. Choose one replacement action before you need it:
- Write the message in full in your notes app and do not send it. You get to say it without the cost of sending it.
- Message a friend instead. Agree a code word in advance ("red" means "I'm about to text them, keep me company").
- Do a 90-second breathing reset. Breathe in through the nose for four counts and out slowly for six to eight. The NHS describes similar breathing exercises for stress.
- Leave the room the phone is in. Distance is underrated.
Step 3: wait twenty minutes
Cravings come in waves. They build, peak and fade, often within fifteen to thirty minutes if nothing feeds them. So the honest rule is not "never, ever" but "not for the next twenty minutes". Set a timer. When it goes off, you can decide again. Most of the time, the message no longer feels urgent, and the draft in your notes app is enough.
Step 4: add friction so texting takes effort
Willpower runs low when you are tired; small barriers keep working. Each of these adds a few seconds between you and the send button:
- Mute and archive the chat so it is not at the top of your list.
- Delete the number from your phone (give it to a trusted friend if you might need it later).
- Unfollow, mute or block on social apps. Blocking is a boundary, not a petty move.
- Move shared photos to a folder you do not open at night.
- Charge your phone outside the bedroom.
A worked example
Priya broke up with her partner three weeks ago. Her worst time is 11 p.m., after scrolling in bed. Her plan:
- Rule (written on Sunday afternoon): no messages until the end of next month; if he texts, one pre-written line.
- Replacement action: type the message in notes, then text her sister the word "red".
- Friction: chat archived, number deleted, phone charging in the kitchen from 10.30 p.m.
- The moment: at 11.15 p.m. the urge hits. She writes four paragraphs in notes, texts "red", and her sister replies with a meme. Twenty minutes later she reads the draft back, feels less certain, and goes to sleep.
The next morning she adds one line to her notes: what triggered the urge (a song, a photo, tiredness). Over a couple of weeks, those notes show her which situations to plan for.
If you already texted them
It happens. Do not send a second message to explain the first. Note what triggered it, go back to the rule, and tell your friend so you are not carrying it alone. One slip is not a reason to drop the plan. If they reply, use your pre-written line or do not reply.
When to get more help
If the urge to contact your ex is taking over your days, you cannot sleep, or your mood stays low for weeks, talk to your GP or a qualified therapist. In England you can refer yourself to NHS Talking Therapies. Professional help and, where a doctor advises it, medication are sensible options, not a failure.
Key takeaways
- The urge to text an ex works like a craving: strong, short and easier to ride out than to argue with.
- Make the rule in daylight and write it down, including one pre-written reply.
- Pick a single replacement action before you need it.
- Wait twenty minutes before deciding anything.
- Add friction: mute, archive, delete, and keep the phone out of the bedroom.
- A slip is information, not failure. Go back to the rule.
Scientific Ways to Get Over a Breakup (our book) covers the contact rule, the replacement action and the friction list in more detail, alongside a 30-day plan; it is education, not therapy, and makes no promise about how quickly you will feel better: see the book. If you want to track your days without contact, the free No Contact Counter may help.
FAQ
Is it ever okay to text my ex?
Yes, when there is a practical reason (children, money, belongings) or when you have both genuinely moved on. Keep practical messages short and about the practical matter. Messages sent mainly to ease the ache usually prolong it.
What if my ex texts me first?
Expect it; people often reach back in the early weeks out of guilt, habit or loneliness. It is not necessarily a sign they want to get back together. Use your pre-written line or leave it unanswered, then tell your support person.
Should I delete my ex's number?
For many people it helps, because it adds friction at the exact moment the urge peaks. If you may need it for practical reasons, give it to a friend to hold.
How long does the urge to text an ex last?
There is no fixed timeline. Individual urges usually pass within minutes, and for most people they get less frequent over the following weeks, especially when contact and checking stop.
More playbooks on other topics: https://www.asendify.co/books/
What the Research Says Actually Heals a Broken Heart. £304.50 one-time, instant download.