Euchromatic histone-lysine N-methyltransferase 2 (EHMT2), also known as G9a, is a histone methyltransferase enzyme that in humans is encoded by the EHMT2 gene. G9a deposits the mono- and di-methylated states of histone H3 at lysine residue 9 (i.e., H3K9me1 and H3K9me2) and lysine residue 27 (H3K27me1 and H3K27me2). The presence of H3K9me1/2 is usually associated with gene silencing.