Because your stress hormones and your sex hormones share a circuit
When a relationship ends, your body registers the loss as a threat. Cortisol and adrenaline spike. Your nervous system goes into a version of high alert that is not so different from the state your body enters during physical danger. Here is the part that surprises most people: that same stress-response system overlaps significantly with the circuits that regulate sexual arousal.
Cortisol, in short bursts, can actually increase testosterone levels in both men and women. Testosterone is the hormone most directly linked to libido across all genders. So the same chemical surge that is making your heart pound and your sleep terrible is also, paradoxically, turning up your sexual appetite.
Research consistently shows that stress and arousal share neurological pathways. The amygdala, which processes threat and fear, is also involved in processing sexual attraction. When one system fires, it can light up the other. Your body is not confused. It is running two overlapping programs simultaneously.
This is also why the feeling tends to be intense but impersonal. It is less about wanting a specific person and more about a diffuse physical restlessness. Your body is flooded with activation energy and it is looking for somewhere to put it. That is not a character flaw. That is neuroscience.
Because your brain is grieving a chemical it used to get for free
A long-term relationship is a dopamine delivery system. Physical affection, anticipation of seeing someone, the comfort of a familiar touch, all of it was releasing dopamine and oxytocin on a fairly regular schedule. Then the relationship ended, and that supply stopped.
Withdrawal is not a metaphor here. Research on attachment and loss shows that the brain responds to romantic rejection using some of the same regions activated in substance withdrawal. You are not being dramatic when you say it feels physical. It is physical.
Sexual desire is one of the fastest ways the brain knows to produce dopamine. So when your reward system is running a deficit, it reaches for the tools it has. Hunger, restlessness, and heightened sexual interest are all, in part, the brain's attempt to self-correct a chemical imbalance it did not choose.
This is also why rebound attraction can feel so urgent and so convincing, even when you know logically that texting your ex at 1 a.m. is not a plan. The pull is neurological before it is emotional. Knowing that does not make it disappear, but it does give you a beat of pause before you act on it.
Because your body is looking for proof that it is still alive
Grief does something unusual to physical sensation. In the early days after a loss, many people describe a kind of numbness, a flattening of the senses. Then, often without warning, the opposite happens. Everything feels sharp. Music hits differently. Food tastes stronger. And physical desire comes back with an intensity that can feel almost embarrassing given the circumstances.
This is not random. Research on bereavement consistently shows that loss alters the body's baseline state in measurable ways, including immune function, sleep architecture, and hormonal rhythms. The body, registering that something has gone wrong, sometimes responds with a surge of vitality-seeking behavior. Sex, exercise, appetite, these are all signals that the body sends itself to confirm it is still functional.
If you are also noticing that you keep catching every cold going around, or that you feel generally run down in ways that have nothing to do with sleep, that tracks. Heartbreak suppresses immune function in documented, measurable ways. The restlessness and the vulnerability are often running at the same time, in the same body.
Be patient with yourself the way you would with someone who just had the flu and is slowly coming back online. The heightened desire is part of the same recovery signal.
Because this gets more complicated if you are in your 40s or older
If you are processing a breakup later in life, the hormonal picture has an extra layer. Perimenopause and its male equivalent, the gradual decline in testosterone that begins in the mid-30s and accelerates after 40, change how stress and libido interact. Some people experience a sharp increase in sexual desire during perimenopause. Others experience a decrease. Both are normal, and both can intensify around major emotional stressors.
The social dimension is also different. After years in a partnership, suddenly being single in your 40s or 50s can produce a specific kind of urgency that is partly hormonal and partly psychological, a sense that time is a variable you have to reckon with now in ways you did not in your 20s.
We get into more of this in our piece on being suddenly single in your 40s, including the practical and emotional considerations that are specific to that life stage. The short version: what you are feeling is more common than people admit in that demographic, and it has a biology that is worth understanding rather than pushing through.
If the mood swings feel extreme or the physical symptoms are significant, a conversation with your doctor is worth having. Not because something is wrong, but because you deserve information about what your body is doing.