The study aimed to develop gastroretentive drug delivery system of nifedipine, its optimization, and in vivo evaluation. Bilayered tablet of nifedipine was prepared using central composite design with 3 factors, 5 responses, and 15 experimental trials. Response surface methodology along with numerical and graphical optimization was used to select the best formulation. Scanning electron microscopy study of optimized tablet at different time interval was carried out which showed formation of porous structure on the tablet surface. In vivo studies for optimized formulation were carried out on 10 healthy human volunteers and obtained pharmacokinetic parameters were compared with the marketed formulation, "Nicardia XL." Optimized formulation containing 3.083mg HPMC K15M, 29.859mg HPMC E15LV, and 3.541mg Carbopol 974P releases the drug in a desired manner and remain buoyant for more than 12h in human stomach. Both the formulations were found to have similar in vitro release profile (f1 4.5089 and f2 55.8274) and also were found to be bioequivalent. Finally, the stability study of the optimized formulation proved the integrity of the optimized formulation. Hence, the data suggest gastroretention as a promising approach to enhance bioavailability of nifedipine.