Quaternary ammonium salts Quats-C 8 , Quats-C 12 , and Quats-C 18 with different alkyl chain lengths have been successfully synthesized, and used for modifying silk fabrics. The optimum reaction conditions of initiator concentration, curing temperature, curing time, and monomer concentration have been studied. The modified fabrics of silk-g-C 8 , silk-g-C 12 , and silk-g-C 18 were characterized by FTIR spectra. Antibacterial test showed that the modified silk fabrics possessed potent antibacterial activity against both Gram-positive Staphylococcus aureus and Gram-negative Escherichia coli. The carbon number in the alkyl chain of monomers Quats-C 8 , Quats-C 12 , and Quats-C 18 can affect the antibacterial efficacy. With longer alkyl chain, the antibacterial efficacy increased. The quaternary ammonium salts-modified silk fabrics have small change on the tensile strength and wrinkle recovery angle, and have shown potential practical application.