Our findings provide fundamental insights into the developmental pathways and cellular dynamics of IL-23–producing cDC2s at steady state and during pathogen infection. This evidence concerns the gene IL23A and infection.