Objective: We aimed to evaluate the effects of electroacupuncture (EA) at ST36 and BL20 on the testicular tissues in a rat model of diabetes and to explore the mechanisms of action. Methods: A total of 34 male Sprague-Dawley rats were allocated to a control group (n = 10), diabetes (D) group (n = 12) or diabetes + acupuncture (DA) group (n = 12). To model diabetes, rats in groups D and DA received an intraperitoneal injection of a single dose of 35 mg/kg streptozotocin (STZ) dissolved in citrate buffer (pH = 4.5; 0.1 M) after 2 weeks of high-fat diet administration. Under xylazine/ketamine anesthesia, stainless steel needles (30 mm × 0.25 mm) were inserted bilaterally at ST36 and BL20. The needles were connected to an EA device via cables, and EA was applied for 30 min (15 Hz frequency and 0.2–1 mA intensity) twice a week for 5 weeks. Results: The effects of EA at ST36 and BL20 on blood glucose levels and body weight, biochemical parameters, histopathological, morphometric and immunohistochemical findings, and terminal deoxynucleotidyl transferase dUTP nick end labeling (TUNEL) analysis were evaluated. A significant decrease was detected in DA versus D groups in blood glucose levels, basement membrane thickness and apoptotic cell/tubule indices. In addition, there was a significant increase in the Johnsen scores, seminiferous tubule diameters, serum levels of follicle-stimulating hormone (FSH), luteinizing hormone (LH) and testosterone, proliferation indices, and sex hormone–binding globulin (SHBG) and insulin-like peptide 3 (INSL3) immunoreactivities. Conclusion: EA had multiple positive effects on blood glucose homeostasis and testicular structure/function in this rat model of diabetes. EA may be effective at preventing or eliminating histopathological damage in the diabetic testis.