In female mammals, one of two X chromosomes is epigenetically inactivated for gene dosage compensation, known as X inactivation (Xi). Inactivation occurs randomly in either the paternal or maternal X chromosome in all embryonic cell lineages, designated as random Xi. By contrast, in extra-embryonic cell lineages, which are segregated from somatic cell lineages in pre-implantation development, the paternal X chromosome is selectively inactivated, known as imprinted Xi. Although it is speculated that erasure of the imprinted mark on either the maternal or paternal X chromosome in somatic cell lineages might change the mode of Xi from imprinted to random, it is not known when this event is completed in development. Here, we tested the mode of Xi during the differentiation of female mouse embryonic stem (ES) cells derived from the inner cell mass (ICM) of blastocyst-stage embryos toward trophectoderm (TE) and primitive endoderm (PrE) lineages induced by artificial activation of transcription factor genes Cdx2 and Gata6, respectively. We found that random Xi occurs in both TE and PrE cells. Moreover, cloned embryos generated by the transfer of nuclei from the female ES cells showed random Xi in TE, suggesting the complete erasure of all X imprints for imprinted Xi in ICM-derived ES cells.