BackgroundPeripheral nerve block, including the quadratus lumborum block (QLB), has been used for postoperative analgesia in hip surgery. However, the effects of QLB on cognitive function after hip surgery remain unknown. This study aimed to assess the effects of the anterior approach to QLB on postoperative cognitive function in older people undergoing hip surgery.MethodsSixty older people who underwent hip surgery from May 2021 to May 2022 were randomly divided into the QLB (n = 30) and control groups (n = 30). The Montreal Cognitive Assessment (MoCA) score (mean ± SD) was measured one day preoperatively and seven and 30 days postoperatively. The frequency (%) of postoperative cognitive dysfunction (POCD) was examined seven and 30 days postoperatively. The visual analog scale (VAS) scores at rest and Bruggrmann comfort scale (BCS) scores [Median (IQR)] 6 h (t1), 12 h (t2), 24 h (t3), and 48 h (t4) after surgery were assessed. The plasma high mobility group box protein 1 (HMGB1) and levels of interleukin-6 (IL-6) (mean ± SD) were evaluated 1 h preoperatively (baseline) and 24 h postoperatively (day 1). The requirement for rescue analgesia [Median (IQR)], time to first off-bed activity (mean ± SD), and adverse effects after surgery were also recorded.ResultsCompared with the control group, the frequency of POCD was significantly lower in the QLB group seven days postoperatively (10.7% vs. 34.5%, P = 0.033), but no difference at 30 days postoperatively (3.6% vs. 10.3%, P = 0.319). There was no significant difference in MoCA scores between the two groups at one day preoperatively and 30 days postoperatively. However, the MoCA scores at seven days postoperatively were higher in the QLB group than in the control group (27.4 ± 1.81 vs. 26.4 ± 1.83, P = 0.043). In the QLB group, the VAS scores at t1, t2, and t3 were lower [3(2–4) vs. 4(3–4), P = 0.028; 3(2–3) vs. 4(3–5), P = 0.009; 2(1–3) vs. 2(2–3), P = 0.025], and the BCS scores at t1, t2, and t3 were higher than those in the control group [3(1–3) vs. 1(1–2), P = 0.006; 3(2–3) vs. 2(1–3), P = 0.011; 3(2–4) vs. 2(2–3), P = 0.041]. The patients in the QLB group reported significantly fewer requirements for rescue analgesia [0(0–1) vs. 1(0–2), P = 0.014]. The plasma levels of HMGB1 and IL-6 at 24 h postoperatively in the QLB group were significantly lower than in the control group (749.0 ± 185.7 vs. 842.1 ± 157.9, P = 0.046; 24.8 ± 8.1 vs. 31.9 ± 5.5, P < 0.001). The time to first off-bed activity from the end of surgery was shorter in the QLB group (25.3 ± 5.3 vs. 29.7 ± 6.9, P = 0.009). There was no significant difference in the incidence of postoperative complications between the two groups.ConclusionsAnterior QLB given to older people undergoing hip surgery could promote early postoperative cognitive function recovery, provide adequate postoperative analgesia, and inhibit the release of inflammatory factors.Trial registrationChictr.org.cn identifier ChiCTR2000040724 (Date of registry: 08/12/2020, prospectively registered).