Pain Management

    Migraine Medications During Surgical Recovery

    Patients who have migraines face a unique challenge during surgical recovery. Post-operative pain medications, anesthesia, disrupted sleep, dehydration, and stress are all common migraine triggers. At the same time, some migraine treatments interact with recovery medications. This guide helps you work with your care team to keep migraines under control while healing safely.

    Types of Migraine Medications and How They Work

    • Triptans (sumatriptan, rizatriptan, eletriptan, zolmitriptan): The most common acute migraine treatment. They work by activating serotonin receptors in brain blood vessels to stop the migraine cascade. Examples include Imitrex (sumatriptan), Maxalt (rizatriptan), and Zomig (zolmitriptan).
    • CGRP receptor antagonists (gepants): A newer class that blocks calcitonin gene-related peptide, a protein involved in migraine signaling. Examples include ubrogepant (Ubrelvy) and rimegepant (Nurtec). They do not cause blood vessel constriction.
    • Ergotamines (dihydroergotamine, ergotamine-caffeine): An older class that also causes vasoconstriction (narrowing of blood vessels). Use during recovery should be discussed with your surgeon, especially after cardiac or vascular procedures.
    • Preventive medications: Taken daily to reduce migraine frequency. Common options include propranolol (a beta-blocker), topiramate (an anti-seizure medication), amitriptyline (a tricyclic antidepressant), and the injectable CGRP monoclonal antibodies (erenumab, fremanezumab, galcanezumab).
    • Anti-nausea medications used for migraines: Prochlorperazine, promethazine, and metoclopramide are often used alongside acute migraine treatment. These are also commonly used after surgery for post-operative nausea.

    Managing Migraine Medications Around Surgery

    • Inform your surgeon, anesthesiologist, and nursing team about all migraine medications you take, including preventive daily medications and acute rescue treatments.
    • Triptans are generally safe to use after most surgeries when your provider approves, but they are typically avoided after coronary artery bypass graft, other cardiac procedures, and in patients with uncontrolled high blood pressure due to their vasoconstrictive effect.
    • CGRP antagonists (gepants) do not cause vasoconstriction and are generally considered safer for patients with cardiovascular concerns. They have fewer interactions with anesthesia medications.
    • Monthly injectable CGRP preventive medications (erenumab, fremanezumab, galcanezumab): These have a half-life of weeks. A missed dose due to surgery will not cause immediate relapse. You can typically resume your regular injection schedule 1 to 2 weeks after surgery once cleared by your provider.
    • Topiramate (a preventive medication) may alter how some anesthetics behave and can increase the risk of metabolic acidosis (a blood chemistry imbalance) under general anesthesia. Notify your anesthesiologist if you take topiramate.
    • Do not abruptly stop daily preventive medications before surgery without guidance from your neurologist or headache specialist. Sudden discontinuation can trigger a migraine rebound.

    Medication Overuse Headache: A Risk During Recovery

    • Medication overuse headache (MOH), also called rebound headache, occurs when acute pain or migraine medications are used too frequently. For triptans, the threshold is 10 or more days per month. For NSAIDs and acetaminophen, the threshold is 15 or more days per month.
    • During surgical recovery, you may already be taking acetaminophen, NSAIDs, or opioids regularly for post-operative pain. Adding frequent triptan use on top of this raises the risk of MOH significantly.
    • If you develop new daily headaches or notice your usual migraine medications becoming less effective during recovery, report this to your provider. It may indicate MOH rather than a worsening migraine condition.
    • Opioids used for post-operative pain are among the highest-risk medications for triggering MOH. This is another reason to taper off opioids as soon as your pain allows, typically within 5 to 7 days of surgery.
    • Caffeine withdrawal is a common trigger during recovery when patients are fasting, nauseated, or changing their habits. Gradual caffeine reduction before surgery can prevent this trigger.

    Non-Medication Strategies to Reduce Migraines During Recovery

    • Hydration: Dehydration is one of the most common migraine triggers. Aim to drink at least 6 to 8 glasses of water daily during recovery, unless your surgeon has restricted fluid intake.
    • Sleep regularity: Disrupted sleep after surgery is a major trigger. Consistent sleep and wake times, even while recovering at home, reduce migraine risk.
    • Light and noise sensitivity management: Keep your recovery space dim and quiet if you are prone to migraines. Eye masks and earplugs can help if you are in a hospital or shared space.
    • Cold or warm compresses applied to the forehead or back of the neck can provide meaningful migraine relief without adding any medication burden.
    • Avoid strong odors: Anesthesia, hospital cleaning products, and strong food smells can trigger migraines in sensitive individuals. Ventilating your recovery space and asking visitors to avoid strong perfumes or scented products is a practical step.
    Frequently asked

    Questions patients ask.

    Can I take my triptan for a migraine after surgery?

    In most cases, yes, with your surgeon's approval. Triptans are generally safe after general surgery. They are typically avoided after cardiac surgery, coronary artery bypass procedures, and in patients with uncontrolled high blood pressure. Always confirm with your surgical team before taking any migraine medication during recovery.

    Will anesthesia trigger a migraine?

    It can. Post-operative headaches are common and can be difficult to distinguish from a migraine. They are most often caused by dehydration, caffeine withdrawal, positioning during surgery, or direct effects of anesthetic gases on blood vessels. Staying well-hydrated before and after surgery and maintaining your usual caffeine intake in the days leading up to the procedure can reduce this risk.

    What if I cannot take my usual migraine medication during recovery?

    If your surgeon restricts your usual migraine medication, ask your neurologist or headache specialist for an alternative. CGRP antagonists (gepants) may be an option if triptans are restricted. For nausea-associated migraines, IV or suppository anti-nausea medications given in the recovery room or at home can provide partial relief.

    Should I tell my anesthesiologist about my migraine medications?

    Yes. This is especially important if you take topiramate (can affect anesthesia metabolism and acid-base balance), high-dose ergotamines (vasoconstriction risk), or daily serotonergic preventive medications (small risk of serotonin syndrome when combined with other serotonergic drugs used during anesthesia). A complete medication list given to your anesthesiologist before surgery allows them to plan the safest approach.

    For patients

    Get a personalized care plan.

    This guide provides general information. For instructions tailored to your specific procedure, ask your provider about QR Rx care plans.

    These medication guides are for educational purposes only and do not replace medical advice. Always follow your healthcare provider's specific medication instructions.