||Testosterone is indispensable for sexual development and maintaining male characteristics, and deficiency of this hormone results in primary or late-onset hypogonadism (LOH). Testosterone is primarily produced in Leydig cells, where autophagy has been reported to be extremely active. However, the functional role of autophagy in testosterone synthesis remains unknown. In this study, we show that steroidogenic cell–specific disruption of autophagy influenced the sexual behavior of aging male mice because of a reduction in serum testosterone, which is similar to the symptoms of LOH. The decline in testosterone was caused mainly by a defect in cholesterol uptake in autophagy-deficient Leydig cells. Further studies revealed that once autophagic flux was disrupted, Na+/H+exchanger regulatory factor 2 (NHERF2) accumulated in Leydig cells, resulting in the down-regulation of scavenger receptor class B, type I (SR-BI) and eventually leading to insufficient cholesterol supply. Collectively, these results reveal that autophagy promotes cholesterol uptake into Leydig cells by eliminating NHERF2, suggesting that dysfunction of autophagy might be causal in the loss of testosterone production in some patients.