We demonstrate a method for the analysis of aflatoxins and transgene expression in peanut seeds that contain RNA-interference signals for silencing aflatoxin-synthesis genes in the fungus Aspergillus flavus. RNAi-mediated control of mycotoxins in plants has not been reported previously.