The invention relates to a process for treating industrial wastewaters, preferably wastewaters from the metal-processing industry, preferably suitable for treating the wastewater in such a manner that it can be recycled back to the production. In the process the wastewater passes through a sequence of treatment steps consisting of a chemical/physical flocculation/precipitation, a filter system, a biological wastewater purification stage and also a nanofiltration unit.