•Inhibiting AC1 reverses hyperalgesia and anxiety in chronic migraine rats. Here, ADCY1 is linked to Anxiety.