Despite the associations of dietary patterns and air pollution with human reproductive health have been demonstrated, the interaction of maternal preconception diet and PM2.5 and its components exposure on in vitro fertilization (IVF) treatment outcomes has not been investigated. A total of 2688 couples from an ongoing prospective cohort were included. Principle component analysis with varimax rotation was performed to determine dietary patterns. One-year and 85-day average PM2.5 and its components exposure levels before oocyte retrieval were estimated. Generalized linear regression models were conducted to assess the association of dietary patterns and PM2.5 and its components exposure with IVF outcomes. Interactive effects of dietary patterns on the association between PM2.5 and its components and IVF outcomes were evaluated by stratified analyses based on different dietary patterns. A positive association between the “Fruits-Vegetables-Dairy” pattern and normal fertilization (p-trend = 0.009), Day 3 available embryos (p-trend = 0.048), and top-quality embryos (p-trend = 0.041) was detected. Conversely, women with higher adherence to the “Puffed food-Bakery-Candy” pattern were less likely to achieve Day 3 available embryos (p-trend = 0.042) and top-quality embryos (p-trend = 0.030), clinical pregnancy (p-trend = 0.049), and live birth (p-trend = 0.020). Additionally, increased intake of animal organs and seafood improved the odds of live birth (p-trend = 0.048). Exposure to PM2.5, SO42-, organic matter (OM), and black carbon (BC) had adverse effects on embryo development and pregnancy outcomes. Furthermore, our findings indicated that the effects of PM2.5 components exposure on normal fertilization and embryo quality were modified by the “Grains-Tubers-Legumes”. Moreover, moderate intake of animal organs and seafood appeared to attenuate the effect of NO3- and NH4+ on the risk of early abortion. Our findings provide human evidence of the interaction between dietary patterns and PM2.5 exposure on IVF outcomes during preconception, implicating the potential for dietary interventions in infertile women to improve reproductive outcomes under conditions of unavoidable ambient air-pollutant exposure.