Pathogens must efficiently acquire nutrients from host tissue to proliferate, and strategies to block pathogen access therefore hold promise for disease control. In this study, we investigated whether heme biosynthesis is an effective target for ablating the virulence of the phytopathogenic fungus Ustilago maydis on maize plants. We first constructed conditional heme auxotrophs of the fungus by placing the heme biosynthesis gene hem12 encoding uroporphyrinogen decarboxylase (Urod) under the control of nitrogen or carbon source-regulated promoters. These strains were heme auxotrophs under non-permissive conditions and unable to cause disease in maize seedlings, thus demonstrating the inability of the fungus to acquire sufficient heme from host tissue to support proliferation. Subsequent experiments characterized the role of endocytosis in heme uptake, the susceptibility of the fungus to heme toxicity as well as the transcriptional response to exogenous heme. The latter RNA-seq experiments identified a candidate ABC transporter with a role in the response to heme and xenobiotics. Given the importance of heme biosynthesis for U. maydis pathogenesis, we tested the ability of the well-characterized herbicide BroadStar to influence disease. This herbicide contains the active ingredient flumioxazin, an inhibitor of Hem14 in the heme biosynthesis pathway, and we found that it was an effective antifungal agent for blocking disease in maize. Thus, repurposing herbicides for which resistant plants are available may be an effective strategy to control pathogens and achieve crop protection.