2-hydroxypropyl trimethylammonium chloride chitosan(CTA-CTS) is prepared by modification of chitosan with 3-chloro-2-hydroxypropyl trimethylammonium chloride(CTA) as a grafting agent.The optimum modification process is: reaction at 65 ℃ for 10 h with m(NaOH)∶m(CTS)=1∶1 and m(CTA)∶m(CTS)=3∶1.Modification of cotton fabric with CTA-CTS can realize salt-free reactive dyeing,and improve dyeing behaviors without sacrificing the color fastness.