Industrial lignin is a waste product of the paper industry, which contains a large amount of oxygen group structure, and can be used to treat industrial wastewater containing Cr(VI). However, lignin has very low reactivity, so how to enhance its adsorption performance is a major challenge at present. In this study, a two-stage hydrothermal and activation strategy was used to activate the lignin activity and doping S element to prepare high-performance S-doped lignin-based polyporous carbon (S-LPC). The results show that the surface of S-LPC is rich in S and O groups and has a well-developed pore structure, which is very beneficial to Cr(VI) uptake -reduction and mass transfer on the material. In the wastewater, the utmost adsorption potential of Cr(VI) by S-LPC achieved 882.83 mg/g. After 7 cycles of regeneration, the adsorption of S-LPC decreased by only approximately 18 %. Ion competition experiments showed that S-LPC has excellent specificity for Cr(VI) adsorption. In factory wastewater, the adsorption performance of S-LPC for Cr(VI) remained above 95 %, which shows the excellent performance of S-LPC in practical applications. The results are of great significance for green chemical utilization of waste lignin, treatment of industrial wastewater and sustainable development.