To compare post-TKA (total knee arthroplasty) analgesic effect of periarticular injection of different analgesics during surgery. Experimental study. Tianjin People's Hospital, from December 2016 to July 2018. Patients undergoing unilateral TKA were randomly divided into Group A and Group B, with 67 patients in each group. In Group A, compound analgesics of ropivacaine, ketorolac, adrenaline, morphine and normal saline were injected periarticularly during surgery. While in Group B, compound analgesics of bupivacaine, methylprednisolone, adrenalin, morphine and normal saline were injected periarticularly during surgery. Visual analogue scale (VAS), range of motion (ROM) of knee joint, and rehabilitation of knee joint of both groups were compared. VAS scores of Group A at 6-hour, 24-hour, 48-hour and 72-hour after surgery was lower than those of Group B (p=0.046, p<0.001, p<0.001 and p<0.001, respectively). ROM of knee joint of Group A on the 3rd, 7th, 10th and 14th day after surgery was superior to that of Group B (all p<0.001). On the 14th day after surgery, excellent and good rate of rehabilitation of knee joint of Group A was higher than that of Group B (p=0.032). Compared with periarticular injection of compound analgesics of bupivacaine, methylprednisolone, adrenaline, morphine and normal saline during surgery, periarticular injection of compound analgesics of ropivacaine, ketorolac, adrenaline, morphine and normal saline during surgery can alleviate post-TKA pain more effectively, improve early ROM of joint knee after surgery, increase rehabilitation effect of knee joint.