As steel production increases, large volumes of highly toxic and nitrogen-rich coking wastewater (CWW) are produced, prompting the development of a novel oxic-hydrolytic-oxic (OHO) biological treatment combination designed for highly efficient removal of nitrogen-contained contaminants. However, previous studies have not comprehensively explored the CWW biotreatment from the perspective of nitrogen metabolism functional genes and pathways. Based on the investigation of taking the full-scale OHO biotreatment combination as a case, it was found that the O1 and O2 bioreactors remove nitrogen through the ammonia assimilation accounting for 33.87% of the total nitrogen (TN) removal rate, while the H bioreactor removes nitrogen through the simultaneous nitrification-denitrification accounting for 61.11% of the TN removal rate. The major ammonia assimilation taxa include Thauera, Immundisolibacter and Thiobacillus; the major nitrifying taxa include Nitrospira and Nitrosomonas; and the major denitrifying taxa include Thiobacillus, Lautropia and Mesorhizobium. Additionally, the H bioreactor exhibits the potential to be optimized for simultaneous nitrification-denitrification coupled with anaerobic ammonium oxidation (Anammox). These understandings will guide the optimization of engineering design and operational practices, contributing to more effective and sustainable wastewater treatment strategies.