"Caffeine is a substance that you can choose to reduce consumption of, or completely refrain from during pregnancy," said Verena Sengpiel, associate professor in obstetrics and gynecology at Sahlgrenska Academy.
Researchers found that when the children were five years old the number who were overweight or obese was five percent greater in the group whose mothers had the highest caffeine consumption, compared to those whose mothers had the lowest caffeine consumption.
High levels of caffeine can also be found in drinks and chocolate.
Sengpiel explained: "In the Nordic countries, coffee is the primary source, while, women in, for example, England receive the greatest amount of caffeine from black tea.
"If you look at mothers in the younger age group, it comes from energy drinks.
"We included different sources in the study and found a similar association between caffeine consumption from these different sources and children's growth".
Caffeine is the world's most widely consumed central nervous system stimulant. It occurs naturally or is added to foods and beverages, with coffee and tea as the most common and major sources. During pregnancy, elimination of caffeine is prolonged and it rapidly passes all biological membranes, including the blood-brain and placenta barriers, resulting in exposure of the foetus.