Disclosed herein is a novel gastroretentive delivery system of macrolide consisting of a hydrophilic swellable floating matrix system either alone or in combination with a bioadhesive system, which comprises super-disintegrants together with hydrophilic polymers and in-situ gelling agents to improve the gastroretention of dosage forms.