When experiencing diarrhea, it's an advisable list of foods to eat when you have diarrhea and replenish lost nutrients. Some options include bananas, white rice, applesauce, toast, boiled potatoes, plain crackers, cooked carrots, and chicken broth. These foods are gentle on the stomach and can help firm up stools. It's also crucial to stay hydrated by drinking clear fluids like water, herbal teas, and electrolyte-rich beverages. Avoid spicy, fatty, and dairy-rich foods until symptoms subside. If diarrhea persists, seek medical advice.