Aspergillus flavus is a pathogenic fungus that affects and contaminates several foodstuffs and is associated with cancer in humans. In Senegal, significant losses of groundnut production are mainly due to contamination caused by this species. This study evaluated in vitro antifungal activities of Cyperus articulatus, Cyperus rotundus and Lippia alba essential oils against A. flavus isolated from peanut seeds. Essential oils obtained by hydrodistillation of rhizomes of the two Cyperus species and leaves of L. alba were analyzed by GC-DIF and GC-MS. The essential oil yields from C. articulatus, C. rotundus and L. alba were 1.1%, 1.3% and 1.7%, respectively. These three samples had the following chemotypes: (i) Mustakone (21.4%)/eudesma-4(15)-7-dien-1β-ol (8.8%)/caryophyllene oxide (5.9%), (ii) caryophyllene oxide (25.2%)/ humulene epoxyde 2 (35.0%) and (iii) geranial (46.6%)/neral (34.6%). The three oils tested inhibited the growth of A. flavus at concentrations between 100 and 1000 ppm. The L. alba oil was the most effective with total clearance of A. flavus on PDA. For the essential oils of C. rotundus (93.65%) and C. articulatus (78.11%), the highest inhibition rates were obtained with 1000 ppm dose. Thus, the L. alba oil could be used safely as an effective protector of groundnuts against A. flavus.