The more mixed the school, the warmer feelings pupils are likely to have towards other races and ethnicities.
The study - from the London School of Economics and the University of Bristol - looked at the attitudes of 4,000 teenagers in English state schools.
The study examined young people's attitudes towards people of other ethnicities - such as whether they had friends from other racial groups.
The views of white British pupils were particularly likely to shift when they were at school with other ethnicities.
And the study found that the diversity of the school population was more significant for young people's attitudes than the mix of people in the local area.
But there was still a tendency for young people to feel more positively towards people of their own ethnicity, and to have more friendships in that group.
Read the full article about ethnically mixed schools by Sean Coughlan at BBC.