In conclusion, our data uncovered that IMP exerted anti‐inflammatory effects in LPS‐induced primary microglia and attenuated ischemic stroke injury and neurological deficits in experimental stroke, which might be associated with the inhibition of MAPK and NF‐κB signaling pathways. The gene discussed is NFKB1; the disease is ischemic stroke.