This depends on what’s causing your dog’s upset stomach. It’s best to talk with your vet to come up with a plan for how long to keep your dog on a bland diet, as it’s best not to do it for an extended period due to a lack of essential nutrients.