Loperamide is an antidiarrheal medication that slows down the intestines to treat diarrhea. It's sold under the brand name Imodium, among others. How it works: Loperamide slows down the movement of food through the gut, allowing the body to absorb more water from the intestines. This results in firmer stools and fewer bowel movements.