Histone lysine N-methyltransferase 2C (KMT2C) is involved in transcriptional regulation and DNA damage repair. Mutations in KMT2C have been implicated in the progression, metastasis, and drug resistance of multiple cancer types. However, the roles of KMT2C in the regulation of tumor prognosis, immune cell infiltration and the immune microenvironment in these multiple cancer types remain unclear. Therefore, in the present study, data from The Cancer Genome Atlas and Genotype-Tissue Expression databases were used for KMT2C expression analyses. Kaplan-Meier and univariate Cox regression analyses were also performed to investigate the prognostic role of KMT2C. In addition, Gene Set Enrichment Analysis (GSEA) was conducted to study the KMT2C-related signaling pathways. Tumor immune estimation resource 2 and single-sample GSEA were conducted to investigate the correlation between KMT2C expression and immune cell infiltrations, and Spearman's analysis was conducted to study the correlations among KMT2C, tumor mutational burden, microsatellite instability, immune regulators, chemokines and immune receptors. Immunohistochemistry of patient kidney tumor samples was performed to verify the correlation between KMT2C and programmed death-ligand 1 (PD-L1) expression. Finally, RNA interference, wound healing and colony formation assays were conducted to evaluate the effects of KMT2C expression on cell proliferation and metastasis. The results of the present study demonstrated that KMT2C was highly expressed in multiple cancer types, was a protective factor in kidney renal clear cell carcinoma and ovarian serous cystadenocarcinoma, and a risk factor for lung squamous cell carcinoma and uveal melanoma. In addition, KMT2C levels were negatively correlated with immune-activated pathways and the infiltration of immune cells, and positively correlated with inhibitory immune factors and tumor angiogenesis. Patients with low KMT2C expression had higher objective response rates to immunotherapy, and drug sensitivity analysis indicated that topoisomerase, histone deacetylase, DOT1-like histone H3K79 methyltransferase and G9A nuclear histone lysine methyltransferase inhibitors could potentially be used to treat tumors with high KMT2C expression levels. Finally, the KMT2C and PD-L1 expression levels were shown to be positively correlated, and KMT2C knockdown markedly promoted the proliferation and invasion capacities of A549 cells. In conclusion, the present study revealed that low KMT2C expression may be a promising biomarker for predicting the response of patients with cancer to immunotherapy. Conversely, high KMT2C expression was shown to promote tumor angiogenesis, which may contribute to the formation of the immunosuppressive tumor microenvironment.