Our results suggest that MTHFD2 and MTHFR are involved in the development of GC. Here, MTHFD2 is linked to gastric cancer.