The simple nervous system of the nematode C. elegans consists of 302 neurons with highly reproducible morphologies, suggesting a hard-wired program of axon guidance. Surprisingly, we show here that sensory activity shapes sensory axon morphology in C. elegans. A class of mutants with deformed sensory cilia at their dendrite endings have extra axon branches, suggesting that sensory deprivation d...