Buruli ulcer disease is a neglected tropical disease caused by the environmental pathogen Mycobacterium ulcerans. The M. ulcerans major virulence factor is mycolactone, a lipid cytotoxic compound whose genes are carried on a plasmid. Although an exact reservoir and mode(s) of transmission are unknown, data provide evidence of both. First, Buruli ulcer incidence and M. ulcerans presence have been linked to slow-moving water with low oxygen. M. ulcerans has also been suggested to be sensitive to UV due to termination in crtI, encoding a phytoene dehydrogenase, required for carotenoid production. Further, M. ulcerans has been shown to cause disease following puncture but not when introduced to open abrasion sites, suggesting that puncture is necessary for transmission and pathology. Despite these findings, the function and modulation of mycolactone and other genes in response to dynamic abiotic conditions such as UV, temperature, and oxygen have not been shown. In this study, we investigated modulation of mycolactone and other genes on exposure to changing UV and oxygen microenvironmental conditions. Mycolactone expression was downregulated on exposure to the single stress high temperature and did not change significantly with exposure to UV; however, it was upregulated when exposed to microaerophilic conditions. Mycolactone expression was downregulated under combined stresses of high temperature and low oxygen, but there was upregulation of several stress response genes. Taken together, results suggest that temperature shapes M. ulcerans metabolic response more so than UV exposure or oxygen requirements. These data help to define the environmental niche of M. ulcerans and metabolic responses during initial human infection. IMPORTANCE Buruli ulcer is a debilitating skin disease caused by the environmental pathogen Mycobacterium ulcerans. M. ulcerans produces a toxic compound, mycolactone, which leads to tissue necrosis and ulceration. Barriers to preventing Buruli ulcer include an incomplete understanding of M. ulcerans reservoirs, how the pathogen is transmitted, and under what circumstances mycolactone and other M. ulcerans genes are expressed and produced in its natural environment and in the host. We conducted a study to investigate M. ulcerans gene expression under several individual or combined abiotic conditions. Our data showed that mycolactone expression was downregulated under combined stresses of high temperature and low oxygen but there was upregulation of several stress response genes. These data are among only a few studies measuring modulation of mycolactone and other M. ulcerans genes that could be involved in pathogen fitness in its natural environment and virulence while within the host.