BackgroundMaternal dietary habits during pregnancy are considered essential for development and growth of the fetus as well as maternal health. It has an effect on the birthweight of infants. However, little is known about the effect of dietary patterns on birthweight in urban South Africa. This study aimed to investigate differential effect of dietary patterns of pregnant women on quantiles of birthweight.MethodsData for the study were obtained from a Mother and Child in the Environment birth cohort study in Durban South Africa. Quantile regression was used to investigate the effect of maternal dietary patterns on quantiles of birthweight. Data collection was conducted during the period of 2013 to 2017 in Durban South Africa. Using factor analysis, eight dietary groups were identified from 687 pregnant women in the cohort. Quantile regression analysis was employed to identify the differential effects of the seven dietary groups and demographic factors on the birthweight.ResultsThe quantile regression estimates at the 50th quantile and the ordinary regression estimates painted the same picture about the conditional mean effect of covariates on the birthweight. But unlike the quantile regression the ordinary regression fails to give insights about the covariates effect disparities at the low and/or upper birthweight quantiles. All the dietary groups show a significant differential effect at different birthweight quantiles. For instance, increased frequency of protein rich foods intake was associated with reduction in birthweight at lower and upper quantiles; increased frequency of junk foods intake has a slight increase in birthweight at the lower quantiles but significantly higher increase at the 95th quantile (p < 0.001); increase in consuming vegetable rich foods, reduced birthweight at 95th quantile (p < 0.001). The results further showed that employment (p = 0.006) and family size (p = 0.002) had differential effects across different birthweight quantiles.ConclusionsBoth maternal undernutrition and overnutrition of protein rich foods, junk foods, snack and energy foods and vegetable rich foods have shown a substantial varying effects on those infants with birthweights in the lower and upper birthweight quantiles.