Enterohemorrhagic Escherichia coli (EHEC) is a foodborne pathogen that poses a serious threat to humans. Although EHEC is problematic mainly in food products containing meat, recent studies have revealed that many EHEC-associated foodborne outbreaks were attributable to spoiled produce such as sprouts and green leafy vegetables. To understand how EHEC adapts to the environment in fresh produce, we exposed the EHEC isolate FORC_035 to canola spouts (Brassica napus) and water dropwort (Oenanthe javanica) and profiled the transcriptome of this pathogen at 1 and 3 h after incubation with the plant materials. Transcriptome analysis revealed that the expression of genes associated with iron uptake were down-regulated during adaptation to plant tissues. A mutant strain lacking entB, presumably defective in enterobactin biosynthesis, had growth defects in co-culture with water dropwort, and the defective phenotype was complemented by the addition of ferric ion. Furthermore, gallium treatment to block iron uptake inhibited bacterial growth on water dropwort and also hampered biofilm formation. Taken together, these results indicate that iron uptake is essential for the fitness of EHEC in plants and that gallium can be used to prevent the growth of this pathogen in fresh produce.