Blastocyst formation marks the segregation of the first two cell lineages in the mammalian preimplantation embryo: the inner cell mass (ICM) that will form the embryo proper and the trophectoderm (TE) that gives rise to the trophoblast lineage. Commitment to ICM lineage is attributed to the function of the two transcription factors, Oct4 (encoded by Pou5f1) and Nanog. However, a positive regulator of TE cell fate has not been described. The T-box protein eomesodermin (Eomes) and the caudal-type homeodomain protein Cdx2 are expressed in the TE, and both Eomes and Cdx2 homozygous mutant embryos die around the time of implantation. A block in early TE differentiation occurs in Eomes mutant blastocysts. However, Eomes mutant blastocysts implant, and Cdx2 and Oct4 expression are correctly restricted to the ICM TE. Blastocoel formation initiates in Cdx2 mutants but epithelial integrity is not maintained and embryos fail to implant. Loss of Cdx2 results in failure to downregulate Oct4 and Nanog in outer cells of the blastocyst and subsequent death of those cells. Thus, Cdx2 is essential for segregation of the ICM and TE lineages at the blastocyst stage by ensuring repression of Oct4 and Nanog in the TE.