In the present study, we found negative associations between hyodeoxycholic acid, isolithocholic acid, and TXB2, which were significantly decreased in the miscarriage group, with serum cytokines, IL-17, TNF-α, and IFN-γ, and positive associations for chenodeoxycholic acid sulfate, L-Carnitine, acetylcholine, and cholic acid metabolites. Here, IL17A is linked to Miscarriage.