Aim: Matrine is an alkaloid from Sophora alopecuroides L, which has shown a variety of pharmacological activities and potential therapeutic value in cardiovascular diseases. In this study we examined the protective effects of matrine against diabetic cardiomyopathy (DCM) in rats. Methods: Male SD rats were injected with streptozotocin (STZ) to induce DCM. One group of DCM rats was pretreated with matrine (200 mg·kg -1 ·d -1, po) for 10 consecutive days before STZ injection. Left ventricular function was evaluated using invasive hemodynamic examination, and myocardiac apoptosis was assessed. Primary rat myocytes were used for in vitro experiments. Intracellular ROS generation, MDA content and GPx activity were determined. Real-time PCR and Western blotting were performed to detect the expression of relevant mRNAs and proteins. Results: DCM rats exhibited abnormally elevated non-fasting blood glucose levels at 4 weeks after STZ injection, and LV function impairment at 16 weeks. The cardiac tissues of DCM rats showed markedly increased apoptosis, excessive ROS production, and activation of TLR-4/MyD-88/caspase-8/caspase-3 signaling. Pretreatment with matrine significantly decreased non-fasting blood glucose levels and improved LV function in DCM rats, which were associated with reducing apoptosis and ROS production, and suppressing TLR-4/MyD-88/caspase-8/caspase-3 signaling in cardiac tissues. Incubation in a high-glucose medium induced oxidative stress and activation of TLR-4/MyD-88 signaling in cultured myocytes in vitro, which were significantly attenuated by pretreatment with N-acetylcysteine. Conclusion: Excessive ROS production in DCM activates the TLR-4/MyD-88 signaling, resulting in cardiomyocyte apoptosis, whereas pretreatment with matrine improves cardiac function via suppressing ROS/TLR-4 signaling pathway.