Low birth weight (LBW) is a global health concern. While it is commonly associated with maternal health and behavior, exposure to ambient air pollution, can also play a role in contributing to LBW. In Brazil, where diverse environmental conditions and regional disparities exist, assessing the impact of ambient air pollution on LBW becomes particularly pertinent. To our knowledge, there is a gap in the existing literature, as no previous study has specifically investigated the relationship between ambient air pollution and LBW nationwide in Brazil. This study aims to fill this gap by examining the association between ambient air pollution and LBW in each trimester of pregnancy across the Brazilian states. In this work, birth data from January 1, 2001, to December 31, 2018 has been used. We utilized logistic regression models to estimate the odds ratio (OR) for low birth weight (LBW) associated with ambient air pollution (PM2.5, NO2, and O3) during each trimester of pregnancy (1st to 3rd trimester) across all 27 Brazilian states in our nationwide case-control study. We adjusted our model for several variables, including ambient temperature, relative humidity, and socioeconomic status (SES) variables at the individual level. We also conducted effect modification analyses by infant sex, mother's age, and the number of prenatal visits. Our study comprises over 10,213,144 birth records nationwide. Of these, 479,204 (4.92%) infants were included as cases of LBW. Our results indicate positive associations between PM2.5 and LBW, mainly in the Southern region. For example, in the state of Santa Catarina (South region), ORs were 1.003 (95% CI: 1.002, 1.004), 1.003 (95% CI: 1.002, 1.004), and 1.005 (95% CI: 1.003, 1.007) for the 1st, 2nd, and 3rd trimesters of exposure, respectively. NO2 had a robust association with LBW in the Northern and Northeastern states, including the state of Amapá (North region, where the Amazon Forest is located) with ORs of 1.377 (95% CI: 1.010, 1.878), 1.390 (95% CI: 1.020, 1.894), and 1.747 (95% CI: 1.297, 2.352) for the 1st, 2nd, and 3rd trimesters of exposure, respectively. Similarly, O3 had a robust association in the North and Midwest states, as observed in the state of Amapá with ORs of 1.033 (95% CI: 1.012, 1.054), and 1.033 (95% CI: 1.013, 1.053) for the 2nd, and 3rd trimesters, respectively. In the stratified analysis, boys were more vulnerable than girls, and the lower number of prenatal visits was associated with higher OR. Our findings are essential to the development of guidelines to prevent maternal exposure and protection of newborns in Brazil. This study provides valuable insights for region-specific strategies to improve maternal and neonatal health.