The present study investigated the effect of dexmedetomidine on hippocampal inflammation and cognitive function in rats with postoperative cognitive dysfunction (Pocd). a total of 80 healthy male Sprague dawley rats were used, 72 of which developed Pocd. The rats were randomly divided into four groups: The control, model, low-dose and high-dose dexmedetomidine anesthesia groups. a Pocd model was established and dexmedetomidine was administered. cognitive function tests were performed and expression levels of interleukin 1β (il-1β), tumor necrosis factor-α (TnF-α) and nF-κB biomarkers were evaluated on the first, third and seventh day following modeling. The cognitive function of rats was measured using a Y-maze test. The expression levels of il-1β and TnF-α in the hippocampus were determined by eliSa. The protein expression levels of nF-κB p65 in the hippocampus were determined by western blotting. it was revealed that at 1, 3 and 7 days after surgery, there were no alterations in the exercise ability of rats in the different groups, as reflected by the number of rats passing the alternative arms in the Y-maze. on the first and third day after surgery, the cognitive dysfunction reflected by the alteration scores of the low-dose and high-dose dexmedetomidine anesthesia groups were significantly higher than those of the model group, and the increase in the high-dose group was more pronounced. additionally, on the first day after surgery, the expression levels of il-1β, TnF-α and nF-κB in the hippocampi of rats in the low-and high-dose dexmedetomidine anesthesia groups were significantly lower than those in the model group, and the decrease was more pronounced in the high-dose group. at 7 days after surgery, the differences in expression levels of il-1β, TnF-α and nF-κB in the hippocampus among groups were not identified to be statistically significantly different. Taken together, the results of the present study indicated that dexmedetomidine may inhibit hippocampal inflammation induced by surgical trauma, and that dexmedetomidine may effectively improve postoperative cognitive function in rats.