Epigenetic mechanisms, including post-translational modifications of DNA and histones that influence chromatin structure, regulate gene expression during normal development, and are also involved in carcinogenesis and cancer progression. The histone methyltransferase G9a (euchromatic histone lysine methyltransferase 2, EHMT2), which mediates mono- and dimethylation by histone H3 lysine 9 (H3K9), regulates changes in gene expression involved in embryonic development and differentiation of normal tissues. Overexpression of G9a has been observed in in several cancer types, and different classes of G9a inhibitors have been developed as potential anticancer agents. Here, we review the emerging evidence suggesting the involvement of changes in G9a activity in brain tumors, namely glioblastoma multiforme (GBM), the main type of primary malignant brain cancer in adults, and medulloblastoma (MB), the most common type of malignant brain cancer in children. G9a inhibition dose-dependently reduces the viability of MB cells. Transcriptional levels of G9a are higher in MB tumors belonging to the SHH, Group 3, and Group 4, compared to Wnt tumors, and higher G9a gene expression may be a predictor of poor prognosis in patients with MB.