An ICP license is required to host a website on servers in Mainland China, but it is not required for your website to be accessible or performant for visitors in China. Many companies assume an ICP license is the first step to making their site work in China, but compliance and performance are two separate challenges. An ICP license addresses the regulatory side, allowing you to host onshore. It does not address the third-party resource incompatibilities that are often the primary reason global websites load slowly or fail in China. Offshore websites optimized at both the code and infrastructure level can achieve near-native onshore performance without an ICP license, an onshore hosting migration, or a site rebuild.
An ICP (Internet Content Provider) license is a permit issued by China's Ministry of Industry and Information Technology (MIIT). It is required for any website hosted on servers within Mainland China.
The term "ICP license" is often used broadly, but there are actually two distinct types of ICP registration, and the one you need (if you need one at all) depends on what your website does and where it's hosted.
An ICP Filing is a registration, not a commercial license. It's required for all websites hosted on servers in Mainland China, regardless of whether they're commercial or informational. The filing process registers your domain with MIIT and is relatively straightforward compared to the commercial license.
Key details:
Required for any website hosted onshore in Mainland China
Applies to both commercial and non-commercial sites
Can be obtained by a Wholly Foreign-Owned Enterprise (WFOE) in China
Free to file (no government fee)
Processing time is typically 2 to 4 weeks after document submission
The ICP Filing number must be displayed in the footer of your website
A Commercial ICP License is a separate, more involved permit required for websites that generate revenue through online services in China, including paid subscriptions, online transactions, or advertising revenue.
Key details:
Required for websites that sell services online or generate revenue through internet-based operations
Requires a Chinese Business License with minimum registered capital (RMB 1 million for provincial operations, RMB 10 million for cross-regional)
Can only be obtained by 100% Chinese-owned companies or joint ventures where foreign investment does not exceed 50%
As of 2024, WFOEs in four pilot regions (Beijing, Shanghai, Hainan, and Shenzhen) can apply, but approvals remain exceptionally limited, with only 13 companies approved since the pilot began
Processing time is typically 2 to 3 months
Significantly more expensive and complex than an ICP Filing
For most global companies looking to make their existing website accessible in China, the ICP Filing is the relevant type if they choose to host onshore. However, many don't need either, because they aren't hosting in Mainland China.
The short answer: you need an ICP license (or filing) if you want to host your website on servers located in Mainland China.
You do not need one if:
Your website is hosted outside of Mainland China (e.g., in the US, UK, Europe, Hong Kong, Singapore, or anywhere else outside the mainland)
You're using a near-China CDN with points of presence outside of Mainland China
Your site is accessible to visitors in China from an offshore server
This is a common point of confusion. Many companies believe they need an ICP license for their website to be accessible in China. That's not the case. An ICP license is a hosting requirement tied to where your server is located, not a requirement for Chinese visitors to access your site.
A website hosted in the US, UK, or Europe can be visited by someone in Beijing. It will likely be slow or incomplete without optimization, but it's not blocked simply because it doesn't have an ICP license.
An ICP license allows you to use two things:
1. Onshore hosting. With an ICP Filing, you can host your website on servers in Mainland China. This reduces the physical distance between your server and your visitors, which lowers latency for first-party content delivery. Instead of requests traveling from Beijing to London or Virginia and back, they stay within China's domestic network.
2. Onshore CDN nodes. Most CDN providers that operate points of presence within Mainland China require an ICP license before they'll serve your content from those nodes. Without one, you're limited to near-China CDN nodes (Hong Kong, Singapore, Tokyo) rather than nodes inside the mainland.
Both of these are meaningful benefits. Reduced latency improves Time to First Byte and overall responsiveness. Onshore CDN delivery can speed up the loading of your site's static assets. For companies with a significant and committed China presence, these are valid reasons to pursue an ICP license.
This is where the assumption breaks down for many companies.
An ICP license does not fix third-party resource incompatibilities. And for most global websites, third-party resources are the primary reason performance suffers in China.
A website hosted on a server in Shanghai will still load Google Fonts from Google's servers if the site uses Google Fonts. It will still try to load YouTube embeds, Facebook plugins, HubSpot tracking scripts, and whatever other external services the site depends on. None of these resources are served from your onshore server. They come from their own infrastructure, which in many cases is slow or inaccessible from within China.
This means a website can be fully onshore and compliant (ICP license obtained, hosted onshore, CDN in place) and still load slowly, render incompletely, or break functionally because of unresolved third-party dependencies.
Onshore hosting solves for proximity. It doesn't solve for compatibility.
Here's what you can expect if you obtain an ICP license and host your website onshore in Mainland China:
What improves:
TTFB drops significantly because the server is physically inside China's domestic network
First-party static assets (your HTML, CSS, images, and self-hosted scripts) load faster
You gain access to onshore CDN nodes for further caching and delivery optimization
What doesn't improve without additional optimization:
Third-party resources from blocked or slow external services (Google, Facebook, YouTube, etc.) will still fail to load or cause delays
Render-blocking scripts from external origins will still stall page rendering
Forms relying on Google reCAPTCHA or Stripe may still break
Analytics tools hosted externally may not fire correctly
Embedded media from YouTube, Vimeo, or similar platforms will remain inaccessible
The result is that an onshore-hosted site often feels faster at first (the initial server response is quick) but then stalls or breaks as the browser tries to load external resources that aren't compatible with the China network environment.
If you’re hosting your website outside of Mainland China (offshore), you aren’t obligated to apply for an ICP license. This means:
The latency gap: Requests from visitors in China travel across international network gateways, adding latency. TTFB will be higher than it would be with onshore hosting. How much higher depends on your hosting location. A server in Hong Kong or Singapore will have lower latency to China than one in Virginia or London.
The third-party resource problem still exists: The same incompatibilities that affect onshore-hosted sites affect offshore-hosted sites. Google Fonts, reCAPTCHA, YouTube embeds, and other external services are slow or blocked regardless of where your site is hosted.
The opportunity: An offshore website that addresses both the infrastructure layer (using a near-China CDN with nodes in Hong Kong or Singapore) and the application layer (detecting and handling third-party resource incompatibilities) can achieve near-native onshore performance. The latency gap from being offshore can be largely closed with CDN optimization, and the third-party resource problem, which is often the bigger contributor to slow load times, can be resolved at the code level.
This is why for many global companies, the "no ICP license" path, combined with the right optimization, produces comparable or better real-world performance than an onshore setup that only addresses hosting location without handling third-party resources.
This is a point worth making clearly, because conflating the two is one of the most common mistakes companies make when approaching China web performance.
Compliance is about meeting regulatory requirements. If you host your website in Mainland China, you need an ICP license. If you collect personal data from Chinese users, you need to consider data localization requirements under China's Personal Information Protection Law (PIPL). These are legal obligations tied to how and where you operate.
Performance is about making your website load fast, fully, and functionally for visitors in China. This is a technical challenge, driven primarily by third-party resource incompatibilities and cross-border network conditions.
An ICP license helps with compliance. It doesn't automatically help with performance. You can be fully compliant with a slow, broken website. And you can have excellent performance in China from an offshore setup without an ICP license.
Both matter, but they require different solutions. Companies that treat an ICP license as a performance fix often find that their site is still slow after going through the time, cost, and complexity of obtaining one.
Disclaimer: This guide is informational and does not constitute legal advice. Chinafy is not a legal or corporate advisory entity, and, given that every business is different, we suggest consulting with your internal legal counsel if you would like advice on any legal or compliance-related concerns, or alternatively we can connect you with one of our partners.
An ICP license is worth pursuing when:
Your company has an established presence in China with a Chinese legal entity (WFOE or joint venture)
China is a primary market, not an exploratory one, and you're prepared for the long-term commitment of onshore infrastructure
You need onshore CDN nodes in Mainland China for the lowest possible latency on first-party content
Your industry or customers specifically require onshore hosting for data residency or procurement reasons
You're operating a Chinese-language site built specifically for the China market, separate from your global site
Even in these cases, an ICP license should be paired with code-level optimization to handle third-party resource incompatibilities. The license gets you onshore, but it doesn't make your third-party dependencies work.
Many companies don't need an ICP license as a first step, or at all. An ICP license may not be necessary if:
You don't have a Chinese legal entity and don't plan to establish one in the near term
China is an important but secondary market, and your primary goal is making your existing global site accessible there
The cost and timeline of obtaining an ICP license (especially the Commercial ICP License, which can cost upwards of $20,000 and take months) aren't justified by your current China traffic or revenue
You're testing the China market and want performance improvements before committing to onshore infrastructure
Your site relies heavily on third-party services that would still be incompatible even with onshore hosting
In these situations, optimizing your existing offshore site for China, using Chinafy is often the faster, simpler, and more cost-effective path to achieving good performance in China.
Chinafy optimizes global websites for China at both the infrastructure and code level, without requiring an ICP license, a rebuild, or an onshore hosting migration. Chinafy works as a bolt-on solution that detects and handles the third-party resources causing performance issues in China, and layers on near-China or onshore CDN infrastructure to reduce latency.
For companies that do have an ICP license and host onshore, Chinafy's code-level optimization addresses the third-party resource incompatibilities that onshore hosting alone doesn't fix. For companies without an ICP license, Chinafy can help achieve near-native onshore performance from an offshore setup.
If you're unsure whether you need an ICP license, or you want to improve your site's performance in China regardless of your hosting setup, get in touch with Chinafy for a free site analysis. Chinafy can also connect you with partners who specialize in ICP license applications and China compliance if that's the right path for your business.
No. An ICP license is required for hosting a website on servers in Mainland China, but your site can be accessible and performant in China without one. An offshore website optimized at both the code and infrastructure level can achieve near-native onshore performance without an ICP license.
An ICP license allows you to host onshore, which can reduce latency for first-party content. But it doesn't address third-party resource incompatibilities (Google Fonts, Analytics, YouTube, reCAPTCHA, etc.), which are often the primary cause of slow load times in China. Many onshore-hosted sites still load slowly because of unresolved third-party dependencies.
For an ICP Filing (non-commercial), a foreign company needs a Chinese legal entity such as a WFOE. For a Commercial ICP License (B25), the requirements are stricter: traditionally limited to 100% Chinese-owned companies or joint ventures with no more than 50% foreign ownership. As of 2024, WFOEs in four pilot regions can apply, but approvals remain rare. As each company is its own case, it’s recommended to seek specific guidance for your business from a compliance expert like Chinafy’s partner.
An ICP Filing typically takes 2 to 4 weeks after document submission. A Commercial ICP License takes 2 to 3 months, and that timeline assumes you already have a Chinese legal entity and all documentation prepared. If you're starting from scratch (establishing a WFOE, preparing documents, etc.), the total process can take significantly longer. For a timeline specific to your business, Chinafy can connect you with a partner to guide you through the ICP process.
Compliance refers to meeting regulatory requirements like obtaining an ICP license for onshore hosting or adhering to data localization laws. Performance refers to making your website load fast, fully, and functionally for visitors in China. They require different solutions. An ICP license addresses compliance but doesn't fix the third-party resource incompatibilities that cause most performance issues.
No. Hong Kong operates a separate internet infrastructure from Mainland China. Hosting in Hong Kong does not require an ICP license and does not give you access to Mainland China CDN nodes. However, Hong Kong's geographic proximity to the mainland means latency is lower than hosting in the US or Europe, making it a common choice for near-China hosting strategies.


