More Primary Care Articles
Headache and Abdominal Cramps: Possible Causes
By Your Health Magazine Health Information Team
Headache and abdominal cramps often occur together because of a digestive infection, food poisoning, dehydration, menstrual symptoms, or migraine-related nausea. The combination is usually temporary, especially when symptoms are mild and improve with rest and fluids. However, sudden or severe pain, neurological symptoms, blood in vomit or stool, pregnancy-related warning signs, or possible carbon monoxide exposure require prompt medical attention.
Common Causes of Headache and Abdominal Cramps
Viral gastroenteritis or food poisoning
A digestive infection is a common explanation when a headache and stomach ache begin with nausea, vomiting, diarrhea, fever, or body aches. Viruses such as norovirus can inflame the digestive tract, while contaminated food or water may expose a person to viruses, bacteria, parasites, or toxins.
Vomiting and diarrhea can also cause fluid and electrolyte loss, making the headache worse. The National Institute of Diabetes and Digestive and Kidney Diseases describes abdominal cramping, watery diarrhea, nausea, vomiting, fever, and dehydration warning signs associated with viral gastroenteritis.
Dehydration, heat, or missed meals
Not drinking enough, sweating heavily, or losing fluids through illness can cause headache, fatigue, dizziness, dry mouth, dark urine, and muscle cramping. Skipping meals may also contribute to headache, nausea, shakiness, or stomach discomfort, particularly in people who are sensitive to changes in their usual eating schedule.
Menstrual cramps and hormonal changes
Headache and lower abdominal cramps that appear shortly before or during a menstrual period may be related to hormonal changes. Other symptoms can include bloating, diarrhea or constipation, breast tenderness, fatigue, and mood changes. Keeping a symptom and menstrual calendar for several cycles can help reveal a pattern. The Office on Women’s Health provides additional information about headaches, cramping, and other symptoms of premenstrual syndrome.
Migraine
Migraine can cause moderate to severe head pain along with nausea, vomiting, and sensitivity to light, sound, or smells. Some people describe the nausea as a stomach ache, although strong abdominal cramping or diarrhea may point to an additional digestive problem. Children can develop migraine-related abdominal symptoms, but recurring headache and tummy pain in a child should be discussed with a pediatrician rather than assumed to be migraine.
For an overview of headache types, symptoms, and evaluation, see the National Library of Medicine’s headache health information.
Stress and changes in routine
Stress can tighten muscles around the head and neck while also affecting intestinal movement. This may produce a tension-type headache together with cramps, nausea, loose stools, constipation, or a “nervous stomach.” Poor sleep, travel, irregular meals, and sudden changes in caffeine intake can contribute. Stress should not automatically be blamed when symptoms are new, severe, persistent, or accompanied by warning signs.
Pregnancy-related causes
Hormonal changes, nausea, dehydration, and stretching tissues can cause mild headaches or abdominal discomfort during pregnancy. However, abdominal pain with vaginal bleeding, shoulder pain, dizziness, or fainting may indicate an ectopic pregnancy. Later in pregnancy, a persistent or severe headache—especially with vision changes, swelling, breathing difficulty, or upper-right abdominal pain—needs immediate obstetric assessment.
What the Symptom Pattern May Suggest
| Other symptoms or circumstances | Possible explanation |
|---|---|
| Vomiting, watery diarrhea, fever, or recent contact with someone who was sick | Viral gastroenteritis |
| Symptoms in several people who ate the same food | Foodborne illness |
| Thirst, dark urine, dizziness, or urinating less often | Dehydration |
| Recurring symptoms before or during a period | Menstrual cramps or premenstrual symptoms |
| Throbbing headache with light or sound sensitivity and nausea | Migraine |
| Cramping after a particular food, with gas or bloating | Food intolerance or another digestive condition |
| Similar symptoms in several people inside the same home or building | Possible carbon monoxide exposure |
Location also matters. Generalized cramping is common with gastroenteritis, gas, or menstrual symptoms. Pain that becomes intense or settles in one specific area—particularly the lower-right abdomen—needs medical evaluation. If the main concern is fluid-like movement or noise rather than pain, read about why the stomach may make sloshing sounds.
What You Can Do for Mild Symptoms
- Replace fluids gradually. Take small, frequent sips of water or an oral rehydration drink, especially after vomiting or diarrhea.
- Rest in a comfortable environment. A quiet, dim room may help if light or noise worsens the headache.
- Eat according to tolerance. When nausea improves, begin with small portions of familiar, easy-to-digest foods. Do not force food while actively vomiting.
- Avoid alcohol. It can worsen dehydration and irritate the digestive tract.
- Review possible triggers. Consider recent meals, sick contacts, heat exposure, menstrual timing, missed meals, stress, new medicines, and supplements.
- Use nonprescription medicines cautiously. Follow label directions and ask a pharmacist or healthcare professional what is appropriate if you are pregnant or have liver disease, kidney disease, ulcers, bleeding problems, or medication interactions.
Contact a clinician if symptoms repeatedly return, persist despite basic care, or interfere with eating, drinking, sleep, school, or work. A primary care professional can evaluate both symptoms, while a gastroenterologist, neurologist, gynecologist, or pediatrician may help when the pattern points to a particular system.
When to Seek Care
Call 911 or obtain emergency care for a sudden, extremely severe headache; confusion; fainting; seizure; new weakness or numbness; trouble speaking; loss of balance; a stiff neck with fever or rash; severe or rapidly worsening abdominal pain; a hard, swollen, or very tender abdomen; vomiting blood; black or bloody stool; chest pain; or difficulty breathing.
Seek urgent pregnancy care for severe or one-sided abdominal pain, vaginal bleeding, shoulder pain, fainting, a persistent severe headache, vision changes, or upper-right abdominal pain.
Headache, dizziness, weakness, nausea, confusion, or stomach upset affecting multiple people in a building can signal carbon monoxide poisoning. Fuel-burning heaters, furnaces, generators, grills, fireplaces, and vehicles can produce this odorless gas. Leave the area for fresh air and call 911 rather than searching for the source yourself. Review the CDC’s carbon monoxide poisoning symptoms and prevention guidance.
Contact a healthcare professional promptly if you cannot keep fluids down, have signs of dehydration, develop a high fever, have frequent vomiting, experience severe localized cramps, or have diarrhea lasting more than two days. Infants, older adults, pregnant people, and those with weakened immune systems or significant medical conditions may need evaluation sooner.
Other Articles You May Find of Interest...
- Headache and Abdominal Cramps: Possible Causes
- Unexplained Bruises on the Legs: Possible Causes
- Difficulty Breathing When Lying Down: Causes and Warning Signs
- Pain in Your Right Side: Causes and Warning Signs
- Painful Lump in the Armpit: Causes and Warning Signs
- How to Choose the Right Primary Care Doctor for Your Needs
- Your Health, Connected










