The preferred treatment of methemoglobinemia is methylene blue, but its use is contraindicated for patients with glucose-6-phosphatase deficiency or those who take serotonergic drugs. This evidence concerns the gene G6PC1 and methemoglobinemia.