Here's a sentence you'll hear from almost every foreign employee who's ever left China: "I paid into Chinese social insurance for years โ can I get any of it back?" The answer is yes, and it's more than most people expect. But the process is poorly documented, the rules vary by city, and the window for action is narrower than you'd think.
Let me walk through what you're actually paying for, what happens to the money when you leave, and the step-by-step exit process.
First, What Are You Paying For?
If you work in China on a work permit, your employer is required to enroll you in the social insurance system โ the same five schemes that cover Chinese employees:
- Pension insurance (ๅ ป่ไฟ้ฉ) โ the big one. Employer and employee both contribute.
- Medical insurance (ๅป็ไฟ้ฉ) โ covers public hospital treatment.
- Unemployment insurance (ๅคฑไธไฟ้ฉ) โ mostly theoretical for foreigners, but you pay it.
- Work-related injury insurance (ๅทฅไผคไฟ้ฉ) โ employer pays.
- Maternity insurance (็่ฒไฟ้ฉ) โ employer pays.
The contribution split depends on your city, but a typical picture looks like this: the employer pays roughly 25 to 30 percent of your salary base across all schemes, and you pay roughly 10 to 11 percent, with the pension (8 percent) and medical (2 percent) portions being the bulk of your share.
There's one important exception: China has social insurance agreements with a number of countries, including Germany, South Korea, Japan, Switzerland, and several Nordic countries. If you're a national of an agreement country and your employer sends you to China temporarily, you may be able to obtain an exemption certificate (a "Certificate of Coverage") from your home country's pension authority, which lets you stay in your home system instead of China's. If that might apply to you, raise it with your HR before you start โ it's much harder to unwind retroactively.
The Key Question: What Happens to Your Money When You Leave?
This is where the system is actually more generous than its reputation suggests.
Your pension contributions are split into a personal account (your 8 percent, plus in some cities additional employer contributions) and a pooled fund. When you leave China permanently, you can apply to withdraw the balance of your personal pension account. The pooled portion โ the employer's larger contribution โ stays behind. It feels unfair until you remember that Chinese employees also don't get the employer's pooled portion if they leave the workforce early; the pooling is how the system funds current retirees.
Your medical insurance has a personal account too (in most cities, your 2 percent contribution plus a slice of the employer's). When you leave, you can apply to have this balance paid out as well. It's rarely a huge amount, but it's yours.
Your unemployment insurance contributions โ if your city requires foreigners to pay them โ are effectively lost when you leave, because claiming unemployment benefits as a departing foreigner is not a realistic path.
Your housing fund: strictly speaking, the housing provident fund (ๅ ฌ็งฏ้) is separate from social insurance, but it's deducted alongside it and foreigners in most cities are enrolled. This one is the pleasant surprise: the housing fund balance is entirely yours โ both your contribution and your employer's matching contribution โ and you can withdraw it in full when you leave China. For someone who's worked in China for several years, this can be a five-figure RMB amount.
The Exit Process, Step by Step
The process has two parts: the social insurance part (handled by the local social insurance bureau) and the housing fund part (handled by the housing fund management center). They're separate offices, sometimes in separate buildings. Budget a full day across both.
Before you leave
- Get an official resignation or termination certificate from your employer (็ฆป่่ฏๆ). This is the master document โ you'll need it everywhere.
- Ask HR to confirm your social insurance has been stopped as of your last working day. If it's still active, the bureaus may refuse your withdrawal.
- Collect your passport, your work permit cancellation document (your employer handles the cancellation; make sure you get a copy), and your bank card details for the refund transfer.
At the social insurance bureau
- Queue at the foreigner window (some cities call it ๅค็ฑไบบๅ็ชๅฃ). Present your passport, termination certificate, and work permit cancellation. Ask specifically for: (a) pension personal account withdrawal (ๅ ป่ไฟ้ฉไธชไบบ่ดฆๆทๆธ ็ฎ), and (b) medical personal account settlement (ๅป็ไฟ้ฉไธชไบบ่ดฆๆทๆธ ็ฎ) if your city permits it for departing foreigners.
- Complete the withdrawal application form. You'll typically need to sign a declaration confirming you're leaving China and won't be claiming benefits.
- The refund is usually transferred to your Chinese bank account within a few weeks. If you've already closed your bank account, arrange to keep one open until the money lands โ or ask whether they can transfer to an overseas account (rare, and slower).
At the housing fund center
- Bring the same documents โ the housing fund withdrawal for foreigners leaving China is straightforward: passport, termination certificate, and a completed application. In most cities the entire balance is paid out, including the employer's portion.
- Again, the money lands in your Chinese bank account.
What If You're Not Leaving for Good?
Here's a decision point that most exit guides miss: withdrawing your balances is irreversible. If you withdraw your pension personal account and then return to China for another job five years later, you start your pension contributions from zero. Your years of contributions before the withdrawal don't count toward the 15-year minimum for a future Chinese pension.
If there's a realistic chance you'll return, consider freezing rather than withdrawing. In many cities, you can simply leave your accounts dormant. Your pension contributions stay on the books, and if you return, they resume counting. The money isn't growing much โ Chinese social insurance accounts pay modest interest โ but continuity has real value if you might one day qualify for a Chinese pension.
This is also the deciding factor for people in their 40s and 50s who might spend a decade or more in China: if you're close to building 15 years of contributions, the long-term pension (which includes a decent monthly payment and, importantly, access to retiree medical insurance) may be worth more than the withdrawal. It's a genuine calculation, not an obvious answer.
A Checklist for the Week Before You Fly
- Get the resignation certificate from your employer
- Confirm social insurance is stopped
- Confirm your work permit is cancelled and get the document
- Ask HR whether you were enrolled in the housing fund, and request the balance figure
- Book appointments at the social insurance bureau and housing fund center
- Keep your Chinese bank account open until all refunds arrive
One more thing: the rules described here apply across most of China, but cities interpret them differently โ Beijing, Shanghai, and Shenzhen have all tweaked the foreigner withdrawal process at various points, and the exact forms change. Check with your city's social insurance bureau hotline (most now have English options) before you go in. For the employer-side picture โ what your company is required to contribute and how enrollment works โ see the main China Social Insurance Guide.