The aim of this study was to investigate the effects of dexmedetomidine on perioperative stress response and cellular immunity in elderly patients with posterior lumbar surgery. Sixty patients with lumbar degenerative disease requiring posterior lumbar surgery were included and randomly divided into the dexmedetomidine group (the test group, [Formula: see text]) and the control group ([Formula: see text]). After the experimental group entered the room, dexmedetomidine was intravenously pumped 10[Formula: see text]min before induction of anesthesia and dexmedetomidine was continuously pumped after anesthesia. The control group replaced dexmedetomidine with the same amount of normal saline, and the other operations were exactly the same as the experimental group. Hemodynamic parameters were routinely monitored and the percentages of T lymphocyte subsets were analyzed by flow cytometry. Samples for stress response parameters were sent to the Clinical Laboratory of our hospital, and perioperative pain, postoperative adverse reactions and complications were evaluated during the study. The levels of postoperative stress hormones, including noradrenaline (NE), epinephrine (E), cortisol (Cor) and acetylcholine (Ach), were reduced in the test group compared with those in the control group ([Formula: see text]). Proportions of CD3[Formula: see text], CD4[Formula: see text], CD8[Formula: see text] and NK as well as the CD4[Formula: see text]/CD8[Formula: see text] in the control group were significantly decreased at postoperative Day 1 (T6), Day 3 (T7) and Day 7 (T8) compared with those at preoperative Day 1 (T-1) ([Formula: see text]), while the proportions of CD4[Formula: see text] and NK in the test group were significantly increased at T6, T7 and T8 compared with those at T-1 ([Formula: see text]). The mean arterial pressure (MAP) of the test group was decreased compared with that of the control group at each time point ([Formula: see text]). After the operation, the heart rate (HR) of the patients in the test group was significantly decreased compared with the control group ([Formula: see text]) and the VAS score of the control group were increased compared with the test group at each time point ([Formula: see text]). Dexmedetomidine can decrease the stress response and improve postoperative cellular immune function in patients with posterior lumbar surgery by reducing postoperative stress hormones to alleviate the postoperative cellular immunosuppression and the pain in patients.