logo

When Stomachaches, Headaches, or Sleep Problems May Be Related to Anxiety

Jun 22, 2026
Child resting on couch with stomachache
Recurring stomachaches, headaches, or sleep problems without a clear medical cause may be connected to anxiety. Dr. Sean Park at Lighthouse Pediatrics in Issaquah explains what the pattern looks like and what to watch for.

Parents often arrive at a visit having already ruled out quite a bit. The stomachaches have been going on for weeks, there is no fever, no vomiting, no clear pattern around food, and the pediatrician has not found anything on exam. Or the headaches keep coming back, usually on school mornings, and ibuprofen helps for a while but the headaches return. Or a child who used to fall asleep easily has started taking an hour to settle, coming out of their room repeatedly, and waking up in the middle of the night. In each of these situations, anxiety is one of the more common and underrecognized contributors, and it is worth understanding why before assuming the symptoms do not have a real explanation. When Anxiety in Children Starts to Affect Daily Life introduces the broader pattern of how anxiety shapes daily routines; this article focuses on how it shows up in the body.

When the Body Carries What the Mind Cannot Say

Children are not always able to identify anxiety as the source of what they are feeling. Younger children especially tend to experience emotional stress as physical sensation first, before they have the vocabulary or self-awareness to connect the two. A child who is dreading something does not necessarily think "I am anxious about school." They notice that their stomach hurts. A child managing social worry before a birthday party does not say "I feel overwhelmed." They feel a headache coming on. The physical symptoms are real, not fabricated, and dismissing them as "just nerves" misses what the child is actually experiencing. This mind-body connection is well established in both children and adults, but it tends to be more pronounced in children precisely because emotional processing is still developing. Recognizing it changes how you approach the symptom, since treating the physical complaint alone rarely resolves the pattern if anxiety is the underlying driver. How Anxiety Can Look Different in Children Than Adults covers this broader picture of indirect presentation in more detail.

Stomachaches and the Gut-Brain Connection

Recurring abdominal pain is one of the most common physical presentations of anxiety in children, and one of the most frequently worked up without a clear medical finding. The pattern that tends to suggest anxiety as a contributor is timing and context. Stomachaches that are more likely connected to anxiety often share some of these features:

  • They appear consistently on school mornings or before transitions and social situations
  • They tend to resolve on weekends, holidays, or during low-demand stretches
  • They are not tied to eating, do not involve fever or vomiting, and have not produced any findings on exam
  • They may lead a child to ask to stay home, and the stomach pain often improves once that request is granted

The gut and brain communicate bidirectionally, and anxiety can genuinely alter gut motility, sensitivity, and comfort in ways that produce real abdominal pain. This is sometimes called functional abdominal pain, and while it can have several contributors, anxiety is among the most common. It is also worth noting that a child who has learned their stomach pain leads to staying home from school may develop a reinforcing cycle, where avoidance of the anxiety-provoking situation provides temporary relief, which in turn strengthens the pattern.

Headaches as an Anxiety Signal

Headaches in children often prompt their own workup, and for good reason, since there are many potential causes worth ruling out. But tension-type headaches, which are among the most common headaches in school-age children, have a well-established connection to stress and anxiety. The timing clues are similar to stomachaches: headaches that cluster around school mornings, Sunday evenings, or before specific situations, and that tend to improve on days when demands are lower, are worth considering in the context of what else is going on emotionally. Children with anxiety may also carry physical tension in their neck, shoulders, and jaw in ways they are not consciously aware of, contributing to headache frequency. Treating the headache with pain relief without addressing the underlying anxiety tends to produce a repeating cycle rather than a lasting improvement. This does not mean every recurring headache is anxiety-related, but when the pattern and context fit, it is worth exploring as part of the picture rather than in isolation.

Sleep as One of the First Things to Go

Sleep disruption is often one of the earliest and most consistent signs that a child is managing anxiety. Bedtime removes the distractions that keep worry at bay during the day, and for an anxious child, the quiet of the bedroom can feel like the moment when everything they have been pushing aside comes back. This shows up as difficulty falling asleep, frequent requests to come out of the room, repetitive questions or reassurance seeking at bedtime, nighttime waking with worry, or resistance to the whole process of settling down. Over time, the bed itself can become associated with the uncomfortable feeling of lying awake with worry, which makes it harder to settle even on nights when the child is not consciously thinking about anything specific. Sleep deprivation then compounds anxiety during the day, creating a cycle that can be difficult to interrupt without addressing both the sleep pattern and what is driving it.

What to Bring to a Visit

One of the most useful things a parent can do before a visit about recurring physical symptoms is track the timing and context, not just the symptom itself. Before coming in, it helps to be able to answer questions like:

  • When do the symptoms tend to appear, and is there a consistent trigger or setting?
  • Do they improve on weekends, school breaks, or low-demand days?
  • Has anything changed recently at school, at home, or in the child's social life?
  • How long has the pattern been going on, and has it been getting more frequent?

In my experience, this contextual information changes what I can learn in a visit considerably, and it often points toward anxiety as a contributor before we have even talked about worry directly. That kind of observation shifts the conversation from "my child has stomachaches" to something much more specific and useful.

At Lighthouse Pediatrics, visits are long enough to actually work through this kind of history rather than focusing only on the symptom in front of us. If you have been noticing a pattern and are not sure whether it is worth bringing up, it is. How Pediatricians Think About Anxiety in Children goes into more detail about how I approach these conversations and what I am looking for when a family brings these concerns to a visit. For situations where the question is less about a physical exam and more about making sense of a pattern you have been observing, telehealth visits can also be a practical option. If you are wondering whether Lighthouse Pediatrics might be a good fit for your family, the membership page has more on how the practice works.

Related Articles

About the Author

Dr. Sean Park is a board-certified pediatrician and founder of Lighthouse Pediatrics in Issaquah, Washington. His practice focuses on thoughtful, relationship-based care for children and families across Issaquah, Sammamish, Bellevue, and the broader Eastside.

Recurring stomachaches, headaches, and sleep problems are among the most common concerns families bring to Dr. Park when no clear medical cause has been found. Understanding the connection between these physical symptoms and anxiety is something he addresses regularly in visits, and it often reframes how families think about what their child is experiencing.