There is little evidence regarding the role that consuming a Mediterranean diet (MedDiet) during pregnancy plays in foetal growth. We therefore examined the relationship between maternal MedDiet adherence during pregnancy and anthropometric measures and small-for-gestational-age (SGA) at birth in a Spanish population on the north-eastern Mediterranean coast of Spain. Prospective analysis involved 614 mother–newborn pairs from the ECLIPSES study. Diet during pregnancy was assessed using a validated food frequency questionnaire, and a relative MedDiet score (rMedDiet) was calculated. Neonatal information, including weight, length, head circumference and SGA (< 10th percentile) at birth, was recorded. Multivariable logistic regression analyses were performed. The mean rMedDiet score was 9.8 (SD 2.1), ranging from 5 to 16 points. In the sample, 45% of the women had low (≤ 9 points), 32% had medium (10–11 points), and 22% had high (≥ 12 points) adherence to the rMedDiet. There was no association between rMedDiet and birth weight, length, head circumference or anthropometric indices (weight/length ratio and ponderal index). Pregnant women with a high rMedDiet score had a lower risk of delivering a SGA baby for weight (high vs low, OR = 0.36; 95% CI 0.16–0.79) and head circumference (high vs low, OR = 0.39; 95% CI 0.18–0.86), and a nonsignificant decrease in risk of SGA for length (high vs low, OR = 0.57; 95% CI 0.28–1.17). In conclusion, closer adherence to the MedDiet during pregnancy may have beneficial effects on foetal growth.