Background: Diet during pregnancy is a key factor in the success of pregnancy. However, several studies have found pregnant women have low adherence to dietary recommendations. The midwife is a key health professional to provide nutrition education for pregnant women. Thus, it is important to know in detail her role in this respect. Aim: To explore how Spanish midwives undertake nutrition education in order to assess the need for specific interventions aimed at improving the health of pregnant women. Methods: A cross-sectional descriptive observational study was undertaken using an online questionnaire (466 responses). Findings: Spanish midwives recognise the importance of nutrition in pregnancy and that advising pregnant women in this regard is part of their role. In fact, all community midwives discuss nutrition to pregnant women, although they recognise that they do not feel particularly comfortable in dealing with certain topics, which could be related to a lack of mastery of the subjects. Midwives (56.5 %) rated the nutrition training their received as poor. Conclusion: In order to guarantee the quality in the nutrition education provided by Spanish midwives to promote the health of pregnant women, our results demonstrate the importance of strengthening both the nutrition content of midwives' training programmes and the ongoing support they receive throughout their professional life.