Scientists at Dartmouth College in New Hampshire have developed a technique using functional magnetic resonance imaging (fMRI) to identify people who have racist beliefs. They used a survey and photos of black people for white volunteers to look at.

The brains of participants with racist tendencies showed a surge of brain activity when they saw pictures of black people. This group of people also scored low on a test after they had to interact with black individuals.

Dartmouth assistant professor Dr. Jennifer Richeson says "We were surprised to find brain activity in response to faces of black individuals predicted how research participants performed on cognitive tasks after actual interracial interactions."
Source