Loss- and gain-of-function variants in the gene encoding KCNQ2 channels are a common cause of developmental and epileptic encephalopathy, a condition characterized by seizures, developmental delays, breathing problems, and early mortality. To understand how KCNQ2 dysfunction impacts behavior in a mouse model, we focus on the control of breathing by neurons expressing the transcription factor Phox2b which includes respiratory neurons in the ventral parafacial region. We find Phox2b-expressing ventral parafacial neurons express Kcnq2 in the absence of other Kcnq isoforms, thus clarifying why disruption of Kcnq2 but not other channel isoforms results in breathing problems. We also find that Kcnq2 deletion or expression of a recurrent gain-of-function variant R201C in Phox2b-expressing neurons increases baseline breathing or decreases the central chemoreflex, respectively, in mice during the light/inactive state. These results uncover mechanisms underlying breathing abnormalities in KCNQ2 encephalopathy and highlight an unappreciated vulnerability of Phox2b-expressing ventral parafacial neurons to KCNQ2 pathogenic variants.