This research was related to the preparation of Floating Drug Delivery System, consisted of hydrogel chitosan-poly(N-vinyl pyrrolidone) with chitosan compositions: PVP monomer 70:30 and formaldehyde 2% used as crosslinking agent. Two kinds of pore-forming agent were used in this research, which were potassium carbonate (K2CO3) and potassium bicarbonate (KHCO3) with variation of concentrations 0%, 1%, 2.5%, 5%, and 7.5% to the total mass of the initial reagents. The success of this research depends on the fast floating lag time and long floating time, as much as the percentage of the drug (amoxycillin) loading in the hydrogel and controlled drug release. FTIR characterization was used to analyze the changes of functional groups. Microscope Stereo Optical was used to identify the morphology of hydrogel and microcapsules. The best result showed that KHCO3 7.5% produced hydrogel which have the floating lag time of 14 minutes 2 seconds, floating time > 3 hours, 86% of encapsulation efficiency of amoxycillin trihydrate and dissolution capability up to 100%.