Mycobacterium tuberculosis(Mtb), the pathogenic bacterium that causes tuberculosis, has evolved sophisticated defense mechanisms to counteract the cytotoxicity of reactive oxygen species (ROS) generated within host macrophages during infection. ThemelHgene inMtbandMycobacterium marinum(Mm) plays a crucial role in defense mechanisms against ROS generated during infection. We demonstrate thatmelHencodes an epoxide hydrolase and contributes to ROS detoxification. Deletion ofmelHinMmresulted in a mutant with increased sensitivity to oxidative stress, a minor increase in the bacterium’s sensitivity to NO exposure. This heightened vulnerability is attributed to the increased expression ofwhiB3, subsequently leading to decreased production of mycothiol and ergothioneine. Our study elucidated profound effects on the bioenergetic metabolism ofMmupon disruption ofmelH. The absence ofmelHresulted in reduced intracellular levels of NAD+, NADH, and ATP, and accumulation of aldehydes withinMm.Bacterial growth was impaired, even in the absence of external stressors, and was carbon-source-dependent. Taken together, these results highlight the essential role ofmelHin mycobacterial metabolism and provide new insights into the complex interplay between redox homeostasis and carbon utilization in mycobacteria.ImportanceThis study unveils the pivotal role played by themelHgene inMycobacterium tuberculosisandMycobacterium marinumin combatting the detrimental impact of oxidative conditions during infection. This investigation revealed notable alterations in level of cytokinin-associated aldehyde,para-hydroxybenzaldehyde, as well as the redox buffer ergothioneine, upon deletion ofmelH. Moreover, changes in crucial cofactors responsible for electron transfer highlightedmelH’s crucial function in maintaining a delicate equilibrium of redox and bioenergetic processes. These findings collectively emphasize the potential ofmelHas an attractive target for the development of novel antitubercular therapies, offering new avenues for combating tuberculosis.