© 2023 The Authors. Published by American Chemical Society.Commercially available baby food formulas represent a convenient alternative to homemade meals especially in the recent years. The main purpose of this study is the determination of nitrate and nitrite levels by a sample stacking-capillary electrophoresis technique in the baby foods. The baby foods analyzed were organic-originated, vegetable-based, fruit-based, mixed puree, and a vegetable soup. Vegetables and fruits have high nitrate and nitrite concentrations. Nitrate itself is not actually hazardous. However, nitrite has negative health effects. Thus, baby foods have to be strictly controlled due to the potential health risk of nitrite. In this study, the sample stacking method enhanced the sensitivities of both anions. Nitrate contents ranged from 16.1 to 285 mg/kg with a mean concentration of 149 mg/kg for all samples. The lowest nitrate amount belonged to red fruity milky baby food whereas the highest nitrate was found in organic pumpkin, banana, and carrot mixed puree. The nitrite levels in all the samples were below the LOQ value of the analyzed method. As a conclusion, there is no health risk of the analyzed baby foods regarding nitrate and nitrite levels considering the regulations.