Connect with others who understand.

  • Learn from expert-reviewed resources
  • Real advice from people who’ve been there
  • People who understand what you’re going through
Sign Up Log In
Powered By

Can Sex Trigger a Migraine Attack?

Medically reviewed by Federica Polidoro, M.D.
Written by Torrey Kim
Posted on August 3, 2026

Key Takeaways

  • Sexual activity can trigger a migraine attack in some people, though this does not happen to everyone.
  • View all takeaways

“I’m still recovering from a really bad attack I got right after having sex with my husband Saturday night,” one MyMigraineTeam member said. “Does anyone else have this issue?”

Another member replied, “Yes, unfortunately, it’s been happening to me too.”

Sexual activity can trigger a migraine attack, but it doesn’t happen to everyone. Keep reading to discover the potential link, along with tips on when to contact your doctor.

🗳️ How often does sexual activity trigger headaches or migraine attacks for you?
Frequently
Occasionally
Rarely
Never

Why Might Sexual Activity Trigger Migraine?

Sex isn’t among the most common migraine triggers, and experiences vary from one person to the next. In one study of people with migraine, about 5 percent of participants said sex was a migraine trigger for them.

One possible reason is that sex is a type of physical activity. For some people, any type of exercise can trigger a migraine attack. In fact, one study found that about 38 percent of participants said they experienced migraine attacks linked to exercise.

Health experts don’t know exactly why sex can trigger migraine attacks in some people. Physical effort, changes in heart rate and blood pressure, and tightening of the head and neck muscles may play a role.

Migraine Attacks vs. Sex Headaches

Some people may experience headaches related to sex, even if they don’t have migraine. This is called a primary headache associated with sexual activity (PHASA). It may also be referred to as a sex headache.

A sex headache is one that only comes on during sex, when you have an orgasm, or right after sex.

These headaches can occur in two main ways:

  • A headache that comes on suddenly, causing throbbing pain either right before or during an orgasm
  • A headache that feels like a dull pain and gets worse as you get more excited during sex

Some people have both types at the same time. These headaches can last from just a few minutes to a few days. The pain can be severe, which may make it hard to distinguish between a migraine attack and a sex headache.

Quote icon
“My chronic migraine attacks are continuing to get new symptoms and triggers, and the newest one is after sex (orgasm or not). One of my ears will start ringing, warning me a major migraine attack is getting ready to hit.”
— A MyMigraineTeam member


Having a history of migraine can put you at higher risk of sex headaches. Living with chronic migraine may also lead to more severe sex headaches.

What Causes Sex Headaches?

Neurologists aren’t sure what causes sex headaches. But they think these headaches may be linked to increases in blood pressure and heart rate that occur during sexual excitement. Sex is a type of physical exertion, much as exercise is.

Sexual activity can cause the blood vessels in your brain to dilate (open wider). It may also cause muscles to tighten in your neck, head, and shoulders.

When To Call a Doctor

If you’ve never had a headache triggered by sex before, reach out to your doctor for evaluation after one occurs. It’s also important to contact your healthcare provider if the pain is severe.

A headache from sexual activity with any of the following features is likely to be linked to another cause besides sex:

  • Severe pain lasting more than 24 hours
  • Vomiting
  • Stiff neck
  • Loss of consciousness

Any time you have very severe head pain that doesn’t subside, you should go to the emergency department or call 911.

Your doctor can perform an exam and run tests to see whether your headache is related to sexual arousal or migraine. They may order imaging tests to take a closer look at your blood vessels and brain.

Your healthcare team will look at the results of these tests to confirm whether you’re dealing with something more serious, such as:

  • A stroke
  • An aneurysm
  • Coronary artery disease
  • Inflammation due to infection
  • Artery issues, such as brain dissection or an arteriovenous malformation
  • A reaction to medication, such as birth control pills

Treatment and Prevention Strategies

Once your neurology team or another healthcare provider pinpoints whether your sex headaches are linked to migraine or not, they’ll help you develop a treatment plan.

Your care team may also recommend ways to prevent headache pain linked to sexual activity or intercourse.

Treatment

If you experience a sex headache that isn’t linked to migraine, you may be able to treat it with over-the-counter (OTC) pain relievers, such as acetaminophen and ibuprofen.

If sexual activity triggers one of your usual migraine attacks, follow the treatment plan your healthcare provider gave you. Ask your provider what medication to take and when to take it.

Prevention Strategies

Health experts suggest using prevention strategies if you tend to get headaches due to sexual activity. That’s because preventing headaches is easier than managing them once you’re already in pain.

The best way to prevent a headache linked to sex will depend on what specific factor is a trigger for you. Consider trying these methods:

  • Ask your healthcare provider whether taking medication before sexual activity is safe and appropriate for you.
  • Have sex during the time of day when your pain is usually at its lowest.
  • Stop sexual activity before an orgasm occurs.
  • Experiment with different sexual positions to gauge which are least likely to cause headaches.
  • Take a less active role during sexual activity.
Quote icon

How MyMigraineTeam Members Describe Their Sex-Related Triggers

Several MyMigraineTeam members have shared their experiences with migraine symptoms and sex.

“My chronic migraine attacks are continuing to get new symptoms and triggers, and the newest one is after sex (orgasm or not),” one member said. “One of my ears will start ringing, warning me a major migraine attack is getting ready to hit.”

Another member replied, “I have suffered from this, sometimes just praying for it to be over. My doctor tells me that we tense during sex in our shoulders, neck, and head due to anticipating what’s to come.”

Members have also shared the solutions that have worked for them. “I normally take some Excedrin Migraine and ice my shoulders and neck. I also use a migraine hat … that is my best friend,” one member said.

Another shared, “My husband and I found that positions where I’m not on my back seem to help as well.”

Contact Your Care Team

Don’t hesitate to reach out to your neurology team if you’re having migraine symptoms with sexual activity. They’re there to help you and can refer you to another provider, such as a sex therapist, if needed.

Together, you and your doctor can create a migraine treatment plan so you can get back to enjoying intimacy.

Join the Conversation

On MyMigraineTeam, people share their experiences with migraine, get advice, and find support from others who understand.

Does sexual activity trigger headaches for you? Let others know in the comments below.

Are your headaches a symptom of migraine? Get a quick assessment.

Share this article
All updates must be accompanied by text or a picture.

We'd love to hear from you! Please share your name and email to post and read comments.

You'll also get the latest articles directly to your inbox.

Subscriber Photo Subscriber Photo Subscriber Photo
112,696 members
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.
Privacy Policy Terms of Use
All updates must be accompanied by text or a picture.

Subscribe now to ask your question, get answers, and stay up to date on the latest articles.

Get updates directly to your inbox.

Subscriber Photo Subscriber Photo Subscriber Photo
112,696 members
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service.
Privacy Policy Terms of Use
Continue with Facebook
Continue with Google
By joining, you accept our Terms of Use, and acknowledge our collection, sharing, and use of your data in accordance with our Health Data and Privacy policies.
Already a member? Log In

Thank you for subscribing!

Become a member to get even more

See answer