Yellow vomit in a baby means bile is present, and it should always be taken seriously. Bile is a digestive fluid produced by the liver and released into the upper part of the small intestine. When something causes that fluid to travel backward into the stomach, it comes up as bright yellow or sometimes yellow-green vomit. In newborns especially, this can signal a surgical emergency, so understanding the possible causes and knowing when to act fast matters enormously.
What Makes the Vomit Yellow
Bile enters the digestive tract just past the stomach, in the second portion of the small intestine. Under normal circumstances, it flows downward to help break down fats. When something blocks the intestine below that entry point, or when repeated vomiting empties the stomach completely, bile gets pushed upward and comes out as yellow or greenish-yellow vomit. The color can range from pale yellow to neon green depending on how concentrated the bile is and how much it has mixed with other stomach contents.
The Most Urgent Cause: Intestinal Twisting
In a newborn, yellow (bilious) vomit is considered a sign of a twisted intestine, called volvulus, until proven otherwise. This happens when the bowel didn’t rotate into its normal position during development in the womb. The abnormal positioning allows the intestine to twist on itself, cutting off blood supply. Without treatment, the affected section of bowel can die within hours.
A baby with volvulus may start out fussy but consolable, then quickly become pale, limp, and lethargic. The belly often becomes swollen and tight. Other warning signs include no bowel sounds, bloody stool, poor feeding, sweating, and a dramatic drop in energy. Some babies deteriorate so rapidly they go into shock, with a slowing heart rate, falling blood pressure, and ashen skin color.
Bilious vomiting in a full-term newborn requires urgent attention because malrotation with volvulus is the most dangerous possibility on the list. When a baby also has a distended, tender abdomen, many surgeons will proceed directly to emergency surgery rather than wait for imaging, because every hour of delay risks permanent damage to the intestine. In less acute cases, doctors use ultrasound to look for a characteristic “whirlpool sign” where blood vessels twist around each other. If ultrasound is inconclusive, a contrast study where the baby swallows a liquid visible on X-ray can confirm or rule out the abnormal positioning.
Intussusception
Intussusception occurs when one section of intestine telescopes into the section next to it, creating a blockage. It’s most common between 3 months and 3 years of age. The hallmark is sudden, intense crying that comes in waves, typically every 15 to 20 minutes at first, with the baby pulling their knees up to their chest during each episode. Between episodes, the baby may seem surprisingly calm.
As the condition progresses, the painful episodes last longer and come more frequently. Vomiting, including bile-stained vomiting, often follows. Some babies pass stool that looks like currant jelly, a mix of blood and mucus with a dark reddish appearance. Others develop a noticeable lump in the belly. Some children, particularly older ones, have pain without the other classic signs, which can make diagnosis tricky.
Pyloric Stenosis
Pyloric stenosis involves a thickening of the muscle at the stomach’s exit, which gradually narrows the passage until very little food can get through. Symptoms typically appear between 3 and 6 weeks of age and are rare after 3 months. The classic pattern is projectile vomiting right after feeding, forceful enough to travel several feet. The vomiting starts mild and worsens over days to weeks as the passage continues to narrow.
Pyloric stenosis vomit is usually white or clear (the contents of the stomach before bile enters), not yellow. However, parents sometimes confuse the two, and severe, prolonged vomiting from any cause can eventually bring up bile. If your baby is projectile vomiting after every feed and seems constantly hungry, pyloric stenosis is a strong possibility regardless of the vomit’s color.
Stomach Bugs and Repeated Vomiting
In older infants, the most common explanation for yellow vomit is much less alarming: a stomach virus or food-related illness that has caused so much vomiting the stomach is empty. Once all the milk or food is gone, the only thing left to come up is bile-tinged fluid. Gastroenteritis in babies usually comes with diarrhea, low-grade fever, and fussiness, and it tends to resolve within a few days.
The yellow vomit itself isn’t the danger here. The real risk is dehydration, which happens faster in babies than in older children or adults because of their small body size and high fluid turnover. Signs of dehydration in a baby include fewer wet diapers than usual, crying with few or no tears, and a sunken soft spot (the fontanelle) on top of the head. If you notice any of these, your baby needs fluids and medical evaluation promptly.
How Age Changes the Picture
Your baby’s age is one of the most important clues in figuring out what yellow vomit means. Here’s a general framework:
- First few days to weeks of life: Bilious vomiting in a newborn is treated as a potential surgical emergency. Malrotation with volvulus is the primary concern. Even a single episode of yellow or green vomit in this age group warrants immediate medical evaluation.
- 3 to 6 weeks: Pyloric stenosis enters the picture, though its vomit is usually non-bilious. Malrotation remains a concern at any age in infancy.
- 3 months to 3 years: Intussusception becomes more likely. Stomach viruses also become increasingly common as babies start interacting with more people and putting objects in their mouths.
- Any age: A bad stomach bug can produce yellow vomit once the stomach is empty. Context matters: a baby who has been vomiting frequently for hours and then produces yellow fluid is in a very different situation from a baby whose first vomit of the day is bright yellow.
What Doctors Look For
When you bring a baby in with yellow vomit, the evaluation moves quickly. Doctors will examine the belly for swelling, tenderness, and visible loops of intestine. They’ll check for signs of dehydration and assess whether the baby looks well or critically ill. In newborns, ultrasound is typically the first imaging tool because it’s fast, doesn’t involve radiation, and is highly accurate at identifying a twisted intestine. The radiologist looks for the whirlpool sign, where blood vessels and tissue wrap around each other in a spiral pattern, which confirms volvulus.
If ultrasound findings are unclear, a contrast study provides a more definitive answer. The baby swallows (or receives through a tube) a liquid that shows up on imaging, allowing doctors to trace the path of the intestine and spot any abnormal positioning or blockages. In cases where the baby is deteriorating rapidly, surgeons may skip imaging entirely and operate based on clinical judgment alone.
What to Watch For at Home
A single episode of pale yellow spit-up in an otherwise happy, feeding baby who has been vomiting repeatedly from a stomach bug is very different from bright yellow or green vomit in a newborn who has never vomited before. The features that raise the alarm include:
- Bright yellow or green vomit as the first or early symptom rather than appearing only after hours of vomiting
- A swollen or hard belly
- Blood in the stool or stool that looks like dark jelly
- Rapidly worsening behavior: going from fussy to limp, pale, or unresponsive
- Refusal to feed combined with increasing lethargy
- Signs of dehydration: dry mouth, sunken fontanelle, very few wet diapers
Any yellow or green vomit in a baby under a few months old, especially if it’s the first episode or comes on suddenly, needs same-day medical evaluation. In a newborn, it needs emergency evaluation. For older babies who have been sick with a stomach bug and are vomiting yellow after their stomach empties, the priority shifts to keeping them hydrated and watching for the dehydration signs listed above.

