Centrioles comprise the heart of centrosomes, microtubule-organizing centers. To study the function of centrioles in lung and gut development, we genetically disrupted centrioles throughout the mouse endoderm. Surprisingly, removing centrioles from the endoderm did not disrupt intestinal growth or development but blocked lung branching. In the lung, acentriolar SOX2-expressing airway epithelial cells apoptosed. Loss of centrioles activated p53, and removing p53 restored survival of SOX2-expressing cells, lung branching, and mouse viability. To investigate how endodermal p53 activation specifically killed acentriolar SOX2-expressing cells, we assessed ERK, a prosurvival cue. ERK was active throughout the intestine and in the distal lung buds, correlating with tolerance to centriole loss. Pharmacologically inhibiting ERK activated apoptosis in acentriolar cells, revealing that ERK activity protects acentriolar cells from apoptosis. Therefore, centrioles are largely dispensable for endodermal growth and the spatial distribution of ERK activity in the endoderm shapes the developmental consequences of centriolar defects and p53 activation.