Toxic gases monitoring and detection are fundamental to lessening public health problems. Therefore, in this work, to explore emergent sensor materials, 3d-metal dimers-doped hexagonal boron nitride (h-BN) structures were investigated employing auxiliary density functional theory (ADFT) as novel CO and NO gas sensors. Firstly, the stabilities of Co