Background: Lactic acid bacteria (LAB) produce various bioactive secondary metabolites (SMs), which endow LAB with a protective role for the host. However, the biosynthetic potentials of LAB-derived SMs remain elusive, particularly in their diversity, abundance, and distribution in the human microbiome. Thus, it is still unknown to what extent LAB-derived SMs are involved in microbiome homeostasis.Results: Here, we systematically investigate the biosynthetic potential of LAB from 31,977 LAB genomes, identifying 130,051 BGCs of 2,849 gene cluster families (GCFs). Most of these GCFs are species-specific or even strain-specific and uncharacterized yet. Analyzing 748 human-associated metagenomes, we gain an insight into the profile of LAB BGCs, which are highly diverse and niche-specific in the human microbiome. We discover that most LAB BGCs may encode bacteriocins with pervasive antagonistic activities predicted by machine learning models, potentially playing protective roles in the human microbiome. Class II bacteriocins, one of the most abundant and diverse LAB SMs, are particularly enriched and predominant in the vaginal microbiomes. Together with experimental validation, our metagenomic and metatranscriptomic analysis show that antagonistic class II bacteriocins potentially regulate microbial communities in the vagina, thereby contributing to microbiome homeostasis. Conclusions: Our study systematically investigates LAB biosynthetic potential and their profile in the human microbiome, linking them to the antagonistic contributions to microbiome homeostasis via omics analysis. These discoveries of the diverse and prevalent antagonistic SMs are expected to stimulate the mechanism study of LAB’s protective roles for the microbiome and host, highlighting the potential of LAB and their bacteriocins as therapeutic alternatives.