Diarrhea can last for a few days, or up to a few weeks if it's chronic. Your baby's healthcare provider may want to run tests to find out what is the source of your baby's diarrhea.