In this study, we investigated the effects of mammary inflammation induced by lipopolysaccharide (LPS) and Staphylococcus aureus (SA) infusions on pregnancy function during early pregnancy in goats. In Experiment 1, pregnant goats were subjected to an intramammary LPS infusion for 1 week from Days 60-66 after natural mating (n = 5), and in Experiment 2, they received intramammary infusions of either saline, LPS, or SA for 1 week from Days 45-51 after natural mating (n = 15). Blood was collected to determine the plasma cytokine, cortisol, 13,14-dihydro-15-ketoprostaglandin F2 alpha (PGFM), and progesterone levels. Pregnancy length was significantly longer in the LPS-treated group than that for the saline-treated group of experiment 2. Cytokine levels (IL1(i, IL-8, Tumor necrosis factor-alpha: TNF-alpha) after LPS (in both Experiments 1 and 2) and SA (in Experiment 2) infusion were significantly higher compared with those before infusion. In Experiment 2, the SA-infused group showed significantly higher TNF-alpha concentrations than those in the saline group. Cortisol levels increased in both experiment 1 and 2 after LPS infusion, but not after saline and SA treatments. Furthermore, PGFM levels increased after LPS infusion in Experiment 1. In Experiment 2, LPS- and SA-infused goats showed significantly higher PGFM levels than those in the saline-infused goats. However, the progesterone levels decreased after LPS treatment in Experiment 1. Our results show that intramammary LPS infusion during the early stage of pregnancy in goats induces inflammatory cytokine and stress hormone production, which prolongs the pregnancy period.