To acquire a more comprehensive understanding of the ER stress related gene STC2 in cancer development and immunity, we performed a pan-cancer analysis to investigate the aberrant expression of STC2 across 33 different cancer types in the TCGA-Pan-cancer cohort. This evidence concerns the gene STC2 and cancer.