The continuous use of synthetic anthelmintics against gastrointestinal nematodes (GINs) has resulted in the increased resistance, which is why alternative methods are being sought, such as the use of natural products. Plant essential oils (EOs) have been considered as potential products for the control of GINs. However, the chemical composition and, consequently, the biological activity of EOs vary in different plant cultivars. The aim of this study was to evaluate the anthelmintic activity of EOs from cultivars of Ocimum basilicum L. and that of their major constituents against Haemonchus contortus. The EOs from 16 cultivars as well the pure compound linalool, methyl chavicol, citral and eugenol were used in the assessment of the inhibition of H. contortus egg hatch. In addition, the composition of three cultivars was simulated using a combination of the two major compounds from each. The EOs from different cultivars showed mean Inhibition Concentration (IC50) varying from 0.56 to 2.22 mg/mL. The cultivar with the highest egg-hatch inhibition, Napoletano, is constituted mainly of linalool and methyl chavicol. Among the individual compounds tested, citral was the most effective (IC50 0.30 mg/mL). The best combination of compounds was obtained with 11% eugenol plus 64% linalool (IC50 0.44 mg/mL), simulating the Italian Large Leaf (Richters) cultivar. We conclude that different cultivars of O. basilicum show different anthelmintic potential, with cultivars containing linalool and methyl chavicol being the most promising; and that citral or methyl chavicol isolated should also be considered for the development of new anthelmintic formulations.