Stomachaches That Keep Coming Back: When It’s Anxiety, When It’s Something Physical, and How to Tell the Difference
The pattern usually emerges gradually.
At first it is occasional. The child says their stomach hurts on a Tuesday morning. They stay home. By the afternoon they seem fine. Then it happens again the following week. And the week after. The doctor finds nothing. The child is otherwise well. But the stomachaches keep coming, with a timing that the parent has started to notice — school mornings, before tests, on the days when something difficult is happening.
This is one of the most common patterns I encounter in my work with families, and one of the most misunderstood. Not because the parents are failing to pay attention — they are paying extremely close attention, often more than they need to. But because the question they are usually asking is “is this real or is this anxiety?” — and that question, I want to suggest, is built on a false distinction.
The stomachache is real. Anxiety produces real physical symptoms, through mechanisms that are increasingly well-understood. The question is not whether it is real. The question is what is driving it, what that means for the child, and what the response should be. Those are different questions, and they have different answers.
Table of Contents
The Gut-Brain Connection: Why Stress Produces Physical Symptoms
The gastrointestinal system is sometimes called the “second brain” — not as a metaphor, but because it contains approximately 100 million neurons and operates with a degree of autonomy that no other organ system except the actual brain possesses. The enteric nervous system, embedded in the gut wall, can function independently of the central nervous system and communicates with the brain bidirectionally through the vagus nerve. This communication runs in both directions: the brain affects the gut, and the gut affects the brain.
When the brain is under stress — when the stress response system is activated — a cascade of physiological changes occurs throughout the body. The digestive system is one of the systems most directly affected. In the acute stress response, digestion is suppressed (energy is diverted toward fight or flight). But in chronic, low-level stress — the kind that a child who is chronically anxious about school might experience — the effects on the gut are different and more complex. Gut motility changes. Gut sensitivity increases. The threshold at which ordinary gut sensations become perceptible — and potentially painful — drops.
This means that a child under chronic stress experiences genuine gastrointestinal discomfort that they are not imagining and that has a real physiological basis. The discomfort is produced by the interaction between their stress response system and their gut, not by a structural or pathological problem in the gut itself. But from the inside — from the child’s subjective experience — it feels exactly like a stomachache. Because it is a stomachache.
This is why the “is it real or is it anxiety?” framework is unhelpful. It implies that anxiety-related symptoms are somehow less real than symptoms with a structural cause. They are not less real to the child experiencing them. They are, however, different in their mechanism and therefore different in what helps.
How Common Is This?
Recurrent abdominal pain — defined as three or more episodes of abdominal pain over at least three months, severe enough to affect the child’s functioning — affects approximately 10 to 15% of school-age children. It is one of the most common chronic complaints in paediatric practice.
Research on the causes of recurrent abdominal pain in children has evolved significantly over the past few decades. Earlier research tended to look for organic causes — structural, pathological, or infectious explanations — and found them in a minority of cases. The large majority of recurrent abdominal pain in children, somewhere between 90 and 95% in most studies, does not have an identifiable organic cause. This does not mean these children are faking. It means the cause is functional — related to how the gut is functioning and responding to internal and external stressors, rather than to structural pathology.
The term most used in the current literature is Functional Abdominal Pain Disorders (FAPDs), which encompasses a spectrum of conditions including irritable bowel syndrome, functional dyspepsia, abdominal migraine, and functional abdominal pain not otherwise specified. What these conditions share is that the gut is producing real pain in the absence of identifiable structural disease, typically because of a combination of gut hypersensitivity, altered motility, and — in most children — psychological factors including anxiety, stress, and emotional processing difficulties.
The Pattern That Points Toward Anxiety
There are specific features of recurrent abdominal pain that, taken together, suggest that anxiety or psychological stress is a significant driver. None of these features is diagnostic on its own, but the pattern is recognisable and clinically useful.
The pain is reliably associated with specific situations or contexts. School mornings are the classic pattern — pain that appears reliably before school and resolves or diminishes once the school day decision has been made (whether the child stays home or manages to go). Sunday evening pain is another classic pattern. Pain before specific events — tests, sports competitions, social situations — is another. When the temporal pattern of the pain has a clear relationship to stressful situations, that relationship is information.
The pain resolves during holidays and weekends more reliably than it resolves on school days. This is not always the case, but when it is, the pattern is significant. A child whose stomach pain is consistently better during periods of lower demand is showing you something about the relationship between their stress load and their gut symptoms.
The pain is located around the belly button and is difficult for the child to describe precisely. Functional abdominal pain typically presents as periumbilical — around or near the navel — in contrast to the more localised pain of many organic conditions. It tends to be diffuse and variable in quality rather than sharp and consistent.
The child has other anxiety-associated symptoms. Difficulty sleeping, reluctance to separate from parents, excessive worry about performance, physical complaints in other systems (headaches, nausea) — the presence of a broader anxiety profile alongside the abdominal pain increases the likelihood that anxiety is a significant factor.
The child is otherwise thriving. A child with functional abdominal pain driven by anxiety typically has good appetite, normal growth, normal energy levels between pain episodes, and no systemic features — fever, weight loss, blood in stool — that would suggest an organic process.
| Feature | More Consistent With Functional / Anxiety-Related | More Consistent With Organic Cause |
|---|---|---|
| Timing pattern | Associated with specific stressful situations; better at weekends and holidays | Unpredictable; not consistently related to context |
| Pain location | Around the navel; diffuse; hard to pinpoint | Localised; consistent location; away from navel |
| Associated features | Anxiety symptoms; sleep difficulty; other physical complaints in other systems | Fever; weight loss; blood in stool; vomiting; pain waking from sleep |
| Growth and appetite | Normal growth; appetite maintained; energy between episodes normal | Poor growth; reduced appetite; fatigue persisting between episodes |
| Family history | Family history of anxiety, IBS, functional gut disorders | Family history of inflammatory bowel disease, coeliac disease, other organic GI conditions |
| Response to reassurance | Temporary improvement with reassurance or removal of stressor | No response to reassurance; pain persists regardless of emotional context |
When the Physical Cause Matters: What to Exclude
I want to be clear that functional abdominal pain is a diagnosis by consistent positive pattern, not merely by exclusion. Most children with recurrent abdominal pain do not need extensive investigation, and over-investigating children with classic functional presentations is common, expensive, and often counterproductive — it reinforces the idea that something physically wrong must be found and inadvertently communicates to the child that their pain is mysterious and potentially serious.
That said, certain features warrant investigation because they indicate that an organic cause is genuinely more likely.
Pain that consistently wakes the child from sleep is one of the most important red flags. Functional pain does not typically wake children from sleep. Pain that consistently wakes a child is more likely to have an organic cause and warrants assessment.
Any blood in the stool — whether bright red (suggesting lower GI bleeding) or dark and tarry (suggesting upper GI bleeding) — requires investigation. This is not an emergency if the child is otherwise well, but it is not a symptom to observe and monitor at home.
Persistent fever alongside abdominal pain. Fever with abdominal pain is common with viral illnesses and typically resolves quickly. Persistent or recurrent fever with abdominal pain is a different pattern and warrants evaluation.
Significant involuntary weight loss. A child who is losing weight without trying to, alongside abdominal pain, needs investigation for inflammatory bowel disease, coeliac disease, and other conditions that produce malabsorption.
Pain that is consistently in the right lower quadrant of the abdomen — the area of the appendix and the terminal ileum. This location is particularly associated with Crohn’s disease and should be investigated.
A family history of inflammatory bowel disease (Crohn’s disease or ulcerative colitis), coeliac disease, or other significant GI conditions increases the prior probability of an organic cause and lowers the threshold for investigation.
For the majority of children with recurrent abdominal pain who have none of these features, a basic medical assessment including clinical examination and a small number of blood tests (full blood count, inflammatory markers, coeliac antibodies) combined with a urine test, is sufficient to rule out the most common organic causes. Beyond that, investigation should be guided by specific clinical features rather than parent or patient anxiety.

What Happens When You Miss the Anxiety
I want to spend some time on this, because it matters in both directions.
The child with functional abdominal pain driven by school anxiety who is repeatedly investigated for organic causes without anyone asking about their emotional life is a child who is learning something important and unhelpful: that they have a mysterious physical problem that doctors keep looking for and not finding, and that staying home from school because of stomach pain is a legitimate and supported response to an unresolved medical issue.
This creates a pattern that is very difficult to shift. The pain becomes embedded in the child’s identity as a sick person. The avoidance of school becomes habitual and increasingly hard to reverse as the social and academic gaps widen. The family’s life organises increasingly around the symptom. And the actual driver — the anxiety — remains unaddressed and often intensifies.
I have worked with families where this pattern has been established for two or three years before anyone suggested that anxiety might be the primary issue. The subsequent work to reverse the school avoidance, the anxiety, and the somatic identity is significantly harder than it would have been if the pattern had been identified and addressed in the first few months.
The equally damaging error is dismissing the pain as “just anxiety” in a way that communicates to the child that their pain is not real, is their fault, or is something they should simply overcome. This approach damages the relationship between parent and child, fails to address the anxiety that is driving the symptoms, and leaves the child feeling both physically unwell and emotionally invalidated.
The accurate middle position — “your stomach pain is real and it is connected to what you are feeling; let’s work on both together” — is the one that leads somewhere useful.
What Actually Helps
The management of functional abdominal pain with a significant anxiety component requires addressing both the gut symptoms and the anxiety, because they are part of the same system.
Validate the pain without reinforcing avoidance
This is the most practically difficult balance to strike, and it is the one that matters most. The child’s pain is real and deserves acknowledgment. “I know your stomach really hurts” is true and important. What comes after matters enormously. “And I think going to school will actually help” is a very different continuation from “so you’d better stay home.” Both acknowledge the pain. One maintains the expectation of normal functioning. The other reinforces the association between pain and avoidance.
The research on pain and avoidance is consistent: avoidance reduces pain in the short term and increases it in the long term. A child who stays home every time their stomach hurts before school develops a stronger association between school and pain, stronger avoidance behaviour, and a more entrenched somatic response. A child who is supported to attend school despite the stomach pain — not forced, not dismissed, but supported — gradually weakens the association and reduces the pain frequency over time.
Address the anxiety directly
If anxiety is a significant driver of the pain, treating the anxiety is treating the pain. This sounds obvious but is often not acted on. Cognitive behavioural therapy for anxiety has a strong evidence base in children from around age six or seven, and specific adaptations for somatic complaints (CBT-S) show good outcomes for functional abdominal pain. A child who learns to identify anxious thoughts, challenge them, and manage the physical symptoms of anxiety through breathing and other regulatory techniques is a child who is developing tools that directly reduce the gut-brain stress response.
The Anxiety Canada resources for parents on physical symptoms of anxiety in children provide accessible, evidence-based guidance on recognising and responding to anxiety-driven physical complaints, including practical techniques appropriate for different ages.
Manage the family response to the pain
The way a family responds to a child’s stomachache shapes the pain trajectory over time in ways that are increasingly well-documented. High parental attention and concern about pain symptoms — repeated checking, prolonged conversations about the pain, visible parental distress about the child’s suffering — is associated with increased pain frequency and severity, not decreased. This is not because the parent’s concern is wrong but because heightened attention to pain signals amplifies pain perception in the child’s nervous system.
A warm, matter-of-fact response — acknowledging the pain, maintaining normal expectations where possible, not organising the family’s day around the symptom — is associated with better outcomes. This is genuinely counterintuitive and genuinely difficult for parents who are watching their child suffer. But the evidence supports it consistently.
Dietary and lifestyle factors
For some children with functional abdominal pain, dietary factors play a contributing role. High intake of fermentable carbohydrates (FODMAPs — found in certain fruits, vegetables, dairy, and wheat products) can trigger gut symptoms in children with irritable bowel syndrome. A trial of a low-FODMAP diet, conducted with the guidance of a paediatric dietitian, is appropriate for children whose symptoms suggest IBS and for whom anxiety management alone has not been sufficient.
Regular physical activity, adequate sleep, and reduced screen time all have beneficial effects on both gut function and anxiety, and are worth recommending as part of the overall management approach.
| Approach | What It Addresses | Evidence Strength |
|---|---|---|
| Cognitive Behavioural Therapy (CBT / CBT-S) | Anxiety; pain perception; avoidance behaviour | Strong — most consistently supported psychological intervention |
| Maintaining normal functioning despite pain | Avoidance behaviour; pain-avoidance association | Strong — avoidance consistently shown to maintain and worsen symptoms |
| Gut-directed hypnotherapy | Gut hypersensitivity; pain perception | Moderate to strong — good evidence in IBS-predominant presentations |
| Low-FODMAP dietary trial | Gut motility and sensitivity in IBS-type presentations | Moderate — effective for a subgroup; requires dietitian guidance |
| Reduced parental attention to pain | Pain amplification through attention | Moderate to strong — consistent with pain science literature |
| Regular physical activity | Anxiety; gut motility; overall wellbeing | Moderate — beneficial across multiple symptom dimensions |
The School Attendance Question
This is where most families find themselves stuck, and I want to address it directly.
Should a child with recurrent anxiety-driven stomachaches attend school on the days when the pain is present? In most cases, the answer is yes — with appropriate support. Not because their pain is not real, but because school attendance is one of the most important therapeutic interventions available for anxiety-driven school avoidance, and avoidance is the most powerful maintainer of both the anxiety and the somatic symptoms.
The child who stays home every time the stomach hurts is being protected from the discomfort in the short term while the anxiety strengthens and the avoidance becomes more entrenched. The child who goes to school, with parental support and the reassurance that the stomach pain will likely ease once the difficult morning transition is past, is doing something harder but significantly more therapeutic.
This does not mean sending a child to school in genuine medical distress. It means distinguishing, as best you can, between the stomachache that is the anxiety response to the anticipated stress of school, and the stomachache that is a sign of illness. The former typically improves once the child is at school and engaged. The latter does not.
Working with the school to have a safe person and a safe plan — a trusted adult the child can go to if the pain is severe at school, a protocol that does not immediately call the parent for every episode — is an important practical piece. The child needs to know that there is support available at school, not that school is a place where they will be alone with pain.
When to Get Professional Help
A GP or paediatrician should be involved if recurrent abdominal pain has been present for three months or more, if the pattern is interfering significantly with school attendance or daily life, or if any of the red flag features described earlier are present.
A referral to a child psychologist or therapist is appropriate when anxiety is clearly a significant factor and the child’s functioning is being meaningfully impaired — particularly if school avoidance has become established. CBT delivered by a trained therapist is more effective than parental management alone for significant anxiety, and earlier referral produces better outcomes than late referral after avoidance patterns have solidified.
A referral to a paediatric gastroenterologist is appropriate if the initial investigations suggest an organic cause, if the functional diagnosis does not fit the clinical picture, or if the symptoms have not responded to appropriate initial management over several months.
For the connection between anxiety and physical health in children more broadly — and the specific way that emotional regulation difficulties manifest as physical symptoms — the article on why children who are always tired may have something other than a sleep problem covers the same gut-brain and stress-physiology territory from a different angle, and the piece on headaches in children addresses the same patterns of recurrent physical symptoms in a different body system.
Frequently Asked Questions
How do I know if my child’s stomachache is real or anxiety?
Both. Anxiety produces real physical symptoms through documented neurophysiological mechanisms. The question is not whether the pain is real but what is driving it. The pattern of the pain — when it occurs, what makes it better or worse, whether it is associated with specific stressful situations — tells you more about the driver than the intensity of the pain does. A child who has stomach pain reliably before school and not at weekends is telling you something important about the relationship between their stress and their gut.
Should I keep my child home when they have a stomachache before school?
For recurrent anxiety-driven stomachaches, keeping a child home consistently reinforces the avoidance pattern and tends to increase both the anxiety and the pain frequency over time. Supporting the child to attend school — with acknowledgment of the pain and appropriate support at school — is generally more therapeutic than avoidance. That said, this requires judgement: a child who is genuinely unwell should stay home; a child whose stomachache is the anxiety response to anticipated school stress generally benefits from attending, with support.
My doctor says nothing is wrong. Why does the pain keep happening?
Because functional pain does not require a structural cause to be real. The gut is one of the systems most directly affected by the stress response, and in children with anxiety or chronic stress, gut sensitivity is increased and genuine pain results from this increased sensitivity rather than from pathological changes in the gut. “Nothing physically wrong” does not mean the pain is imaginary. It means the mechanism is functional rather than structural, and that the treatment approach is different from what would be used for an organic cause.
At what age can a child start CBT for anxiety?
Adapted forms of CBT are used with children from around age five or six, though the approach is modified significantly for younger children to use more concrete, play-based techniques rather than verbal cognitive methods. For the treatment of anxiety with somatic symptoms, CBT is typically most effective from around age seven or eight, when the child has sufficient cognitive development to engage with the cognitive components. Parent-focused CBT — in which parents are trained in CBT principles to support their child — can be effective with younger children.
Could food be causing my child’s stomachaches?
Possibly, particularly if the pain has a consistent relationship to eating specific foods or if IBS-type symptoms — bloating, altered bowel habits, urgency — are present. A trial of reduced FODMAP intake, conducted with the guidance of a paediatric dietitian, is appropriate for children whose symptoms suggest IBS involvement. Coeliac disease should be excluded early in the investigation of recurrent abdominal pain, as it can cause gut pain through a different mechanism and is identified by a simple blood test.
My child has stomach pain and is also refusing to go to school. What do I do?
This pattern — somatic symptoms combined with school avoidance — warrants professional involvement sooner rather than later. School avoidance that is established and entrenched is significantly harder to reverse than avoidance that is caught and addressed early. A GP referral to a child psychologist or therapist who works with school refusal and anxiety is appropriate. In the meantime, maintaining the expectation of school attendance, with appropriate support and a clear plan for managing pain at school, is the right approach even if it is difficult in the short term.
Younes Kehal is a Professional Educational Director and School Coach with over 20 years of experience working directly with children, families, and educational institutions. The guidance published on Parenting Assist is rooted in real field experience and evidence-based developmental science.
