Introducing multifunctional groups and inorganic material imparts xylan-based hydrogels with excellent properties, such as responsiveness to pH, temperature, light, and external magnetic field. In this work, a composite hydrogel was synthesized by introducing acid treated carbon nanotubes (AT-CNTs) into the maleic anhydride modified xylan grafted with poly(N-isopropylacrylamide) (MAX-g-PNIPAM) hydrogels network. It was found that the addition of AT-CNTs affected the MAX-g-PNIPAM hydrogel structure, the swelling ratio and mechanical properties, and imparted the hydrogel with new properties of electrical conductivity and near infrared region (NIR) photothermal conversion. AT-CNTs could reinforce the mechanical properties of MAX-g-PNIPAM hydrogels, being up to 83 kPa for the compressive strength when the amount was 11 wt %, which was eight times than that of PNIPAM hydrogel and four times than that of MAX-g-PNIPAM hydrogel. The electroconductibility was enhanced by the increase of AT-CNTs amounts. Meanwhile, the composite hydrogel also exhibited multiple shape memory and NIR photothermal conversion properties, and water temperature was increased from 26 °C to 56 °C within 8 min under the NIR irradiation. Thus, the AT-CNTs reinforced MAX-g-PNIPAM hydrogel possessed promising multifunctional properties, which offered many potential applications in the fields of biosensors, thermal-arrest technology, and drug-controlled release.