Common variable immunodeficiency (CVID) is the most common symptomatic primary immunodeficiency. Patients have recurrent bacterial infections and an increased risk of developing autoimmune diseases, lung damage, and selected cancers. Since 2003, four genes have been shown to be mutated in CVID patients: ICOS, TNFRSF13B (encoding TACI), TNFRSF13C (encoding BAFF-R) and CD19. Heterozygous mutations in TNFRSF13B are also associated with CVID, whereas the other three genes are purely recessive. Recent genetic linkage studies have also identified possible loci for dominant CVID genes on chromosomes 4q, 5p and 16q. These findings markedly improved the genetic diagnosis of CVID and point towards new strategies for future genetic studies. In addition, some CVID genes might be relevant to more common diseases such as asthma and stroke.