Spontaneous neuronal activity during the development of the auditory sensory system is important in establishing mature connectivity. Wang et al. show that glia-like cells drive spontaneous spiking in neighboring cochlear inner hair cells via a process that involves osmotic cell shrinkage and the secretion of potassium ions.