Travel guide for visitors

Working online in mainland China and Hong Kong

Anthropic and OpenAI don’t offer Claude or ChatGPT in mainland China or Hong Kong, and networks in mainland China block Google, WhatsApp and many other services. Here is what works on each connection, and how to set up your phone, your Mac and your tools before you go.

What works where Before you go

Checked 21 November 2026.

AI assistantsNot supported

Claude and ChatGPT, in mainland China and in Hong Kong

AnthropicOpenAI

Mainland networksBlocked

Google, WhatsApp, YouTube and Wikipedia, among others

UK FCDO

Venue Wi-FiID to sign in

Internet access is tied to real identity, so Wi-Fi asks for a phone number or ID

Anti-Fraud Law

VPNsLicensed only

They need a government licence; unlicensed ones are banned

UK FCDO

Seven things to sort out at home

Everything still loads before you leave, so this is the time. Tick them off; this page remembers on this device.

  1. UK FCDO

  2. UK FCDO

Nothing ticked yet

What works on which connection

Whether a service loads depends on the network carrying your data. Whether you may use it depends on the company: Anthropic and OpenAI don’t support use while you’re in mainland China or Hong Kong, whichever connection you use.

  • Works
  • Blocked
  • Not supported
  • Work accounts only
  • Unreliable
  • Depends on the network
Service Mainland networkHotel, venue or café Wi-Fi, or a mainland SIMRoaming or travel eSIMYour phone’s data, carried by another operatorHong KongLocal Wi-Fi and SIMs
AI assistants and coding agents
Claude and Claude Code
Mainland network Not supported Anthropic doesn’t support use while you’re in mainland China

Anthropic

Roaming or travel eSIM Not supported The connection may work. Anthropic’s rules depend on where you are

Anthropic

Hong Kong Not supported Hong Kong isn’t on Anthropic’s list

Anthropic

ChatGPT and the OpenAI API
Mainland network Not supported Not on OpenAI’s list; accounts may be blocked or suspended

OpenAI

Roaming or travel eSIM Not supported The connection may work. OpenAI’s rules depend on where you are, and sign-in can fail while you travel

OpenAI travel help

Hong Kong Not supported Hong Kong isn’t on OpenAI’s list

OpenAI

Gemini
Mainland network Blocked Listed for Workspace accounts only, but Google is blocked on mainland networks, so it won’t load

Gemini HelpUK FCDO

Roaming or travel eSIM Work accounts only Listed for Workspace accounts only

Gemini Help

Hong Kong Works Web and mobile app; the API isn’t offered

Gemini HelpGoogle AI Studio

Everyday services
Google Search, Maps and Drive
Mainland network Blocked Blocked since 2012
Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
Sign in with Google
Mainland network Blocked Google is blocked, so apps that use it to sign you in can fail

UK FCDOFreedom House

Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
WhatsApp
Mainland network Blocked Calls fail too
Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
Telegram and Signal
Mainland network Blocked Removed from China’s App Store
Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
YouTube, Facebook and X
Mainland network Blocked
Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
Wikipedia
Mainland network Blocked Every language since 2019
Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
Developer services
GitHub
Mainland network Unreliable Reachable, not always reliably

Semafor

Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply
Hugging Face
Mainland network Blocked Blocked since 2023

Semafor

Roaming or travel eSIM Depends on the network
Hong Kong Works Mainland China’s blocks don’t apply

Roaming and travel eSIM data is carried by another operator, often outside mainland China, so what loads depends on that operator. The law of mainland China applies to what you do while you’re there, whichever connection you use.

How your data travels on each connection

When you roam, a local network carries the radio signal, and your data commonly goes back through your home operator before it reaches the internet. This is how roaming works in every country. Travel eSIMs often send your data through another operator’s gateway, sometimes in a third country. Websites then see that country, not where you are: through a Hong Kong gateway you get Hong Kong’s answers, so Claude and ChatGPT turn the connection away. On a mainland SIM or mainland Wi-Fi, your data goes out through a mainland network.

The network your data leaves through decides which services load. Anthropic’s and OpenAI’s rules depend on where you are, whichever route your data takes.

1Mainland Wi-Fi or a mainland SIM

  1. Your phone or Mac
  2. Mainland operatorWi-Fi or mobile network
  3. Internet

2Roaming on your home SIM

  1. Your phone
  2. Local partner networkCarries the radio signal
  3. Your home operatorCommonly routes the data
  4. Internet

3A travel eSIM

  1. Your phone
  2. Local partner networkCarries the radio signal
  3. Another operator’s gatewayOften a third country
  4. Internet

Three ways to get mobile data

Whichever you pick, your Mac gets online through the phone’s hotspot or a cable, so it uses the same connection as the phone.

Roaming on your home SIM

Your number, your operator

  • A local network carries the signal, and your data commonly goes back through your home operator, as with roaming anywhere.
  • Texts with sign-in codes still reach your usual number.
  • Check the daily price, the data included, the speed after a cap and whether hotspot use is allowed.

A travel eSIM

Data only, set up before you fly

  • Gives your phone data but no mainland number, which some apps ask for to send a code.
  • Its data often goes through another operator’s gateway, sometimes in a third country, and websites see that country, not where you are. Through Hong Kong, Claude and ChatGPT turn the connection away. Ask the seller which country.
  • Install it at home, where you can still reach the seller’s site and support.

A mainland SIM

A local number, bought with your passport

  • Operators sell SIMs to visitors in person, at service halls and airport counters, with a valid passport.

    Beijing government

  • Every line is registered to a real identity under China’s Cybersecurity Law.

    Cybersecurity Law

  • Your data goes through a mainland network, so the blocks in the table above apply.

Wi-Fi that wants a phone number

Internet access in China is tied to real identity: providers must ask for it before they connect anyone, and authorities have told public Wi-Fi providers to register users. So Wi-Fi in hotels, airports and conference venues usually opens on a sign-in page instead of asking only for a password.

Expect the page to ask for a mobile number and text it a code, or for another ID. At Beijing Daxing airport, the options are a mobile number, a photo of your passport, a kiosk or WeChat. Some apps also want a code sent to a mainland number. US travel advice is to avoid public Wi-Fi in China altogether.

Anti-Fraud LawCybersecurity LawUS State Department

Ask how visitors sign in

Front desks and event organisers know whether their Wi-Fi takes a foreign number, a passport or a code on your badge. Ask before the first session, not during it.

When the sign-in page won’t appear

Sign-in pages are ordinary web pages, and they sometimes fail to open on their own. Why the Wi-Fi sign-in page doesn’t show walks through it, and Kilobat notices a waiting sign-in page and offers a button to open it.

Crowded venue Wi-Fi

Everyone in the hall shares the same network, so it slows when a session ends. A cable to your own phone isn’t affected by the crowded Wi-Fi and keeps the phone charged. Kilobat’s hotspot data saver lets only the apps you allow use the phone’s data, so updates wait. See save hotspot data.

Apple’s sign-in check

macOS checks for a sign-in page by loading an Apple address. If that check can’t be reached, turn on Settings › Checks › Wi-Fi sign-in check for China in Kilobat to use Xiaomi’s check instead.

Plan your AI tools before you fly

Anthropic’s Supported Regions Policy covers Claude.ai, Claude Code, Cowork and the API. It doesn’t support use from places that aren’t on its list, including by people while they’re there, and mainland China and Hong Kong aren’t on it. OpenAI has one list for ChatGPT and its API, and neither place is on it. OpenAI warns that access from elsewhere may get an account blocked or suspended. Google lists Hong Kong for the Gemini web app and mainland China for Workspace accounts only, while the Gemini API lists neither.

China has its own rules for generative AI. Services offered to the public in mainland China fall under the Interim Measures in force since 15 August 2023, and the regulator can order technical measures against foreign services that don’t comply with them. In 2023, regulators told Chinese technology firms to stop offering access to ChatGPT.

AnthropicOpenAIGemini HelpGoogle AI StudioCAC

Models that run on your Mac

Open-weight models run on the Mac itself once the model and the app that runs it are downloaded. LM Studio works entirely offline once you have model files, and Ollama runs models locally, with a local-only mode that turns its cloud features off. Download both at home, along with anything your coding agent needs to use them.

What your organisation provides

Ask your employer or client which AI services are approved for work in China, and follow their IT and data policy for the laptop you bring.

Package managers, Git and downloads

Chinese universities and companies run mirrors of the big package registries, and each tool has a documented setting for using one. These commands follow each mirror’s own instructions; switch back when you leave.

Terminal
# pip: the University of Science and Technology of China’s mirror
$ pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/simple
# npm: the npmmirror registry
$ npm config set registry https://registry.npmmirror.com
# Go: goproxy.cn, supported by Qiniu Cloud
$ go env -w GOPROXY=https://goproxy.cn,direct
# Back home: return to the defaults
$ pip config unset global.index-url
$ npm config delete registry
$ go env -u GOPROXY
  • Developer sites. Hugging Face has been blocked in mainland China since 2023. GitHub was briefly blocked in 2013 before access was restored, and is reachable but not always reliably. Clone what you need, install dependencies, pull container images and save any models while you’re on a fast connection at home.

    Semafor

  • Choose mirrors carefully. Your tools trust a mirror as much as the official registry. Homebrew’s download mirrors are set with HOMEBREW_API_DOMAIN and HOMEBREW_BOTTLE_DOMAIN. A lock file created while you use a mirror keeps installing from that mirror after you switch back.
  • Large downloads. When Homebrew or npm stalls, Homebrew or npm downloads fail on a Mac separates a slow mirror from a broken connection.
  • See what your tools connect to. Kilobat’s agent network log lists every host your agent, and any command it starts, connects to, so a stuck install shows which host it was waiting for.

On the device’s Wi-Fi, and still online

Many devices open their own Wi-Fi network for setup or control, and that network has no internet. The moment your Mac joins it, mail, calls and your coding agent go quiet. We wrote this part after setting up a robot dog on a trip: the robot’s Wi-Fi handled the robot, and an iPhone on a cable carried everything else.

  1. 1

    Connect your phone with a cable

    Plug in the iPhone, turn on Personal Hotspot and choose Trust on the phone. The Mac lists it as iPhone USB.

  2. 2

    Join the device’s Wi-Fi

    Pick the robot’s, drone’s or board’s network in the Wi-Fi menu. macOS may say it has no internet, which is expected.

  3. 3

    Put iPhone USB first

    In System Settings › Network, open the menu at the bottom and choose Set Service Order, then drag iPhone USB above Wi-Fi.

  4. 4

    Open the device

    Use the address in its manual, often something like 192.168.4.1, in a browser or its app. Everything else keeps using the phone.

The same works with a USB Ethernet adapter or another phone’s hotspot. Mac uses the wrong network connection explains the service order in full.

Hong Kong and Macao

Different network rules, same AI lists

Hong Kong and Macao each have their own laws and regulators, and the mainland’s internet censorship doesn’t apply in Hong Kong. Claude and ChatGPT aren’t offered in either: neither is on Anthropic’s or OpenAI’s list of supported regions.

Freedom HouseAnthropicOpenAI

Mainland ChinaHong KongMacao
Website blocking
Google, WhatsApp and many others
The mainland’s censorship doesn’t apply
No reported blocking of websites or online content

US State DepartmentOONI

Claude and ChatGPT
Not supported
Not supported
Not supported
Gemini
Workspace accounts only
Web and mobile app; not the API
Web and mobile app; not the API
SIM cards
Passport, in person

Beijing government

Real-name registration; visitors use travel documents

OFCA

Real-name registration under the Cybersecurity Law, prepaid cards included

Macao government

Online speech
Critical political posts can be treated as illegal

UK FCDO

National security laws apply online, and can require access to devices

UK FCDO

National security law applies, and police can access social media and private messages in investigations

UK FCDO

Drones
Real-name registration from 250 g

CAAC

Registration above 250 g; visitors use travel documents

Hong Kong CAD

Registration and a notice before each flight above 250 g; no-fly zones around airports and heliports and over heritage sites

Macao AACMAACM no-fly zones

More in the full guides: working from China with a Mac and working from Hong Kong with a Mac.

What’s legal and what isn’t

The main rules in mainland China and Hong Kong, one line each.

Allowed

  • Buying a mainland SIM with your own passport, at an operator’s service hall or airport counter

    Beijing government

  • Signing in to public Wi-Fi with a phone number or, where offered, a passport photo
  • Flying a registered drone of 250 g or more below 120 m and away from airports, borders, military sites and other protected areas, where local rules allow

    CAACState Council

  • In Hong Kong, a SIM registered in your own name with your travel document

    OFCA

  • In Hong Kong, a drone of 250 g or less flown within the basic limits, without registration

    Hong Kong CAD

Not allowed

  • Unlicensed VPNs, banned since 2017

    Freedom House

  • Buying, renting or borrowing someone else’s phone card, or internet access without your real identity

    Anti-Fraud Law

  • Using a satellite phone without a permit; unpermitted ones can be confiscated

    US State Department

  • Posting or supporting political statements critical of China, which can be treated as illegal

    UK FCDO

  • In Hong Kong, refusing a police request for a password or decryption in a national security investigation, an offence since 23 March 2026, including for travellers passing through the airport

    Hong Kong governmentUS Consulate Hong Kong

Drones The import, possession and use of drones and their parts are strictly regulated, so contact the Civil Aviation Administration of China before you travel. Registration is in your real name, micro and light drones need no pilot licence, and an unregistered flight can be fined. Some cities ban drone flights outright. In Hong Kong, visitors register on the CAD’s eSUA platform and collect the registration label in person.

UK FCDOCAACState CouncilHong Kong CAD

Radios and other transmitters Apart from low-power short-range devices, radio transmitters need Chinese type approval, and anyone carrying one into China must declare it at customs. Check before you pack walkie-talkies or other radio gear.

Radio Regulations

Work laptops and phones Follow your employer’s IT and data policy. Many travellers take devices with no personal or sensitive information for use only in China, and devices may be screened when you cross between Hong Kong and the mainland.

US State DepartmentSmartraveller

Rules change. Check the current travel advice from your own government before you go.

Blocked, not offered, or just slow?

Three different problems look alike from the browser. What you see tells them apart.

Not offered where you are

What you see

The service answers with its own message: claude.ai’s page for unsupported regions, “OpenAI’s services are not available in your country”, or an API error 403, “Country, region, or territory not supported”.

What it means

The provider doesn’t serve where you are, and the message comes from the service itself, not your network.

Blocked on this network

What you see

No answer at all. The page spins until it times out, the secure connection is cut, or the name doesn’t resolve. The service never says anything.

What it means

The network you’re on doesn’t carry it. Nothing on your Mac is broken, and the service isn’t down.

Slow, or down for everyone

What you see

Everything crawls, or one service fails while its status page reports an incident. Venue Wi-Fi shared by a crowd slows at peak times.

What it means

Try your phone’s connection, or wait for the service. A status page incident means it isn’t you.

Kilobat’s Why can’t it connect? tells them apart

It checks your connection and the service’s status page, and when a service refuses, it reads the service’s own answer. A network block is reported as blocked on this network, a provider’s regional answer as not available in your region, and an outage as down for everyone.

Read how it works

  • Claude isn’t available in your regionAnthropic says its service isn’t available in your region.
  • Google Drive looks blocked on this networkIts name doesn’t resolve here, while a secure resolver returns its real address.
  • GitHub is down for everyone, not youIts status page reports an incident.

Asked before every trip

Can I use Claude in China?

Anthropic doesn’t offer Claude in mainland China. Its Supported Regions Policy covers Claude.ai, Claude Code and the API, and says it doesn’t support use by anyone who is in a region that isn’t on its list.

Anthropic

Does Claude work in Hong Kong?

No. Hong Kong isn’t on Anthropic’s list of supported regions, so the same policy applies there as in mainland China.

Anthropic

Can I use ChatGPT in China or Hong Kong?

Neither is on OpenAI’s list of supported countries and territories. OpenAI says access from outside the list may get an account blocked or suspended, and that travellers may have trouble signing in.

OpenAIOpenAI travel help

Do Claude and ChatGPT work in Macao?

No. Macao isn’t on Anthropic’s list of supported regions or on OpenAI’s list of supported countries and territories. Google’s Gemini web app does list it, but the Gemini API doesn’t.

AnthropicOpenAIGemini HelpGoogle AI Studio

Is Gemini available in Hong Kong?

The Gemini web app lists Hong Kong, and lists mainland China for Workspace accounts only. The Gemini API and Google AI Studio list neither.

Gemini HelpGoogle AI Studio

Will roaming on my home SIM work in China?

Roaming works there as it does in other countries, and your data commonly goes through your home operator. Which services load depends on the network carrying your data, so ask your operator. Anthropic and OpenAI still don’t support use while you’re in mainland China.

AnthropicOpenAI

Can I use hotel or conference Wi-Fi without a mainland number?

Often, but not always. Internet access in China is tied to real identity, so sign-in pages ask for a phone number or another ID. At Beijing Daxing airport, a photo of your passport works instead. Ask the front desk or the organisers how visitors sign in.

Anti-Fraud Law

Are VPNs legal in China?

VPNs in China must be licensed by the government, and unlicensed VPNs have been banned since 2017. Using a VPN there is illegal in most cases and can lead to your device being confiscated, a fine or detention. If your employer requires a VPN, ask its IT team how it’s provided in China.

UK FCDOFreedom HouseUS State Department

Can I bring a drone to China or Hong Kong?

Check the rules before you pack it. In mainland China, drones of 250 g or more must be registered under your real name with the CAAC, flights above 120 m or near airports and other sensitive sites need approval, and some cities ban drone flights outright. In Hong Kong, drones over 250 g must be registered, and visitors register with their travel document.

CAACState CouncilHong Kong CAD

How do I keep the internet while my Mac is on a robot’s or drone’s Wi-Fi?

Connect your iPhone with a cable and turn on Personal Hotspot, join the device’s Wi-Fi, then put iPhone USB above Wi-Fi in System Settings › Network › Set Service Order. The Mac then talks to the device over Wi-Fi and to the internet over the cable.

Sources

Checked on 21 November 2026.

Know whether it’s the network, the provider or you

Kilobat is a Mac menu-bar app that checks your connection, the Wi-Fi sign-in page and each service’s status page, guards your phone’s data and keeps your Mac online on a device’s Wi-Fi.

Download for Mac ↓
brew install seifip/kilobat/kilobat