Bacterial pathogens acquire host iron to power cellular processes and replication. Heme, an iron-containing cofactor bound to hemoglobin, is scavenged by bacterial proteins to attain iron. Methods to measure intracellular heme are laborious, involve complex chemistry, or require radioactivity. Such drawbacks limit the study of the mechanistic steps of heme transport and breakdown. Hypothesizing heme homeostasis could be measured with fluorescent methods, we coupled the conversion of heme to biliverdin IXα (a product of heme catabolism) by heme oxygenase 1 (HO1) with the production of near-infrared light upon binding this verdin by infrared fluorescent protein (IFP1.4). The resultant heme sensor, IFP-HO1, was fluorescent in pathogenic E. coli exposed to heme but not in the absence of the heme transporter ChuA and membrane coupling protein TonB, thereby validating their long-standing proposed role in heme uptake. Fluorescence was abolished in a strain lacking hemE, the central gene in the heme biosynthetic pathway, but stimulated by iron, signifying the sensor reports on intracellular heme production. Finally, an invasive strain of E. coli harboring the sensor was fluorescent during an active infection. This work will allow researchers to expand the molecular toolbox used to study heme and iron acquisition in culture and during infection.