"Members of this religious community have faced continuous threats, discrimination and violent attacks in Pakistan," three UN experts said in a statement.
"The government must take every step to ensure the security of members of all religious minorities and their places of worship so as to prevent any recurrence of today's dreadful incident."
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
The mosques attacked belonged to the Ahmadi community, which Pakistan has declared non-Muslim. The minority has been attacked by Sunni extremists before, but the magnitude of Friday's assault was unprecedented.
Warning signs
According to the UN experts, there had been warning signs prior to the attack which were not heeded.
"In Pakistan and elsewhere, Ahmadis have been declared non-Muslims and have been subject to a number of undue restrictions and in many instances institutionalised discrimination," the statement said.
"This emboldens opinion makers who wish to fuel hatred and perpetrators of attacks against religious minorities."
The statement was from Asma Jahangir, a special rapporteur on freedom of religion; Gay McDougall, an independent expert on minority issues; and Philip Alston, a special rapporteur on extrajudicial, summary or arbitrary executions.

