BackgroundImbalances in alkali elements (AEs) and alkaline earth elements (AEEs) cause reproductive disorders. However, it remains unclear whether AEs/AEEs in follicular fluid have a relationship with the serious reproductive disorder known as diminished ovarian reserve (DOR).MethodsA nested case‒control study was carried out in China. Follicular fluid samples from 154 DOR patients and 154 controls were collected and assessed for nine AEs/AEE levels. Both the mixed and single effects of the elements on DOR were estimated with a Bayesian kernel machine (BKMR) and logistic regressions.ResultsThe DOR group had higher median concentrations of Li, Na, and K in follicular fluid (all P values < 0.05). The logistic regression showed that compared with their lowest tertile, the high tertiles of K [OR:2.45 (1.67–4.43)], Li [OR: 1.89 (1.06–3.42)], and Cs [OR: 1.97 (1.10–3.54)] were significantly associated with the odds of DOR. The BKMR model reported that the DOR likelihood increased linearly across the 25th through 75th percentiles of the nine-AE/AEE mixture, while the AE group contributed more to the overall effect.ConclusionThis study revealed an association in which the likelihood of DOR increased with higher overall concentrations of AE/AEEs in follicular fluid. Among the nine detected elements, K, Li, and Cs exhibited significant individual associations with DOR. We provide new clues for the environmental factors on female fertility decline.Trial registrationRetrospectively registered.