YAP plays a vital role in controlling growth and differentiation in various cell lineages. Although the expression of YAP in mice testicular and spermatogenic cells suggests its role in mammalian spermatogenesis, the role of YAP in the development of human male germ cells has not yet been determined. Using an in vitro model and a gene editing approach, we generated human spermatogonia stem cell-like cells (hSSLCs) from human embryonic stem cells (hESCs) and investigated the role of YAP in human spermatogenesis. The results showed that reducing YAP expression during the early stage of spermatogenic differentiation increased the number of PLZF+ hSSLCs and haploid spermatid-like cells. We also demonstrated that the up-regulation of YAP is essential for maintaining spermatogenic cell survival during the later stages of spermatogenic differentiation. The expression of YAP that deviates from this pattern results in a lower number of hSSLCs and an increased level of spermatogenic cell death. Taken together, our result demonstrates that the dynamic expression pattern of YAP is essential for human spermatogenesis. Modulating the level of YAP during human spermatogenesis could improve the production yield of male germ cells derived from hESCs, which could provide the optimization method for in vitro gametogenesis and gain insight into the application in the treatment of male infertility.