Embryonic stem cells exhibit pluripotency: they can differentiate into all types of somatic cells. Pluripotent genes such as Oct4 and Nanog are activated in the pluripotent state, and their expression decreases during cell differentiation. Inversely, expression of differentiation genes such as Gata6 and Gata4 is promoted during differentiation. The gene regulatory network controlling the expression of these genes has been described, and slower-scale epigenetic modifications have been uncovered. Although the differentiation of pluripotent stem cells is normally irreversible, reprogramming of cells can be experimentally manipulated to regain pluripotency via overexpression of certain genes. Despite these experimental advances, the dynamics and mechanisms of differentiation and reprogramming are not yet fully understood. Based on recent experimental findings, we constructed a simple gene regulatory network including pluripotent and differentiation genes, and we demonstrated the existence of pluripotent and differentiated states from the resultant dynamical-systems model. Two differentiation mechanisms, interaction-induced switching from an expression oscillatory state and noise-assisted transition between bistable stationary states, were tested in the model. The former was found to be relevant to the differentiation process. We also introduced variables representing epigenetic modifications, which controlled the threshold for gene expression. By assuming positive feedback between expression levels and the epigenetic variables, we observed differentiation in expression dynamics. Additionally, with numerical reprogramming experiments for differentiated cells, we showed that pluripotency was recovered in cells by imposing overexpression of two pluripotent genes and external factors to control expression of differentiation genes. Interestingly, these factors were consistent with the four Yamanaka factors, Oct4, Sox2, Klf4, and Myc, which were necessary for the establishment of induced pluripotent stem cells. These results, based on a gene regulatory network and expression dynamics, contribute to our wider understanding of pluripotency, differentiation, and reprogramming of cells, and they provide a fresh viewpoint on robustness and control during development. Characterization of pluripotent states, in which cells can both self-renew and differentiate, and the irreversible loss of pluripotency are important research areas in developmental biology. In particular, an understanding of these processes is essential to the reprogramming of cells for biomedical applications, i.e., the experimental recovery of pluripotency in differentiated cells. Based on recent advances in dynamical-systems theory for gene expression, we propose a gene-regulatory-network model consisting of several pluripotent and differentiation genes. Our results show that cellular-state transition to differentiated cell types occurs as the number of cells increases, beginning with the pluripotent state and oscillatory expression of pluripotent genes. Cell-cell signaling mediates the differentiation process with robustness to noise, while epigenetic modifications affecting gene expression dynamics fix the cellular state. These modifications ensure the cellular state to be protected against external perturbation, but they also work as an epigenetic barrier to recovery of pluripotency. We show that overexpression of several genes leads to the reprogramming of cells, consistent with the methods for establishing induced pluripotent stem cells. Our model, which involves the inter-relationship between gene expression dynamics and epigenetic modifications, improves our basic understanding of cell differentiation and reprogramming.