In summary, the present study reveals that SMARCA4 is correlated with the prognosis of patients with cancer and immune infiltration across diverse cancers. This evidence concerns the gene SMARCA4 and cancer.