Diarrhea is a major cause of morbidity and mortality in developing countries. The mainstay of treatment is to correct fluid and electrolyte imbalance through oral rehydration therapy or IV fluids. Specific treatment depends on the cause and includes antimicrobial agents for infectious diarrhea and anti-motility drugs for non-infectious diarrhea. Anti-motility drugs like loperamide work by increasing intestinal transit time through mu and delta opioid receptors while anticholinergics decrease bowel motility and secretion. Antimicrobials are useful for specific infections while anti-inflammatory drugs are used for conditions like ulcerative colitis.