The present invention provides new pyrazol-[1,5-a]-pyrimidone derivates and pharmaceutical compositions comprising said compounds and one or more pharmaceutically acceptable carriers or diluents. The uses of the compounds for the manufacture of potassium channel openers, anti-epilepsy medicaments, anti-anxiety medicaments and analgesic medicaments are also provided in the present invention.