Preclinical data point to the contribution of transient receptor potential ankyrin 1 (TRPA1) channels to the complex mechanisms underlying migraine pain. TRPA1 channels are expressed in primary sensory neurons, as well as in glial cells, and they can be activated/sensitized by inflammatory mediators. The aim of this study was to investigate the relationship between TRPA1 channels and glial activation in the modulation of trigeminal hyperalgesia in preclinical models of migraine based on acute and chronic nitroglycerin challenges. Rats were treated with ADM_12 (TRPA1 antagonist) and then underwent an orofacial formalin test to assess trigeminal hyperalgesia. mRNA levels of pro- and anti-inflammatory cytokines, calcitonin gene-related peptide (CGRP) and glia cell activation were evaluated in the Medulla oblongata and in the trigeminal ganglia. In the nitroglycerin-treated rats, ADM_12 showed an antihyperalgesic effect in both acute and chronic models, and it counteracted the changes in CGRP and cytokine gene expression. In the acute nitroglycerin model, ADM_12 reduced nitroglycerin-induced increase in microglial and astroglial activation in trigeminal nucleus caudalis area. In the chronic model, we detected a nitroglycerin-induced activation of satellite glial cells in the trigeminal ganglia that was inhibited by ADM_12. These findings show that TRPA1 antagonism reverts experimentally induced hyperalgesia in acute and chronic models of migraine and prevents multiple changes in inflammatory pathways by modulating glial activation.