Described herein are compounds of formula (I), where the substituents are disclosed herein, and exhibit antagonistic and / or inhibitory activity against the P2X7
receptor. These compounds, and their pharmaceutically acceptable salts, hydrates, solvates, and compositions thereof, are suitable for use in the prevention and treatment of diseases and conditions modulated by inhibition of the P2X7
receptor.