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
Ten years on, five things that have changed in the fight against terrorism since 7/7.
The Blur frontman told a crowd in Denmark he would play on despite it being 4am but festival bosses had other ideas.
The ex-England and Arsenal footballer is bidding to replace Boris Johnson for the Tories.