The area under the curve values of independent serum NLRP3, MMP‐9, IFN‐γ and their combination for diagnosing postoperative intracranial infection were 0.822, 0.722, 0.734 and 0.925, respectively, and for diagnosing hydrocephalus were 0.865, 0.828, 0.782 and 0.957, respectively. Here, NLRP3 is linked to Hydrocephalus.