Internet censorship in Pakistan refers to measures implemented by the government to regulated and restrict access to online content, including information transmitted through the internet and social media platforms .Such restrictions have periodically included the blocking of websites and social networking services. The most recent nationwide restriction involved a ban was on X (formerly Twitter) imposed around the time of the 2024 general elections; access to the platform was subsequently restored on 7 May 2025.
There have been significant instances of website access restriction in Pakistan, most notably when YouTube was banned/blocked from 2012 to 2016. Pakistan has asked a number of social media organisations to set up local offices within the country, but this is yet to happen.
Pakistan made global headlines in 2010 for blocking Facebook and other Web sites in response to a contest popularized on the social networking site to draw images of the Islamic prophet Muhammad. In general, Internet filtering in Pakistan remains both inconsistent and intermittent, with filtering primarily targeted at content deemed to be a threat to national security, pornography, homosexuality and at religious content considered blasphemous. However, the present banning of Twitter is politically motivated.
In 2019, the National Assembly Standing Committee on Information Technology and Telecom was informed by Pakistan Telecommunication Authority (PTA) that 900,000 URLs were blocked in Pakistan for "reasons such as carrying blasphemous and pornographic content and/or sentiments against the state, judiciary or the armed forces." In February 2023, Wikipedia was banned by the PTA for two days over alleged blasphemous content.
Overview
In mid-2012 Pakistanis had relatively easy access to a wide range of content, including most sexual, political, social, and religious sites on the Internet. The OpenNet Initiative listed Internet filtering in Pakistan as substantial in the conflict/security area, and as selective in the political, social, and Internet tools areas in August 2012."ONI Country Profile: Pakistan" , OpenNet Initiative, 6 August 2012. Retrieved 16 November 2013. Additionally, Freedom House rated Pakistan's "Freedom on the Net Status" as "Not Free" in its Freedom on the Net 2022 report."Pakistan" , Freedom on the Net 2013, Freedom House, 23 January 2022. Retrieved 23 January 2022. This is still true as of 2022."Pakistan" , Freedom on the Net 2015, Freedom House, Retrieved 8 July 2016.
Internet filtering in Pakistan is regulated by the Pakistan Telecommunication Authority (PTA) and the Federal Investigation Agency (FIA) under the direction of the government, the Supreme Court of Pakistan, and the Ministry of Information Technology (MoIT). Although the majority of filtering in Pakistan is intermittent—such as the occasional block on a major Web site like Blogspot or YouTube—the PTA continues to block sites containing content it considers to be blasphemous, anti-Islamic, or threatening to internal security. Online civil society activism that began in order to protect free expression in the country continues to expand as citizens utilize new media to disseminate information and organize.
Pakistan has blocked access to websites critical of the government or the military. Blocking of websites is often carried out under the rubric of restricting access to "blasphemous" content, pornography, or religious immorality. At the end of 2011, the PTA had officially banned more than 1,000 pornographic websites in Pakistan.Pakistan, Freedom on the Net 2012 report by Freedom HousePTA approved: Over 1,000 porn sites blocked in Pakistan The Express Tribune, 18 November 2011
Political Censorship
2024 Censorship on Twitter
X, formerly known as Twitter, was inaccessible in Pakistan from February 2024 to May 2025. The Pakistan government blocked access to the social media platform around the time of the 2024 February elections, citing national security concerns. Despite the government's stance, both the government and the Pakistan Telecommunication Authority (PTA) refused to comment on the outages, which were widely reported by internet watchdog groups.
Activists challenging the ban argue that it was designed to suppress dissent following the February 8 general elections, which were marred by widespread claims of vote rigging and subsequent protests. Authorities had also shut down mobile services on the day of the elections, again citing security concerns. NetBlocks, an internet monitoring group, reported that users were unable to access X on 10 February while the country was awaiting the election results.
In April 2024, the Sindh High Court ordered the government to restore access to the platform within one week, according to a report by the AFP news agency, citing lawyer Moiz Jaaferi, who had launched a separate challenge against the ban. Despite this order, access to X was sporadic, with availability fluctuating based on the internet service provider, which forced users to rely on virtual private networks (VPNs), as noted by Alp Toker of NetBlocks.
Imran Khan's Pakistan Tehreek-e-Insaf (PTI) party, a prolific user of social media platforms, was particularly impacted by this ban. This reliance on social media grew especially after the country's traditional media began censoring news about Khan and his party in the run-up to the elections. Khan, who has more than 20 million followers on X, saw his party call for protests against alleged rigging in the February 2024 General Elections. A government official's admission of vote manipulation in mid-February raised further concerns about the transparency of the elections confirming Imran Khan's claims to many and furthering the allegations.
NetBlocks, the internet Observatory confirmed through its Live metrics showing X/Twitter has been restricted in #Pakistan for since February, with service remaining fully or intermittently restricted for most users. They added that the incident comes amidst a surge in internet censorship during elections marred by irregularities in Pakistan.NetBlocks' official Tweet (1)
NetBlocks' official Tweet (2) Asad Baig, a media strategist at Dawn News said that "The government's actions reek of authoritarianism, stifling dissent, and silencing voices in the name of maintaining control." Several condemnations of the ban were also exchanged by many non-governmental organizations.
However, at the start of the 2025 India–Pakistan conflict, the ban on X was silently lifted, which was noticed after multiple users could access the website and use the platform without the need of any VPNs or proxy services. Due to the situation of the conflict at the time, speculation led to the belief that the ban was lifted to counter Indian trolls & misinformation about the conflict on the site. No official statement has been released to explain the lifting of the ban.
Intimidation and arrests over social media posts In 2017, Taha Siddiqui, a Pakistani journalist, pointed out the Pakistani military’s false glorification of the 1965 India-Pakistan war on social media and he was subsequently warned by a military official against disruption of their media campaign. In 2018, armed men tried to kidnap him in Islamabad, forcing him to flee and relocate to France.
In June 2026, YouTuber Razi Tahir was arrested and subsequently handed over to National Cyber Crime Investigation Agency (NCCIA) over controversial social media posts regarding an alleged meeting between Imran Khan and a former senior public figure after his pre-arrest bail application was rejected by a court.
Pakistan Internet Exchange
The Pakistan Internet Exchange (PIE), operated by the state-owned Pakistan Telecommunication Company Ltd (PTCL), was created to facilitate the exchange of Internet traffic between ISPs within and outside of Pakistan."The current state of the Internet in Pakistan" , Tee Emm, e-mail, archived by the Network Startup Resource Center (NSRC), 27 May 2004 Because the majority of Pakistan's Internet traffic is routed through the PIE (98% of Pakistani ISPs used the PIE in 2004), it provides a means to monitor and possibly block incoming and outgoing Internet traffic as the government deems fit."The National Access Point: The Dilemma of Vision" , by Zubair Fasial Abbasi, e-mail sent to s-asia-it, archived at the Asia Pacific Network Information Center (APNIC), 14 July 2000
Internet surveillance in Pakistan is primarily conducted by the PIE under the auspices of the PTA. The PIE monitors all incoming and outgoing Internet traffic from Pakistan, as well as e-mail and keywords, and stores data for a specified amount of time. Law enforcement agencies such as the FIA can be asked by the government to conduct surveillance and monitor content. Under the Prevention of Electronic Crimes Ordinance (PECO), ISPs are required to retain traffic data for a minimum of 90 days and may also be required to collect real-time data and record information while keeping their involvement with the government confidential. The ordinance does not specify what kinds of actions constitute grounds for data collection and surveillance.
Pakistan Telecommunication Company In April 2003, the PTCL announced that it would be stepping up monitoring of pornographic websites. "Anti-Islamic" and "blasphemous" sites were also monitored."KARACHI: PTCL begins blocking proxy servers: Proscribed sites" , Bahzad Alam, Dawn, 28 July 2003Khan In early March 2004, the Federal Investigation Agency (FIA) ordered Internet service providers (ISPs) to monitor access to all pornographic content. The ISPs, however, lacked the technical know-how, and felt that the PTCL was in a better position to carry out FIA's order. A Malaysian firm was then hired to provide a filtering system, but failed to deliver a working system.
National URL filtering and blocking system In March 2012, the Pakistan government took the unusual step of touting for firms that could help build it a nationwide content-filtering service. The Pakistan Telecommunication Authority published a request for proposals for the "deployment and operation of a national level URL Filtering and Blocking System" which would operate on similar lines to China's Golden Shield, or "Great Firewall". Academic and research institutions as well as private commercial entities had until 16 March to submit their proposals, according to the request's detailed 35-point system requirements list. Key among these is the following: "Each box should be able to handle a block list of up to 50 million URLs (concurrent unidirectional filtering capacity) with processing delay of not more than 1 milliseconds".
Deep packet inspection (DPI) The Pakistan Telecommunication Authority (PTA) states that the DPI system has been installed to implement the Prevention of Electronic Crimes Act (PECA) 2016, particularly to filter and block blasphemous content and any material that is considered to be against the integrity or security of Pakistan. Canadian firm Sandvine was contracted to provide and set up the equipment in Pakistan.
Interception and web monitoring systems