Cannabidiol (CBD) is the main non-psychoactive phytocannabinoid derived from Cannabis sativa L. It is now an active pharmaceutical ingredient (API), given its usage in treating some types of pediatric epilepsy. For this reason, this compound requires a deep characterization in terms of purity and origin. Previous research work has shown two impurities in CBD samples from hemp inflorescences, namely, cannabidivarin (CBDV) and cannabidibutol (CBDB), while abnormal-cannabidiol (abn-CBD) has been described as the primary by-product that is generated from CBD synthesis. Both natural and synthetic CBD samples exhibit the presence of Δ9-tetrahydrocannabinol (Δ9-THC) and Δ8-THC. This study aimed to develop a new analytical method based on high-performance liquid chromatography (HPLC) with different detection systems to study the purity of CBD and to define its origin based on the impurity profile. In addition to the above-mentioned cannabinoids, other compounds, such as cannabigerovarin (CBGV), cannabigerol (CBG), cannabichromevarin (CBCV), and cannabichromene (CBC), were examined as potential discriminating impurities. Qualitative and quantitative analyses were carried out by UHPLC-HRMS and HPLC-UV/Vis, respectively. Principal component analysis was applied for statistical exploration. Natural CBD samples exhibited purities ranging between 97.5 and 99.7%, while synthetic samples were generally pure, except for three initially labeled as synthetic, revealing natural-derived impurities. To further confirm the origin of CBD samples, the presence of other two minor impurities, namely cannabidihexol (CBDH) and cannabidiphorol (CBDP), was assessed as unequivocal for a natural origin. Finally, an enantioselective HPLC analysis was carried out and the results confirmed the presence of the (–)-trans enantiomer in all CBD samples. In conclusion, the HPLC method developed represents a reliable tool for detecting CBD impurities, thus providing a clear discrimination of the compound origin.Graphical