To study the effect of parecoxib sodium in alleviating inflammation in burned rats and restoring cognitive function in burned rats. 30 SPF grade SD rats were randomly divided into 6 groups: (1) Blank control group (Group C). (2) Sham surgery group (Group Sham). (3) Second-degree burn model (Group B). (4) Low-dose (1 mg/kg/d) parecoxib sodium (Group L+B). (5) Medium-dose (10 mg/kg/d) parecoxib sodium (Group M+B). (6) High-dose (20 mg/kg/d) parecoxib sodium (Group H+B). ELISA measures inflammatory factor IL-2, IL-6, TNF-α and IFN-γ, cognitive function factor NSE, cortisol and S-100β. Combined with water maze and dark avoidance experiments to further verify the recovery of cognitive function in rats. The contents of IL-2, TNF-α and IL-6 in Group M+B were significantly lower than those in Group Sham (P<0.05), and the content of IFN-γ was significantly lower than that in Group Sham (P<0.05). The cognitive markers NSE, S-100β and cortisol levels in Group M+B were significantly higher than those in Group Sham at 2h, 1d, 5d and 10d after operation (P<0.05). In the Group M+B dark-avoidance experiment, the number of probes and errors were not significantly different than those in Group Sham and Group C (P>0.05), and the number of times Group M+B found a platform in the water maze experiment and crossed the platform was second only to Group B and Group C. Parecoxib sodium can effectively reduce inflammation in burn rats and promote cognitive recovery in burn rats, and the optimal dose of parecoxib sodium for burn rats is 10 mg/kg.