TEMPO-CNF film modified by two-dimension transition metal MXene has certain antibacterial properties. However, the problem of long-lasting stability greatly restricts the feasibility of long-term use of the composite film. Here, we introduced polyaniline (PANI) as a modifying molecule, which was electrostatically adsorbed on the surface of the MXene nanosheets to prevent its self-stacking and delay its oxidation. The modified MXene could still maintain >
85 % stability after 30 days of room temperature storage. The MXene-PANI nanocellulose (MXP/CNF) film was further prepared by combining electrostatic attraction and hydrogen bonding interactions. Thanks to the synergistic effects of the photothermal conversion and photodynamic of MXene and PANI themselves, as well as the high light-trapping properties of the heterostructures, the photothermal and photodynamic efficiencies of the MXP/CNF film were greatly improved. Under the irradiation of 808 nm near-infrared light at 1.5 W/cm