Methionine, folic acid, betaine and choline interact in the one-carbon metabolism which provides methyl groups for methylation reactions. An optimal intake of these nutrients during pregnancy is required for successful completion of fetal development and evidence is growing that they could be involved in metabolic long-term programming. However, the biological pathways involved in the action of these nutrients are still poorly known. This study investigated the interaction between methyl donors and protein content in maternal diet during the preconceptual, pregnancy and lactation periods and the consequences on the rat offspring in the short and long term. Methyl donor supplementation reduced leptin secretion in offspring, whereas insulin levels were mostly affected by protein restriction. The joint effect of protein restriction and methyl donor excess strongly impaired postnatal growth in both gender and long term weight gain in male offspring only, without affecting food intake. In addition, rats born from protein restricted and methyl donor supplemented dams gained less weight when fed a hypercaloric diet. Methylation of the leptin gene promoter in adipose tissue was increased in methyl donor supplemented groups but not affected by protein restriction only. These results suggest that maternal methyl donor supplementation may influence energy homeostasis in a gender-dependent manner, without affecting food intake. Moreover, we showed that macronutrients and micronutrients in maternal diet interact to influence the programming of the offspring.