A technology for recovering water resources and salt from coking wastewater in the coal chemical industry comprises the following steps: the wastewater is subjected to defluorination chemical treatment and subjected to sodium carbonate softening and precipitating treatment simultaneously, an advanced oxidation process is used for TOC (total organic carbon) degradation, a multi-medium and activated carbon filter is used for filtering separation, ultrafiltration is performed, nanofiltration membrane separation is performed, calcium and magnesium ions are separated, the calcium and magnesium ions in water produced through nanofiltration are lower than 2 mg / L, CaF2 crystallization scaling is hard to form, and nanofiltration passing liquid and nanofiltration strong brine are obtained; the nanofiltration passing liquid and the nanofiltration strong brine are treated respectively. Fluoride ions, hardness and organic carbon in the wastewater are removed, separation of multivalent salt and monovalent salt as well as concentration and evaporative crystallization of the salt is realized, more than 98% of the water resources is recovered, more than 95% of the salt resources are recovered, secondary hazardous waste is not produced, the system operation cost is reduced, and the problem about resource recovery and the environmental problem are solved finally.