Internet and social media blackouts in Africa (largely driven by authoritarian regimes) proved by far most costly in Sudan last year.

Amid long-running protests which led to the ouster of long-time ruler Omar Al-Bashir, Sudan shuttered internet and social media access for a total of 1,560 hours at an economic cost of $1.8 billion. But despite the Sudanese government’s best efforts, internet savvy protesters evaded access restrictions to share iconic imagery that defined and galvanized the protests. For its part, Algeria’s cumulative internet and social media blackouts lasted 50 hours at a $199 million cost.

To be clear, the economic impact of a shutdown is not solely determined by its length as it also largely depends on the existing scale of internet penetration in each country. Take Chad where a record 16-month ban saw access to social media apps blocked: with only 6.5% of the population connected to the internet in the first place, the economic impact of the shutdowns (calculating for days in 2019 alone) came to $125.9 million.

But beyond full-blown internet shutdowns, the cost of access restrictions also show up in other ways. In Uganda, a controversial social media tax branded by critics as a method to limit online expression resulted in a drop in internet users. And, with local mobile money use also negatively impacted, one study estimated that the ad hoc fees could cost the Ugandan economy up to $750 million.

Sign up to the Quartz Africa Weekly Brief here for news and analysis on African business, tech and innovation in your inbox 

📬 Sign up for the Daily Brief

Our free, fast, and fun briefing on the global economy, delivered every weekday morning.