Purpose. To investigate the role and molecular mechanism of HDAC2 in glioma. Methods. GSE16011, GSE31262, and GSE90598 datasets were used to identify co-expressed genes, GO analysis, and KEGG analysis to identify gene enrichment pathways, and PPI networks were constructed to identify gene interrelationships. HDAC2 enrichment on DNMT3B promoter and DNMT3B enrichment on Bcl2 CpG island was detected by a ChIP assay. The expression, prognosis, and hierarchical distribution of HDAC2, DNMT3B, and Bcl2 were examined in the CGGA database, and the correlation between HDAC2 and DNMT3B, Bcl2, and DNMT3B and Bcl2 was assessed. Results. The HDAC2-DNMT3B-Bcl2 axis is differentially expressed and interacts in gliomas. HDAC2 activates the transcriptional activity of DNMT3B, and DNMT3B inhibits the expression of Bcl2. HDAC2 and DNMT3B are highly expressed in gliomas and have a poor prognosis, while Bcl2 is lowly expressed in gliomas and has a good prognosis. Conclusion. HDAC2 promotes DNMT3B transcriptional repression of Bcl2 expression and Wnt pathway activity, thereby activating glioma cell activity in vitro and in vivo.