Conclusion: KIF18B could be used as a prognostic biomarker for determining prognosis and immune infiltration in pan-cancer. The gene discussed is KIF18B; the disease is cancer.