Loss of Casz1 in the context of mucosal Candida infection severely impairs Th17 and Treg responses, and lowers the ability of the mice to clear the secondary infection. Here, CASZ1 is linked to candidiasis.