The present invention relates to novel heterocyclic derivatives which are allosteric modulators of cannabinoid receptor 1 (CB1) and which are useful for the treatment or prevention of neurological and psychiatric disorders associated with endocannabinoid dysfunction and diseases in which the CB1 subtype of cannabinoid receptor is involved to processes for their preparation to pharmaceutical compositions comprising them and to methods of using them.