Robotic gastrectomy (RG) has been reported to be technically feasible and safe for patients with gastric cancer. However, 5-year long-term survival and recurrence outcomes for advanced gastric cancer have rarely been reported. This study aimed to compare the long-term oncologic outcomes between RG and laparoscopic gastrectomy (LG) for gastric cancer. The general clinicopathological data of 1905 consecutive patients who underwent RG and LG were retrospectively collected at the Chinese People's Liberation Army General Hospital between November 2011 and October 2017. Propensity score matching (PSM) was used to match groups. The primary endpoints were 5-year disease-free survival (DFS) and overall survival (OS). After PSM, a well-balanced cohort of 283 patients in the RG group and 701 patients in the LG group were included in the analysis. The 5-year cumulative DFS rates were 67.28% in the robotic group and 70.41% in the laparoscopic group. The 5-year OS rate was 69.01% in the robotic group and 69.58% in the laparoscopic group. No significant differences in Kaplan-Meier survival curves for DFS (HR = 1.08, 95% CI 0.83-1.39, Log-rank P = 0.557) and OS (HR = 1.02, 95% CI 0.78-1.34, Log-rank P = 0.850) were observed between the 2 groups. In the subgroup analyses for potential confounding variables, there were no significant differences in 5-year DFS and 5-year OS survival between the 2 groups (P > 0.05), except for patients with pathological stage III and pathological stage N3 (P < 0.05). For patients with early gastric cancer, robotic and laparoscopic approaches have similar long-term survival. For patients with advanced gastric cancer, further studies need to be conducted to assess the long-term survival outcomes of RG.