In this guide
- The short version
- What a sex headache feels like
- The first one is always a hospital visit
- The red flags
- The harmless kind: primary sex headache
- Who gets it
- Pills, poppers and other triggers
- Treatment and prevention
- My take
I am not a doctor, and this is not medical advice. The facts in this guide come from the NHS, NHS Scotland neurology guidance, Mayo Clinic, the International Classification of Headache Disorders (ICHD-3) and studies indexed on PubMed. All sources are linked at the end. The opinions are mine.
This is one of those subjects men almost never talk about. You are in the middle of sex, everything is going well, and at the moment of orgasm your head explodes with pain. Or a dull ache builds in the back of your skull as you get more excited, until you have to stop.
Most men who experience this feel embarrassed, worried, or both. Many do nothing. That is the wrong choice, and I want to explain why, calmly and with the facts.
The short version
- Headaches triggered by sex or orgasm are real, and doctors have a name for them: primary headache associated with sexual activity.
- Most are harmless. But some are caused by bleeding in the brain or problems with brain blood vessels.
- The first sex headache always needs urgent medical assessment, especially if it was sudden and severe.
- Call emergency services for a sudden, extremely painful headache that does not go away, or one with neck stiffness, vomiting, confusion, weakness, vision or speech problems.
- Harmless sex headaches are more common in men and can happen during masturbation too.
- Once serious causes are excluded, they are treatable, and often go away on their own.
What a sex headache feels like
Mayo Clinic describes two patterns:
- a dull ache in the head and neck that gets stronger as sexual excitement increases
- a sudden, severe, throbbing headache just before or at the moment of orgasm
Some people get both. The ICHD-3, the international diagnostic manual for headaches, now treats them as one condition with variable presentation: usually a dull, two-sided ache that builds with excitement and suddenly becomes intense at orgasm.
How long it lasts varies. The ICHD-3 criteria describe 1 minute to 24 hours when severe, or up to 72 hours when mild. Mayo Clinic says most sex headaches last at least several minutes, and some linger for hours or even 2 to 3 days.
The first one is always a hospital visit
This is the most important section of the article.
A sudden, severe headache that peaks within a minute or so is what doctors call a thunderclap headache. NICE guidance calls it a red-flag symptom of subarachnoid haemorrhage, a type of bleeding on the brain. NICE also notes that thunderclap headache can be associated with sex, exertion, coughing or migraine, and that most people with it do not have a bleed, but this should not stop doctors investigating.
The NHS page on subarachnoid haemorrhage says it is a rare type of stroke, a life-threatening emergency, and that it may be more likely when you are doing things like coughing, going to the toilet, lifting something heavy or having sex.
That is why the ICHD-3 says that on the first onset of headache with sexual activity, it is mandatory to exclude:
- subarachnoid haemorrhage
- dissection (a tear) of an artery to the brain
- reversible cerebral vasoconstriction syndrome (RCVS), a temporary narrowing of brain arteries
NHS Borders neurology guidance goes further: it advises urgent referral to A&E for the first episode (up to the third) to exclude subarachnoid haemorrhage, because a sex headache can mimic life-threatening neurological conditions and usually needs a scan the first time.
I know how this sounds. Nobody wants to explain in A&E what they were doing when the pain started. Do it anyway. Doctors hear everything, and this is a medical question, not a moral one.
An embarrassing conversation in a hospital is a small price. A missed brain bleed is not.

The red flags
The NHS says to call 999 if you or someone you are with:
- gets a sudden headache that is extremely painful and does not go away
- has face weakness or drooping on one side
- has weakness or numbness in an arm or down one side of the body
- has speech problems, such as slurring or confusion
- gets blurred vision or loss of sight
Other symptoms of a subarachnoid haemorrhage listed by the NHS include neck pain or a stiff neck, feeling and being sick, sensitivity to light, seizures, fainting, drowsiness or confusion.
Mayo Clinic adds that sex headaches with loss of consciousness, vomiting, a stiff neck, other neurological symptoms, or severe pain lasting more than 24 hours are more likely to have an underlying cause. And the ICHD-3 notes that the harmless kind is not associated with disturbance of consciousness, vomiting, or visual, sensory or motor symptoms.
The NHS also says: do not drive yourself to A&E.
The harmless kind: primary sex headache
Once the scans and tests are clear, most men get a reassuring diagnosis: primary headache associated with sexual activity. “Primary” means there is no underlying disease causing it.
NHS Borders guidance says the vast majority of sex headaches are of this harmless type, and that when they happen on a more frequent or predictable basis, there is no need for further investigation. One important exception from the ICHD-3: multiple explosive headaches during sex should be treated as possible RCVS until proven otherwise with specialist imaging. So repeated thunderclap attacks still need a specialist, not just reassurance.
How long does it go on? The pattern varies:
- Mayo Clinic says many people get them in clusters over a few months, then go a year or more without any, and some only ever have one attack
- the ICHD-3 says up to 40% of cases run a chronic course over more than a year
- in a 2007 German follow-up study of 60 patients, 37 of the 45 who had single attacks or bouts had no further attacks after roughly three years
Who gets it
Some facts from the research:
- NHS Lothian guidance estimates the prevalence at 1% to 2%, with more men than women affected
- the ICHD-3 gives male-to-female ratios from 1.2:1 to 3:1, and says it can happen at any sexually active age and with any type of sexual activity
- in a 2003 study in Neurology of 51 patients, Frese and colleagues found a mean age at onset of 39, with two peaks: in the early 20s and between 35 and 44
- in that study, 94% had attacks with their usual partner and 35% during masturbation, so it is not about a particular partner or practice
- the same study found high overlap with other headaches: migraine (25%), exertional headache (29%) and tension-type headache (45%)
If you already get migraines, it is worth telling your doctor about sex headaches too, because the two are linked.
Pills, poppers and other triggers
A few things can make headaches during sex more likely, or confuse the picture:
- ED pills. The NHS lists headache among the common side effects of sildenafil (Viagra). That is a different kind of headache from a thunderclap at orgasm, but tell your doctor if you take erection pills. My guide on Viagra vs Cialis explains how they work.
- Poppers. FRANK lists headaches among the effects of poppers. They also interact dangerously with erection pills, which I covered in poppers and sex.
- Cocaine and stimulants. FRANK warns that cocaine can cause a stroke even in healthy young people. Read cocaine and sex.
- Medicines and blood vessel conditions. Mayo Clinic lists aneurysms, arteriovenous malformations, artery dissection, RCVS, stroke, coronary artery disease, some medications such as birth control pills, and inflammation from infections among possible causes of sudden sex headaches.
High blood pressure is another reason to see a doctor. My guide on high blood pressure and erectile dysfunction explains why it matters for your sex life in general.
Treatment and prevention
Treatment only makes sense after serious causes have been ruled out. Then, according to NHS guidance:
- Indometacin, an anti-inflammatory, is the most commonly used medicine, often taken before sex. NHS Lothian mentions a usual starting dose of 25 mg taken beforehand.
- Beta-blockers such as propranolol are sometimes used to prevent attacks when they are very frequent.
- A short break from sex, or taking a more passive role during sex and avoiding straining (the Valsalva manoeuvre), can help.
Mayo Clinic also suggests that taking a more passive role may help, and that stopping before orgasm can sometimes prevent or reduce the dull, building type.
In the 2007 German follow-up study, indometacin taken pre-emptively gave good results in 9 of 10 patients who used it. That is a small number, so let your doctor decide what fits you.
There is also the psychological side. NHS Borders notes that even harmless sex headaches can cause significant physical and psychological stress. Fear of the next attack can kill desire and erections. If that is happening, my guide on sexual performance anxiety may help.
What I would actually do
- First sudden, severe headache during sex: go to A&E or call emergency services. Do not wait to see if it happens again.
- Tell the doctors exactly when the pain started, including that it was during sex or orgasm.
- Red flags (stiff neck, vomiting, confusion, weakness, vision or speech problems): call 999 immediately.
- Once cleared, see your GP or a neurologist about prevention if attacks repeat.
- Repeated explosive attacks need specialist imaging, even if the first scan was clear.
- Tell your doctor about ED pills, poppers, stimulants and blood pressure.
- Talk to your partner. It is easier to take a more passive role if she knows why.
My take
I think the worst thing about sex headaches is the silence around them. Men will happily discuss stamina and size, but a headache at orgasm feels shameful, so they hide it. Hiding the first one is exactly the wrong move.
The good news is real: most of these headaches are harmless and treatable, and many disappear on their own. But you only earn the right to relax after a doctor has ruled out the dangerous causes. Get checked, get the answer, and then get back to enjoying your sex life without fear.
Your brain is the most important sexual organ you have. Look after it.
For the stories behind the people in this industry, read my columns on House of Maximo. Follow my work at maximogarciaworld.com, and for the 18+ side, fuckingpornstars.net.
Sources
- NHS. Subarachnoid haemorrhage.
- NHS. Sildenafil (Viagra).
- NHS Borders, Right Decisions. Sexual activity headache.
- NHS Lothian RefHelp. Situational headache.
- NICE. Subarachnoid haemorrhage caused by a ruptured aneurysm: diagnosis and management (NG228), recommendations.
- Mayo Clinic. Sex headaches: symptoms and causes.
- International Headache Society. ICHD-3: 4.3 Primary headache associated with sexual activity.
- Frese A, Eikermann A, Frese K, et al. Headache associated with sexual activity: demography, clinical features, and comorbidity. Neurology. 2003;61(6):796-800.
- Frese A, Rahmann A, Gregor N, et al. Headache associated with sexual activity: prognosis and treatment options. Cephalalgia. 2007;27:1265-1270.
- FRANK. Poppers (alkyl nitrites).



