The invention relates to spiro derivatives of formula (I), to the use of said derivatives in treating diseases and conditions mediated by modulation of voltage-gated sodium channels, to compositions containing said derivatives and processes for their preparation.