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

Why Baby Hates Tummy Time (and What You Can Do to Help)
Why Baby Hates Tummy Time (and What You Can Do to Help)
By Nehal Aggarwal
toddler playing stem toy blocks
Amazon Prime Day Deals on STEM Toys for Babies and Kids
By Stephanie Grassullo
collage of developmental toys for babies and toddlers
25 Best Newborn & Baby Toys That Help With Development and Learning
By Kelsey Paine
Toddler Sleds Hero
7 Best Toddler Sleds for Snowbound Fun
By Korin Miller
The 29 Best Toys for 18-Month-Old Tots, According to Developmental Experts-hero
The 29 Best Toys for 18-Month-Old Tots, According to Developmental Experts
By Danielle Halibey
Newborn Toys Hero
The 18 Best Newborn Toys to Engage Your Little One
By Danielle Halibey
top view of baby wearing a christmas santa onesie
16 Ways to Make Baby’s First Christmas Extra-Festive
By Ashlee Neuman
The best toy car garages for your little one's collection-hero
The Best Toy Car Garages for Your Little One's Collection
By Lynsey Eidell
Toys for kids with autism HERO
20 Best Toys for Kids With Autism
By Lynsey Eidell
Best Baby Play Mats and Activity Gyms-hero
The 9 Best Baby Play Gyms and Activity Mats for Baby’s Development
By Emma O'Regan-Reidy
two moms reading to baby on the couch at home
When to Start Reading to Baby, According to Experts
By Katherine Martinelli
The Best Farm Toys for the Littlest Animal Lovers
By Danielle Halibey
Mom teaching her baby object permanence with two toys.
How and When Do Babies Develop Object Permanence?
Medically Reviewed by Lauren Crosby, MD
Toys for 8 month old-hero
The Best Toys for 8-Month-Olds, According to Experts
By Martina Garvey
winter themed gift boxes
10 Great Gifts for Kids on Oprah's Favorite Things List
By Wyndi Kappes
Best Toddler Playhouses Hero
The 15 Best Toddler Playhouses for Outdoor Fun
By Emma O'Regan-Reidy
Best Kids Advent Calendars
27 Big-Kid, Toddler and Baby Advent Calendars for Christmas
By Stephanie Grassullo
Stocking Stuffers for Kids-hero
30 Festive Stocking Stuffers for Baby (and Toddlers Too)
By Lynsey Eidell
Babys First Christmas Ornaments-hero
The Best “Baby’s First Christmas” Ornaments to Add to Your Tree
By Elizabeth Nelson
happy little girl and her dad playing with musical instruments
7 Ways to Help Your Kids Develop Good Mental Health
By Lisa Milbrand
Article removed.
Article removed.
Name added. View Your List