Colestyramine is commonly used to treat diarrhea resulting from bile acid malabsorption. It was first used for this in Crohn's disease patients who had undergone ileal resection. The terminal portion of the small bowel (ileum) is where bile acids are reabsorbed. When this section is removed, the bile acids pass into the large bowel and cause diarrhea due to stimulation of chloride/fluid secretion by the colonocytes resulting in a secretory diarrhea. Colestyramine prevents this increase in water by making the bile acids insoluble and osmotically inactive.