Spike sorting is an essential first step in most analyses of extracellular in vivo electrophysiological recordings. Here we show that spike-sorting success depends critically on characteristics of coordinated population activity that can differ between anesthetic states. In tetrode recordings from mouse auditory cortex, spike sorting was significantly less successful under ketamine/medetomidine (ket/med) than urethane anesthesia. Surprisingly, this difficulty with sorting under ket/med anesthesia did not appear to result from either greater millisecond-scale burstiness of neural activity or increased coordination of activity among neighboring neurons. Rather, the key factor affecting sorting success appeared to be the amount of coordinated population activity at long time intervals and across large cortical distances. We propose that spike-sorting success is directly dependent on overall coordination of activity, and is most disrupted by large-scale fluctuations in cortical population activity. Reliability of single-unit recording may therefore differ not only between urethane-anesthetized and ket/med-anesthetized states as demonstrated here, but also between synchronized and desynchronized states, asleep and awake states, or inattentive and attentive states in unanesthetized animals.