Determining the function and regulation of paralogues is important in understanding microbial functional genomics and environmental adaptation. Heme homeostasis is crucial for the survival of environmental microorganisms. Most Shewanella species encode two paralogues of ferrochelatase, the terminal enzyme in the heme biosynthesis pathway. The function and transcriptional regulation of two ferrochelatase genes, hemH1 and hemH2, were investigated in Shewanella loihica PV-4. The disruption of hemH1 but not hemH2 resulted in a significant accumulation of extracellular protoporphyrin IX (PPIX), the precursor to heme, and decreased intracellular heme levels. hemH1 was constitutively expressed, and the expression of hemH2 increased when hemH1 was disrupted. The transcription of hemH1 was regulated by the housekeeping sigma factor RpoD and potentially regulated by OxyR, while hemH2 appeared to be regulated by the oxidative stress-associated sigma factor RpoE2. When an oxidative stress condition was mimicked by adding H2O2 to the medium or exposing the culture to light, PPIX accumulation was suppressed in the ΔhemH1 mutant. Consistently, transcriptome analysis indicated enhanced iron uptake and suppressed heme synthesis in the ΔhemH1 mutant. These data indicate that the two paralogues are functional in the heme synthesis pathway but regulated by environmental conditions, providing insights into the understanding of bacterial response to environmental stresses and a great potential to commercially produce porphyrin compounds.Shewanella is capable of utilizing a variety of electron acceptors for anaerobic respiration because of the existence of multiple c-type cytochromes in which heme is an essential component. The cytochrome-mediated electron transfer across cellular membranes could potentially be used for biotechnological purposes, such as electricity generation in microbial fuel cells and dye decolorization. However, the mechanism underlying the regulation of biosynthesis of heme and cytochromes is poorly understood. Our study has demonstrated that two ferrochelatase genes involved in heme biosynthesis are differentially regulated in response to environmental stresses, including light and reactive oxygen species. This is an excellent example showing how bacteria have evolved to maintain cellular heme homeostasis. More interestingly, the high yields of extracellular protoporphyrin IX by the Shewanella loihica PV-4 mutants could be utilized for commercial production of this valuable chemical via bacterial fermentation.