Euchromatic histone-lysine N-methyltransferase 2, also known as G9a, is a histone methyltransferase enzyme that in humans is encoded by the EHMT2 gene.