med study partner

Articles & Guides › Articles › Pediatrics & Puerperium

Colic, reflux, food protein allergy and constipation in infants and children

How to recognize infant colic and support the family, how physiologic reflux in a happy spitter differs from reflux disease and why acid suppression is usually unhelpful, how allergic proctocolitis, FPIES and IgE-mediated cow's milk allergy differ in timing and severity, and how functional constipation is broken with polyethylene glycol and toilet routines while red flags point to Hirschsprung disease.

Pediatrics & Puerperium · 9 min read · Reviewed 2026-11-22

Crying, spitting up, blood in the diaper and hard stools are among the most common reasons parents bring an infant to a clinician. Most of these problems are normal developmental stages or benign functional disorders that need reassurance and practical advice rather than tests and medicines. The skill lies in recognizing the few red flags that point to something else.

This article covers infant colic and gastroesophageal reflux, food protein-induced disorders and cow's milk allergy, and functional constipation. Pyloric stenosis, malrotation, intussusception, Hirschsprung disease and eosinophilic esophagitis are covered in the gastroenterology articles.

Key points

  • Colic is prolonged crying in a healthy, thriving infant ("rule of threes"); it starts at 2–3 weeks, peaks around 6 weeks and fades by 3–4 months. Support the caregivers and warn them never to shake a baby.
  • Most infants spit up, peaking around 4 months. A happy spitter who is growing needs reassurance; acid suppression doesn't help crying or spitting and raises infection risk.
  • Reflux disease means reflux with poor weight gain, esophagitis, breathing complications or Sandifer posturing; try a cow's milk protein-free diet first.
  • Allergic proctocolitis causes blood-streaked stools in a well baby; FPIES causes delayed, repeated vomiting, pallor and lethargy; IgE-mediated allergy causes hives or anaphylaxis within minutes.
  • Functional constipation begins with withholding at transitions such as toilet training. Treat with disimpaction and months of daily polyethylene glycol. Delayed meconium, onset from birth or failure to thrive suggests Hirschsprung disease.

Infant colic and gastroesophageal reflux

Infant colic

Colic is recurrent, prolonged, hard-to-soothe crying or fussing in an otherwise healthy infant who is growing well. The classic "rule of threes" is crying for 3 hours or more a day, on 3 or more days a week, for 3 weeks or more, often in the late afternoon or evening, with drawn-up legs and a red face[1,2].

  • It begins at about 2–3 weeks, peaks at about 6 weeks and resolves by 3–4 months.
  • Its cause is unknown. It is a diagnosis of exclusion after a normal history and examination, which should look for a hair tourniquet around a finger or toe, a corneal abrasion, a fracture, an incarcerated hernia, infection and an anal fissure.
  • Management is reassurance and support for the caregivers: soothing with swaddling, rocking, white noise, a pacifier or a car ride, and permission to lay the crying baby safely in the crib and take a break. Never shake a baby: inconsolable crying is the leading trigger of abusive head trauma. A trial of maternal dietary change or hydrolyzed formula helps a minority with suspected cow's milk protein allergy, simethicone doesn't help, and there is some evidence for the probiotic Lactobacillus reuteri in breastfed infants.

Physiologic reflux

Gastroesophageal reflux is the effortless passage of stomach contents into the esophagus or mouth. It is normal in infants, who have a short esophagus, frequent relaxations of the lower esophageal sphincter, a liquid diet, a small stomach and spend much of their time lying down. Most infants spit up; it peaks at about 4 months and usually resolves by 12–18 months[3].

  • A "happy spitter", who is growing well, feeding well and not distressed, needs reassurance and practical advice: smaller, more frequent feeds, avoiding overfeeding, burping, and holding the baby upright after feeds. Thickened feeds reduce visible spitting.
  • Sleep position doesn't change: infants still sleep on their back.
  • Acid suppression with proton pump inhibitors or H2 blockers isn't recommended for uncomplicated reflux or crying. It doesn't reduce spitting or crying, and it raises the risk of infections such as pneumonia, gastroenteritis and C. difficile[3].

Reflux disease

Gastroesophageal reflux disease is reflux that causes troublesome symptoms or complications[3]:

  • poor weight gain or feeding refusal;
  • esophagitis, with irritability during feeds or blood in vomit;
  • breathing complications: aspiration, apnea or wheeze;
  • Sandifer syndrome, with arching and head tilting that can look like seizures.

The first step is a 2- to 4-week trial without cow's milk protein, through maternal elimination or extensively hydrolyzed formula, because milk protein allergy can mimic reflux disease. A time-limited trial of acid suppression follows if needed, with endoscopy or pH-impedance testing for unclear cases.

Red flags that suggest something other than reflux

  • Bilious (green) vomiting: malrotation with volvulus, a surgical emergency.
  • Projectile vomiting at 2–8 weeks in a hungry baby: pyloric stenosis.
  • Vomiting that starts after 6 months, blood in vomit or stool, fever or lethargy.
  • A bulging fontanelle, a rapidly growing head or seizures: raised intracranial pressure.
  • An enlarged liver or spleen, persistent diarrhea or constipation, or failure to thrive.

Worked example

A 5-week-old girl spits up a mouthful after most feeds and occasionally brings up a whole feed. Between feeds she is content, she is gaining weight along the 60th percentile and the vomit is milky, never green. She is a happy spitter. Her parents are shown how to pace feeds, burp her and hold her upright for 20 minutes afterward, and they are told to return if the vomiting becomes green or projectile, or if she stops gaining weight.

Food protein-induced disorders and cow's milk allergy

Cow's milk protein is the most common trigger of food allergy in infancy. Reactions can be IgE-mediated, non-IgE-mediated (driven by T cells) or mixed.

DisorderMechanismTypical presentationTesting and management
IgE-mediated cow's milk allergyType I hypersensitivityMinutes to 2 hours after the food: hives, swelling, vomiting, wheeze, anaphylaxisPositive skin prick or specific IgE tests; strict avoidance and an epinephrine autoinjector. Many children outgrow it
Food protein-induced allergic proctocolitisNon-IgEA well, thriving infant in the first weeks to months, often breastfed, with blood-streaked, mucous stools; no vomiting or weight loss. Eosinophilic inflammation of the rectum and sigmoidA clinical diagnosis. Remove cow's milk protein from the mother's diet, and sometimes soy, and keep breastfeeding; or use extensively hydrolyzed formula. The blood clears over days to weeks, and it usually resolves by 12 months
Food protein-induced enterocolitis syndrome (FPIES)Non-IgE, T-cell-mediated gut inflammationRepeated, profuse vomiting 1–4 hours after the trigger food, then pallor, lethargy and sometimes low blood pressure and low temperature, with diarrhea later. Triggers include cow's milk, soy, rice, oats and egg, often when solids start. Easily mistaken for sepsis[4]Skin and IgE tests are negative. Treat with intravenous fluids and ondansetron; epinephrine doesn't help. Avoid the trigger; most children outgrow it
Eosinophilic esophagitisMixed, Th2-drivenOlder children with food sticking, trouble swallowing or feeding refusalSee the gastroenterology articles

Lactose intolerance isn't an allergy and is uncommon in infancy; congenital lactase deficiency is very rare. It becomes common after early childhood in many populations, and a temporary form can follow gastroenteritis.

Worked example

A 6-month-old girl eats rice cereal for the first time. About 2 hours later she begins vomiting over and over, becomes pale and floppy, and arrives at the emergency department with a fast heart rate and cool hands. She has no rash or wheeze. After an intravenous fluid bolus and ondansetron she recovers within a few hours. Delayed, repeated vomiting and lethargy after a new solid food, without hives, is FPIES; rice is a common trigger, and allergy tests would be negative.

Functional constipation

Functional constipation causes more than 90% of constipation in children. It often begins at a transition, such as starting solids or cow's milk, toilet training or starting school, when one painful stool leads a child to hold stool in. The rectum stretches, the stool hardens and the next stool hurts more, a vicious cycle[5].

Features

The Rome IV criteria require two or more of the following for at least a month[1,2]:

  • two or fewer stools a week;
  • withholding behavior: stiffening, crossing the legs, hiding in a corner;
  • painful or hard stools;
  • large stools that may clog the toilet;
  • a large mass of stool in the rectum;
  • in a toilet-trained child, fecal incontinence (encopresis), as liquid stool leaks around a hard mass and is often mistaken for diarrhea.

Abdominal pain, poor appetite and urinary problems (infections and wetting) often come with it.

Red flags for an underlying cause

  • Delayed passage of meconium beyond 48 hours in a term newborn, or onset in the first month: Hirschsprung disease.
  • Failure to thrive, bilious vomiting or severe distension.
  • An empty rectum with an explosive release of stool after a rectal examination.
  • Abnormal leg neurology, or a sacral dimple or tuft of hair (spinal dysraphism or tethered cord), or an abnormally placed anus.
  • Other causes: hypothyroidism, celiac disease, lead poisoning, high calcium, cystic fibrosis and infant botulism.

Management

  1. Explain the cycle to the child and family, without blame or punishment, and keep a stool diary.
  2. Disimpact a rectal mass with high-dose oral polyethylene glycol for several days, or with enemas.
  3. Maintain with daily polyethylene glycol, the first-line laxative in children, adjusted to one or two soft stools a day and continued for months before a slow wean. Lactulose is an alternative, and stimulant laxatives such as senna are used for rescue.
  4. Toilet routine: sitting on the toilet for 5 minutes after meals, using the gastrocolic reflex, with a footstool and rewards for sitting.
  5. Adequate fluids and fiber, and not too much cow's milk.

Relapse is common, and stopping laxatives too early is the most frequent mistake[5].

Worked example

A 3-year-old who started toilet training 4 months ago now passes a stool only once a week, hides behind the sofa and crosses her legs when she needs to go, and recently produced a stool so large it blocked the toilet. She was a normal newborn and is growing well. A firm mass is felt in her lower abdomen. This is functional constipation. She is disimpacted with polyethylene glycol, then kept on a daily dose with a sticker chart for sitting after meals, and her family is told to expect several months of treatment.

Common confusions

  • Physiologic reflux versus reflux disease versus pyloric stenosis: a happy, growing baby versus poor growth, esophagitis or breathing problems versus projectile, nonbilious vomiting at 3–6 weeks in a hungry baby.
  • Allergic proctocolitis versus FPIES versus IgE-mediated allergy: a well baby with bloody stools versus a sick baby with delayed, repeated vomiting versus rapid hives and anaphylaxis with positive tests.
  • Functional constipation versus Hirschsprung disease: onset at toilet training with withholding and a full rectum versus delayed meconium, onset from birth, distension, an empty rectum and failure to thrive.
  • Encopresis versus diarrhea: liquid stool leaking around impacted stool is overflow, and antidiarrheal drugs would make it worse.

References

  1. Benninga MA, Nurko S, Faure C, Hyman PE, St James Roberts I, Schechter NL. Childhood functional gastrointestinal disorders: neonate/toddler. Gastroenterology. 2016;150(6):1443-1455.e2. doi:10.1053/j.gastro.2016.02.016 Link ↩
  2. Zeevenhooven J, Koppen IJN, Benninga MA. The new Rome IV criteria for functional gastrointestinal disorders in infants and toddlers. Pediatr Gastroenterol Hepatol Nutr. 2017;20(1):1-13. doi:10.5223/pghn.2017.20.1.1 Link ↩
  3. Rosen R, Vandenplas Y, Singendonk M, et al. Pediatric gastroesophageal reflux clinical practice guidelines: joint recommendations of the North American Society for Pediatric Gastroenterology, Hepatology, and Nutrition and the European Society for Pediatric Gastroenterology, Hepatology, and Nutrition. J Pediatr Gastroenterol Nutr. 2018;66(3):516-554. doi:10.1097/MPG.0000000000001889 Link ↩
  4. Nowak-Węgrzyn A, Chehade M, Groetch ME, et al. International consensus guidelines for the diagnosis and management of food protein-induced enterocolitis syndrome: executive summary—Workgroup Report of the Adverse Reactions to Foods Committee, American Academy of Allergy, Asthma & Immunology. J Allergy Clin Immunol. 2017;139(4):1111-1126.e4. doi:10.1016/j.jaci.2016.12.966 Link ↩
  5. Tabbers MM, DiLorenzo C, Berger MY, et al. Evaluation and treatment of functional constipation in infants and children: evidence-based recommendations from ESPGHAN and NASPGHAN. J Pediatr Gastroenterol Nutr. 2014;58(2):258-274. doi:10.1097/MPG.0000000000000266 Link ↩

Test yourself in the Question Bank · Listen to the podcasts