Background/aimsTo investigate the clinical situation, treatment methods, and clinical predictors of surgical intervention in children with magnetic foreign bodies in the digestive tract.Materials and methodsFrom January 2019 to June 2022, we retrospectively analyzed the clinical data of 72 children who ingested magnetic foreign bodies inadvertently in our hospital, including their general information, admissions, clinical manifestations, and treatment methods, as well as pertinent literature and statistical data. Following software processing, univariate and multivariate logistic regression analyses were conducted to determine the independent risk factors of this study.ResultsIn this study, 16 patients (22.2%) were discharged smoothly following conservative treatment and 19 patients (26.4%) were cured by gastroscopy. The remaining 37 patients (51.4%) were underwent surgery, in which 26 cases developed gastrointestinal perforation. There were statistical differences between surgery group and non- surgery group in the days of eating by mistake, clinical manifestations (nausea and vomiting, intermittent abdominal pain, abdominal muscle tension) and movement trajectory by every 24-h radiograph (P< 0.01). Logistic regression analysis showed that intermittent abdominal pain and abdominal muscle tension were independent risk factors for surgical treatment.ConclusionMagnetic foreign bodies seriously endanger children’s health. This study offers a single-center basis for the choice of surgical opportunity for intestinal obstruction or perforation caused by magnetic foreign bodies. Clinicians need immediate surgical intervention if the child shows symptoms of abdominal pain or abdominal tension.