This study aimed to protect maize crops from infection and production of Aspergillus flavus (A. flavus) aflatoxin B1(AFB1), using the ordinary and nanoscale extracts of Agaricus spp. HPLC technology showed that the isolate taken from Musayyib district which coded with (AFA5) was a highest toxin producer. AFB1 at a concentration of 77.02 ppb. PCR product showed that the amplification of the ITS4- region was successful ITS1 according to the primers used, where a single bundle with a size of 744 bp (base pair) appeared. The isolated and diagnostic results of maize samples collected from separate sites showed the presence of A. flavus and different genera of fungi, namely Aspergillus spp., Fusarium spp., Penicillium spp., and Rhizopus spp., issued by the genus Aspergillus spp. with frequency rates of 18.33, 38.87, 20.19, 15.92, and 6.69 % respectively. On Potato Dextrose Agar (PDA), inhibitory effect results of Agaricus bisporus (A. bisporus) extract in inhibiting A. flavus growth, with inhibition percentages for the ordinary extract of 43.95, 34.59, and 10.90%, respectively, and for the nano extract 18.74, 43.71, and 76.56 % at 250,500 and 100 ppm respectively. AFB1 production was reduced by adding A. bisporus extracts (ordinary and nano) to Yeast Extract Sucrose Broth (YES) medium by 66% and 72.14%, respectively. Overall, our study presented a new insight for future scientific researches possibility of biocompands production using nanotechnology from natural resources that have the ability to safely environmentally control on mycotoxins production that present in agricultural production especially maize grains and encourage to widespread commercially use.