This MR study identified one upstream regulator and one downstream effector of migraine, which could provide potential therapeutic targets for migraine prevention. Here, NR3C2 is linked to migraine disorder.