This research aimed to create facile, reusable, hydrogel-based anion exchange resins that have been modified with two different amines to test their ability to adsorb nitrate and nitrite in water using batch and continuous systems. In the batch experiment, maximum adsorption capacities of nitrate and nitrite onto poly (ethylene glycol) diacrylate methacryloxyethyltrimethyl ammonium chloride (PEGDA-MTAC) and poly (ethylene glycol) diacrylate 2-aminoethyl methacrylate hydrochloride (PEGDA-AMHC) adsorbents can be obtained as 13.51 and 13.16 mg NO3−-N/g sorbent; and 12.36 and 10.99 mg NO2−-N/g sorbent respectively through the Langmuir isotherm model. After 15 adsorption/desorption cycles, PEGDA-MTAC and PEGDA-AMHC retained nitrate adsorption efficiencies of 94.71% and 83.02% and nitrite adsorption efficiencies of 97.38% and 81.15% respectively. In a column experiment, modified adsorbents demonstrated adsorption efficiencies greater than 45% after being recycled five times. Proposed hydrogel-based adsorbents can be more effective than several types of carbon-based sorbents for nitrate and nitrite removal in water and have benefits such as reduced waste generation, cost-effectiveness, and a facile synthesis method.