The aim of research was to compare the parameters of nanofiltration of textile wastewater generated in two different dyeing processes. Tests were carried out for wastewater from dyeing cellulose fibres with direct and reactive dyes and from dyeing polyamide fibres with acid dyes. The applicability of selected nanofiltration membranes, including polysulfone, cellulose acetate and polyamide membranes, in the filtration of some wastewater streams was examined. Research was carried out to investigate the fouling of membranes during wastewater nanofiltration. During the filtration of the wastewater after reactive dyeing, a significant reduction in the process efficiency due to membrane fouling was observed. In the case of wastewater from the dyeing of polyamide fibres, a reduction in the process efficiency during the membrane operation did not occur at all or was very small.