BACKGROUNDWe aimed to explore whether erenumab, a monoclonal antibody targeting the calcitonin gene-related peptide receptor, could exert a central effect on brain network function in migraine, and investigate the persistence of such an effect following treatment discontinuation.METHODSThis was a randomized, double-blind, placebo-controlled, multicenter trial with a crossover design performed in adult episodic migraine patients with previous treatment failure. Patients were randomized (1:1) to 12 weeks of erenumab 140 mg or placebo, followed by a 12-week crossover. Resting state (RS) functional connectivity (FC) changes of brain networks involved in migraine were investigated using a seed-based correlation approach.RESULTSSixty-one patients were randomized to treatment. In each treatment sequence, 27 patients completed the visit at week 12. Forty-four enrolled patients, 22 in each treatment sequence, completed the study procedures with no major protocol violations. We observed a carry-over effect of erenumab during the placebo treatment and therefore data analysis was performed as a parallel comparison of erenumab vs placebo of the first 12 weeks of treatment. From baseline to week 12, compared to placebo, patients receiving erenumab showed RS FC changes within the cerebellar, thalamic and periaqueductal gray matter networks, significantly associated with clinical improvement. Compared to non-responders, patients achieving a 50% reduction in migraine days had distinct patterns of thalamic and visual network RS FC. Brain RS FC changes reversed when erenumab was stopped. A lower baseline RS FC of the pontine network identified patients responding to erenumab.CONCLUSIONErenumab modulates RS FC of networks involved in migraine pathophysiology. In line with clinical response, erenumab-induced brain RS FC changes tend to reverse when treatment is stopped.