Diarrhea is caused by frequent, urgent bowel movements and the presence of loose, watery feces. Acute or persistent diarrhea may occur. Acute diarrhea is characterized by a duration of one to two days. You may get diarrhea due to a viral or bacterial infection caused by anything you ate or drank.