The study of rare congenital defects in patients with chronic mucocutaneous candidiasis led to the identification of interleukin-17 (IL-17) as a key factor in host defense against mucosal fungal infection. Here, IL17A is linked to chronic mucocutaneous candidiasis.