How long does it take for a cat to adapt to a new brand of cat food?



If I change cat food brands immediately, how long will the cat have diarrhea?