Dexmedetomidine inhibited the NLRP3 inflammasome via autophagy, reducing IL‐1β production and alleviating cognitive deficits. Here, NLRP3 is linked to Cognitive impairment.