Anecdotal evidence that cannabis preparations have medical benefits together with the discovery of the psychotropic plant cannabinoid Δ9-tetrahydrocannabinol (THC) initiated efforts to develop cannabinoid-based therapeutics. These efforts have been marked by disappointment, especially in relation to the unwanted central effects that result from activation of cannabinoid receptor 1 (CB1), which have limited the therapeutic use of drugs that activate or inactivate this receptor. The discovery of CB2 and of endogenous cannabinoid receptor ligands (endocannabinoids) raised new possibilities for safe targeting of this endocannabinoid system. However, clinical success has been limited, complicated by the discovery of an expanded endocannabinoid system - known as the endocannabinoidome - that includes several mediators that are biochemically related to the endocannabinoids, and their receptors and metabolic enzymes. The approvals of nabiximols, a mixture of THC and the non-psychotropic cannabinoid cannabidiol, for the treatment of spasticity and neuropathic pain in multiple sclerosis, and of purified botanical cannabidiol for the treatment of otherwise untreatable forms of paediatric epilepsy, have brought the therapeutic use of cannabinoids and endocannabinoids in neurological diseases into the limelight. In this Review, we provide an overview of the endocannabinoid system and the endocannabinoidome before discussing their involvement in and clinical relevance to a variety of neurological disorders, including Parkinson disease, Alzheimer disease, Huntington disease, multiple sclerosis, amyotrophic lateral sclerosis, traumatic brain injury, stroke, epilepsy and glioblastoma.