Throughout infancy, the brain undergoes rapid changes in structure and function that are sensitive to environmental influences, such as diet. Breastfed (BF) infants score higher on cognitive tests throughout infancy and into adolescence than formula fed (FF) infants, and these differences in neurocognitive development are reflected in higher concentrations of white and grey matter as measured by MRI. To further explore the effect diet has on cognitive development, electroencephalography (EEG) is used as a direct measure of neuronal activity and to assess specific frequency bands associated with cognitive processes. Task-free baseline EEGs were collected from infants fed with human milk (BF), dairy-based formula (MF), or soy-based formula (SF) at 2, 3, 4, 5, and 6 months of age to explore differences in frequency bands in both sensor and source space. Significant global differences in sensor space were seen in beta and gamma bands between BF and SF groups at ages 2 and 6 months, and these differences were further observed through volumetric modeling in source space. We conclude that BF infants exhibit earlier brain maturation reflected in greater power spectral density in these frequency bands.