Foreigners leaving China permanently can reclaim their personal contributions to the housing fund and the pension portion of their social insurance. Not all salary deductions are refundable, and the process requires careful timing and specific documentation after you have officially ended your employment and cancelled your residence permit. The key is understanding which funds you are entitled to and preparing the necessary paperwork before your final departure, as handling this from overseas is significantly more difficult.
Understanding the Refundable Components

When you work in China, your employer makes deductions for two main programs: social insurance (社会保险 shèhuì bǎoxiǎn) and the housing fund (住房公积金 zhùfáng gōngjījīn). Social insurance is a package that includes pension, medical, unemployment, work-related injury, and maternity insurance. The housing fund is a compulsory savings program designed to help residents purchase property.
Upon permanently leaving China, you can withdraw:
- The entire balance of your Housing Fund. This includes both your personal contributions and your employer's contributions.
- The personal contribution portion of your Pension Fund. Your employer's contribution to the pension fund remains in the system and is not refundable to you.
The other parts of social insurance (medical, unemployment, etc.) are generally not refundable. The logic is that you have been covered by these insurance schemes during your employment, and the contributions are considered premiums paid for that coverage.
How to Claim Your Housing Fund
The housing fund withdrawal is typically the more straightforward process. The first critical step is to have your employer cancel your work permit and for you to cancel your corresponding residence permit at the Public Security Bureau (PSB) Exit-Entry Administration. This provides official proof that you are departing the country.
Once that’s done, you'll visit the local Housing Fund Management Center (住房公积金管理中心 zhùfáng gōngjījīn guǎnlǐ zhōngxīn). You will generally need:
- Your original passport
- Proof of residence permit cancellation
- Your Chinese bank card for the fund transfer
- An application form for withdrawal due to permanent departure
In some major cities like Shanghai or Beijing, parts of this process may be initiated through digital platforms like 支付宝 (Alipay) or a dedicated local government app, which can save time. The process usually takes from a few days to a few weeks for the funds to be deposited into your account.

Withdrawing Your Social Insurance Pension
Claiming your pension funds follows a similar logic but is often handled by a different government body, the local Social Security Bureau (人力资源和社会保障局 rénlì zīyuán hé shèhuì bǎozhàng jú). A crucial point to understand here is that withdrawing these funds terminates your accumulated contribution years in the Chinese pension system. If you return to work in China later, your contribution history will start from zero.
The required documents are similar to the housing fund withdrawal: your passport, cancelled residence permit, social security card (if you have a physical one), and a specific application form. The processing time can be longer, sometimes taking over a month. Some bureaus may require additional proof from your former employer confirming the termination of your labor contract.
The “Leaving China Tax Refund” Myth
Many foreigners ask about a “leaving China tax refund”, but this is a misunderstanding. There is no special tax refund simply for departing the country. This term usually refers to the annual individual income tax (IIT) reconciliation (年度汇算 niándù huìsuàn). This is a process where your total tax paid for the year is compared against what you actually owed. If you overpaid (often due to special deductions not being applied monthly), you get a refund.
Normally, this is done between March 1st and June 30th for the previous calendar year. If you are leaving China before this period, you can often file for reconciliation early with your local tax bureau before you deregister your tax status. It is not a bonus for leaving, but rather the standard process of settling your annual tax obligations.
Careful planning and coordination with your HR department are essential to navigating these processes smoothly. Start gathering information from the relevant local bureaus at least one to two months before your planned departure date to ensure you have the most up-to-date requirements for your specific city. The rules and efficiency can vary significantly between different municipalities.
Quick Takeaways:
- You can withdraw 100% of your housing fund, including employer contributions.
- Only your personal contributions to the pension fund portion of social insurance are refundable.
- The “tax refund” is just the standard annual tax reconciliation, not a departure bonus.
- Cancelling your work and residence permits is the first and most critical step.
- Always confirm the latest procedures with your local city's bureaus before you start.
#salarydeductions #leavingchina #chinahousingfund