The exact cause of migraines is unknown, but it is associated with the widening of blood vessels in the brain. Zolmitriptan works by constricting these vessels in the brain, reversing the effects of the migraine, and resulting in alleviated migraine symptoms. Zolmitriptan takes about 45 minutes to become effective so it is important to take it as soon as you feel the migraine coming on.