SoxB1 proteins are key transcriptional regulators of stem cells and organismal development. Ross et al. show that a SoxB1 gene is required for regeneration and maintenance of sensory neuron populations in the planarian Schmidtea mediterranea. Inhibiting the activity of SoxB1 or SoxB1-regulated genes impairs sensory function and triggers seizure-like movements.