A large majority of Africans express tolerance toward people of different ethnicities, religions, political affiliations, and nationalities, but only one in four feel comfortable living next door to someone in a same-sex relationship, the latest Afrobarometer Pan-Africa Profile reveals.

While majorities say they trust other groups of people at least "somewhat," only relatives enjoy "a lot" of trust from a majority of respondents, and nearly half of respondents express little or no trust in people from other ethnic and religious backgrounds.

The report, based on 53,444 face-to-face interviews in 39 African countries, shows widespread perceptions of unfair treatment by governments, especially on the basis of people's economic status.

Overall, Africans express a strong attachment to their national identities, but a majority consider their ethnic identities at least equally important.