Diarrhea is a common condition with a wide range of causes. It is most often caused by a viral or bacterial infection, but can also be caused by certain medications, food intolerances, or an underlying medical condition. The severity and duration of diarrhea can vary greatly, depending on the cause.
In most cases, diarrhea lasts for a few days to a week, and resolves on its own. Viral infections, such as rotavirus, are usually the most common cause of short-term diarrhea, lasting no more than a few days. Bacterial infections, such as salmonella, can cause diarrhea that lasts up to a week or more.
However, if the cause of the diarrhea is an underlying medical condition, the diarrhea can last much longer. For example, people with irritable bowel syndrome (IBS) often experience bouts of diarrhea that can last for weeks or even months. Other medical conditions, such as inflammatory bowel disease (IBD), can also cause persistent diarrhea that lasts for weeks or months.
In some cases, diarrhea can be a sign of a more serious medical condition, such as a food allergy, celiac disease, or an infection with a parasite. If the diarrhea lasts more than a few days, it is important to seek medical attention to determine the cause and receive appropriate treatment.