When you have a stomach bug, the color of your diarrhea usually shifts to yellow, green, or a pale brown. This happens because the virus speeds up the movement of food through your intestines, leaving less time for normal digestion processes to complete.
Why the color changes
Normally, bile is green when it first enters your small intestine. As it breaks down fats, it turns into brownish compounds that give stool its typical color. When a stomach bug like norovirus or rotavirus affects you, the gut lining gets irritated and inflamed. This inflammation causes the intestines to contract more frequently, pushing waste out faster than usual.
Because the waste moves so quickly, the bile doesn't have time to fully break down. This results in stool that looks yellow or bright green. The speed of transit is the main driver, not necessarily a change in the bile itself. If the transit is slightly slower, the stool may appear light brown, which is still within the range of normal variations during illness.
Common colors and what they mean
Yellow or green
This is the most common color for viral gastroenteritis. It indicates rapid transit. The green hue comes from unconjugated bile pigments, while the yellow tone suggests that some fats weren't fully absorbed. Both are signs that your body is trying to flush out the virus quickly.
Light brown or tan
If your stool is light brown, it means the transit time was moderate. The bile had some time to break down, but the process wasn't as complete as in a healthy state. This color is generally less alarming than bright green or yellow, as it suggests the gut is functioning somewhat normally despite the irritation.
When to worry about color
Most stomach bugs resolve on their own within a few days. However, certain colors are not typical for a simple viral infection and may indicate a different issue. If you see red blood or if the stool looks like black tar, stop and seek medical help. These colors can signal bleeding in the digestive tract, which is not a symptom of a standard stomach bug.
- Red stool: May indicate bleeding in the lower gastrointestinal tract.
- Black, tarry stool: Can signal bleeding in the upper gastrointestinal tract.
- White or clay-colored stool: Suggests a problem with bile flow, such as liver or gallbladder issues.
These signs require professional evaluation. Do not assume they are part of the stomach bug if they appear suddenly or persist.
Other symptoms to monitor
Color is just one part of the picture. Pay attention to the frequency and consistency of your bowel movements. Stomach bug diarrhea is usually watery and frequent. It may be accompanied by cramps, nausea, vomiting, and fatigue. Fever is also common, especially in the first day or two.
Keep track of how many times you go to the bathroom. If you are going more than ten times a day, or if you cannot keep fluids down, you are at higher risk for dehydration. Dehydration is the most serious complication of a stomach bug, not the diarrhea itself.
Managing symptoms at home
There is no specific cure for most stomach bugs. Treatment focuses on managing symptoms and preventing dehydration. Drink clear fluids like water, broth, or oral rehydration solutions. Avoid sugary drinks, caffeine, and alcohol, as these can worsen diarrhea and dehydration.
Eat bland, easy-to-digest foods when your appetite returns. The BRAT diet (bananas, rice, applesauce, toast) is a common recommendation, though you don't need to stick strictly to these four items. Avoid dairy, greasy foods, and high-fiber foods until your stomach settles. Rest is also important, as your body needs energy to fight the virus.
Most people recover within two to three days. If your symptoms persist beyond this window, or if they get worse, contact a healthcare provider. They can test for other causes like bacterial infection or parasitic illness, which may require specific treatment.