The methylenetetrahydrofolate reductase (MTHFR) gene encodes the MTHFR enzyme in DNA. Two of the most common mutations are detected by this test. When the MTHFR gene is mutated or altered, it can result in serious genetic disorders such as homocystinuria, anencephaly, spina bifida, and others.