Brain connections modulated by 534 deep-brain-stimulation electrodes revealed a gradient of circuits involved in dystonia, Parkinson’s disease, Tourette’s syndrome and obsessive-compulsive disorder. Together, these circuits begin to describe the human ‘dysfunctome’, a library of dysfunctional circuits that lead to various brain disorders.