Background. Preterm birth is a main determinant of neonatal mortality and morbidity and a major contributor to the overall mortality and burden of disease. However, research of the preterm birth is hindered by the imprecise definition of the clinical phenotype and complexity of the molecular phenotype due to multiple pregnancy tissue types and molecular processes that may contribute to the preterm birth. Here we comprehensively evaluate the mRNA transcriptome that characterizes preterm and term labor in tissues comprising the pregnancy using precisely phenotyped samples. The four complementary phenotypes together provide comprehensive insight into preterm and term parturition. Methods. Samples of maternal blood, chorion, amnion, placenta, decidua, fetal blood, and myometrium from the uterine fundus and lower segment (n = 183) were obtained during cesarean delivery from women with four complementary phenotypes: delivering preterm with (PL) and without labor (PNL), term with (TL) and without labor (TNL). Enrolled were 35 pregnant women with four precisely and prospectively defined phenotypes: PL (n = 8), PNL (n = 10), TL (n = 7) and TNL (n = 10). Gene expression data were analyzed using shrunken centroid analysis to identify a minimal set of genes that uniquely characterizes each of the four phenotypes. Expression profiles of 73 genes and non-coding RNA sequences uniquely identified each of the four phenotypes. The shrunken centroid analysis and 10 times 10-fold cross-validation was also used to minimize false positive finings and overfitting. Identified were the pathways and molecular processes associated with and the cis-regulatory elements in gene's 50 promoter or 30-UTR regions of the set of genes which expression uniquely characterized the four phenotypes. Results. The largest differences in gene expression among the four groups occurred at maternal fetal interface in decidua, chorion and amnion. The gene expression profiles showed suppression of chemokines expression in TNL, withdrawal of this suppression in TL, activation of multiple pathways of inflammation in PL, and an immune rejection profile in PNL. The genes constituting expression signatures showed over-representation of three putative regulatory elements in their 50and 30 UTR regions. Conclusions. The results suggest that pregnancy is maintained by downregulation of chemokines at the maternal-fetal interface. Withdrawal of this downregulation results in the term birth and its overriding by the activation of multiple pathways of the immune system in the preterm birth. Complications of the pregnancy associated with impairment of placental function, which necessitated premature delivery of the fetus in the absence of labor, show gene expression patterns associated with immune rejection.