Metal free’ materials offer a cheap and chemical benign platform for magnetism, however, the typical source of magnetism are unpaired electrons of a metal, thus designing ‘metal free’ magnetic materials represents a significant challenge. Here, Du et al present a strategy for enhancing the magnetism in carbon nitride using boron bridges.