Loperamide and breastfeeding It's generally safe to take loperamide for a couple of days while you're breastfeeding. Very small amounts of loperamide may get into breast milk but not enough to harm your baby. If you want to take loperamide for more than 2 days, talk to your doctor.