These results suggest that JPT2 treatment alleviates embryonic loss, attenuates diminished trophoblast invasion, and inhibits macrophage M1 polarization in mouse models of miscarriage. Here, JPT2 is linked to spontaneous abortion.