Recordings of neural activity during therapeutic stimulation can be used to predict subsequent changes in brain connectivity, according to a study of epilepsy patients. This approach could inform efforts to improve brain stimulation treatments for depression and other psychiatric disorders.