These results suggest that INHBB plays an essential role in immune infiltration in GC. Here, INHBB is linked to gastric cancer.