The duration of dog diarrhea often depends on the cause. Diarrhea due to stress or ingesting inappropriate food may resolve in a matter of days if the dog is otherwise healthy and eating a proper diet. However, long-term diarrhea lasting weeks to months may result from causes such as intestinal parasites, food allergies, or inflammatory bowel disease, among others.