Children who do not get into a grammar school will find themselves in "lower ability peer groups", which, in turn, "affects their chances of succeeding at school".
Professor Simon Burgess from the University of Bristol, who led the research, also said the inequality could be explained by the calibre of teaching in both types of schools.
Selective schooling systems sort pupils based on their ability and schools with high ability pupils are more likely to attract and retain high quality teaching staff.
This puts pupils who miss out on a grammar school place at an immediate disadvantage.
In addition they will be part of lower ability peer groups, which also affects their chances of succeeding at school.
More top news
The best of any sunshine will be for north-eastern areas particularly this morning.
The 81-year-old revealed she wasn't asked to follow the hit TV show to Channel 4, and wouldn't have been tempted by the money.
Minister will fail to eliminate the gender pay gap in a generation if it continues to "ignore" evidence to help achieve its goal, MPs warn.