The present invention relates to a compound of formula (I) or a pharmaceutically acceptable salt thereof:
The pyrazole derivatives of formula (I) or salts thereof modulate P2X7 receptor function and are capable of antagonizing the effects of ATP at the P2X7 receptor (P2X7 receptor antagonists). The invention also relates to the use of such compounds or salts, or pharmaceutical compositions thereof, in the treatment or prevention of disorders/diseases mediated by the P2X7 receptor, for example pain, inflammation or a neurodegenerative disease.