With adults, the most common cause of diarrhea by far is infectious. Most of the time it's self-limiting, but if it lasts for more than a few days, call your physician and ask for a stool test. Other causes might include a food allergy or intolerance, an autoimmune disease like celiac, or inflammatory bowel disease. Less common causes include diverticulitis or cancer.