Yin-Yang 1 (YY1) has a crucial function in the development of several malignancies, according to recent research. However, nothing is known about its aberrant expression and prognostic significance in human pan-cancer. We first explored the potential carcinogenic effect of YY1 in 33 cancers using the cancer genome atlas (TCGA) project and gene expression omnibus (GEO) datasets in this research. Then, we contained a variety of elements, for instance, gene expression, the state of survival, gene alterations, protein phosphorylation, immune infiltration, and related cellular pathways, and used a series of bioinformatics methods to investigate the underlying molecular mechanism of YY1 in the etiology or clinical prognosis of various malignancies. In most malignancies, YY1 was expressed at high levels, and the level of YY1 expression was statistically associated with the prognosis of tumor patients. The S118 site of YY1 implied higher phosphorylation expression in breast cancer, colon cancer, uterine corpus endometrial carcinoma (UCEC), and lung adenocarcinoma (LUAD) tumor tissues, but lower phosphorylation levels in ovarian cancer and clear cell carcinoma tumor tissues. For S247, higher phosphorylation levels were found in colon cancer, UCEC, and LUAD tumor tissue, and lower phosphorylation expression was found in clear cell carcinoma tumor tissue. In TCGA database, YY1 expression in BRCA, BRCA-LumA, BRCA-LumB, CESC, CHOL, COAD, ESCA, HNSC, HNSC-HPV-, KIRP, LGG, LIHC, and PAAD tumor tissues was a statistically significant positive connection of the estimated infiltration value of cancer-associated fibroblasts but a negative correlation in TGCT. In addition, the functional mechanism of YY1 also involves viral carcinogenesis and ribonucleic acid (RNA) metabolism related functions. Our first pan-cancer analysis offers a pretty comprehensive knowledge of YY1's oncogenic involvement in various cancers.