Our study suggested that PEMT rs7946 may affect risk of digestive system cancer through direct and indirect pathways, and the choline-to-betaine ratio may partially mediate the indirect effect. Here, PEMT is linked to digestive system cancer.