VPNs in Africa: where the internet is blocked, where it goes dark, and the one country that makes you declare your VPN
The previous version of this page was an essay about empowerment. It said VPNs help Africans bypass censorship, quoted no law, named no country's actual rules, and recommended checking for "a wide server network". It also missed the only fact about VPNs in Africa that is genuinely unusual: one country now requires its citizens to declare their VPN to the state. The search queries this page receives are practical, people asking for a VPN for African countries and whether the internet there is restricted, so this rewrite answers with the two tables that question needs: what is blocked right now, country by country, and the shutdown record of the last decade.
One definition first, because everything else on this page turns on it. A platform block filters specific services while the network stays up; a shutdown disconnects the network itself. A VPN defeats the first and is helpless against the second. Most confusion about VPNs in Africa comes from mixing these up.
Where is the internet restricted in Africa right now?
Status as of September 2026, for the nine countries this page's readers ask about most.
| Country | Standing restrictions today | Is the VPN itself regulated? | Source |
|---|---|---|---|
| Tanzania | X blocked on the major networks since 20 May 2025, imposed after the police force's account was hacked to spread a false report of the president's death; OONI measurements show the block holding on Vodacom, Airtel, Tigo and TTCL into September 2026. The October 2025 election blackout has ended. | Yes, the only declaration rule in Africa: VPN use must be declared to the regulator TCRA since October 2023, IP addresses included. | OONI Explorer, The Citizen |
| Uganda | Winding down. A minister confirmed Facebook's unblocking on 13 June 2026 after nearly five and a half years, and several networks now carry it, but measurements still find it blocked on others, including the largest operator. The January 2026 election shutdown has ended. | No standing rule, though the regulator ordered providers to block or tax VPNs during the 2018 social-media-tax push. | East News Uganda, Freedom House |
| Egypt | The continent's largest standing block effort: more than 600 websites blocked between May 2017 and late 2020, including 116 news sites and the websites of 394 VPN and proxy providers, enforced with deep packet inspection. Measurements in 2026 still show major VPN providers' sites and Tor's failing on Egyptian networks. | No law against using a VPN; the state blocks providers' websites instead, so the practical hurdle is downloading the app in-country. | AFTE joint statement, OONI |
| Ethiopia | No standing platform block. The record is the point: the Tigray region spent about two years disconnected from November 2020, and the whole country lost social media for five months in 2023. | No. | Access Now, Africanews |
| Senegal | None standing. TikTok, blocked in August 2023, was measured reachable again from 18 February 2024; the 2023 shutdowns were taken to the ECOWAS Court by journalists and AfricTivistes in January 2024. | No. | Media Defence, OONI Explorer |
| Nigeria | None standing. The Twitter ban of June 2021 ended in January 2022; no platform has been blocked nationally since. | No. | Blocking of Twitter in Nigeria |
| Cameroon | None standing nationally, but the precedent weighs: the Anglophone regions were cut off for more than 230 days across 2017-2018, and rights groups publicly warned the government against a repeat around the October 2025 election. | No. | Al Jazeera, Access Now |
| Kenya | None standing, but the trend is wrong: Kenya appears on the 2024 shutdown list for protest-time disruption and again on the 2025 list, including a Telegram block during national exams. | No. | Access Now 2024, Access Now 2025 |
| South Africa | None. No national platform blocks or shutdowns on record; Freedom House rates it Free at 74 out of 100, the continent's most consistently open major network. | No. | Freedom House |
Two things in this table would surprise a reader who only knows the headlines. First, the famous bans mostly ended: Nigeria's, Senegal's and Ethiopia's are over, and even Uganda's Facebook block, one of the continent's longest alongside Egypt's five-year block of Medium, began unwinding in June 2026. Second, the one genuinely novel legal development is not a block at all but Tanzania's declaration rule, which regulates the tool rather than the content and has no counterpart anywhere else on the continent. What replaced the permanent bans is episodic disconnection, and the ledger below shows how fast that is accelerating.
The African shutdown and blocking ledger, 2017 to 2026
| Date | What happened | Could a VPN have helped? | Source |
|---|---|---|---|
| January 2017 | Cameroon cuts the Anglophone Northwest and Southwest off the internet for 93 unbroken days, the start of more than 230 days of disruption across two years. | No, the network itself was cut. | Africanews |
| May 2017 | Egypt begins its blocking wave; by late 2020 civil society counts more than 600 blocked sites, including 394 VPN and proxy providers' websites. | Yes, for the blocked sites; Egypt targeted VPN providers' websites precisely because the tools work. | AFTE |
| July 2018 | Uganda's regulator, enforcing the new social media tax, orders providers to block or tax VPN access; the biggest operator blocks Opera's built-in VPN. The tax era ends in 2021, the VPN order with it. | Partly: VPN blocking at provider level is a cat-and-mouse game the providers largely lost. | Freedom House |
| 4 November 2020 | Ethiopia disconnects Tigray at the start of the war. Restoration only begins after the November 2022 peace deal, about two years later, one of the longest shutdowns recorded anywhere. | No. Mobile, landline and internet were all severed. | Access Now |
| January 2021 | Uganda blocks Facebook after Meta removes accounts linked to government figures before the election. The block will hold for nearly five and a half years, and Facebook stays in daily use through VPNs. | Yes, and at national scale: local reporting described Facebook access as running mainly on VPNs for years. | The Observer |
| 4 June 2021 | Nigeria announces a Twitter block after the platform deletes a presidential tweet, effective the next day. The ban lasts seven months, to 13 January 2022, and VPN use in Nigeria surges visibly enough to become its own news story. | Yes; the block was platform-level filtering. | Blocking of Twitter in Nigeria |
| 9 February 2023 | Ethiopia blocks Facebook, Telegram, TikTok and YouTube during a church dispute; the block lasts five months, to July 2023. | Yes, the platforms were filtered, not the network. | Africanews |
| June-August 2023 | Senegal blocks WhatsApp, Facebook, Telegram, X, Instagram and YouTube during protests, then cuts mobile data outright, then repeats the pattern in July-August with a daily mobile curfew. TikTok, blocked on 2 August, stays down until February 2024. | Yes for the platform blocks, no during the mobile data cuts. | OONI, Media Defence |
| 13 October 2023 | Tanzania's TCRA orders all VPN users to declare their usage, IP addresses included, by 30 October. The regulations behind the order criminalise using such tools to reach prohibited content, from TZS 5 million or 12 months in prison; an undeclared VPN risks regulatory action. | The rule regulates the VPN itself, the only such declaration requirement in Africa. | The Citizen |
| 31 January 2024 | Journalists and AfricTivistes file at the ECOWAS Court over Senegal's 2023 shutdowns. Days later, Senegal cuts mobile internet again around the postponed election. | No during the cuts; the litigation is the longer-term answer, and the court had already ruled against Togo in 2020 and Nigeria's Twitter ban in 2022. | Media Defence, CPJ |
| 2024, full year | Africa records 21 shutdowns across 15 countries, the worst year measured to that point, with protests the leading trigger. | Mixed: useful for the blocks in that count, useless for the blackouts. | Access Now |
| 20 May 2025 | Tanzania blocks X after the police account is hacked to announce the president's death, using IP blocking with TLS and DNS interference. OONI measures the block persisting on the major networks into late 2026. | Yes, it is platform filtering on a working network. | OONI |
| 29 October 2025 | Tanzania goes dark for its election: a near-total national blackout lasting to 3 November. UN experts later condemn the shutdown alongside the post-election crackdown. | No. Nothing tunnels through a severed network. | Internet Society Pulse, OHCHR |
| 13-17 January 2026 | Uganda shuts down the national internet across its election, restoring it with social media still blocked until late January. Museveni takes a seventh term; observers cite the shutdown among their concerns. | No during the blackout; yes for the social media blocks that followed restoration. | CIPESA |
| 31 March 2026 | The #KeepItOn coalition's 2025 report lands: 313 shutdowns in 52 countries worldwide, a global record, with Africa at 30 shutdowns in 15 countries, also a record. Platform blocks set their own record the same year: 94 across 40 countries globally. | Both halves of the problem grew; a VPN answers exactly one of them. | Access Now |
| 13 June 2026 | Uganda begins unblocking Facebook after nearly five and a half years, confirmed by a minister; measurements show some networks carrying it again while others still block it months later. | The block's whole history doubled as a VPN case study; its slow end closes it. | East News Uganda |
Follow the verdict column down and the pattern is uncomfortable for anyone selling simple answers. Of these fifteen entries, five earn a clean yes for a VPN, the platform blocks: Egypt's list, Uganda's Facebook years, Nigeria's Twitter ban, Ethiopia's 2023 social media block, Tanzania's X block. The blackouts earn a flat no, and both kinds are growing at once: 2025 set the African shutdown record at 30 and a global platform-block record of 94 in the same report. The honest pitch for a VPN in Africa is narrower and stronger than the old version of this page made it: it is the standard tool for the block half of the problem, it is the reason Egypt bothers to block VPN providers' websites and Uganda once ordered providers to block the tools themselves, and it is no help at all when the cable is effectively cut.
What should a user in or connecting to Africa actually do?
If you are in a country from the first table, the table tells you your situation: in most of them the network is open and a VPN is an ordinary privacy tool for public Wi-Fi and untrusted networks; in Egypt the practical step is installing the app before you need it, since providers' websites are blocked in-country; in Tanzania the declaration rule applies to the VPN itself and is the one African rule of its kind. If you are diaspora connecting the other way, wanting an African IP address, Le VPN's continental server location is South Africa, which covers the most common case, South African banking, streaming and classifieds, while servers in 100+ locations cover the European hubs where African diaspora services actually sit. Our table of data retention laws in 16 jurisdictions shows how the countries above compare with the rest of the world, and the plan includes 10 simultaneous connections and a 30-day money-back guarantee.
What changes next?
- Tanzania's X block and VPN rule. OONI still measures the X block on all major networks; whether the post-election government keeps it, and whether the TCRA declaration rule is ever enforced against an ordinary user, are the two open Tanzanian files.
- ECOWAS rulings meeting reality. The court has now ruled against Togo, against Nigeria's Twitter ban and, in May 2025, against Senegal over the 2023 shutdowns. The open question is compliance: whether any West African government changes behaviour because of a judgment, starting with Senegal's response.
- The 2026 shutdown count. Uganda's January blackout opened the year; the #KeepItOn 2026 report, due early 2027, will show whether the record breaks a third year running.
- Uganda's partial unblocking. Facebook's return is confirmed politically but incomplete in measurements. Whether the remaining networks clear the block, and whether the regulator ever formalises it, closes one of the continent's longest-running platform-block stories.
About the author
Le VPN Blog Editor
Alan Summers has been writing and editing for the Le VPN blog for years, covering online privacy, cyber security, and the best ways to get the most out of a VPN. He keeps a close eye on the news that affects internet freedom around the world and turns it into practical advice for Le VPN readers.
Articles by Alan Summers →