Does pyloric stenosis cause yellow bile in the vomit?

Not bile. Technically, there can be no bile in the emesis of a patient with pyloric stenosis. The pylorus is the muscular valve that controls exit of contents from the stomach. When the pylorus is stenotic, it is virtually closed, and the patient vomits out all gastric contents. Bile enters the GI tract in the duodenum downstream from the pylorus and stomach, so it can't be in the emesis of such a patient.
No. Bile is green. Babies with pyloric stenosis also have hyperbilirubinemia and this can cause the gastric secretions to take on a yellow hue.

Related Questions

Best thing I've come up with from projectile vomiting is pyloric stenosis. Is that the only cause?

No. The term projectile vomiting has been most commonly associated with pyloric stenosis but it is only a descriptive phrase for forceful vomiting. Many things can also cause forceful vomiting. It depends on age of patient, symptoms associated, fever, etc. Pyloric stenosis is typically in infants < 1 m old, 1st born males and is a progressive non bilious vomiting that leads to electrolyte imbalance. Read more...
For infants. For infants under 3 months of age, pyloric stenosis is a common cause of projectile vomiting. Other causes may include severe gastroesophageal reflux and intestinal obstruction. Read more...

How long does vomiting associated with pyloric stenosis last?

Till corrected. Pyloric stenosis results from thickening and hypertrophy of the pyloric muscle which can constrict the outlet of the stomach resulting in vomiting. Once the muscle is opened surgically the vomiting will cease in the post operative period. Be cautioned that vomting can recurr if infant is overfed. Read more...
Till after surgery. Once pyloric stenosis is surgically corrected the baby can resume feeding several hours after surgery. Vomiting should be cured unless infant is overfed. Read more...
Pyloric stenosis. Is a surgical intervention. Once it is fixed , there should be no issues of vomiting . Read more...

My 8 week old has been projectile vomiting for a few weeks, we took him doctors to be told it was possibly gastroenteritis. It's still going so we took him hospital who checked for pyloric stenosis as all his symptoms fit. But it's also not that. They are

Follow up. Continue to address the problem until you have an answer. Have his growth and particularly his weight followed to see if he is thriving. If his weight is increasing you have more time to,sort this out. If he is loosing weight then it becomes more urgent. All the best. Read more...