The present invention relates to compounds having pharmacological activity towards the sigma (σ) receptor, and more particularly to oxadiazaspiro compounds having this pharmacological activity, to processes of preparation of such compounds, to pharmaceutical compositions comprising them, and to their use in therapy, in particular against drug abuse and addiction.