The present invention relates to novel pyrimidine derivatives, pharmaceutical compositions containing these compounds and their use in the treatment of diseases, particularly pain, which diseases are caused directly or indirectly by an increase or decrease in activity of the cannabinoid receptor.