Here we present a protocol to analyze Aspergillus flavus growth and aflatoxin production in maize kernels expressing an antifungal protein. Using a GFP-expressing A. flavus strain we monitored the infection and spread of the fungus in mature kernels in real time. The assay is rapid, reliable, and reproducible.