Transarterial chemoembolization(TACE) is the palliative treatment of choice for patients with unresectable hepatocellular carcinoma (HCC). The 242 patients prospectively enrolled in this study were diagnosed with HCC and received TACE at Sun Yat-Sen University Cancer Center between October 2014 and March 2015. Patients were divided into study and control groups based on whether parecoxib sodium was administered postoperatively. Postoperative pain, body temperature, vomiting, changes in liver function, physical activity level, length of hospital stay, and tumor control were evaluated. Compared to the control group after propensity score matching, the study group presented less severe postoperative fever. The daily maximum temperatures in the study and control groups were 37.39 vs. 37.82°C on postoperative day 1 (P < 0.001), 37.10 vs. 37.51°C on day 2 (P < 0.001), and 36.90 vs. 37.41°C on day 3 (P < 0.001). The study group also exhibited greater physical activity (P < 0.05) and had shorter hospital stays (7.21 days vs. 7.92 days, P = 0.041). There were no differences in pain scores. Thus administration of parecoxib sodium to HCC patients after TACE effectively relieved fever, promoted postoperative recovery, and shortened the hospital stay.