Nonobstructive azoospermia (NOA) is one of the most important causes of male infertility, accounting for 10-15% of infertile men worldwide. Among these, more than 70% of cases are idiopathic NOA (iNOA), whose pathogenesis and molecular basis remain unknown. This work profiles 3696 human testicular single-cell transcriptomes from 17 iNOA patients, which are classified into four classes with different arrest periods and variable cell proportions based on the gene expression patterns and pathological features. Genes related to the cell cycle, energy production, and gamete generation show obvious abnormalities in iNOA germ cells. This work identifies several candidate causal genes for iNOA, including CD164, LELP1, and TEX38, which are significantly downregulated in iNOA germ cells. Notably, CD164 knockdown promotes apoptosis in spermatogonia. Cellular communications between spermatogonial stem cells and Sertoli cells are disturbed in iNOA patients. Moreover, BOD1L2, C1orf194, and KRTCAP2 are found to indicate testicular spermatogenic capacity in a variety of testicular diseases, such as Y-chromosome microdeletions and Klinefelter syndrome. In general, this study analyzes the pathogenesis of iNOA from the perspective of germ cell development, transcription factor (TF) regulatory networks, as well as germ cell and somatic cell interactions, which provides new ideas for clinical diagnosis.