Mesalazine, also known as mesalamine or 5-aminosalicylic acid, is a medication used to treat inflammatory bowel disease, including ulcerative colitis and Crohn's disease. It is generally used for mildly to moderately severe disease. It is taken by mouth or rectally.