• B, N co-doped carbon porous material was derived from metal-organic frameworks. • B-NC shows excellent performance in PMS activation and TC removal. • Singlet oxygen ( 1 O 2 ) was the domain active species in B-NC/PMS system. • Electron transfer was another non-radical oxidation pathway of B-NC/PMS system. • B-NC catalyst has relatively good stability for PMS activation. Peroxymonosulfate (PMS) based advanced oxidation process has been proved to be an efficient method for Antibiotic treatment. B, N co-doped carbon porous material was derived from metal-organic frameworks. B-NC catalysts showed excellent efficiency for removal of tetracycline hydrochloride. Nitrogen doping essentially changed the degradation pathway of tetracycline hydrochloride, while boron doping provided more active sites. through more defect sites, which is closely related to the adsorption and catalytic performance of the catalyst. The major active species of B-NC/PMS system was singlet oxygen ( 1 O 2 ) through quenching experiments and electron paramagnetic resonance (EPR) studies. Electron transfer was another non-radical oxidation pathway of B-NC/PMS system. This provides a new idea for the selective oxidation of antibiotics by metal-free activated PMS.