The invention relates to a method and a system for treating coal chemical wastewater in a zero-discharge manner, and belongs to the field of technologies for treating water in an environment-friendly manner. The method for treating the coal chemical wastewater in the zero-discharge manner includes carrying out anaerobic biological desulfurization on the coal chemical wastewater to convert sulfate in the wastewater into hydrogen sulfide; carrying out hydrolytic acidification to improve the biodegradability of the wastewater; carrying out secondary A/O (anoxic-oxic) biochemical treatment, ozone oxidation, aeration biochemical treatment, softening, ultra-filtration and secondary reverse osmosis; converting Ca2+ into Na+ by means of ion exchange; generating purified water by means of membrane concentration and generating sodium chloride which is crystal salt by means of evaporation and crystallization. The system for treating the coal chemical wastewater in the zero-discharge manner comprises a buffer pool, an anaerobic biological desulfurization unit, a hydrolytic acidification unit, a secondary A/O biochemical unit, an ozone oxidation unit, an intermediate water pool, an aeration biological filter, a softening unit, an ultra-filtration unit, a secondary reverse osmosis unit, an ion exchange unit, a membrane concentration unit and an evaporation and crystallization unit which are sequentially connected with one another. The method and the system have the advantages that the problems of mixed salt hazardous waste and difficulty in controlling operation can be fundamentally solved by the aid of the method and the system, and the crystal salt can be recycled.