top of page

Stomachaches Before School: When a Child's Body Is Carrying Anxiety

Nov 5
13 min read

Last reviewed: 11/05/2026

Reviewed by: Dr. Kiesa Kelly


Stomachaches before school: the pain is real, a pediatrician comes first, and the worry can outlast the pain

It starts around 7:10, just as shoes are going on. "My stomach hurts." Your child looks pale and genuinely miserable. On Saturdays they eat pancakes and run around the yard without a complaint. By the time the car pulls into the school line, you are wondering whether you are about to send a sick child to class, or whether something else is going on.


Stomachaches are one of the physical ways anxiety can show up in children [2]. The pain is real, stress can turn its volume up, and a pediatrician comes first. This article covers how to tell the school-morning pattern apart from medical warning signs, what "functional abdominal pain" means, and what actually helps. If anxiety turns out to be part of it, our therapists work with parents, families, and teens.


In this article, you'll learn:

  • The school-morning pattern, and the red flags that send you to the pediatrician first

  • What functional abdominal pain is, and why it is a real diagnosis rather than "nothing"

  • How a pediatrician and a psychological evaluation each fit in

  • What helps on the morning itself, and what the treatment research shows

  • When it is time to get an evaluation


The short answer - the pain is real, stress can amplify it, and a pediatrician comes first

Recurring belly pain is common in childhood. A pooled analysis of 58 studies covering more than 196,000 children estimated that 13.5 percent have a functional abdominal pain disorder, with estimates across individual studies ranging from 1.6 to 41.2 percent [1]. These disorders are more common in girls and are associated with anxiety, depression, stress, and traumatic life events [1]. The CDC lists stomachaches, along with headaches and fatigue, among the physical symptoms anxiety can include in children, and notes that some anxious children keep their worries to themselves [2].


Three misconceptions tend to get in the way.


"If the doctor found nothing, the pain is made up." In reality, functional abdominal pain is real pain. Current pediatric criteria no longer require doctors to prove there is "no evidence for organic disease." Instead, the diagnosis applies when, "after appropriate medical evaluation," the symptoms cannot be attributed to another medical condition [3]. It is a positive diagnosis, not a shrug.


"It's just anxiety, so we can skip the pediatrician." In reality, constipation, food sensitivities, reflux, and other medical problems can cause recurring belly pain too [4]. A functional pain diagnosis can also sit alongside another medical condition that causes gut symptoms, such as inflammatory bowel disease [3]. The pediatrician is the right first stop every time.


"Once the stomachaches stop, the worry is gone." In reality, a long-term study followed 332 children seen for functional abdominal pain into their late teens and early twenties. They had higher rates of anxiety disorders than a comparison group (51 percent versus 20 percent over their lifetime), even when the pain had gone away, and in most the anxiety had started before the stomach evaluation [5]. The stomach can settle while the worry stays. The good news is that anxiety in children and teens is treatable [10], often with approaches such as CBT for anxiety.


🩺 Key takeaway: The pain is real, the pediatrician comes first, and if anxiety is part of it, it deserves attention of its own.

Signs and symptoms

The school-morning pattern

Seattle Children's describes a familiar pattern: belly pain around the start of the school year, before a big test, a game, or a performance [6]. Children with functional abdominal pain often describe it as vague or "all over," and episodes often last less than an hour [4]. A gastroenterologist at Seattle Children's puts the reassuring version plainly: children with functional abdominal pain are usually still eating, gaining weight, going to school, and sleeping at night [6].


Consider a composite example. Maya is eight. Most school mornings she says her stomach hurts during breakfast, and by the second week of a new term she is asking to stay home. Her parents notice that the pain almost never happens on weekends or during summer break, and that it is worst on Mondays and on days with spelling tests. Her appetite is fine, she is growing on track, and she sleeps through the night. Her pediatrician finds nothing worrying and suggests keeping a pain diary.


Or: Jonah is thirteen. His stomach starts churning the night before presentations and swim meets, and twice he has thrown up in the school bathroom before a test. Because vomiting is one of the warning signs below, his parents take him to the pediatrician first, who finds no medical cause. For a teen like Jonah, a psychological assessment can then help sort out what the worry is. He does not say he is worried. He says he is sick. When his parents look back, the pain lines up almost exactly with moments when he might be judged, which points toward performance or social worry.


Red flags that need a pediatrician first

SickKids' parent guide advises seeing your child's doctor if belly pain comes with any of the following [4]:

  • Weight loss or slowed growth

  • Significant vomiting or diarrhea

  • Fever

  • Persistent pain on the right side of the belly

  • Pain that wakes your child up at night

  • Blood in the stool

  • Pain or bleeding with urination, or feeling an urgent need to pee

  • A change in your child's usual stool pattern


Seattle Children's adds blood in vomit and severe disruption to daily life as reasons for prompt medical evaluation [6]. If none of these are present but the pain keeps coming back, keep a written pain diary: when it happened, how long it lasted, and what came just before. Bring it to the pediatrician [4]. If your child has severe or worsening pain, or you think it is an emergency, call 911 or go to the nearest emergency room.


⚠️ Key takeaway: A child who is eating, growing, and sleeping well, with pain that clusters around school stress, fits a stress-related pattern, but the pediatrician still confirms it. Any red flag means seeing the pediatrician promptly.

Stomachaches before school: red flags that need a pediatrician, and a stress-related pattern the pediatrician still confirms

Why it happens

The gut-brain connection: why anxious children feel it in the stomach

A gastroenterologist at Seattle Children's explains it with a stereo: the gut sends pain signals to the brain, and stress turns up the volume on how those signals are received [6]. That is why a worried child can feel real cramps, nausea, or the urge to use the bathroom. Our adult-focused guide to the physical symptoms of anxiety explains the stress response itself, so we will keep this short. What matters for children is that some anxious children keep their worries to themselves, so the symptoms can be missed and the body may say it first [2].


Functional abdominal pain: what the label means

"Functional" describes how the gut is working, not whether the pain is real. Under the current pediatric criteria, doctors can make a positive diagnosis from the symptom pattern, using "selective or no testing," once a medical evaluation has looked for other causes [3]. The same criteria note that these disorders can coexist with other medical conditions [3].


How anxiety and the stomach relate is still being worked out. A 2025 scoping review found only four studies that addressed anxiety disorders showing up as gut symptoms in children. Together they suggest a relationship between anxiety and functional gut disorders, but not which one drives the other [7]. One study linked anxiety to how severe belly pain was in children with irritable bowel syndrome, and another suggested gut disorders may raise the risk of anxiety. But one found anxiety might not predict belly pain later in childhood, and another found no difference in pain intensity between children with and without anxiety [7]. In our clinical experience, it usually works best to treat both as real, rather than to wait for a clean answer about which came first.


🧩 Key takeaway: Functional abdominal pain is a real, positive diagnosis. Anxiety and the stomach are linked, but research has not settled which one leads.

How it is assessed

Pediatrician first, then what a psychological evaluation adds

The pediatrician's job is to check for medical causes and red flags. A psychological evaluation adds a different set of questions: what is your child worried about, how much is the worry interfering with school, friends, and family life, and is it a passing reaction or an anxiety disorder? The CDC says a child may be diagnosed with an anxiety disorder when typical fears and worries are not outgrown, or when there are so many that they interfere with school, home, or play [2].


A careful evaluation usually draws on several sources: interviews with the child and parents, questionnaires, and sometimes information from teachers. It also looks at what else might be going on, such as learning or attention difficulties that make school feel threatening. At ScienceWorks, we offer psychological assessments for teens aged 12 to 17 and adults. For a younger child, your pediatrician can refer you to a child psychologist for the child's own evaluation.


Which anxiety patterns it can point to

The CDC lists several kinds of childhood anxiety [2]. In our clinical experience, the stomachache can attach to any of them, and its timing often hints at which:

  • Separation anxiety: being very afraid when away from parents. The pain tends to peak at drop-off and ease once the day is underway.

  • Social anxiety: being very afraid of places with people, such as school; in practice the fear is usually of being judged or embarrassed. The pain tends to track presentations, lunchroom time, or group work.

  • Generalized anxiety: ongoing worry that is hard to control and spreads across many situations. The pain may be less tied to one trigger.


The distinguishing pattern: in our clinical experience, timing is a useful clue. Pain that follows the calendar and the school bell suggests worry is involved. Pain that wakes a child at night, or comes with weight loss or other red flags, needs prompt medical review. Either way, the pediatrician sees it first, and the two can coexist.


📋 Key takeaway: The pediatrician rules things out. A psychological evaluation asks what the worry is, how big it is, and what kind of anxiety it might be.

What actually helps

On the morning itself: acknowledge the pain and keep the routine steady

Once the pediatrician has ruled out a medical cause, the morning response matters. If something is different that day, such as a fever, vomiting, a new kind of pain, blood in the stool or vomit, pain that wakes your child at night, or any other red flag above, treat it as new and call the pediatrician. Otherwise, in our clinical experience, it helps to name the pain calmly ("I know your stomach hurts, and I believe you"), keep the routine moving, and avoid a long negotiation each day about whether school is happening. Staying home brings quick relief, which is exactly why it can become a pattern: our guide to when lowering demands helps and when it becomes accommodation explains that trap and the parent-focused approach built to address it. If your child has started refusing or missing school, our post on school refusal covers working with the school team, so we will not repeat it here.


When parents disagree about how to respond, the stomachache can turn into a household tug-of-war. Our guide to what to expect from family therapy shows how families get on the same page.


Evidence-based options: CBT for functional abdominal pain and anxiety-focused CBT

Cognitive behavioral therapy (CBT) is a well-studied psychological treatment for children's functional belly pain. A 2024 meta-analysis of 10 randomized trials with 1,187 children found that CBT reduced pain intensity and disability and improved quality of life compared with usual care [8]. It did not find a significant difference between CBT and usual care in measured anxiety or depression [8]. A 2023 review of 14 trials with 858 children found improvements in pain, functioning, and psychological symptoms, but rated the evidence low to moderate in quality, and all of the trials had a high risk of bias [9]. Benefits held at short-term follow-up, but results were mixed over longer periods [9].


So in the trials so far, CBT for belly pain tends to reduce pain and help children get back to daily life, although the evidence is low to moderate in quality and the effect on anxiety itself is less certain. If an anxiety disorder is part of the picture, it deserves its own treatment, and for teens that often means CBT for anxiety. An American Academy of Child and Adolescent Psychiatry guideline concludes that CBT and a class of medicines called SSRIs both have considerable support as safe and effective short-term treatments for anxiety in children and teens [10]. Medication is a decision for your child's prescriber, not something to start or stop on your own.


What to be cautious of

  • Promises that one approach will "cure" the stomach and the anxiety at once. No trial has shown one approach reliably resolves both the pain and the anxiety [8][9].

  • Labels that dismiss the pain as attention-seeking. The pain is real, and in our clinical experience, dismissing it teaches a child to stop telling you.

  • Skipping the pediatrician because the pattern "looks like anxiety." Recurring belly pain has many possible medical causes [4], and a functional diagnosis can sit alongside another medical condition [3].

  • Endless testing once the pediatrician is satisfied. Current criteria allow a positive diagnosis with selective or no testing [3].


🛠️ Key takeaway: In trials so far, CBT tends to help children with functional belly pain hurt less and do more. Anxiety may need its own treatment alongside it.

What helps once a pediatrician rules out a medical cause: morning steps, CBT for belly pain, and anxiety treatment

When to get evaluated

In our clinical experience, it is worth asking about a mental health evaluation when the pediatrician has ruled out medical causes and any of these are true:

  • The stomachaches have lasted more than a few weeks, or keep returning each term

  • Your child is missing school, leaving early, or spending time in the nurse's office

  • Worry is showing up in other places: sleep, friendships, activities, or new fears

  • The mornings are straining the whole family


Parents' own stress counts too. If the mornings are wearing you down, our mental health screening page has brief self-report screeners for adults, including for anxiety.


Before you book, it helps to ask the clinician:

  • How will you assess anxiety, and will you also look at learning or attention difficulties?

  • Will you work with my child directly, with us as parents, or both?

  • How will you coordinate with our pediatrician and, if needed, the school?

  • How will we measure whether things are improving, and when would we change course?

  • What will we receive at the end: a diagnosis only, or a plan we can use at home and school?


🌱 Key takeaway: Once the pediatrician is satisfied, persistent pain, missed school, or spreading worry are all good reasons to ask about an evaluation.

Next step - getting support

A child with a stomachache on school mornings is not being dramatic, and you are not overreacting by taking it seriously. Start with the pediatrician, keep a simple pain diary, and keep mornings calm and predictable. If anxiety turns out to be part of the picture, it is very treatable. Our therapists work with parents and families, and with teens, and we offer psychological assessments for teens aged 12 to 17 and adults. For a younger child's own therapy or evaluation, your pediatrician can point you to a child psychologist, and we can still help you as a parent. You can meet our team to see who might be a good fit.


Anxiety running the show?

Evidence-based therapy can turn the volume down on anxiety — a clinician can help you find the approach that fits your life rather than a one-size-fits-all plan.



Frequently Asked Questions

Why does my child get a stomach ache every morning before school?

Often, stress is part of it. Stomachaches are a common physical symptom of anxiety in children, and in our clinical experience the body can react before a child can name the worry. Pain that clusters on school mornings, before tests, or performances fits that pattern. The pain is still real, and a pediatrician should check it first, because constipation, food sensitivities, and other medical causes can look similar.


How can I tell if my child's stomach ache is anxiety or something medical?

You usually cannot tell on your own, which is why the pediatrician comes first. Warning signs that need a doctor include weight loss or slowed growth, fever, significant vomiting or diarrhea, blood in the stool or vomit, pain that wakes your child at night, persistent pain on the right side of the belly, pain or urgency when peeing, and a change in stool pattern. A pain diary helps the pediatrician see the pattern.


What is functional abdominal pain in children?

It is recurring belly pain that, after an appropriate medical evaluation, cannot be explained by another medical condition, and the pain is real rather than imagined. Functional abdominal pain disorders as a group are common: a pooled analysis of 58 studies put them at about 13.5 percent of children and teens, though individual studies varied widely. Current criteria allow a positive diagnosis with selective or no testing once that evaluation is done.


Should I keep my child home when they have a stomachache before school?

If your child seems ill, has a fever, or has a warning sign such as significant vomiting or blood in the stool, call the pediatrician, who can tell you whether they should stay home and how soon to be seen. Once the pediatrician has ruled out a medical cause, the decision is worth making with them and, if anxiety is involved, a mental health clinician. In our clinical experience, a plan agreed in advance works better than deciding fresh each morning.


Will my child grow out of functional abdominal pain?

The pain often improves with time, but it is worth watching the anxiety as well as the stomach. In a long-term study, children seen for functional abdominal pain were more likely than a comparison group to have an anxiety disorder in their late teens and early twenties, even when the pain had gone away. In our clinical experience, getting help for anxiety early is a reasonable step, not an overreaction.


About the Author

Dr. Kiesa Kelly is a licensed clinical psychologist and the founder of ScienceWorks Behavioral Healthcare, with more than 20 years of experience in psychological assessment and evidence-based treatment. Her clinical work includes anxiety, OCD, trauma, and insomnia in teens and adults, along with ADHD and autism assessments for teens and adults, including sorting out what is driving a young person's distress before choosing a treatment approach.


She earned her PhD in Clinical Psychology with a concentration in Neuropsychology from Rosalind Franklin University of Medicine and Science, and completed practica, internship, and an NIH-funded postdoctoral fellowship focused on ADHD at the University of Chicago, the University of Wisconsin, the University of Florida, and Vanderbilt University. Dr. Kelly is a psychologist, not a physician, and does not prescribe medication.


References

1. Korterink JJ, Diederen K, Benninga MA, Tabbers MM. Epidemiology of pediatric functional abdominal pain disorders: a meta-analysis. PLoS One. 2015;10(5):e0126982. https://pubmed.ncbi.nlm.nih.gov/25992621/

2. Centers for Disease Control and Prevention. Anxiety and depression in children. 2026. https://www.cdc.gov/children-mental-health/about/about-anxiety-and-depression-in-children.html

3. Hyams JS, Di Lorenzo C, Saps M, Shulman RJ, Staiano A, van Tilburg M. Functional disorders: children and adolescents. Gastroenterology. 2016. https://pubmed.ncbi.nlm.nih.gov/27144632/

4. AboutKidsHealth, The Hospital for Sick Children. Recurrent abdominal pain (RAP) in children. Updated 2021. https://www.aboutkidshealth.ca/recurrent-abdominal-pain-rap-in-children

5. Shelby GD, Shirkey KC, Sherman AL, Beck JE, Haman K, Shears AR, et al. Functional abdominal pain in childhood and long-term vulnerability to anxiety disorders. Pediatrics. 2013;132(3):475-482. https://pubmed.ncbi.nlm.nih.gov/23940244/

6. Seattle Children's. Abdominal pain in kids: anxiety-related or something more? 2018. https://www.seattlechildrens.org/healthy-tides/abdominal-pain-in-kids-anxiety-related-or-something-more/

7. Kumar A, Vallabhaneni P. Anxiety disorders presenting as gastrointestinal symptoms in children - a scoping review. Clin Exp Pediatr. 2025;68(5):344-351. https://doi.org/10.3345/cep.2024.01732

8. Huang X, Jia N, Zhang Y, Hao Y, Xiao F, Sun C, et al. Effect of cognitive-behavior therapy for children with functional abdominal pain: a meta-analysis. BMC Gastroenterol. 2024;24(1):62. https://doi.org/10.1186/s12876-024-03120-2

9. Ma M, Yang M, Li Y, Hou L, Li M, Wang X, et al. Cognitive behavioural therapy for functional abdominal pain disorders in children and adolescents: a systematic review of randomized controlled trials. Behav Res Ther. 2023;169:104397. https://doi.org/10.1016/j.brat.2023.104397

10. Walter HJ, Bukstein OG, Abright AR, Keable H, Ramtekkar U, Ripperger-Suhler J, et al. Clinical practice guideline for the assessment and treatment of children and adolescents with anxiety disorders. J Am Acad Child Adolesc Psychiatry. 2020;59(10):1107-1124. https://pubmed.ncbi.nlm.nih.gov/32439401/


Disclaimer

This article is for informational and educational purposes only and is not a substitute for professional medical or mental health advice, diagnosis, or treatment. Recurring belly pain in a child should always be checked by a pediatrician, and only a qualified clinician can diagnose an anxiety disorder. If your child has severe or worsening pain, or you think it is an emergency, call 911 or go to the nearest emergency room.

bottom of page