The differential expression of genes TOP3A, XRCC2, and MSH6 distinguishes patients with a complex CVID phenotype from those with an infections-only CVID phenotype and controls. Here, XRCC2 is linked to common variable immunodeficiency.