Flavin-containing monooxygenase 2 (FMO2), also known as dimethylaniline monooxygenase [N-oxide-forming] 2, is a mammalian enzyme that in humans is encoded by the FMO2 gene. The gene is found in a cluster with the FMO1, FMO3, and FMO4 genes on chromosome 1.