The invention provides a boron-nitrogen co-doped diamond electrode comprising a matrix and a boron-nitrogen co-doped diamond layer arranged on the surface of the matrix. The boron-nitrogen co-doped diamond layer comprises a flat structure layer arranged on the surface of the matrix and an array protrusion structure arranged on the surface of the flat structure layer. According to the boron-nitrogen co-doped diamond electrode, the surface layer of the boron-nitrogen co-doped diamond layer is arranged to be the array protrusion structure, so that the specific surface area and active sites of theboron-nitrogen co-doped diamond layer are increased, and therefore the capacity of the electrode to conduct carbon dioxide electro-catalytic reduction is improved; and finally, the accumulation amount of the carbon dioxide in the atmosphere is reduced, and resource utilization of waste is achieved, and the practicability is high. The invention further provides a preparation method of the boron-nitrogen co-doped diamond electrode. According to the preparation method of the boron-nitrogen co-doped diamond electrode, the technology is simple, the cost is low, the boron-nitrogen co-doped diamondelectrode having an excellent carbon dioxide electro-catalytic reduction performance can be prepared, and the service life of the boron-nitrogen co-doped diamond electrode in severe environments is long.