Postnatal and adult neurogenesis are region- and modality-specific, but the significance of developmentally distinct neuronal populations remains unclear. We demonstrate that chemogenetic inactivation of a subset of forebrain and olfactory neurons generated at birth disrupts responses to an aversive odor. In contrast, novel appetitive odor learning is sensitive to inactivation of adult-born neurons, revealing that developmentally defined sets of neurons may differentially participate in hedonic aspects of sensory learning.