Cd40lg is located on chromosome X of mice. SgRNA and ssDNA were designed using CRISPR/Cas technology; Cd40lg conditional knockout mice were obtained by high-throughput electroporation of fertilized eggs. After sexual maturity, sperm were collected for cryopreservation.