Loperamide is used to treat diarrhoea alongside an oral rehydration solution, which is a combination of water, salts & glucose. It can also be used on its own to treat certain conditions characterised by long-term diarrhoea such as irritable bowel syndrome (IBS).