The purpose of this research was to prepare a gastroretentive drug delivery system of Metoprolol tartrate. Sodium bicarbonate & citric acid were incorporated as a gas-generating agent. The effects of citric acid & sodium bicarbonate on drug release profile and floating properties were investigated. A 32 full factorial design was applied to systemically optimize the drug release profile. The amounts of hydroxypropylmethylcellulose K15M (X1) & hydroxypropyl methylcellulose K100M (X2) were selected as an independent variables & lag time (Y1), float time (Y2), percent drug release (Y3) were selected as dependent variables. According to the results of the full factorial design combination of HPMC K15M & HPMC K100M polymer favours the sustained release of Metoprolol tartrate from a gastroretentive formulation. A theoretical dissolution profile was generated using pharmacokinetic parameters of Metoprolol tartrate. No significant difference was observed between the release profile of batches F2,F3, F7, F8. But, batch F5 showed the highest release among all the batches, i.e. percent drug release (97.11%), and also same batch F5 have lag time (49 sec) and float time (12hrs) values.