The present invention relates to novel pyrimidine derivatives of formula (I) as inhibitors of the enzyme phosphodiesterase 10 (PDE-10), pharmaceutical compositions comprising an effective amount of these compounds and the use of the compounds for manufacturing a medicament for the treatment of pathological conditions or diseases that can improve by inhibition of the enzyme Phosphodiesterase 10 such as neurological, psychiatric, respiratory or metabolic diseases.