The provisional constitution, approved by voters in 2011, does not specifically address LGBT-rights and the Egyptian government continued to oppose a failed United Nations declaration that would condemn anti-gay discrimination and harassment.In 2013, Egyptian comedian Bassem Youssef said on The Daily Show, in an interview with Jon Stewart, that he had been charged with "propagating and promoting homosexuality and obscenity" by the Morsi government.Repeat offenders of the law can face even harsher punishment for what the law views as "habitual debauchery".In addition to the law on prostitution, other public morality or order-based laws gave the police and judges significant leeway to jail or fine gay and bisexual men.The incident became a media sensation, promoting various public figures to view homosexuality as a product of Western decadence and demand that the government execute homosexuals or send them to mental institutions to be reformed.Within a year, the Egyptian government began a public crackdown on Egyptian gay men by raiding private parties, arresting the guests and charging them under the Prostitution and Debauchery law.While arrests had been periodically occurring under these laws for decades, a more systematic crackdown appeared to have begun in the early part of the twenty-first century.Beginning in 2000, under Hosni Mubarak, these laws were used to engage in a more sophisticated and systematic crackdown on gay or bisexual men, or indeed anyone deemed by the government to be supportive of LGBT rights.
According to 2013 survey by the Pew Research Center, 95% of Egyptians believe that homosexuality should not be accepted by society.
In December 2014, around 26 men were arrested in a public bathhouse (Hammam) after a TV presenter, Mona Iraqi, collaborated with the Egyptian police. In September 2017, in a concert of the rock group Mashrou' Leila (whose singer is openly gay) visitors waved the rainbow flag and several men were arrested and charged with debauchery.
The best known case of possible homosexuality in ancient Egypt is that of the two high officials Nyankh-Khnum and Khnum-hotep.
In light of public opinion, shaped by cultural and religious traditions, these public morality and public order-based laws have been used against LGBT people as well as anyone who supports more liberal attitudes.
During most of the rule of Hosni Mubarak, the Egyptian government did not support LGBT-rights legislation at home and objected to attempts, starting in the 1990s, to have the United Nations include LGBT-rights within its human rights mission.