Before you go · 8 min read

VPN for China: do you need one, how to set it up and is it legal?

Lit-up skyscrapers in Beijing at night, a street with lamps and a bike parking sign

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 onlineGoogle, WhatsApp, InstagramVPN needed?
travel eSIM with a foreign gateway (e.g. Airalo)workno
roaming with your home carrierworkno
Alipay eSIM with "Roaming IP"workno
cheapest Chinese eSIM or a SIM card bought in Chinablockedyes
Wi-Fi in hotels, cafés and airportsblockedyes

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.

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:

  1. 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.
  2. Servers close to China. Hong Kong, Japan, Singapore or Taiwan give you shorter response times than servers in Europe or the US.
  3. Apps for your phone and laptop. Many services let you use one subscription on several devices.
  4. 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.
  5. 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

  1. 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.
  2. Log in to the app and save your password in a password manager. The provider's login page will be blocked in China too.
  3. Turn on obfuscation (NordVPN: NordWhisper and Obfuscated servers; Surfshark: NoBorders) and check it connects while you're still at home.
  4. Update your apps before you fly. Updating through the app store in China may fail.
  5. Save the provider's support email and take a screenshot of the setup steps.
  6. Install a second VPN or have another backup, such as a travel eSIM.

When your VPN won't connect in China

  1. Switch servers to another nearby country: Hong Kong, Japan, Singapore or Taiwan.
  2. Change the protocol, or make sure obfuscation is on.
  3. Change networks. If the VPN won't connect on hotel Wi-Fi, try mobile data, and vice versa.
  4. Switch to your second VPN.
  5. 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.

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

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.

China travel plans

All China travel plans

Read more: Before you go

  1. 1.1

    Internet in China: VPNs, eSIMs and apps that actually work

    Internet in China: an Airalo eSIM or a cheaper one from Alipay, when you need a VPN, what's blocked and which apps Chinese people actually use.

    16 min read
  2. 1.2

    How to pay in China: Alipay and WeChat Pay step by step

    Set up Alipay and WeChat Pay, link your own card and dodge the 3% fee: our trick of paying in ¥200 chunks, plus multi-currency cards like Revolut and Zen.

    9 min read
  3. 1.3

    Hotels, trains and flights: Trip.com, Booking and 12306 – your passport is your ticket

    How to book hotels, trains, flights and attractions in China: Trip.com in English, 12306, your hotel address on the arrival card and passport tickets.

    8 min read
  4. 1.4

    China without Google Maps: how not to get lost

    Why Google Maps in China puts you hundreds of metres off, what to use instead (Amap, Baidu Maps, Apple Maps) and 10 Chinese phrases for taxi drivers.

    10 min read
  5. 1.5

    China visa-free in 2027 and 2028: the 30-day policy is extended until 31 December 2028

    China has extended its 30-day visa-free policy until 31 December 2028. Who qualifies, how the days are counted, the arrival card and the 240-hour transit.

    13 min read
  6. 1.6

    Time in China: one time zone for the whole country

    What time is it in China? Beijing Time (UTC+8) all year, the time difference with Europe and the US, why China has one time zone and beating jet lag.

    7 min read
  7. 1.7

    Attraction tickets in China: the Forbidden City, Terracotta Army and Great Wall – how to book with your passport

    How to book attraction tickets in China: the Forbidden City, Terracotta Army, Great Wall and pandas. When sales open, Trip.com or WeChat, passports, discounts.

    11 min read
  8. 1.8

    What to pack for China: a packing list and what not to bring

    What to pack for China: plug adapter, a power bank with the 3C mark, cards and cash, clothes for the season, medicines, and what you can't bring in.

    12 min read
  9. 1.9

    How to buy train tickets in China as a foreigner: Trip.com, 12306, classes and refunds

    How to buy train tickets in China as a foreigner: Trip.com and 12306 step by step, seat classes, fares on 23 routes, children, refunds, changes and the station.

    13 min read
  10. 1.10

    Travel insurance for China: how much cover you need, what it must include and what it costs

    Travel insurance for China: how much medical cover, repatriation, altitude and sports in the policy wording, policy costs and what to do in a Chinese hospital.

    11 min read
  11. 1.11

    From the airport to the city in China: Beijing, Shanghai, Chengdu and more

    How to get from the airport to the city in Beijing, Shanghai, Chengdu, Xi'an and more: metro, Maglev, taxi and DiDi, prices, journey times and late arrivals.

    8 min read
  12. 1.12

    Basic Chinese phrases for travellers – 70 phrases that help in China

    Essential Chinese phrases for travellers: at restaurants, in taxis, shops, hotels and emergencies. Characters, pinyin, counting on your fingers and signs to know.

    7 min read
  13. 1.13

    Taxis and DiDi in China – how to get a ride without speaking Chinese

    Getting around China by taxi: DiDi in Alipay, the English DiDi app, Amap and street taxis. Fares, pickup points, paying and avoiding overcharging.

    6 min read
  14. 1.14

    Cash and ATMs in China: how to get yuan, where to exchange and how much to bring

    Cash in China: which ATMs take foreign cards, the ¥3,000 limit and fees, exchanging money at Bank of China, how much cash to bring and what to do with leftovers.

    14 min read
  15. 1.15

    China plug type: sockets, voltage, which adapter to bring and how to charge on the go

    China plug types A, C and I at 220 V. Does your US, UK, Australian or European plug fit, do you need a converter, Hong Kong and Macau sockets, and renting power banks.

    6 min read
  16. 1.16

    Vaccines for China: what's required, what's recommended and when to get them

    Vaccines for China: none are required when arriving from Europe or the US. Hepatitis A and B and routine shots are recommended; Japanese encephalitis, rabies and typhoid depend on your trip.

    6 min read
  17. 1.17

    Best apps for China travel: 10 apps to install before you go

    The apps you need in China: Alipay, WeChat, AMap, Trip.com, DiDi, 12306, a translator, Meituan and Dianping – what each is for, and whether it works in English and with a foreign card.

    7 min read