X-linked MAGT1 deficiency with increased susceptibility to EBV-infection and N-linked glycosylation defect (XMEN) disease is a primary immunodeficiency caused by loss-of-function variants in the MAGT1 gene. Here, MAGT1 is linked to Epstein-Barr virus infection.