Dogs can safely eat rice, and it is often recommended by veterinarians, especially white rice, for dogs experiencing gastrointestinal issues such as diarrhea. Rice is non-toxic to dogs and provides vitamins, minerals, and easily digestible carbohydrates that can help with digestion. White rice is generally the preferred type for dogs with upset stomachs because it is bland and easy to digest, whereas brown rice is more nutritious but harder for dogs to digest and is better suited for healthy dogs. However, rice should be fed plain without any seasonings, and it should not be a regular or excessive part of the diet, particularly for dogs with diabetes or obesity due to its high glycemic index. It is always best to introduce rice gradually and consult a veterinarian before making it a significant part of a dog's diet.