Malachite green (MG) is used for the dyeing of cotton, paper, and jute, among other materials, and presents acute toxicity to a wide range of aquatic and terrestrial animals. A polyacrylamide (PA) hydrogel modi ed with a low content of oxygenated and aminated carbon nanomaterials may be a suitable candidate to adsorb MG from wastewater. Herein, modi ed graphene and carbon nanotubes (CNTs) were incorporated during the in situ polymerization of PAM. The swelling and adsorption capacity were investigated to explore the in uences of different carbon dimensionalities (1D and 2D), zeta potentials and nano ller concentrations on the adsorption behavior of the hydrogel. There was an increase of approximately 1,500% in the adsorption capacity after 24 h of exposure of a hydrogel with graphene oxide (GO) at 0.25 wt% with respect to the neat PA. Aminated graphene produced similar gains in the adsorption capacity of the GO-hydrogel, although it presents a positive zeta potential that is the opposite of that of GO. The modi ed CNTs showed smaller gains in the adsorption capacity, reaching a maximum 400% increase with respect to the PA hydrogel. The main factors that seem to affect the adsorption capacity were the dimensionality and degree of functionalization. The graphene-based nano llers were 3 to 4 times more functionalized than the nanotubes. The adsorption results were adjusted with a pseudosecond order kinetic model that allowed a complementary discussion about the nature of the physicochemical effects on the process of MG adsorption in the hydrogel nanocomposites.