Serum NLRP3, MMP‐9 and IFN‐γ levels had high diagnostic efficacy in patients with postoperative intracranial infection and hydrocephalus. The gene discussed is MMP9; the disease is Hydrocephalus.