Why Does My Child's Stomach Hurt Every Morning Before School?
Recurring stomach pain in children is common. When it follows a school-morning pattern, functional abdominal pain (a gut-brain pattern that stress can make worse), constipation, and school-related stress are possible explanations, but timing alone cannot identify the cause or rule out a medical one.
Medical Conditionspediatric recurring abdominal painpediatric-guidance
Written By: DocAi Health Editorial Team
Last Updated: 2026-09-30
Last Updated: 2026-09-30
Medical Disclaimer: This article is for general informational and educational purposes only and is not medical advice. It does not create a doctor-patient relationship and is not a substitute for professional diagnosis or treatment by a qualified healthcare provider. Never disregard or delay seeking professional medical advice because of something you have read here. If you think you may have a medical emergency, call 911 or your local emergency number right away. Health information can change and this guidance is general and US-focused, so consult a licensed clinician in your own country about your specific situation.
Recurring stomach pain in children is common. When it follows a school-morning pattern, functional abdominal pain (a gut-brain pattern that stress can make worse), constipation, and school-related stress are possible explanations, but timing alone cannot identify the cause or rule out a medical one. Pain that repeatedly wakes your child from sleep, or comes with weight loss, poor growth, blood in the stool, repeated vomiting, or fever, deserves a pediatric evaluation, and sudden severe pain or a hard, rigid belly needs emergency care. This article covers common causes, warning signs, and when to get help.
What a School-Morning Pattern Can Suggest
When a child's stomach hurts on school mornings and the pain eases once they are in class, or is absent on weekends, that pattern can be consistent with functional abdominal pain or school-related stress, but it does not prove either. Timing and location of pain cannot reliably separate a functional cause from a medical one, so a clinician also weighs growth, the exam, other symptoms, and family history.
Functional abdominal pain is one of the disorders of gut-brain interaction. It is real pain, not pretending. Stress can make it worse, but several factors can contribute and researchers do not fully understand all of them.
How Common Is Recurring Stomach Pain in Children?
According to MedlinePlus, almost all children have abdominal pain at one time or another, and most of the time it is not caused by a serious medical problem. Recurring pain is also common. The 2025 ESPGHAN/NASPGHAN treatment guideline, from the European and North American pediatric gastroenterology societies, reports a pooled worldwide prevalence of 13.5 percent for abdominal pain disorders of gut-brain interaction in children ages 4 to 18. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) says studies suggest that about 5 percent of children in that age range have irritable bowel syndrome specifically.
None of this makes the pain less real for your child. When there are no warning signs, starting with a careful history and exam is not a sign that your concern is being dismissed.
Functional Abdominal Pain: A Common Explanation
Functional abdominal pain disorders are diagnosed clinically, from a characteristic symptom pattern, after a clinician has looked for other causes. The ESPGHAN/NASPGHAN guideline classifies them with the Rome IV criteria, and there is no single test for them. Children with this pain often describe it around the belly button, and their growth, weight, and exam are often normal, though a normal exam does not rule out a medical cause. It can vary with distraction, stress, weekends, or school breaks, though none of these proves the diagnosis. Repeatedly waking from sleep because of abdominal pain is a reason for medical evaluation, particularly when it persists or comes with other warning signs, although on its own it does not prove a medical cause.
This is a gut-brain interaction, not a psychological label pinned on your child. NIDDK explains that problems with how the brain and gut work together can make the gut more sensitive, so a child may feel more abdominal pain. Stress can make symptoms worse, and common stressors include a test, a social conflict, a new teacher, or a new grade. Some children cannot name a specific worry, which does not rule out stress as a contributor, but stress or anxiety should not be assumed to be the sole cause without an appropriate clinical assessment.
Treatment starts with explanation and a plan, not with telling your child the pain is not real. The ESPGHAN/NASPGHAN guideline advises clinicians to teach families about the positive nature of the diagnosis and the gut-brain connection. If the pain keeps recurring, interferes with school or daily activities, or worries you, schedule a pediatric visit. MedlinePlus lists abdominal pain that lasts a week or longer, even if it comes and goes, as a reason to contact your provider.
Constipation: A Cause Parents Can Miss
Constipation is one of the everyday causes of abdominal pain in children that MedlinePlus lists, and it is easy to miss because a constipated child can still have a bowel movement most days. NIDDK notes that children most often become constipated by holding in stool, for example because they feel embarrassed to use a public bathroom, do not want to interrupt playtime, or fear a painful bowel movement. Stool that stays in the colon too long becomes hard and dry, and a backed-up bowel can cause a dull, crampy ache.
Signs to watch for, according to NIDDK, include hard, dry, or lumpy stool, stool that is painful to pass, a child who says not all the stool has passed, and stool in the underwear that can look like diarrhea. Fewer than two bowel movements a week is one possible sign, not the only one. Some children tiptoe or clench to hold stool in. Fiber-rich foods, fluids, and a toilet routine after meals can help many children. NIDDK advises seeing a doctor if symptoms last more than 2 weeks or do not go away with home treatment, and right away if constipation comes with blood in the stool, bloating, constant abdominal pain, vomiting, or weight loss. Laxatives help many constipated children, but the right medicine and dose depend on age and circumstances, so check with your pediatrician before giving one. Our article on when a child should see a doctor for constipation has more detail.
Could It Be School Anxiety?
Anxiety and recurring stomach pain often go together. The ESPGHAN/NASPGHAN guideline notes that abdominal pain disorders of gut-brain interaction are linked with more anxiety and depression, and frequent stomachaches with no known medical cause can be one sign that a younger child may benefit from an evaluation for anxiety. Clues that anxiety may be part of the picture include pain that is worse on Sunday night or Monday morning, trouble sleeping, irritability, reluctance to talk about school, and a stressor such as a friendship conflict or bullying. These clues raise the possibility of anxiety but do not rule out a physical cause. Our article on signs of anxiety in children that parents often miss has more.
Asking calmly, away from the morning rush, often goes better. Try "what part of school feels hardest right now" rather than "does your stomach only hurt because you do not want to go," which can make a child feel accused of faking. If anxiety seems to be part of the pattern, a school counselor or your pediatrician can point you toward an evaluation. For children with irritable bowel syndrome or functional abdominal pain, the ESPGHAN/NASPGHAN guideline recommends both cognitive behavioral therapy (strong recommendation, low-certainty evidence) and hypnotherapy (strong recommendation, moderate-certainty evidence) as treatment options.
Other Causes Worth Ruling Out
Clinicians look for warning signs that make a medical cause more likely. The NIDDK page on diagnosing irritable bowel syndrome in children lists symptoms that suggest another health problem, including bleeding from the rectum or bloody, black, tarry stools; persistent pain in the upper or lower right side of the abdomen; persistent vomiting; unexplained fever; weight loss, slowed growth, or delayed puberty; nighttime diarrhea; and arthritis. Tell your pediatrician about any of these so they can decide what to check.
An urgent look-alike is appendicitis, which MedlinePlus describes as a medical emergency. It often begins with pain around the belly button that may later move to the lower right abdomen, but symptoms can vary, especially in children. A child who already has recurring stomachaches can still develop appendicitis, so new pain that keeps getting worse needs prompt evaluation. Our article on appendicitis and other abdominal pain red flags in children has more detail.
A swollen, rigid belly that will not pass gas or stool, together with ongoing vomiting, can point to a blockage in the intestine, as can vomiting green (bilious) fluid. Vomit that contains blood or looks like coffee grounds, and stool that is maroon, black and tarry, or more than lightly streaked with blood, can signal bleeding in the digestive tract. Even a small amount of bright red blood should be discussed with your pediatrician, especially if it recurs or comes with pain or diarrhea, rather than assumed to be a fissure. MedlinePlus lists sudden sharp abdominal pain, a rigid hard belly, blood in the vomit or stool, and trouble breathing among the reasons to call 911 or seek help right away. A fever with worsening belly pain in a child who looks very ill or is hard to wake needs emergency care too.
Vomiting that stops your child from keeping fluids down can cause dehydration. The American Academy of Pediatrics lists a dry mouth, fewer tears, less urine than usual, and sunken eyes among the signs, and advises telling your pediatrician right away if they appear. Unusual sleepiness or being hard to wake needs emergency care (see our guide on how to tell if your child is dehydrated).
Some calmer causes are worth raising with your pediatrician too.
- Lactose intolerance can cause cramping, gas, and loose stool after dairy, and a morning cereal-with-milk routine can make pain show up before school.
- Celiac disease is an immune reaction to gluten that can cause abdominal pain along with bloating, loose or hard stool, fatigue, and in children, slowed growth. It runs in families, so mention any relatives with celiac disease or inflammatory bowel disease to your pediatrician. NIDDK explains that doctors most often use blood tests and biopsies of the small intestine to diagnose it, and that they do not recommend starting a gluten-free diet before testing because the diet can affect the results.
- Abdominal migraine causes episodes of pain around the belly button along with nausea, vomiting, or paleness, with well periods in between, and some children have a family history of migraine headaches.
- Acid reflux can cause upper abdominal discomfort, sometimes soon after breakfast, along with heartburn or a sour taste that a young child may simply describe as "my tummy feels bad."
- A urinary tract infection can cause lower abdominal pain along with burning during urination, more frequent bathroom trips, or a change in urine smell or color, and is usually checked with a urine test (see our article on urinary tract infection signs in young children).
How Doctors Evaluate Recurring Morning Pain
Expect questions about exactly where the pain sits, whether it wakes your child from sleep, whether there has been any blood in the stool, what makes it better or worse, bowel and bladder habits, appetite and growth over recent months, and any family history of digestive or autoimmune conditions. A physical exam checks growth curves, feels the abdomen for tenderness in a specific spot, and looks for other signs like joint swelling, skin rashes, or mouth sores.
When there are no warning signs, clinicians often start with the history and exam rather than extensive testing. If warning signs are present or the history points to a specific cause, NIDDK explains that doctors may order blood and stool tests, and sometimes imaging such as an abdominal ultrasound or an endoscopy, to look for problems like anemia, infection, celiac disease, or inflammatory bowel disease. The exact tests depend on your child's age, symptoms, exam, growth, and family history.
What Helps at Home
While you sort out the cause, a few steps can help many children.
- Keep the school morning routine calm and predictable. Rushing can make both anxiety and physical sensations feel worse.
- Once your pediatrician has ruled out concerning medical causes, maintaining normal activities and school attendance when your child is well enough can help reduce avoidance and support recovery. Ask your pediatrician and the school nurse about a plan for mornings when the pain is worse.
- Offer a warm compress or a few minutes of slow breathing for mild, recurring pain. MedlinePlus advises asking your child's provider before giving aspirin, ibuprofen, acetaminophen, or similar medicines.
- Keep a note on your phone of when the pain happens, how bad it is on a 1 to 10 scale, what your child ate, and what was going on beforehand. It gives your pediatrician information to act on and is a better step than cutting foods out on your own.
When to Seek Medical Care
When to Seek Urgent or Emergency Care
A small number of causes of recurring stomachaches need same-day or emergency care, so use the checklist below along with how your child looks and acts in the moment. This guidance is in addition to, not a replacement for, the general disclaimer above.
Emergency, call 911 or go to the emergency room immediately if:
- Sudden severe pain, especially if your child cannot straighten up, walk, or sit still.
- Pain that keeps getting worse, or that moves to or settles in the lower right side of the belly, together with fever, vomiting, or loss of appetite.
- A belly that stays hard, swollen, or rigid, especially with severe or worsening pain or vomiting, or that hurts even when touched lightly.
- Vomiting blood or material that looks like coffee grounds, or stool that is maroon, black and tarry, or bloody beyond a small streak.
- Ongoing vomiting with a swollen belly and no passing of gas or stool, or vomiting green (bilious) fluid.
- Belly pain that keeps getting worse with a fever, in a child who looks very ill, is unusually drowsy or hard to wake, or has trouble breathing.
- Signs of dehydration together with unusual drowsiness, such as sunken eyes, very little or no urine, or a child who is hard to wake or too weak to stand.
See a doctor soon (same-day or next available appointment) if:
- Pain that repeatedly wakes your child from sleep, particularly when it is persistent or comes with other warning signs.
- Even a small amount of bright red blood on the stool, especially if it recurs or comes with pain or diarrhea, without the features described in the emergency list above.
- Weight loss, or a child who has stopped gaining weight or growing in height as expected.
- Pain that stays in one spot on the right side of the belly and does not go away, even without fever or vomiting (appendicitis can present this way).
- Pain that keeps going on weekends, holidays, and school breaks with no relief.
- Vomiting, diarrhea (including diarrhea at night), or loss of appetite that keeps coming back, is not improving, or makes it hard for your child to drink enough.
- Signs of dehydration without unusual drowsiness, such as a dry mouth, few tears, sunken eyes, or much less urine than usual.
- A fever along with abdominal pain, even if your child otherwise seems comfortable, particularly with persistent pain, vomiting, or a tender belly (call the same day, and use the emergency list above if your child looks very ill or the pain keeps getting worse).
- A family history of celiac disease, inflammatory bowel disease, or peptic ulcers, especially alongside new digestive symptoms.
- Burning with urination, more frequent bathroom trips, or a change in urine color or smell.
- Joint pain, an unexplained rash, or mouth sores appearing along with the abdominal pain.
Frequently Asked Questions
Why does my child only complain of stomach pain on school days?
Pain tied to school days can be consistent with functional abdominal pain or school-related stress, but timing alone cannot rule out a medical cause. Stress can make the gut more sensitive, so the pain is real even when tests find no physical cause. Tell your pediatrician if it also comes with weight loss, blood, repeated vomiting, or waking at night.
Is my child faking the stomachache to avoid school?
Take a child's abdominal pain seriously even when stress or anxiety seems to be contributing. Functional abdominal pain is real pain, not pretending. Accusing a child of faking can damage trust and make it harder for them to tell you when something is wrong. Work with your pediatrician on a plan for school.
Should I keep my child home when their stomach hurts in the morning?
It depends on how your child looks and what your pediatrician has advised. Once concerning medical causes are ruled out, keeping normal routines and school attendance when your child is well enough can help reduce avoidance, and the school nurse can support your child if it flares. Keep your child home and call your pediatrician for severe pain, fever, repeated vomiting, or any warning sign above, and get emergency care for sudden severe pain or a rigid belly.
Could something my child eats for breakfast be causing this?
It can. Dairy causes symptoms in children with lactose intolerance, and a large or rushed meal can make reflux or functional pain feel worse. Rather than cutting foods on your own, keep a food-and-symptom record for your pediatrician. The ESPGHAN/NASPGHAN guideline cautions that restrictive diets can burden children, especially those at risk for disordered eating. NIDDK advises against starting a gluten-free diet before celiac testing, because it can affect the results.
When should I take my child to the pediatrician for stomachaches?
Schedule a visit if the pain keeps recurring, interferes with school or daily activities, or worries you; MedlinePlus lists abdominal pain lasting a week or longer, even if it comes and goes, as a reason to contact your provider. Weight loss, blood in the stool, repeated vomiting, fever, or pain that wakes your child from sleep call for a visit sooner.
What tests will the doctor run for recurring stomach pain?
Clinicians usually start with a detailed history and a physical exam. With warning signs such as weight loss or blood in the stool, NIDDK explains that doctors may order blood and stool tests, and sometimes imaging or an endoscopy, to look for other causes. A urine test is common with urinary symptoms, and your pediatrician decides which tests fit your child.
Can stress and anxiety really cause physical stomach pain in kids?
Stress and anxiety can contribute to stomach pain in children. NIDDK explains that problems with how the brain and gut work together can make the gut more sensitive, so a child may feel more abdominal pain. Anxiety is only one possible contributor, and a pediatrician still checks for other causes.
Related articles
Irritable Bowel Syndrome (IBS): Symptoms, Causes and TreatmentCeliac Disease: Causes, Symptoms, and DiagnosisStomach Bug or Food Poisoning? How to Tell the DifferenceSources
- MedlinePlus (NIH) - Abdominal pain - children under age 12
- NIDDK (NIH) - Definition & Facts for Irritable Bowel Syndrome in Children
- NIDDK (NIH) - Diagnosis of Irritable Bowel Syndrome in Children
- NIDDK (NIH) - Symptoms & Causes of Constipation in Children
- NIDDK (NIH) - Diagnosis of Celiac Disease
- MedlinePlus (NIH) - Appendicitis
- American Academy of Pediatrics (HealthyChildren.org) - Signs of Dehydration in Infants & Children
- ESPGHAN and NASPGHAN (pediatric gastroenterology societies) - ESPGHAN/NASPGHAN guidelines for treatment of irritable bowel syndrome and functional abdominal pain-not otherwise specified in children aged 4-18 years