A mesalamine rectal suppository having improved comfort of use and better retention in lower rectum for a long period of time is provided. The suppository contains a suppository base, at least one surfactant and at least one mucoadhesive agent. A method for manufacturing the suppository and methods for treating ulcerative colitis, such as active ulcerative proctitis, using such suppository is also provided.