Dihydroxybenzene isomers were environmental pollutants which were potential threat to human health. Accurately and rapidly detection of them is very valuable. In this study, a dihydroxybenzene isomer sensor based on mesoporous carbon hollow spheres/zeolitic imidazolate frameworks (ZIF)-derived Co-embedded N-doped CNTs (MCHSs/Co@N-CNTs) was proposed. The MCHSs/Co@N-CNTs, with excellent conductivity and electrocatalytic, presented excellent electrochemical simultaneous detection for phenolic compounds. Under optimal conditions, the MCHSs/Co@N-CNTs/GCE showed wide linear range (CC: 2.5 μM-100 μM, HQ: 1.0 μM −150 μM, RS: 20 μM −1000 μM) and the detection limit (LOD) of CC, HQ and RS were 0.46, 0.27 and 4.21 μM (S/N = 3), respectively. Additionally, the reaction sites and mechanism of phenolic compounds were revealed by analyzing the electrochemical behavior with the help of density functional calculation. Moreover, the sensor showed satisfactory results in the determination of phenolic compounds in environmental water samples.