The invention discloses an environmental functional material applied to electroplating wastewater treatment; all components are as follows by mass percentage; kieselguhr, modified purified diatomite,bentonite, modified purified bentonite, attapulgite, modified purified attapulgite, kaoline and / or 20-80 percent of modified purified kaoline, 10-40 percent of humic acid and 10-40 percent of chitosan. The material has convenient usage, good treatment effect, and large and dense formed floccules, shortens settling time, and is easy to lead heavy metal ions, COD, ammonia-N, phosphorus, chromaticity and other indexes in wastewater to synchronously achieve discharge standard regulated nationally, the produced residue can recycle heavy metal, and secondary pollution is not easy to generate. Thematerial is suitable for treating wastewater in industries such as circuit boards, electro-plating, metal finishing, photographic film manufacturing, coal plants, municipal or industry waste incineration, battery production and the like.