Diabetic wounds are a critical focus in skin healing research due to their complex environment of high sugar and ROS, exacerbated by bacterial infections that hinder healing and promote scarring. To tackle this prevalent concern, this study innovatively developed a Near-infrared (NIR) responsive composite thermosensitive hydrogel, which features Emodin-grafted graphene oxide (GOE), N-isopropylacrylamide (NIPAM), and sodium alginate (SA) in a double-network structure aimed at accelerating wound healing through active shrinkage and addressing diabetic wound infections. The remarkable photothermal conversion capabilities of GOE enable the PNIPAM hydrogel to rapidly heat up upon exposure to NIR light, thereby triggering its distinctive thermosensitive characteristics. By utilizing a bridging solution, this promotes scar-free healing of wounds. Additionally, the release of GOE following near-infrared (NIR) irradiation facilitates the elimination of bacteria at the wound site and aids in the immune modulation of cells, which in turn speeds up the healing process for diabetic wounds. In vivo studies verified that PNIPAM@GOE not only enhances the healing of infected diabetic wounds but also minimizes scar formation. This strategy offers a highly effective means of precisely managing hydrogel active contraction through adjustable photothermal effects, and aims for the scarless repair of diabetic skin wounds.