The aim of this study was to evaluate the effects of cannabidiol (CBD) on the behavioural and gene expression changes in a new animal model of spontaneous cocaine withdrawal. For this purpose, male CD-1 mice were exposed to progressive increasing doses of cocaine for 12days (15 to 60mg/kg/day, i.p.), evaluating spontaneous cocaine withdrawal 6h after the last cocaine administration. The effects of CBD (10, 20, and 40mg/kg, i.p.) were evaluated on cocaine withdrawal-induced alterations in motor activity, somatic signs, and anxiety-like behaviour. Furthermore, gene expression changes in dopamine transporter (DAT) and tyrosine hydroxylase (TH) in the ventral tegmental area, and in cannabinoid receptors 1 (CNR1) and 2 (CNR2) in the nucleus accumbens, were analysed by real-time PCR. The results obtained in the study showed that mice exposed to the spontaneous cocaine withdrawal model presented increased motor activity, somatic withdrawal signs, and high anxiety-like behaviour. Interestingly, the administration of CBD normalized motor and somatic signs disturbances and induced an anxiolytic effect. Moreover, the administration of CBD blocked the increase of DAT and TH gene expression in mice exposed to the cocaine withdrawal, regulated the decrease of CNR1 and induced an additional upregulation of CNR2 gene expression. Thus, this model of spontaneous cocaine withdrawal induces clear behavioural and gene expression changes in mice. Interestingly, CBD alleviates these behavioural and gene expression alterations suggesting its potential for the management of cocaine withdrawal.