Why Babies Pull Their Legs to Their Chest

Is your little one continually pulling up their legs? Here's what it could mean and how to ease baby's discomfort.
save article
profile picture of Wendy Sue Swanson, MD
By Wendy Sue Swanson, MD, Pediatrician
Updated August 6, 2020
Hero Image
Image: Yuko Hirao
We have included third party products to help you navigate and enjoy life’s biggest moments. Purchases made through links on this page may earn us a commission.

Does baby seem like they’re trying to fold into the fetal position, pulling their legs up toward their chest? It could be a sign of something going on in the abdomen. Read on to learn why babies pull their legs to their chest and how to ease any discomfort.

Why Do Babies Pull Up Their Legs?

Here’s the thing: Babies pass gas pretty much all day long, and sometimes simply changing positions—like pulling their legs toward their chest—can help them fart more comfortably.

However, on rare occasions, pulling up the legs can be a sign of a serious medical condition called intussusception, which occurs when part of the intestine pulls into itself, like a telescope. This can block the passage of food and cut off blood supply to the area, and it can be very serious. According to the Mayo Clinic, intussusception is the most common cause of intestinal obstruction in children younger than 3, although the cause of most cases of intussusception in children is unknown.

Signs of intussusception include:

  • Sudden, loud crying
  • Pulling knees to the chest when they cry
  • Stool mixed with blood and mucus
  • Vomiting
  • A lump in the abdomen
  • Lethargy
  • Diarrhea
  • Fever

Children with intussusception may have one or more of the above symptoms; some may experience no pain, while others may have just pain and no other symptoms. The pain of intussusception comes and goes at first, usually every 15 to 20 minutes. These painful episodes last longer and happen more often as time passes.

What to Do When Baby Pulls Up Their Legs

To treat your little one’s gas, try gently rubbing baby’s tummy in a clockwise direction or lay them face-down across your knees, gently moving your legs to massage their belly. You can also try burping baby or holding them upright after feedings.

Related Video

When to Call the Doctor

In most cases, baby is pulling up their legs simply to try to relieve themselves of gas pains, and it (along with the gas) shall pass. However, if they’re crying loudly every few minutes and their cries are growing louder and longer, and if they have other symptoms like fever, vomiting or bloody or mucus-like stool, or appears otherwise severely out of sorts, you should immediately call your doctor, who can provide a diagnosis and suggest treatment.

Updated February 2020

Wendy Sue Swanson, MD, MBE, FAAP, is a pediatrician, author and media contributor. She is the past chief of digital innovation at Seattle Children’s Hospital and wrote the Seattle Mama Doc blog on behalf of the hospital from 2009 to 2019. She now blogs at and is the author of *Mama Doc Medicine: Finding Calm and Confidence in Parenting, Child Health and Work-Life Balance. Follow her on Instagram @drwendysueswanson.*

save article

Next on Your Reading List

Article removed.
Name added. View Your List