PEI was modified with gallic acid by thermal crosslinking method. The loose nano-filtration membrane was prepared by coating HPAN UF membrane with modified PEI. The performance of loose nano-filtration membrane showed high permeate flux and high rejection ratio for dyes as well as low salt rejection, which are of great significance for the reuse of textile wastewater