 preoperative cognitive dysfunction, emergency surgery, age, and anesthesia time are all risk factors for postoperative delirium in elderly patients undergoing spinal surgery. These factors should be taken into consideration when managing these patients, as they may require additional care to reduce their risk of developing this condition.