Prematurity is the leading cause of perinatal morbidity and mortality worldwide. There is a strong causal relationship between infection and preterm births. Intrauterine infection elicits an immune response involving the release of inflammatory mediators like cytokines and prostaglandins (PG) that trigger uterine contractions and parturition events. Anandamide (AEA) is an endogenous ligand for the cannabinoid receptors CB1 and CB2. Similarly to PG, endocannabinoids are implicated in different aspects of reproduction, such as maintenance of pregnancy and parturition. Little is known about the involvement of endocannabinoids on the onset of labor in an infectious milieu. Here, using a mouse model of preterm labor induced by lipopolysaccharide (LPS), we explored changes on the expression of components of endocannabinoid system (ECS). We have also determined whether AEA and CB antagonists alter PG production that induces labor. We observed an increase in uterine N-acylphosphatidylethanolaminespecific phospholipase D expression (NAPE-PLD, the enzyme that synthesizes AEA) upon LPS treatment. Activity of catabolic enzyme fatty acid amide hydrolase (FAAH) did not change significantly. In addition, we also found that LPS modulated uterine cannabinoid receptors expression by downregulating Cb2 mRNA levels and upregulating CB1 protein expression. Furthermore, LPS and AEA induced PGF2a augmentation, and this was reversed by antagonizing CB1 receptor. Collectively, our results suggest that ECS may be involved in the mechanism by which infection causes preterm birth.