In this study, N-isopropylacrylamide-based temperature and pH-sensitive hydrogels were synthesized by free radical polymerization for removal of cationic dyes from aqueous solutions. For this purpose, N-isopropylacrylamide was copolymerized with various amounts of sodium salt of itaconic acid in the presence of crosslinking agent (N,N-methylene bisacrylamide). The chemical structures of hydrogels were characterized by FT-IR analysis. In order to investigate swelling properties of the hydrogels, water absorption (swelling) and shrinking (deswelling) kinetics, the equilibrium swelling ratios in water and different pH buffer solutions, and the temperature dependent swelling ratios were determined. Then, their adsorption properties such as adsorption capacities, kinetics, isotherms were investigated in case of their usage in removal of Safranine T (ST), Brilliant Green (BG), and Brilliant Cresyl Blue (BCB) aqueous solutions. According to adsorbed dye amount, the adsorption capacities are followed the order BG>ST congruent to BCB. In addition, the results indicated that the pseudo-second-order kinetic model fitted better than the data obtained from pseudo-first-order model for the adsorption of all dyes onto hydrogels. Furthermore, according to effect of the initial dye concentration findings, it is concluded that, Freundlich isotherm explains the adsorption better than Langmuir isotherm.