To identify risk factors for complications in patients undergoing gastrointestinal endoscopy under acupuncture anesthesia and to construct a nomogram predictive model. This retrospective study included 292 patients who underwent gastrointestinal endoscopy under acupuncture anesthesia at the Shuguang Hospital Affiliated to Shanghai University of Traditional Chinese Medicine from June 2020 to May 2023. Logistic regression analysis was used to identify risk factors for complications in patients undergoing gastrointestinal endoscopy under acupuncture anesthesia. A nomogram prediction model was constructed using the RMS package of R4.1.2 software based on the independent risk factors identified. The predictive performance of the model was assessed using consistency index (C-index), calibration curve, and receiver operating characteristic (ROC) curve. Seventy-five patients (25.68%) had complications. Body mass index (BMI), history of cardiovascular diseases, fasting time, history of respiratory diseases, and Sedation-Agitation Scale (SAS) score were identified as risk factors for complications. Based on this risk, a nomogram predictive model was constructed. The C-index of the nomogram model was 0.927. Calibration curve showed a good consistency between actual observations and nomogram predictions. The ROC curve area under curve (AUC) was 0.927 (95% CI: 0.895-0.959), indicating a certain predictive value for the occurrence of complications. When the optimal cut-off value was selected, the sensitivity and specificity of the model were 77.0% and 92.0%, respectively, indicating that the predictive model was effective. BMI, history of cardiovascular disease, fasting time, history of respiratory disease, and SAS score are independent risk factors for complications in patients undergoing gastrointestinal endoscopy under acupuncture anesthesia. The constructed nomogram predictive model has a good performance in predicting the occurrence of complications in patients undergoing gastrointestinal endoscopy with under acupuncture anesthesia.