Tourism in Paleolithic caves can cause an imbalance in cave microbiota and lead to cave wall alterations, such as dark zones. However, the mechanisms driving dark zone formation remain unclear. Using shotgun metagenomics in Lascaux Cave's Apse and Passage across two years, we tested metabarcoding-derived functional hypotheses regarding microbial diversity and metabolic potential in dark zones vs unmarked surfaces nearby. Taxonomic and functional metagenomic profiles were consistent across years but divergent between cave locations. Aromatic compound degradation genes were prevalent inside and outside dark zones, as expected from past biocide usage. Dark zones exhibited enhanced pigment biosynthesis potential (melanin and carotenoids) and melanin was evidenced chemically, while unmarked surfaces showed genes for antimicrobials production, suggesting that antibiosis might restrict the development of pigmented microorganisms and dark zone extension. Thus, this work revealed key functional microbial traits associated with dark zone formation, which helps understand cave alteration processes under severe anthropization.