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

Migraine and Constipation: Are Digestive Changes Linked?

Medically reviewed by Amina Hazmoune, M.D.
Written by Kacie Riggs
Posted on April 23, 2026

Key Takeaways

  • Constipation is a common digestive issue that some people notice happening around the same time as their migraine attacks, as migraine can affect the whole body and not just the head.
  • View full summary

Constipation is a common problem, but some people notice that it appears around the same time as their migraine attacks. Because migraine can affect the whole body, not just the head, digestive symptoms like constipation may be part of the migraine cycle for some individuals.

“I have been having significant gastrointestinal issues, including severe constipation, for approximately two years,” a MyMigraineTeam member expressed. “No success. Gut agony or head agony?”

Another added, “The most horrible migraine attack. I’m very constipated.”

Understanding why constipation happens and how it connects to migraine may help you recognize patterns and talk with your clinician about managing these symptoms.

What Is Constipation?

Constipation happens when bowel movements become difficult or less frequent than usual. Doctors often define constipation as having fewer than three bowel movements a week or having hard, dry stools that are painful or difficult to pass.

People with constipation may also feel bloated, uncomfortable, or like they can’t completely empty their bowels.

Many factors can cause constipation, including:

  • Lack of fiber intake
  • Dehydration
  • Changes in daily habits
  • Stress
  • Consumption of a lot of dairy products
  • Certain medications, such as painkillers or nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen or naproxen
  • Medical conditions that affect digestion or hormones

Constipation is very common. You’ll likely experience it at some point in your life, and it can range from mild to severe depending on the underlying cause.

How Migraine Affects the Body

Migraine is a neurological condition (disease of the nervous system). It can cause repeated attacks, during which people may experience common symptoms such as:

  • Pulsing head pain
  • Sensitivity to light or sound
  • Nausea
  • Fatigue (extreme tiredness)

Migraine symptoms happen because of changes in the brain and nerves that control pain and sensory signals.

Migraine involves more than headache. It affects many other systems in the body, including the digestive system. Research shows that the brain and gut actually communicate closely with each other through what researchers call the gut-brain axis. This is a network of nerves, chemicals, and hormones that link the two systems.

Because of this connection, changes in the brain during a migraine attack may also cause changes in your digestion.

Constipation and the Gut-Brain Axis

The gut and brain constantly send signals back and forth. This communication influences digestion, bowel movement speed, and how the gut responds to stress.

When a migraine attack begins, the nervous system becomes activated in unusual ways. These neurological changes can affect digestion and the gut microbiome (the bacteria in your gut).

Some people have gastrointestinal (GI) symptoms with migraine, including:

Migraine can also slow the stomach in some people (called delayed gastric emptying), which can make nausea and vomiting worse.

Keep in mind that not everyone experiences digestive symptoms during migraine attacks. But it can be part of the broader migraine symptom spectrum for some people.

How Migraine-Related Changes Can Trigger Constipation

Several processes related to migraine may increase the risk of constipation. Below are some of the most common ones.

1. Slower Gut Motility

During a migraine attack, the nervous system can cause changes throughout the whole body, including the gut. While this most commonly causes vomiting and nausea in those with migraine, it can also lead to constipation.

One study found that GI symptoms, including constipation, are common in people with migraine because of the gut-brain connection and changes in gut motility. Gut motility refers to how quickly or slowly food moves through the digestive tract.

When the nervous system slows digestion, stool moves more slowly through the intestines. As stool sits longer in the colon, the body pulls more water out of it, making it hard, dry, and more difficult to pass. This can lead to constipation.

2. Dehydration

People having a migraine attack may sometimes feel too sick to drink water, leading to dehydration. Recurrent vomiting during an attack can also worsen dehydration.

When the body lacks enough water, the colon absorbs extra fluid from stool, which makes it harder and more difficult to pass. This can lead to or worsen constipation. Dehydration is also a common trigger for migraine attacks.

3. Reduced Appetite

Loss of appetite is a well-known symptom of migraine attacks. Eating fewer meals or skipping them completely can actually reduce the natural movement of the gut.

When eating patterns change, constipation can occur. Eating on a regular schedule can help keep digestion predictable.

4. Changes in Daily Routine

Migraine attacks often force people to lie down, cancel activities, or sleep more. A sudden drop in daily movement can slow digestion. When you move around, it encourages muscles responsible for pushing stool along to do their thing.

5. Certain Migraine Medications

Certain medicines used for the treatment of migraine have constipation as a side effect. These may include:

  • Pain relievers like ibuprofen and aspirin
  • Antinausea medications
  • Certain gepant medications, including atogepant (Quilpta)
  • Calcitonin gene-related peptide (CGRP) monoclonal antibodies, such as erenumab (Aimovig)

“I took Aimovig for three months, and at first I thought it was a miracle cure. My migraine reduced dramatically!” shared one MyMigraineTeam member. “Then I became so constipated I had to go to the ER. I tried every laxative known to man, fiber, and prunes to no avail. This was absolutely horrible!”

If constipation suddenly appears or worsens after starting a new medication, it may be worth talking with a doctor.

Is Constipation Part of a Migraine Attack?

Researchers are still trying to understand exactly how migraine and digestive symptoms are linked. But many studies suggest that the same neurological changes that trigger migraine attacks may influence the gut.

While not everyone will experience these symptoms, they may be more common than people realize. This could mean that constipation may not simply be a coincidence. For some, it could be part of the overall migraine experience.

How To Manage Constipation During Migraine Attacks

If you notice constipation before, during, or after migraine attacks, there are a few steps you can take at home to help relieve symptoms.

Drink Fluids Regularly

Staying hydrated helps keep stool soft and easier to pass. Try to steer clear of alcoholic beverages as they can be dehydrating and upset your GI tract.

Eat Fiber-Rich Foods

Foods with fiber, like fruits, vegetables, whole grains, and beans, can help keep bowel movements regular. Fiber can make stool bulkier and hold more fluid, making it a better weight and shape to pass through the body.

If you’re unable to eat during a migraine attack, you can try to add fiber gradually when you feel better. Avoid certain foods, such as cheese and chocolate, which can worsen migraine or even act as triggers themselves.

Move When You Can

Gentle movement like a short walk helps stimulate digestion. During severe attacks, exercise may not be possible, but regular activity on symptom‑free days can help support regular bowel habits.

Review Medications With Your Doctor

If a new migraine medication is making constipation worse, ask your healthcare provider about alternatives. Remember, you should never stop taking any prescribed treatment without medical guidance first.

Consider Over-the-Counter Options

Some people find relief from stool softeners or gentle laxatives, but it’s important to use them safely. A doctor or pharmacist can help you choose the right product and dose.

Tracking Symptoms for Patterns

Keeping track of constipation and other digestive symptoms can help you spot any patterns connected to migraine attacks. You may want to keep a record of:

  • When constipation begins
  • Whether it happens before, during, or after a migraine attack
  • Any foods eaten or beverages drank
  • Medications taken
  • Any other symptoms

If the timing of your constipation symptoms and migraine attacks, it may be helpful information to share with your healthcare provider. Digestive symptoms can also change over time, so tracking them can give a clearer picture of what’s normal for you.

When To Talk With a Doctor

Constipation is usually not dangerous, but you should talk to a healthcare professional if you’re experiencing:

  • Constipation that lasts more than three weeks
  • Unintentional weight loss
  • Blood in your stool
  • Bowel movements with severe abdominal pain
  • Constipation as a side effect of your current medications

Constipation can be a sign of another condition or may mean your treatment plan needs adjustment. Your doctor may refer you to a gastroenterology expert who will review your medical history and lifestyle. They can also run tests or suggest safer medication options if needed.

Join the Conversation

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

Have you noticed constipation or other digestive changes before, during, or after a migraine attack? 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

Thank you for subscribing!

Become a member to get even more

See answer