We found that in the testis, overexpression of PD‐L1 in the seminiferous and Sertoli cells of the seminiferous tubules caused spermiation failure and male infertility, whereas overexpression of PD‐L1 only in the spermatogonia did not cause the above phenomenon. Here, CD274 is linked to male infertility.