X-linked immunodeficiency with magnesium defect, Epstein-Barr virus infection, and neoplasia (XMEN) is a rare primary immunodeficiency caused by MAGT1 mutations. The gene discussed is MAGT1; the disease is inborn error of immunity.