Grandi told the Security Council "there is unprecedented stigmatisation of refugees and migrants," and responses are increasingly inadequate.
He said he has worked with refugees for over three decades and has seen "much solidarity, even heroism in some of the responses that are provided on the ground" to help them.
And "that solidarity is still very strong" in many parts of the world, from African villages to the border between Bangladesh and Burma, to communities in Latin American helping Venezuelans, Grandi said.
"But also in these 3 1/2 decades I have never seen such toxicity, such poison in the language of politics, in media, in social media, even in everyday discussions and conversations around this issue — toxicity that focuses sadly, tragically, often, on refugees, on migrants, on foreigners," he said.
"That should be of concern to us all."
Grandi added that "many politicians believe that — and I think they are proven right — that doing this expands their consensus."
But he said this is wrong and unfair to people "that are fleeing because they seek safety from war, from persecution."
He said the mosque attacks showed this has become an issue of security and stability for all countries — and governments need to address the issue of language on social media and in politics.
"It is an issue if left unchecked may have very grave consequences, not only for our work but for the world in general," Grandi warned.
-AP