Stomach Ache in Children: Causes and When to Worry
In short: Most stomach aches in children are caused by constipation, a tummy bug, wind or worry, and settle within a day or two with rest and fluids. See a doctor the same day if the pain is severe, keeps getting worse, moves to the lower right side, comes with green vomit, blood in the poo, a swollen hard tummy, or a child who is floppy, very pale or unusually drowsy.
Key takeaways
Constipation is the single most common cause of both sudden and repeated tummy pain in children.
Pain that starts around the belly button and then settles in the lower right side over several hours is the classic pattern of appendicitis and needs a same-day review.
In babies and toddlers aged 6 months to 3 years, waves of inconsolable screaming with legs drawn up, then quiet spells, can signal intussusception, a bowel emergency.
Around 1 in 10 school-age children have recurring tummy pain with no disease found; the pain is real and usually improves with reassurance, routine and good bowel habits.
In Malaysia, tummy pain in a child who has had a fever for a few days can be a dengue warning sign, especially as the fever comes down.
Why do children get stomach aches so often?
Children have sensitive guts, irregular toilet habits and little vocabulary for discomfort, so "my tummy hurts" covers everything from hunger to worry to a real illness.
A child with a sore throat or a urine infection may still say their tummy hurts, so the whole story matters more than where they point.
I see this often in clinic: a child with weeks of "tummy pain" who turns out to open their bowels only twice a week, or who holds in their poo at school because the toilets are unpleasant. The pain is real, but the fix is practical.
What are the most common causes?
Constipation. Hard, infrequent or painful poos, or soiling in the pants. Pain often comes and goes, and is worse after meals.
Gastroenteritis (a tummy bug). Cramping pain with vomiting and diarrhoea, often with other people at home or at taska affected.
Wind and indigestion. Fizzy drinks, eating fast, or large fatty meals.
Viral infections elsewhere. Colds and sore throats can cause swollen tummy glands (mesenteric adenitis) that mimic appendicitis.
Urinary tract infection. Pain low in the tummy, stinging when passing urine, new bedwetting, or fever without an obvious cause.
Stress and anxiety. Pain on school mornings, before exams or during family changes, that disappears on weekends and holidays.
Food-related causes. Food poisoning, and less often lactose intolerance or a food allergy.
Does the age of my child change what it might be?
Yes. In babies, crying with drawn-up legs is usually colic or wind, but intussusception needs to be considered from about 6 months to 3 years. In toddlers and preschoolers, constipation and tummy bugs dominate. In school-age children and teenagers, appendicitis becomes more common, recurring functional pain appears, and in teenage girls, period pain and ovarian problems enter the picture. In boys of any age, pain in the lower tummy can come from a twisted testicle, so always check.
How can I tell if it is appendicitis?
Appendicitis usually starts as a vague ache around the belly button, then over 6 to 24 hours moves to the lower right side and becomes sharp, constant and worse with movement.
Appendicitis is the most common reason children need emergency tummy surgery. It can happen at any age but is most common from around 10 years old. Younger children are harder to diagnose and their appendix can burst sooner.
What signs point towards appendicitis?
Pain that keeps getting worse over several hours rather than coming and going.
Pain that moves from the middle to the lower right side.
Your child does not want to walk, jump or cough because it hurts, or walks bent over.
Loss of appetite. A child with appendicitis rarely asks for food.
Vomiting that starts after the pain, and a low-grade fever.
A rough home guide: a child who happily hops on the spot is less likely to have appendicitis. A child who refuses or winces needs to be seen.
What is intussusception and who gets it?
Intussusception is when one part of the bowel slides into the next, like a telescope, causing blockage; it mostly affects children between 6 months and 3 years and is an emergency.
The typical pattern is sudden bouts of intense crying every 15 to 20 minutes, with the child pulling their knees up, going pale, then seeming quiet or sleepy in between. Vomiting follows, and later there may be poo mixed with blood and mucus, sometimes described as looking like red jelly. Do not wait for the blood to appear. Repeated episodes of inconsolable screaming in a baby or toddler need a same-day hospital assessment. When caught early, it can often be treated without an operation.
Why does my child keep getting tummy pain with no cause found?
Recurring tummy pain with normal examination and growth is usually functional abdominal pain, where the gut nerves are oversensitive; it is common, real and not dangerous.
Functional abdominal pain affects roughly 1 in 10 school-age children. The pain is usually around the belly button, lasts minutes to a few hours, and does not wake the child from sleep. Children grow well, eat normally and look healthy between episodes.
Can stomach pain be a sign of dengue in Malaysia?
Yes. Persistent tummy pain or tenderness in a child who has had fever for 3 to 7 days is a recognised dengue warning sign and needs urgent assessment.
The dangerous phase of dengue often starts as the fever settles, around day 3 to 7. Tummy pain with repeated vomiting, lethargy, bleeding gums or passing little urine at this stage is serious. With the northeast monsoon bringing rain and stagnant water from November, dengue stays on my mind when any child in the Klang Valley has fever and tummy pain together.
When to see a doctor, and when not to worry
Most tummy aches are mild and pass within a day; the warning signs below tell you when the pain needs a doctor today or soon.
Usually fine to watch at home
Mild pain that comes and goes, and your child is still playing between episodes.
Pain that eases after passing wind or opening the bowels.
A tummy bug with diarrhoea where your child is drinking and passing urine normally.
Pain on school mornings that disappears at weekends, with normal eating and growth.
Pain that has improved within 24 hours.
Book an appointment soon (within a few days)
Tummy pain that keeps coming back over weeks, even if mild.
Constipation that has not improved after a week of more fluids and fibre.
Stinging when passing urine, new bedwetting, or smelly urine.
Weight loss, poor growth, or a child who is eating less over weeks.
Recurrent mouth ulcers, joint pains, rashes or diarrhoea alongside the pain.
See a doctor the same day (or go to emergency)
Severe pain, or pain that keeps getting worse over a few hours.
Pain that has moved to the lower right side, or your child cannot walk, hop or jump because of it.
Green (bile-stained) vomit, or vomiting that will not stop.
Blood in the vomit or poo, or poo that looks like red jelly.
A swollen, hard or very tender tummy.
Waves of inconsolable screaming in a baby or toddler.
Pain or swelling in the testicles or groin.
Tummy pain after a fall, bicycle handlebar injury or other blow to the tummy.
Fever for several days with tummy pain, vomiting, bleeding or drowsiness (possible dengue).
Signs of dehydration: very little urine, dry mouth, no tears, sunken eyes.
Your child is floppy, very pale, confused or unusually sleepy.
What can I do at home for my child's stomach ache?
For mild pain, rest, small sips of fluid, a warm compress and a trip to the toilet help most children within hours.
Babies under 1 year
Keep feeding as usual, whether breast or formula.
Hold your baby upright after feeds and wind them gently.
Try gentle tummy massage in a clockwise direction, or "bicycle legs".
Watch wet nappies. Fewer than usual is a sign to seek help.
Toddlers and preschoolers
Offer water often, and avoid sugary and fizzy drinks.
Encourage sitting on the toilet for 5 minutes after meals, with feet supported on a small stool.
Offer fruit such as papaya, pear and prunes, plus vegetables and wholegrains.
School-age children and teenagers
A warm (not hot) water bottle wrapped in a towel on the tummy.
Keep a two-week diary of pain, meals, toilet habits and stressful days.
Keep your child at school if a doctor has confirmed functional pain. Missing school often makes the cycle worse.
Teach slow belly breathing or a short relaxation routine they can use when pain starts.
What not to do
Do not give strong painkillers, laxatives or anti-diarrhoea medicines without medical advice, as they can mask appendicitis or worsen some illnesses.
Do not use herbal tummy rubs or traditional remedies on babies.
Do not press hard or massage a tummy that is swollen, hard or very tender.
Do not wait for a fever to appear before seeking help for severe or worsening pain.
Do not dismiss repeated pain as "attention seeking", even when stress is a factor.
From Dr Nisa's clinic [DR NISA TO CONFIRM OR REWRITE]: Many families come to me worried about a serious illness after weeks of tummy pain. Often the most helpful thing I do is ask about toilet habits, sleep and school, and check growth carefully. Constipation and worry explain a large share of what I see. When the examination and growth are normal, parents usually feel much calmer, and that calm helps the child too. I always explain the warning signs clearly, so families know exactly when to come back.
Worried about your child's stomach ache?
I am Dr Nisa Khalil, a consultant paediatrician with more than 18 years of experience caring for children, based at ParkCity Medical Centre in Kuala Lumpur. If your child's tummy pain keeps coming back or you are unsure what it means, I can assess them, check their growth and talk through a plan with you, in English or Bahasa Melayu.
Book an appointment or start an online eConsult. For severe pain or any same-day warning sign above, go to your nearest emergency department.
You may also find these helpful:
Frequently asked questions
Where is appendicitis pain in a child?
Appendicitis pain usually starts around the belly button, then moves to the lower right side of the tummy over several hours. It becomes sharp and constant, and worse with walking, coughing or bumps in the car. Younger children may not localise the pain well and may simply be unwell, off food and reluctant to move. Any child with worsening pain in the lower right side needs to be seen the same day.
Can stress cause stomach pain in children?
Yes. Anxiety is a common trigger for real, physical tummy pain in children, because the gut and brain are closely linked. The pain often appears on school mornings or before stressful events and fades on weekends and holidays. It is important to have a doctor check first for other causes. Once those are excluded, addressing the worry, keeping routines and staying in school usually helps.
How long should a stomach ache last before seeing a doctor?
A mild stomach ache that is improving should settle within 24 to 48 hours. See a doctor if it lasts longer than that, keeps coming back over weeks, or is getting worse rather than better. Do not wait at all if the pain is severe, moves to the lower right side, or comes with green vomit, blood in the poo, a swollen tummy or a very unwell child.
Should I give my child painkillers for a tummy ache?
Paracetamol can be used for comfort in a child with a mild tummy bug or viral illness, following the dose on the pack for their weight and age. Avoid giving painkillers to cover up severe or worsening pain before your child has been examined, because it can make appendicitis harder to recognise. Do not give laxatives or anti-diarrhoea medicine without advice from a doctor or pharmacist.
What should I feed a child with a stomach ache?
Offer small amounts of plain, easy food such as rice porridge, toast, bananas or plain biscuits, and plenty of fluids in small sips. Your child does not need to eat much for a day if they are drinking well. Avoid oily, spicy and very sugary foods until they feel better. If they refuse fluids, keep vomiting or pass very little urine, see a doctor.
Medically reviewed by Dr Nisa Khalil on [DATE]. This article is general information and does not replace a consultation with your own doctor.
References
Worried about your child?
Book an appointment with Dr Nisa Khalil for calm, evidence-based paediatric care when your child is unwell.
Book an appointment
