Objective To compare the safety and efficacy of the da Vinci robot and thoracoscopic subxiphoid approach for the treatment of anterior mediastinal tumors. Methods The clinical data of patients who underwent anterior mediastinal tumor resection through the subxiphoid approach admitted to the same medical group in the Department of Thoracic Surgery of the First Hospital of Lanzhou University between June 2020 and April 2022 were retrospectively analyzed. According to the surgery approach, the patients were divided into a robot-assisted thoracoscopic surgery (RATS) group and a video-assisted thoracoscopic surgery (VATS) group. The perioperative data and the incidence of postoperative complications were compared between the two groups. ResultsA total of 79 patients were enrolled. There were 41 patients in the RATS group, including 13 males and 28 females, with an average age of 45.61±14.99 years. There were 38 patients in the VATS group, including 14 males and 24 females, with an average age of 47.84±15.05 years. All patients completed the surgery successfully. Hospitalization cost and operative time were higher or longer in the RATS group than those in the VATS group, and the difference was statistically significant (P<0.05). Intraoperative bleeding, postoperative hospital stay, postoperative water and food intake time, postoperative off-bed activity time, white blood cell count, neutrophil percentage and visual analogue scale (VAS) score on the first postoperative day, white blood cell count and neutrophil percentage on the third postoperative day, duration of analgesic pump use, the number of voluntary compressions of the analgesic pump, and mediastinal drainage volume were all superior to those in the VATS group (P<0.05). The differences in VAS scores on the third postoperative day, duration of drainage tube retention and postoperative complication rates were not statistically different between the two groups (P>0.05). Conclusion RATS subxiphoid anterior mediastinum tumor resection is a safe and feasible surgical method with less injury and higher safety, which is conducive to rapid postoperative recovery and has wide clinical application prospects.