An instantly floating gastroretentive drug formulation comprising at least one functionalized natural and/or synthetic calcium carbonate-comprising mineral and at least one pharmaceutically active ingredient and at least one formulating aid wherein said functionalized natural or synthetic calcium carbonate is a reaction product of natural or synthetic calcium carbonate with carbon dioxide and one or more acids, wherein the carbon dioxide is formed in situ by the acid treatment and/or is supplied from an external source.