Formulation of a gastroretentive extended release tablet of metformin based on polymethacrylamide-g-gellan (Pmaa-g-GG)-tamarind seed gum (TSG) composite matrix is the main purpose of this study. Tablets were prepared employing wet granulation method taking amount of Pmaa-g-GG, TSG and NaHCO3 (SBC, buoyancy contributor) as independent formulation variables. The tablets were then evaluated for in vitro drug release, buoyancy, ex vivo mucoadhesion, swelling and surface morphology. Compatibility between drug and excipients was checked by DSC, FTIR and XRD analysis. Buoyancy-lag-time, mucoadhesive strength, % drug release and release-rate constant were statistically analyzed using Design-Expert software (version 9.0.4.1) and the formulation was then numerically optimized to obtain USP-reference release profile. The optimized formulation showed excellent buoyancy over a 10 h period with buoyancy lag time of 2.76 min, significant mucoadhesion and drug release over a period of 10 h with f2 = 71.58. Kinetic modeling unveiled anomalous non-Fickian transport based drug release mechanism.