Growing evidence has demonstrated that UBE2C plays a critical role in cancer progression, but there is no study focusing on the prognosis, upstream regulation mechanism, and immunological roles of UBE2C across diverse tumor types. In this study, we found that UBE2C was elevated in this human pan-cancer analysis, and high expression of UBE2C was correlated with poor prognosis. In addition, UBE2C expression was markedly associated with tumor mutation burden (TMB), microsatellite instability (MSI), immune cell infiltration, and diverse drug sensitivities. Finally, we showed that the METTL3/SNHG1/miRNA-140-3p axis could potentially regulate UBE2C expression. N(6)-Methyladenosine (m6A) modifications improved the stability of methylated SNHG1 transcripts by decreasing the rate of RNA degradation, which lead to upregulation of SNHG1 in non-small cell lung cancer (NSCLC). In vitro functional experiments showed that SNHG1, as a competing endogenous RNA, sponges miR-140-3p to increase UBE2C expression in NSCLC cell lines. Our study elucidates the clinical importance and regulatory mechanism of the METTL3/SNHG1/miRNA-140-3p/UBE2C axis in NSCLC and provides a prognostic indicator, as well as a promising therapeutic target for patients with NSCLC.