Here by using pharmacology and genetic invalidation ex vivo and in vivo, we demonstrate that activating TREK1 and TREK2 two-pore-domain potassium (K2P) channels inhibits TG neuronal firing sufficiently to fully reverse the migraine-like phenotype induced by NO-donors in rodents. This evidence concerns the gene KCNK2 and migraine disorder.