This study examined the effect of a cryoprotectant with and without pentoxifylline supplementation on the motility and viability of human testicular sperm, both before and after freezing. Testicular samples were obtained from 68 patients with azoospermia who came to the Andrology Service of West China Second University Hospital, Sichuan University, for testicular biopsies from December 2019 to April 2020. All patients were assigned randomly to two groups: experimental, whose testicular sperm were added to the cryoprotectant with pentoxifylline, and the control, whose testicular sperm were added to the cryoprotectant without pentoxifylline. Both groups used the same freezing and thawing methods. Testicular sperm motility in the experimental group was significantly higher than that of the control group, both before and after cryopreservation. The recovery rate of sperm motility in the experimental group was significantly higher than that of the control group. The percentage of samples with motile testicular sperm in the experimental group was significantly higher than that of the control group after thawing. Sperm viability was unchanged between the experimental and control groups, both before and after freezing. Overall, a pentoxifylline-supplemented cryoprotectant can significantly improve the motility of testicular sperm before and after cryopreservation.