Taimoor Raza was convicted after allegedly posting remarks about the Prophet Muhammad, his wives and companions within the site’s comments.
The public prosecutor involved said he believed it was the first time the death penalty had been awarded in a case related to social media.
Human rights campaigners have expressed concern.
Facebook itself has yet to comment on the case.
The US firm previously announced in March that it was deploying a team to Pakistan to address the government’s concerns about blasphemous content on its service, but added that it still wished to protect “the privacy and rights” of its members.
Pakistan’s Prime Minister Nawaz Sharif has described blasphemy as being an “unpardonable offence”.
Raza’s case was heard by an anti-terrorism court in Bahawalpur – about 309 miles (498km) from the capital Islamabad.
His defence lawyer said the 30-year-old had become involved in an argument about Islam on the social network with someone who had turned out to be a counter-terrorism official.
The public prosecutor said the accused had been arrested after playing hate speech and blasphemous material from his phone at a bus stop, following which his handset had been confiscated and analysed.
Raza will be able to appeal against the death penalty at Lahore High Court and then, if required, in Pakistan’s Supreme Court.
The Express Tribune, a local newspaper, reported that the verdict came days after a college professor was refused bail in another case involving accusations of blasphemy on social media in Pakistan.
Amnesty International recently published a report critical of Pakistan’s blasphemy laws.
“[They] enable abuse and violate the country’s international legal obligations to respect and protect a range of human rights, including freedom of religion or belief and of opinion and expression,” it said.
“Once someone is charged, they can be denied bail and face lengthy and unfair trials.”