Researchers found that childhood nutrition has long lasting effects on IQ, even after previous intelligence, wealth and social status are taken into account.
The study examined whether the type of main meal that children ate each day had an impact on their cognitive ability and growth, the 'Daily Mail' reported.
It looked at 4,000 Scottish children aged three to five years old and compared fast food with freshly-cooked food.
Researchers at Goldsmiths, University of London, also found that parents with a higher socio-economic status reported that they gave their children meals prepared with fresh ingredients more often, which positively affected their IQ.
Lower socio-economic status was linked to more children having fast food, which led to lower intelligence, they said.
"It's common sense that the type of food we eat will affect brain development, but previous research has only looked at the effects of specific food groups on children