Boron-doped polycyclic aromatic hydrocarbons exhibit excellent optical properties, and regulating their photophysical processes is a powerful strategy to understand the luminescence mechanism and develop new materials and applications. Herein, an electrochemically responsive B–O dynamic coordination bond is proposed, and used to regulate the photophysical processes of boron-nitrogen-doped polyaromatic hydrocarbons. The formation of the B–O coordination bond under a suitable voltage is confirmed by experiments and theoretical calculations, and B–O coordination bond can be broken back to the initial state under opposite voltage. The whole process is accompanied by reversible changes in photophysical properties. Further, electrofluorochromic devices are successfully prepared based on the above electrochemically responsive coordination bond. The success and harvest of this exploration are beneficial to understand the luminescence mechanism of boron-nitrogen-doped polyaromatic hydrocarbons, and provide ideas for design of dynamic covalent bonds and broaden material types and applications.