Spinal cord injury (SCI) often leads to a severe permanent disability. A poor inflammatory microenvironment and nerve electric signal conduction block are the main reasons for difficulty in spinal cord nerve regeneration. In this study, black phosphorus (BP) and glycyrrhizic acid (GA) are integrated into methacrylate-modified silk fibroin (SF) to construct a bifunctional injectable hydrogel (SF/BP/GA) with appropriate conductivity and the ability to inhibit inflammation to promote neuronal regeneration after SCI. This work discovers that the SF/BP/GA hydrogel can reduce the oxidative damage mediated by oxygen free radicals, promote the polarization of macrophages toward the anti-inflammatory M2 phenotype, reduce the expression of inflammatory factors, and improve the inflammatory microenvironment. Moreover, it induces neural stem cell (NSC) differentiation and neurosphere formation, restores signal conduction at the SCI site in vivo, and ameliorates motor function in mice with spinal cord hemisection, revealing a significant neural repair effect. An injectable, electroconductive, free-radical-scavenging hydrogel is a promising therapeutic strategy for SCI repair.