Now by studying the genetic data from more than 240,000 people, scientists have found 538 genes which are linked to intelligence.
Researchers were able to predict intelligence solely based on a person's DNA, a breakthrough which could potentially help doctors to diagnose impaired cognitive ability, or allow children to be given a tailor-made education based on their innate abilities.
Dr David Hill, of the University of Edinburgh's Centre for Cognitive Ageing and Cognitive Epidemiology, who led the research, said: "Our study identified a large number of genes linked to intelligence.
"We were also able to predict intelligence in another group using only their DNA."
The study also showed that the same genes which influence intelligence are also linked to other biological processes such as length of life.
The new research suggests that intelligent people are biologically fitter.
The research was published in the journal Molecular Psychiatry.