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.
ByWendy Sue Swanson, MD
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.*

Please note: The Bump and the materials and information it contains are not intended to, and do not constitute, medical or other health advice or diagnosis and should not be used as such. You should always consult with a qualified physician or health professional about your specific circumstances. Plus, more from The Bump:

Dad smiling and looking at his baby daughter.

How to Address Your Child’s Developmental Delay During the Pandemic

profile picture of Jocelyn M. Wood, CCC-SLP
Jocelyn M. Wood, CCC-SLP
Speech language pathologist
Baby practicing tummy time.

Introducing Tummy Time to Baby

profile picture of Bonnie Vengrow
Bonnie Vengrow
Contributing Writer
newborn head circumference measured growth

Baby Growth Chart

profile picture of Aviva Patz
Aviva Patz
Contributing Writer
happy mom holding and kissing her baby girl

Moms May Be Able to Smell Their Child’s Development, Study Says

profile picture of Nehal Aggarwal
Nehal Aggarwal
Associate Editor
newborn baby hiccups

Hiccups May Be Necessary for Newborn Brain Development, Study Finds

profile picture of Nehal Aggarwal
Nehal Aggarwal
Associate Editor
meghan edmond king's son stands for the first time

Toddler With ‘Irreversible Brain Damage’ Stands for the First Time

profile picture of Ashley Edwards Walker
Ashley Edwards Walker
Contributing Writer
toddler playing stem toy blocks

Amazon Prime Day Deals on STEM Toys for Babies and Kids

profile picture of Stephanie Grassullo
Stephanie Grassullo
Associate Editor
siblings playing outside in a backyard

The Three Lifestyle Habits Kids Need to Live a Healthy Life, According to WHO

profile picture of Stephanie Grassullo
Stephanie Grassullo
Associate Editor
Preschool boy brushing teeth looking in mirror.

Many Preschoolers Need to Change the Way They Brush Their Teeth, CDC Says

profile picture of Stephanie Grassullo
Stephanie Grassullo
Associate Editor
Article removed.