Inhibition of MMP‐2 and MMP‐9 protected against cognitive deficits by maintaining blood–brain barrier integrity and reducing glial activation after surgery. The gene discussed is MMP9; the disease is Cognitive impairment.