These results suggest that TB can prevent UVB-induced photodamage and exert its preventive effects in a dose-dependent manner by downregulating the MAPK/NF-κB signaling pathway while promoting the Nrf2 signaling pathway in the skin. This evidence concerns the gene NFKB1 and tuberculosis.