Objective To compare the clinical outcomes of subxiphoid robot-assisted thoracoscopic surgery (SRATS) and intercostal robot-assisted thoracoscopic surgery (IRATS) in the treatment of anterior mediastinal tumors. Methods A retrospective analysis was conducted on patients with anterior mediastinal tumors who underwent robot-assisted surgery in the Department of Thoracic Surgery, Gansu Provincial Hospital, from May 2020 to July 2022. According to the surgical approach, patients were divided into an SRATS group and an IRATS group. Perioperative data were compared between the two groups. Results A total of 87 patients were included. There were 41 patients in the SRATS group [23 males, 18 females; mean age, (44.51±11.28) years] and 46 patients in the IRATS group [21 males, 25 females; mean age, (46.67±8.76) years]. Compared with the IRATS group, the SRATS group had significantly less intraoperative blood loss [(24.41±6.67) mL vs. (37.93±9.23) mL, P<0.001], shorter postoperative drainage duration [(1.73±0.59) days vs. (2.54±0.50) days, P<0.001], lower postoperative drainage volume [(94.46±34.08) mLvs. (116.72±24.90) mL, P=0.001], lower visual analogue scale (VAS) pain scores on postoperative day 1 [(3.66±0.76) points vs. (4.15±0.84) points, P=0.005] and day 3 [(2.41±0.59) points vs. (2.89±0.82) points, P=0.003], shorter postoperative hospital stay [(4.12±0.81) days vs. (4.98±1.02) days, P<0.001], and lower hospitalization costs [(4.51±0.65) ten thousand yuan vs. (4.86±0.68) ten thousand yuan, P=0.020]. There were no statistical differences between the two groups in operative time or incidence of postoperative complications (P>0.05). Conclusion Both SRATS and IRATS are safe and effective for the treatment of anterior mediastinal tumors. However, SRATS is less invasive and more conducive to enhanced postoperative recovery.