Sex Headache (Headache During Sex or Orgasm): Why It Happens, When It Is an Emergency and How It Is Prevented
💔 A sudden, crushing headache at the moment of orgasm is one of the most frightening things that can happen in bed, for the person who has it and for the partner who sees it. Many people are too embarrassed to mention it to a doctor, and some simply stop having sex for weeks out of fear. Headache associated with sexual activity is a recognised medical condition, and in most people it is harmless and treatable, but the very first episode can look exactly like a bleed in the brain and must be checked the same day. 🔍 This guide explains the two types of sex headache, why they happen, which warning signs mean an emergency, what tests doctors run, how the condition usually behaves over weeks and months, and which medicines help: indomethacin taken before sex, triptans, daily propranolol and a few others. It also covers the questions couples ask most: is it safe to keep having sex, do erection tablets cause it, and how to talk about it without turning intimacy into a source of fear.
🧠 What a sex headache is
📖 Doctors use the name primary headache associated with sexual activity. Older names include coital headache, orgasmic headache and benign sex headache. “Primary” means that the headache itself is the condition: there is no tumour, bleed or other disease behind it. The key point is that the diagnosis can only be made after secondary causes have been ruled out, because a few serious conditions start in exactly the same way. The pain is triggered by sexual activity of any kind, with a partner or alone, and usually starts on both sides of the head or at the back of the head and neck. A single attack can last from a minute to several hours; a milder ache sometimes lingers for a day or more.
🔎 The condition is more common than most people think. Surveys suggest that around 1 in 100 adults has had at least one episode, and the true number is probably higher because many people never report it. It is seen at any adult age, with peaks in the early twenties and again around the late thirties and early forties. Men are affected roughly three to four times as often as women. Sex headache is not a sign of doing something wrong in bed, and it is not caused by an unusual sex life. It is a pain-system reaction to the sharp rise in blood pressure, heart rate and muscle tension that sexual arousal brings.
⚖️ The two types: slow build-up and sudden explosion
📊 Headache specialists describe two patterns. Some people have only one, others have both on different occasions, and the explosive pattern is by far the more common reason for an emergency visit. The type matters because the explosive form is the one that must be separated from a brain bleed.
💡 Both types fade on their own. The severe part of an explosive attack usually settles within minutes to an hour, and a dull background ache can remain for several hours. Nausea can occur, but vomiting, a stiff neck, confusion, fainting or weakness are not part of the benign picture and point to something else.
🧬 Why sex can trigger a headache
💓 During arousal and orgasm the body goes through a short, intense burst of activity. Heart rate and blood pressure rise sharply, breathing changes, and muscles in the neck, jaw and shoulders tighten. In people with a sensitive pain system, this surge is enough to switch on the same headache pathways that cause migraine and exercise headache. The exact mechanism is not fully known; changes in how brain blood vessels respond to the pressure surge are thought to play a part, especially in the explosive type.
🔍 Several things make attacks more likely. People who already have migraine or exercise headache are clearly more prone, and some notice that sex headache appears during a period of stress, poor sleep or heavy training. Being overweight and having high blood pressure have also been linked. Some medicines and substances can contribute, including decongestants, cannabis, cocaine and amphetamines, and in some people high doses of caffeine or alcohol the same evening.
🚨 Why the first episode must always be checked
⚠️ A first-ever explosive headache during sex is treated as an emergency until proven otherwise.
🔹 A share of bleeds from a burst brain aneurysm start during physical effort, and sex is one of the most frequent triggers in that group.
🔹 Reversible narrowing of brain arteries (RCVS) often starts with repeated thunderclap headaches during sex or straining.
🔹 A tear in a neck artery can begin with neck pain and headache during vigorous activity.
🔹 The benign label can only be given after these have been ruled out.
🏥 This does not mean that most explosive sex headaches are dangerous. Most are not. But nobody can tell the difference by the pain alone, and the conditions that mimic it are time-critical. A person who has a sudden, severe headache at orgasm for the first time should go to an emergency department or call emergency services, even if the pain is already easing by the time they get dressed. A partner who sees confusion, vomiting, drowsiness, a seizure or weakness should call an ambulance at once.
⚡ What doctors mean by thunderclap headache
⏱️ A thunderclap headache is a severe headache that reaches its full strength within about one minute. People often describe it as the worst headache of their life, or like being hit on the back of the head. Any thunderclap headache, with sex or without, needs emergency assessment. The list of possible causes is long; the ones below are the most important to rule out when the trigger was sexual activity.
🩸 Bleeding from a brain aneurysm
💥 A subarachnoid haemorrhage happens when a weak bulge in a brain artery, an aneurysm, bursts and blood spreads over the surface of the brain. The classic sign is an instant, extreme headache, often with vomiting, a stiff neck, dislike of light or a brief loss of consciousness. Some people have a smaller warning bleed days or weeks before a major one, and that warning headache can be the only symptom. Sudden rises in blood pressure, including during sex, lifting or straining on the toilet, can trigger the rupture.
📌 Risk factors include smoking, high blood pressure, heavy drinking, cocaine use, a family history of aneurysm or bleed, and some inherited conditions such as polycystic kidney disease. A bleed is a medical emergency with a high risk of disability or death, and early treatment of the aneurysm greatly improves the outlook. This is the main reason the first explosive sex headache is never simply sent home with painkillers.
🌀 RCVS: when brain arteries go into spasm
📖 Reversible cerebral vasoconstriction syndrome (RCVS) is a condition in which several brain arteries narrow and widen again over days to weeks. Its hallmark is a series of thunderclap headaches over one to two weeks, often triggered by sex, exertion, coughing, bathing or emotion. It is more common in women, and it can follow childbirth or the use of medicines and drugs that act on blood vessels.
- 📌 Common triggers: SSRI and SNRI antidepressants, nasal decongestants, triptans and ergots, cannabis, cocaine, amphetamines, binge drinking
- 📌 Typical story: several explosive headaches in a short period, each lasting minutes to hours, with a milder ache between them
- 📌 Possible complications: small bleeds on the brain surface, brain swelling, seizures and, less often, stroke
- 📌 Early scans can be normal, because the narrowing may only show after several days
💊 RCVS is usually treated by stopping any trigger medicine or drug, controlling blood pressure and pain, and avoiding sex and exertion until the episode settles. Calcium channel blockers such as nimodipine or verapamil are often used, although the evidence is limited. Triptans are avoided because they narrow blood vessels. In most people the arteries return to normal within about three months, which is why the condition is called reversible. Because RCVS and benign sex headache can look the same at the start, a cluster of several explosive headaches within days is always a reason for vessel imaging.
🔎 Other causes that can hide behind a sex headache
| 🔎 Condition | 📋 Clues | 🧪 Usual check |
|---|---|---|
| Neck artery dissection | One-sided neck or face pain, droopy eyelid, small pupil, later stroke signs | CT or MR angiography of neck vessels |
| Pituitary apoplexy | Sudden headache with double vision, loss of side vision, very low energy | MRI of the pituitary, hormone tests |
| Very high blood pressure | Headache with sex and at other times, raised readings at home | Repeated blood pressure readings |
| Low spinal fluid pressure | Headache when upright, easing lying down, after a strain or a spinal procedure | MRI of brain and spine |
| Brain tumour or cyst | Headache that steadily worsens, new neurological signs, also outside sex | MRI of the brain |
| Medicine or drug effect | New decongestant, stimulant, antidepressant or recreational drug use | Medicine and drug review |
💡 In rare cases a raised blood pressure surge comes from an adrenaline-producing tumour (phaeochromocytoma), which also causes sweating, palpitations and pale spells. A doctor will usually check blood pressure carefully in anyone with recurring sex headaches, since treating hypertension is good for the heart and brain anyway.
🏥 What happens in the emergency department
🩺 The aim is to rule out bleeding and vessel problems quickly. The order of tests depends on how long ago the headache started, because a CT scan is most sensitive for a bleed in the first hours.
📝 It helps to bring a short list of medicines, including over-the-counter decongestants and supplements, and to be honest about cannabis, cocaine or stimulant use. Doctors are not interested in judging your sex life; they need to know what the body was doing when the pain started, how quickly it peaked and whether anything similar has happened before.
🧭 Which headache needs what: a decision path
Emergency department the same day
Vessel imaging for RCVS, avoid triptans
Primary sex headache likely
Pre-emptive tablet or daily prevention
🔗 Links with migraine and exercise headache
🧠 Sex headache rarely lives alone. A large share of people with it also have migraine, and many have headaches with other exertion such as running, lifting or coughing. This overlap suggests a shared sensitivity of the pain system and explains why migraine medicines are often helpful. 📖 If your attacks come with visual zigzags, tingling or speech trouble, read migraine with aura and how to tell it from a stroke, and for a broad view of migraine care see treatment of migraines.
💡 One-sided attacks around the eye that come at night are a different condition; see cluster headache: night attacks, oxygen and triptans. Constant one-sided headache that melts away with indomethacin is covered in hemicrania continua and paroxysmal hemicrania.
📅 How sex headache usually behaves over time
🔁 The benign form tends to come in bouts. Attacks may occur with almost every sexual encounter for a few weeks or months and then disappear for a long time, sometimes for good. In a smaller group the headaches return in later bouts, and a few people have them over many years. Episodic bouts are more common than a chronic pattern.
First attack, emergency checks
Attacks with most encounters
Pre-emptive or daily medicine
Medicine tapered, often long remission
🛏️ What to do during an attack
💑 Small changes that reduce attacks
💬 Many couples find that slowing down and letting the person with headaches take a less active role reduces the pressure surge and the number of attacks. This is not a cure, and nobody should feel they must change their sex life forever, but simple adjustments can make the weeks of a bout easier while medicine starts working.
💪 Relaxing the jaw, neck and shoulders seems to help most with the dull pre-orgasmic type, which is closely tied to muscle tension. Regular exercise, good sleep and weight loss where needed may lower the overall tendency, in the same way they help migraine. Checking and treating raised blood pressure is worth doing for its own sake.
💊 Indomethacin before sex
⏰ For people whose attacks are occasional or predictable, the usual first medicine is indomethacin, an anti-inflammatory painkiller taken about 30 to 60 minutes before sexual activity. Commonly used doses are 25 to 50 mg, and some specialists use up to 100 mg under supervision. Indomethacin has a special place in several exertion-linked and one-sided headaches, possibly because it also lowers pressure inside the skull. It should be taken with food or milk to protect the stomach.
📋 How it is commonly used
💊 25 to 50 mg, 30 to 60 minutes before sex
🍽️ With food, a snack or milk
📆 Only on days of planned sexual activity
📊 Pros and cons
✅ Fast: works for a single encounter
✅ Simple: no daily tablet
➖ Planning: sex has to be anticipated
❌ Stomach: irritation, ulcer risk with frequent use
💡 When indomethacin upsets the stomach, some doctors try another anti-inflammatory such as Naprosyn (Naproxen) before sex, although there is less experience with it in this headache. Using any anti-inflammatory on most days for weeks raises the risk of stomach bleeding and kidney strain, so frequent users are usually moved to daily prevention instead.
⚠️ Who should avoid indomethacin
| 🚫 Situation | 📝 Why |
|---|---|
| Past stomach ulcer or bleeding | High risk of a new bleed |
| Kidney disease or heart failure | Fluid retention and worse kidney function |
| Taking blood thinners | Higher bleeding risk with warfarin, apixaban and similar |
| Asthma worsened by aspirin or ibuprofen | Can trigger an attack of wheeze |
| Third trimester of pregnancy | Risk to the baby heart and kidneys |
| Older age, on ACE inhibitors and diuretics | Kidney injury risk with this combination |
💡 Common side effects of indomethacin include indigestion, nausea and, more typical of this medicine, headache and light-headedness in some people. If these happen, the dose or the medicine can be changed.
💉 Triptans as a pre-emptive option
📖 Triptans are migraine medicines that narrow widened blood vessels and calm the pain nerves. Some people with benign sex headache, especially those who also have migraine, do well with a triptan taken shortly before sexual activity, for example sumatriptan 50 to 100 mg or rizatriptan 10 mg. Evidence comes from case series rather than large trials, and triptans are used only once RCVS and vessel disease have been excluded, because their vessel-narrowing action could worsen those conditions. 📖 Dosing and the second-dose rule for sumatriptan are explained in Imitrex sumatriptan for migraine.
⛔ Triptans are not used in people with heart disease, past stroke, poorly controlled blood pressure or circulation problems in the legs. They should not be combined with ergot medicines, and care is needed with some antidepressants. Using a triptan on 10 or more days a month can itself cause daily headache; see medication overuse headache.
🛡️ Daily prevention with propranolol
💓 When attacks are frequent, sex is hard to plan, or pre-emptive tablets do not work, a daily beta blocker is the best-known preventive treatment, and propranolol is the one used most. It blunts the surge in heart rate and blood pressure during arousal and is also a standard migraine preventive. Doctors often start low, for example 40 mg once or twice a day or a long-acting capsule, and adjust within a range of about 80 to 160 mg a day according to effect and tolerance. Metoprolol is an alternative beta blocker. Treatment is usually continued through the bout, often for a few months, then slowly reduced.
✅ Propranolol is available as Inderal (Propranolol) and as P-Nolol (Propranolol). It is not suitable for people with asthma, a very slow pulse, heart block or very low blood pressure, and people with diabetes on insulin should know it can hide the warning signs of low blood sugar. Common side effects are tiredness, cold hands, vivid dreams and reduced exercise tolerance. It should not be combined with verapamil or diltiazem without specialist advice.
❤️ Propranolol, erections and desire
🤔 Couples sometimes worry that a heart tablet will spoil their sex life in a different way. Beta blockers can lower desire or make erections weaker in some men, but most people on propranolol notice no sexual change, and worry about the side effect can itself cause problems. If a change does appear, it is worth discussing rather than quietly stopping the tablet: the dose can be adjusted, the timing changed or another preventive tried. Men who already use erection medicine can usually continue it with propranolol, as long as blood pressure is not too low and a doctor knows about both.
Fewer attacks, sex without fear of the next headache
Tiredness, cold hands, lower desire in some
Report changes early; alternatives exist
🧪 Other preventive medicines
📋 When a beta blocker is not possible or does not work, doctors borrow other options from migraine care. The evidence for each is limited to small case series, so the choice depends mostly on other health conditions and side effects.
⚠️ Topiramate can reduce the reliability of hormonal contraception at higher doses and is harmful in pregnancy, so women who could become pregnant need effective contraception and a clear conversation before starting it. Verapamil and a beta blocker are not normally combined, because together they can slow the heart too much.
💊 Erection tablets and headache: what is the link?
🔍 Headache is one of the most common side effects of sildenafil, tadalafil and vardenafil, because these medicines widen blood vessels. This drug headache is usually a dull, throbbing ache that begins within an hour or so of the tablet, not the explosive pain of an orgasmic headache. In people who already have migraine, the tablets can sometimes trigger a migraine attack. A man who has a new thunderclap headache during sex should be checked in the same way whether or not he took an erection tablet.
📖 Men who use Caverta (Sildenafil) or Cialis (Tadalafil) and get headaches can often try a lower dose, a different tablet or a simple painkiller taken with it. These medicines must never be combined with nitrate heart medicines such as glyceryl trinitrate or isosorbide, because blood pressure can fall dangerously. More on this side effect: tadalafil side effects: headache, back pain and flushing.
🤝 Talking about it as a couple
💬 A frightening headache in bed affects both partners. One may start to fear orgasm and avoid closeness, while the other may feel guilty or rejected. Naming the problem, getting it checked and agreeing on a plan usually lowers the fear faster than silence. Couples often say that knowing there is a tablet to take before sex, and a clear rule for when to seek help, gave them back a normal sex life.
🧠 Fear of the next attack can lead to anxiety about sex in general, and in men to erection problems that have nothing to do with the headache. If fear persists after the headaches are controlled, short talking therapy or sex therapy can help, just as it helps other forms of performance anxiety.
🗿 Myths and facts about sex headache
🚨 When to see a doctor
⛔ Call emergency services or go to an emergency department now if:
🔹 This is the first sudden, severe headache you have had during or after sex, or the worst headache of your life.
🔹 The headache comes with vomiting, a stiff neck, confusion, fainting, a seizure, double vision, weakness, numbness or trouble speaking.
🔹 You have had several explosive headaches within days, with sex or with other triggers.
🔹 There is new neck pain on one side, a droopy eyelid or a change in vision.
⚠️ Book a doctor appointment soon if: sex headaches keep returning, your usual pattern has changed, you need painkillers before most encounters, or fear of headaches is affecting your relationship.
📖 Headache treatment always works better when the type is clear. If your attacks happen at other times too, a headache diary for a month, noting sleep, stress, alcohol, medicines and sexual activity, gives the doctor far more to work with than memory alone.
❓ Frequently asked questions
Is a headache during sex dangerous?
Most sex headaches are benign, but the first sudden, severe one can look exactly like a brain bleed or artery spasm. It needs emergency checks before it can be called harmless.
What is an orgasmic headache?
It is a sudden, explosive headache that starts just before or at orgasm, often at the back of the head. It usually eases within minutes to an hour, with a milder ache that can last longer.
How long does a sex headache last?
The severe part usually lasts from one minute to a few hours. A mild background ache can remain for up to a day or more. Bouts of attacks often last weeks to months.
What tests are done after a sex headache?
Usually a CT scan of the head, sometimes a lumbar puncture, and CT or MR angiography of brain and neck arteries. Repeat vessel imaging may be needed if attacks keep coming.
Can I take something before sex to prevent it?
Yes. Indomethacin 25 to 50 mg taken 30 to 60 minutes before sex is the usual choice once serious causes are excluded. Some people use a triptan instead.
Does propranolol help sex headaches?
Daily propranolol is the best-known preventive for frequent sex headaches. It is usually taken for the length of a bout, often a few months, and then tapered slowly.
Can Viagra or Cialis cause a headache during sex?
They often cause a dull headache that starts after the tablet. A sudden explosive headache at orgasm is a different problem and needs the same checks with or without these tablets.
Is it safe to keep having sex after a sex headache?
After serious causes are ruled out and a plan is in place, yes. While tests are pending, or during RCVS, doctors usually advise avoiding sex and heavy exertion.
Are sex headaches linked to migraine?
Yes. Many people with sex headache also have migraine or exercise headache, which is why migraine medicines such as triptans and beta blockers often help.
Will sex headaches go away on their own?
In most people they come in bouts of weeks to months and then stop for a long time, often for good. A smaller group has recurring bouts over the years.
📑 Sources and editorial
- 📘 International classification of headache disorders: criteria for primary headache associated with sexual activity
- 🧠 Neurology reviews and case series on coital and orgasmic headache, course and treatment
- ⚡ Emergency medicine guidance on the assessment of thunderclap headache and subarachnoid haemorrhage
- 🌀 Reviews of reversible cerebral vasoconstriction syndrome, triggers and outcomes
- 💊 Product information for indomethacin, propranolol, triptans, topiramate, verapamil and PDE5 inhibitors
- 📖 Related reading: migraine with aura, treatment of migraines, cluster headache, hemicrania continua, medication overuse headache, tadalafil side effects
- 🛒 Related products: Inderal (Propranolol), P-Nolol (Propranolol), Indocin (Indomethacin), Naprosyn (Naproxen), Imitrex (Sumatriptan), Maxalt (Rizatriptan), Topamax (Topiramate), Calan (Verapamil), Caverta (Sildenafil), Cialis (Tadalafil)
- 🩺 RXshop Editorial Team — reviewed by James Carter, MD — Neurology and sleep medicine
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.