This study revealed an association among gut microbiota dysbiosis, metabolite profile alterations, and LPS-induced IUI and PTB in mice models. Our investigation revealed the possible involvement of gut microbiota in the pathophysiology of LPS-induced IUI and PTB, which might be mediated by metabolites such as pyruvic acid. Future studies should be conducted to verify the findings through larger sample-sized animal studies and clinical investigations.