To the best of our knowledge, prior research has yet to delve into the combined and interactive relationships between maternal exposure to essential elements and toxic metals and infancy’s continuous growth and trajectories. This study aims to discern infant growth trajectories in the first year of life and to determine the associations of maternal serum levels of essential elements and toxic metals with growth trajectory. Within a Chinese prospective cohort in 2019 − 2021, 407 mother−infant pairs were included, and the serum levels of five essential elements (zinc, calcium, copper, magnesium and iron) and two toxic metals (cadmium and lead) in early pregnancy were assessed. The growth trajectory of infants was followed until age one year. Raw BMI and height values were transformed to age- and sex-specific BMI and height standard deviation (SD) scores. Latent-class group-based trajectory models and piecewise linear mixed regression were estimated to determine infant growth trajectories and growth velocity, respectively. The individual relationship between maternal metallic element levels and infant growth trajectory was examined using multinomial logistic regression models and linear mixed regression, while joint associations and interactive relationships were explored using Bayesian kernel machine regression (BKMR) following confounder adjustments. Four distinct trajectory patterns based on BMI-z score (low-rapid BMI gain group, normal-stable BMI group, very low-rapid BMI gain group and normal-rapid BMI gain group) and length-for-age (high-stable length group, low-stable length group, normal-rapid length gain group, very low-rapid length gain group) were identified during the first year post-birth, respectively. In single-metal and multiple-metal models, infants born to mothers with higher serum Zn and lower serum Cu levels were associated with a normal-rapid BMI gain trajectory during the first year. Serum Cu exhibited a positive correlation with the rate of BMI change solely in infants aged 6–12 months. Further, the BKMR analysis revealed a statistically significant and negative joint effect of the five essential elements on the likelihood of normal-rapid BMI/length gain trajectory when serum levels of these elements fell below the 70th percentile compared to median levels. In addition, high levels of serum copper and calcium interactively affect the rates of BMI change during 6–12 months old (β: −0.21, 95% CI: −0.44, −0.03, P = 0.04, P-interaction=0.04). In conclusion, maternal trace elements at early pregnancy are linked to infant growth patterns and growth velocity in the first year of life.