Epigenetic mechanisms could drive the disease course of cow's milk allergy (CMA) and formula choice could modulate these pathways. We compared the effect of two different dietary approaches on epigenetic mechanisms in CMA children. Randomized controlled trial on IgE-mediated CMA children receiving a 12-month treatment with extensively hydrolyzed casein formula containing the probiotic L.rhamnosus GG (EHCF + LGG) or with soy formula (SF). At the baseline, after 6 and 12 months of treatment FoxP3 methylation rate and its expression in CD4+ T cells were assessed. At same study points IL-4, IL-5, IL-10, and IFN-γ methylation rate, expression and serum concentration, miRNAs expression were also investigated. 20 children (10/group) were evaluated. Baseline demographic, clinical and epigenetic features were similar in the two study groups. At 6 and 12 months, EHCF + LGG group showed a significant increase in FoxP3 demethylation rate compared to SF group. At the same study points, EHCF + LGG group presented a higher increase in IL-4 and IL-5 and a higher reduction in IL-10 and IFN-γ DNA methylation rate compared to SF group. A different modulation of miR-155, -146a, -128 and -193a expression was observed in EHCF + LGG vs. SF. Dietary intervention could exert a different epigenetic modulation on the immune system in CMA children.