Overall, our research has demonstrated that Gramine exerts suppressed microglia activation and promotes motor functional recovery after SCI through NF‐κB pathway, which may put forward the prospect of clinical treatment of inflammation‐related central nervous diseases. Here, NFKB1 is linked to central nervous system disorder.