Having a headache or migraine triggered by sex or an orgasm is a pretty cruel emotional injustice. Fortunately, preventing a sex-induced headache or migraine is surprisingly simple. And, no, the answer is not to avoid having sex. The most commonly prescribed treatment is indomethacin, a nonsteroidal anti-inflammatory that’s a close relative to ibuprofen, taken an hour before sex.
Those of you who don’t want to go to the doctor may deduce that you can pop a couple Advil and avoid the headache. Please don’t! The headache or migraine may be triggered by benign causes like a tightening of the head and neck muscles or a response to increased blood pressure and heart rate during orgasm. However, it could also be the sign of a brain hemorrhage, stroke, heart disease, glaucoma, or other disorder. Instead of attempting to treat it yourself, please see a doctor to make sure there’s not a serious background cause.
Several trustworthy online sources say that taking a triptan an hour before sex is an effective treatment for orgasm-induced migraines. I asked a headache specialist about this and was told that this could cause a stroke. The specialist said that because both triptans and orgasms constrict blood vessels, the blood vessels could constrict too much during an orgasm. I’m not sure which source is correct here, but I stay on the side of caution and only take a triptan after an orgasm has triggered a migraine.