In the mucosa, the immune pathways discriminating between colonizing and invasive Candida, thus inducing tolerance or inflammation, are poorly understood. Th17 responses induced by Candida albicans hyphae are central for the activation of mucosal antifungal immunity. An essential step for the discrimination between yeasts and hyphae and induction of Th17 responses is the activation of the inflammasome by C. albicans hyphae and the subsequent release of active IL-1β in macrophages. Inflammasome activation in macrophages results from differences in cell-wall architecture between yeasts and hyphae and is partly mediated by the dectin-1/Syk pathway. These results define the dectin-1/inflammasome pathway as the mechanism that enables the host immune system to mount a protective Th17 response and distinguish between colonization and tissue invasion by C. albicans.