Headache associated with sexual activity is a recognized and treatable primary headache disorder.
It can be frightening — particularly the first time it happens — but once serious causes are excluded, it is usually benign and treatable.
At the Ottawa Headache Centre, we approach these headaches with two priorities:
Ensure safety — rule out dangerous causes
Restore confidence — provide a clear plan to help people safely return to normal life
Headache associated with sexual activity (sometimes called sex headache or orgasm headache) is a type of primary headache disorder that occurs in relation to sexual activity.
Once serious causes have been ruled out, these headaches are not dangerous and often respond well to treatment.
Headache associated with sexual activity has two common patterns:
Dull, tightening, or pressure-like pain
Builds gradually as sexual excitement increases
Often located at the back of the head or neck
Abrupt, explosive onset at or near orgasm
Severe intensity
May last minutes to hours
A dull headache may linger
The first presentation of a sudden severe sex or orgasm-related headache can overlap with serious conditions that require emergency evaluation. Typically, ugent medical attention is needed after experiencing "thunderclap headache" or the first-ever sudden severe headache associated with sex.
This is your first-ever headache associated with sexual activity
The headache is explosive at onset (“thunderclap” - an instantaneously peaking headache)
The pain is the worst headache of your life
There are neurological symptoms, such as:
Weakness
Trouble with speech or language
Vision loss
Difficulty with coordination
Confusion
You have headache with fever, neck stiffness, or loss-of-consciousness
If headache associated with sexual activity has already been assessed and serious causes have been excluded, recurrent episodes are typically not dangerous. Once serious causes have been ruled out, these headaches are not dangerous and often respond well to treatment.
The exact cause of headache associated with sexual activity is not fully understood. Importantly, these headaches are not a sign of heart disease or stroke, and they do not mean that sexual activity is unsafe.
Some factors that may contribute to experiencing headache associated with sexual activity include:
Typically, headache associated with sexual activity is diagnosed after a detailed history and a neurological examination.
Brain imaging is often ordered after the first-ever episode.
Once serious causes are excluded, repeated imaging is usually not needed unless there is a change of pattern or new symptoms emerge that require attention including:
The headache is explosive at onset (“thunderclap” - an instantaneously peaking headache)
The pain is the worst headache of your life
There are neurological symptoms, such as:
Weakness
Trouble with speech or language
Vision loss
Difficulty with coordination
Confusion
You have headache with fever, neck stiffness, or loss-of-consciousness
The two most common ways of treating headache associated with sexual activity is either:
Using an as needed medication before sexual activity (i.e., indomethacin)
Using a daily medication to prevent (i.e., metoprolol)
For people with predictable headaches, a common and effective option is:
Indomethacin, taken 30–60 minutes before sexual activity
This approach:
Is taken only when needed
Can prevent the headache from occurring
Is often used for short periods
Indomethacin is a prescription anti-inflammatory medication and should be used under medical supervision.
A daily preventive medication may be recommended, such as metoprolol, for people with:
Frequent headaches
Less predictable timing
Ongoing anxiety about recurrence
Daily metoprolol can:
Reduce the likelihood of headaches
Allow return to normal sexual activity without pre-medication
Metoprolol is a hear-rate medication (i.e., it lowers heart rate) and should be used under medical supervision.
We can discuss with you these options and help you decide what is best for you.
If you have experienced a first-ever sudden severe headache, seek urgent medical evaluation.
If you have recurrent episodes and serious causes have been excluded:
Discuss the pattern with your primary care provider
Request a referral to the Ottawa Headache Centre if needed
Bring any prior imaging reports and a brief timeline of episodes
At the Ottawa Headache Centre, we focus on structured evaluation, individualized treatment planning, and restoring confidence in daily life.
Many people with headache associated with sexual activity experience a self-limited course lasting weeks to months.
Treatment may be temporary, reassessed after a symptom-free period, and stopped once headaches no longer occur.
In most cases, yes — it is safe to have sex once serious causes have been ruled out.
Headache associated with sexual activity is usually a benign primary headache disorder, not a sign of brain damage, heart disease, or stroke.
That said, the first-ever episode should always be medically assessed and sudden severe (“thunderclap”) headaches require urgent evaluation to exclude secondary causes.
Once imaging and examination are reassuring, ongoing sexual activity is not dangerous
Many people choose to:
Resume sexual activity gradually
Use preventive strategies (such as indomethacin taken beforehand or daily metoprolol)
Avoid sudden exertion early on while symptoms are settling
With appropriate evaluation and treatment, most people are able to return to a normal and safe sex life without long-term restrictions.
If you are unsure or anxious, discussing this openly with your doctor is important — these headaches are common enough that they are well recognized and manageable.
This material is provided for educational purposes and does not replace independent clinical judgment or institutional protocols. Management decisions remain the responsibility of the treating clinician.