Loperamide (loe PER a mide) treats occasional diarrhea. It works by slowing down an overactive bowel, which decreases the number of bowel movements. It belongs to a group of medications called antidiarrheals. It is often used for a short period of time. This medicine may be used for other purposes; ask your health care provider or pharmacist if you have questions.