Abstract:To observe postoperative analgesia and impact on immune function of transverse abdominis plane block applied to patients with laparoscopic hepatectomy. Methods According to random number table method, 106 cases of liver cancer patients were divided into TAPB group and control group, patients in the two groups received endotracheal intubation general anesthesia, the observation group accepted transverse abdominis plane block after anesthesia while slowly push 0.3% Ropivacaine hydrochloride 25 ml after positioning clear then, control group received isodose physiological saline, at the end of surgery all the patients were given intravenous self-control analgesia pump. Then compare the amount of Propofol, Remifentanil, the time of waking, the degree of postoperative pain, the amount of postoperative analgesic drug Sufentanil, the number of times of analgesic pump press, and the immune function at different postoperative times in the two groups, and record the adverse reactions. Results The amount of Propofol, Remifentanil, catheter pulling time, recovery room stay time, VAS score at 1 h postoperatively, 24 h postoperatively , total amount of Sufentanil and number of analgesic pump presses in TAPB group were lower than those in the control group (all P < 0.05). The NK cells, CD4+ T lymphocytes, and CD4+/CD8+ ratios were higher in TAPB group at 24 h after surgery, and CD8+ levels were lower in the observation group than in the control group (all P < 0.05). The incidence of adverse reactions in the observation group was lower than that in the control group (P < 0.05). Conclusion The application of transverse abdominis plane block in laparoscopic hepatectomy can reduce the amount of analgesic drugs in operation and after operation, analgesic effect is better, and it has immune function protection, adverse reaction rate is low, it is worth popularizing.