The present study examined the mechanism by which metformin prevents dehydroepiandrosterone (DHEA)-induced embryonic resorption in mice. Treatment with DHEA (6 mg/100 g bodyweight, 24 and 48 h post implantation) induced 88 +/- 1 % embryonic resorption and the diminution of both serum oestradiol (E) and progesterone (P) levels. However, when metformin (50 mg/kg bodyweight) was given together with DHEA, embryo resorption (43 +/- 3% v. 35 +/- 5% in controls) and both serum E and P levels were not significantly different from controls. Glucose and insulin levels were increased in the DHEA-treated mice but when metformin was administered together with DHEA these parameters were similar to control values. Treatment with DHEA increased ovarian oxidative stress and diminished uterine nitric oxide synthase (NOS) activity; however, when metformin was administered together with DHEA, both ovarian oxidative stress and uterine NOS activity were not different from controls. Metformin treatment did not modify the percentage of CD4(+) and CD8(+) T cells from both axillar and retroperitoneal lymph nodes but prevented the increase of serum tumour necrosis factor +/- produced in DHEA-treated mice. These results show that metformin acts in DHEA-induced embryonic resorption in mice by modulating endocrine parameters, ovarian oxidative stress and uterine NOS activity.