Metformin, a first-line oral anti-diabetic drug, has recently been reported to exert protective effect on various cardiovascular diseases. However, the potential role of metformin in ethanol-induced cardiomyocyte injury is still unknown. Therefore, this study was aimed to investigate the effect of metformin on ethanol-induced cardiomyocyte injury and its underlying mechanism. H9c2 cardiomyocytes were exposed to ethanol for 24h to establish an ethanol-induced cardiomyocyte injury model, and followed by treatment with metformin in the presence or absence of Lapatinib (an ErbB2 inhibition). CCK8 and LDH assays demonstrated that metformin improved cell viability in cardiomyocytes exposed to ethanol. Furthermore, metformin suppressed cardiomyocyte apoptosis and reduced the expressions of apoptosis-related proteins (Bax and C-CAS-3). In addition, our results showed that metformin activated the AKT/Nrf2 pathway, and then promoted Nrf2 nuclear translocation and the transcription of its downstream antioxidant genes (HO-1, CAT and SOD2), thereby inhibiting oxidative stress. Interestingly, we found that ErbB2 protein expression was significantly inhibited in ethanol-treated cardiomyocytes, which was markedly reversed by metformin. In contrast, Lapatinib largely abrogated the activation of AKT/Nrf2 signaling by metformin, accompanied by the increases in oxidative stress and cardiomyocyte apoptosis, indicating that metformin prevented ethanol-induced cardiomyocyte injury in an ErbB2-dependent manner. In summary, our study provides the first evidence that metformin protects cardiomyocyte against ethanol-induced oxidative stress and apoptosis by activating ErbB2-mediated AKT/Nrf2 signaling. Thus, metformin may be a potential novel treatment approach for alcoholic cardiomyopathy.