Conclusions: Our study provides new ideas for tumor treatment and prognosis from the perspective of TIME, and nominates EFNA1–5 to become potential therapeutic targets for gastric cancer. Here, EFNA1 is linked to gastric cancer.