Before you go · 8 min read
VPN for China: do you need one, how to set it up and is it legal?

In short: Google, WhatsApp, Instagram and YouTube are blocked in mainland China, but you don't always need a VPN. On a travel eSIM that connects through a foreign network, or on roaming, these apps work without one. A VPN helps on hotel Wi-Fi and with the cheapest Chinese eSIMs. Install it before you leave home – VPN providers' websites and apps are blocked in China – and turn on its obfuscation mode. Mind the law too: in China only approved connections are allowed, and Germany's Foreign Office explicitly advises travellers not to use VPNs.
We used three services in China: NordVPN, Surfshark and ikuuu. This guide covers when a VPN is actually useful, how to set it up before you fly and what to do when it stops connecting. We compare every way of getting online in China (eSIMs, Alipay data plans, roaming, Wi-Fi) in a separate guide: Internet in China.
As of 2 December 2026. The rules – and how well VPNs work in China – change often, so check again before you go.
Do you need a VPN in China?
It depends on how you get online. The blocks (the so-called Great Firewall) work on Chinese networks. If your connection goes out through a foreign carrier, there are no blocks.
| How you get online | Google, WhatsApp, Instagram | VPN needed? |
|---|---|---|
| travel eSIM with a foreign gateway (e.g. Airalo) | work | no |
| roaming with your home carrier | work | no |
| Alipay eSIM with "Roaming IP" | work | no |
| cheapest Chinese eSIM or a SIM card bought in China | blocked | yes |
| Wi-Fi in hotels, cafés and airports | blocked | yes |
For most travellers, a travel eSIM is the simplest option. You buy it before you fly, and Google and WhatsApp work as soon as you land, with no setup. A VPN is worth having as a backup – for hotel Wi-Fi or your laptop.
First trip to China? Our guide Travelling China independently, step by step walks you through the preparations in 10 steps and shows who each of our 12 routes suits.
Is a VPN legal in China?
Formally, no. China's 1996 rules on international network connections only allow connections abroad through state-approved channels, and commercial VPNs aren't among them. For a breach, police can order you to disconnect, issue a warning and impose a fine of up to ¥15,000 (about 9188 PLN).
In practice, reported penalties concern people living in China. Germany's Foreign Office says in its travel advice (as of 2 December 2026) that no cases are known of foreigners being prosecuted for using a VPN, but the risk – including temporary detention – exists, and it explicitly advises against using VPNs.
What this means for you:
- If you don't want to take any risk, use a travel eSIM or roaming. That's a normal connection through a mobile carrier, not a VPN.
- If you do use a VPN, keep it discreet and private: for messaging, email and maps. Don't show it to anyone, don't offer it to others and don't use it for anything that's illegal in China.
- In Hong Kong and Macau there are no blocks, so you don't need a VPN there.
How to choose a VPN for China
Chinese networks often recognise a standard VPN connection by how the traffic looks, and block it. What matters:
- Obfuscation mode. It hides the fact that you're using a VPN, so the traffic looks like an ordinary connection to a website. In NordVPN these are "Obfuscated" servers; in Surfshark it's NoBorders mode.
- Servers close to China. Hong Kong, Japan, Singapore or Taiwan give you shorter response times than servers in Europe or the US.
- Apps for your phone and laptop. Many services let you use one subscription on several devices.
- A refund window. NordVPN offers a 30-day money-back guarantee, so you can check everything works before you're stuck with a year's subscription.
- Email support. Providers' websites are blocked in China, so save the support email address before you fly.
The VPNs we used in China
NordVPN. A paid app available in the regular App Store and Google Play. In China you use its obfuscated servers: in the settings choose the NordWhisper protocol (the Windows app does this for you), then pick Obfuscated from the list of specialty servers. To choose another country, tap the three dots next to it.
Surfshark. A paid app, also in the regular app stores. It has NoBorders mode, which according to Surfshark turns on automatically when the app detects network restrictions. You can also turn it on manually in the VPN settings, under advanced settings.
ikuuu. A Chinese subscription proxy service that's popular with Chinese users themselves. It isn't a classic VPN app: you add the subscription to an app such as Clash (Android, computer) or Shadowrocket (iPhone). It's harder to set up than NordVPN or Surfshark, but it's useful as a second, backup option.
TipKeep more than one VPN on your phone. None of them connects in China every time, everywhere – when one stops working, you switch to the other.
How to set up a VPN before you fly
- Buy a subscription and install the app at home – on your phone and laptop. The Chinese App Store has no VPN apps (Apple removed them in 2017), and Google Play doesn't work in China at all.
- Log in to the app and save your password in a password manager. The provider's login page will be blocked in China too.
- Turn on obfuscation (NordVPN: NordWhisper and Obfuscated servers; Surfshark: NoBorders) and check it connects while you're still at home.
- Update your apps before you fly. Updating through the app store in China may fail.
- Save the provider's support email and take a screenshot of the setup steps.
- Install a second VPN or have another backup, such as a travel eSIM.
When your VPN won't connect in China
- Switch servers to another nearby country: Hong Kong, Japan, Singapore or Taiwan.
- Change the protocol, or make sure obfuscation is on.
- Change networks. If the VPN won't connect on hotel Wi-Fi, try mobile data, and vice versa.
- Switch to your second VPN.
- Email the provider's support. With a travel eSIM, their website opens normally.
If no VPN works and you need WhatsApp or Google, a travel eSIM with a foreign gateway is the most reliable option. That's why it's best to use one as your main internet from day one and keep a VPN as a backup.
Frequently asked questions
Do you need a VPN in China?
Not if you have a travel eSIM with a foreign gateway or roaming – Google, WhatsApp and Instagram work without a VPN. A VPN helps on hotel Wi-Fi and with the cheapest Chinese eSIMs.
Is using a VPN in China legal?
Formally, no: only state-approved connections are allowed, and a breach can bring a warning and a fine of up to ¥15,000 (about 9188 PLN). No cases of foreigners being prosecuted are known, but Germany's Foreign Office advises travellers not to use VPNs. A travel eSIM or roaming gets you online without that risk.
Can I buy a VPN once I'm in China?
It's very hard. VPN providers' websites are blocked, the Chinese App Store has no VPN apps and Google Play doesn't work. Buy and install your VPN before you leave.
Will a free VPN work in China?
Don't count on it. In China, obfuscation mode decides whether you can connect at all, because it hides VPN traffic from the blocks. If you want to try a free app, check before you go that it has this mode, and keep a backup way of getting online.
Do I need a VPN with an Airalo eSIM?
No. Airalo's China eSIM connects through a foreign network, so Google, WhatsApp and Instagram work without a VPN. You'd only need one on hotel Wi-Fi.
Do you need a VPN in Hong Kong and Macau?
No. The blocks don't cover Hong Kong or Macau. The exception is ChatGPT, which OpenAI doesn't offer there – for that you need a connection through another country.
Sources
- German Foreign Office (Auswärtiges Amt): China travel advice, "Internet und VPN-Nutzung" (as of 2 December 2026, in German)
- China's Interim Provisions on International Networking, Articles 6 and 14 – text on the Cyberspace Administration of China website (1996, in Chinese)
- NordVPN: obfuscated servers
- Surfshark: how to use NoBorders
- TechCrunch: Apple removes VPN apps from the App Store in China (29 July 2017)
- Airalo: China eSIM
Internet sorted – what about the rest?
A phone that's ready for China also needs Alipay, Chinese maps and a translator – see Best apps for China travel. Every one of our itineraries has a "Before you go" chapter with a checklist of things to sort out at home, plus a day-by-day route and addresses in Chinese for taxi drivers. See our China travel plans.
Links marked “partner link” lead to services we work with. If you buy something through one, we earn a commission – your price stays the same. We only recommend what we have used ourselves. More in our privacy policy.



