Overall, the TGF-β-related prognostic model we constructed could excellently predict the prognosis of gastric cancer patients. Here, TGFB1 is linked to gastric cancer.