- Your employer in China may have been paying into a Housing Provident Fund account in your name every month. Most expats leave China without knowing it exists
- Before anything else: check whether your employer has actually been contributing. Compliance among foreign-employee firms is uneven, and many smaller employers do not pay into the fund at all. The first step is to verify the account exists
- If the account exists, the full balance, employer contributions included, belongs to you and can be withdrawn when you leave China permanently
- The HPF is a completely separate system from social insurance, with a different bureau and a different process
- In Shanghai, HPF contribution for foreign employees is optional by law. Many employers never set up an account at all
- Leave China without claiming it and the path to recovering the money from abroad is unclear, and in most cities, undocumented
Every month, your payslip arrives with the same familiar deductions: social insurance, tax, net salary. Look closely and there may also be a line for the housing fund.
If that line is there, it represents monthly contributions to a personal Housing Provident Fund (住房公积金, HPF) account held in your name at the city’s HPF Management Centre. If the account exists, the employer has been adding to it every month. So have you.
If an account exists and has been funded, the full balance, employer contributions, employee contributions, and interest, can be withdrawn as a lump sum when you leave China permanently by closing the account. Most departing expats never do.
What the Housing Provident Fund actually is
The HPF is a mandatory long-term savings scheme established under China’s State Council. It is administered by city-level HPF Management Centres under the Ministry of Housing and Urban-Rural Development (住房和城乡建设部, MOHURD). It has no connection to the social insurance system, which is run by a separate ministry through a separate bureau. The application processes, the documents, and the timelines are entirely different.
Both employer and employee contribute a matched percentage of the employee’s previous-year average monthly salary each month. The national minimum is 5% each side, and cities may raise this [Article 18, Regulations on the Management of Housing Provident Funds, State Council Decree No. 262:].
The contribution base is capped at three times the local average monthly wage, which also determines the IIT exemption ceiling [Article 2, Caishui No. 10 (2006):].
The balance accumulates in the employee’s individual account and earns interest at the nationally regulated HPF deposit rate, credited annually [Article 21, HPF Management Regulations:].
The legal basis for withdrawal on permanent departure is Article 24(4) of the Regulations on the Management of Housing Provident Funds: “settling outside the territory” (出境定居) is a qualifying withdrawal trigger.
This includes settling in Hong Kong, Macau, or Taiwan, or in a foreign country. Under the same article, the HPF account is closed simultaneously with the withdrawal.
The first thing to check: whether the account exists
Not every foreign employee in China has an HPF account. Whether one exists at all depends on where the employer is based, and in Shanghai, on what was agreed at the start of employment.
Outside Shanghai, HPF contribution for foreign employees is technically required under the Five Insurances and One Fund framework, but compliance across China is inconsistent. Many employers, Chinese and foreign-owned alike, do not pay into the fund for any of their staff. Do not assume an account exists. The only way to know is to check.
Shanghai is the documented exception. Article 6 of the Shanghai HPF Contribution Management Measures (沪公积金管委会〔2023〕3号, effective April 2023) states explicitly that foreign nationals, overseas permanent residents, and HK/Macau/Taiwan personnel working in Shanghai may contribute to the HPF “on the basis of mutual agreement between the individual and the employer” (在本人与单位协商一致的基础上). The contribution is optional by law in Shanghai. If no agreement was made, and many employers never raised the question, no account was opened and the payslip line is zero or absent.
A Shanghai-based expat who has worked in China for five years and assumed they have an HPF balance may have nothing. The check takes five minutes if you already have an account: log in at www.shzfgjj.cn using your passport. First-time users need to register via Shanghai’s One-Stop Government Service platform (zwdtuser.sh.gov.cn). The process accepts foreign passports but requires a mainland Chinese mobile number for verification. Alternatively, ask HR directly.
Outside Shanghai, the same check is worth making. Verify the account exists and check the balance before assuming.
What the balance is worth
At a contribution rate of 7% each side, the upper end of Shanghai’s standard band and a common rate in other first-tier cities, a foreign employee on a monthly salary of RMB 30,000 accumulates RMB 4,200 per month in combined HPF deposits. Over five years that is RMB 252,000 in principal. Over ten years, RMB 504,000, before interest.
These figures are illustrative only.
The actual balance depends on the employer’s chosen contribution rate within the band applicable to their city, the annual reset of the contribution base to reflect the previous year’s average salary, and whether contributions were made consistently throughout employment.
The HPF deposit interest rate is set nationally and adjusted periodically by the PBOC. The rate that applies in future years cannot be predicted. Check the actual balance at the city HPF portal before giving notice.
The tax position
The withdrawal is exempt from Individual Income Tax. This is established under Article 3 of Caishui No. 10 (2006), the joint notice of the Ministry of Finance and the State Administration of Taxation on IIT policies for social insurance and the HPF: “When an individual actually withdraws the previously deposited Housing Provident Fund, IIT is exempt”.
The notice uses the nationality-neutral term 个人 (individual) throughout. The exemption applies regardless of nationality.
The exemption applies to contributions made within the permitted ceiling: each side contributing up to 12% of the previous year’s average monthly wage, on a base capped at three times the local average monthly wage. Contributions above that ceiling were taxable at the time of deposit, not at withdrawal [Article 2, Caishui No. 10 (2006):].
Interest credited annually to the individual HPF account is separately exempt from Individual Income Tax under Caishui Zi No. 267 (财税字〔1999〕267号), the joint Ministry of Finance and State Administration of Taxation notice of 8 October 1999.
How to withdraw it before you leave
The process has four stages that must happen in the correct order. Starting late is the most common practical mistake.
Stage 1: The employer seals the account.
When the employment relationship ends, the employer must register the termination with the HPF Management Centre and seal the individual account (封存) within 30 days [Article 15, HPF Management Regulations:].
The employee cannot trigger this step. Without a sealed account the Centre will not accept a withdrawal application. Chase HR if this has not happened promptly after the employment relationship ends.
Stage 2: Gather the documents.
The document requirements vary slightly by city, but the core package for foreign nationals is consistent: original passport, original labour relationship termination certificate (劳动关系终止证明), and a Chinese bank account at a cooperating bank, held in the applicant’s name. The specific card or account type required varies by city and is set out in the city-by-city section below.
Stage 3: Submit the application.
The channel and timing depend on which city the HPF account is held in. See the city-by-city section below.
Stage 4: Receive the funds.
The HPF Management Centre has three working days from acceptance of a compliant application to approve or reject it [Article 25, HPF Management Regulations:].
Where approved, the commissioned bank processes the disbursement. The three-day clock starts only after the application has been deemed complete, not from first submission.
On the bank card requirement:
HPF disbursement goes to a Chinese bank account, not directly to a foreign account. Most cities require a Class I RMB debit card in the applicant’s own name. Shenzhen uses a different system. Requirements are set out city by city below. If that card has been lost or the linked account closed, resolve this before the residence permit expires. Opening a new bank account in China typically requires a valid residence permit.
The city-by-city differences that matter
The withdrawal process is governed nationally but administered locally. The differences between cities are significant enough that a reader in one city following instructions written for another may encounter a completely different process at the counter.
Shanghai
The departure withdrawal for foreign nationals (离境提取住房公积金) is a counter-only process. The Shanghai One-Stop Government Service portal states explicitly that the procedure is window-handled only: no online processing, no mobile app, no self-service terminal.
Foreign nationals must attend in person at a district HPF Management office.
The committed processing standard is three working days. The legal maximum is eight working days.
Documents required for foreign nationals: original passport, original labour relationship termination certificate, HPF cooperating bank Class I debit card [Article 22, Shanghai HPF Withdrawal Management Measures, 沪公积金管委会〔2023〕4号:].
The account must be in sealed or contributions-stopped status at the time of application [Article 10, same measures].
Proxy handling is permitted. A spouse or first-degree relative may act with a personal authorised letter. Any other person may act with a notarised power of attorney [Article 12(3), same measures]. This is the documented pathway for those who need a trusted local contact to act on their behalf.
Beijing
Beijing has a dedicated withdrawal procedure specifically for foreign and HK/Macau/Taiwan employees, distinct from the Mainland household-registration pathway.
Household registration cancellation is not required of foreign nationals and is not part of this procedure.
Both online and counter channels are available to foreign nationals. Online: log in to gjj.beijing.gov.cn, navigate to 个人网上业务平台, select 我要提取, then 提取申请, then Item 12 (外籍、港澳台人员销户).
Counter: any HPF Management Centre branch or cooperating-bank agent branch.
The only identity document required is the original passport, or HK/Macau travel permit, or Taiwan travel permit. Nothing else is needed in place of the household registration cancellation certificate that Mainland residents provide.
The account must be in sealed status before the application will be accepted.
Disbursement goes to a PBoC-designated Class I settlement account. This can be the default HPF-linked card registered at enrolment, or an alternate card added via the 公积金用卡维护 function in the online system.
Proxy handling is permitted at the counter. An employer HR officer may act with the applicant’s authorisation letter. Any other person may act with an authorisation letter and power of attorney.
Shenzhen
Foreign nationals below statutory retirement age cannot use the self-service online channels available to Chinese nationals departing Shenzhen. They must book an in-person counter appointment through the Shenzhen HPF Management Centre’s official WeChat public account (szzfgjj12329) [Shenzhen HPF Withdrawal Administration Provisions, 深公积金规〔2025〕3号, Article 35, effective 15 December 2025:].
The processing maximum is three working days [Article 22, same provisions:].
Disbursement goes to the HPF joint-name card (公积金联名卡) issued when the account was opened. There is no published codified bank list. Confirm the joint-name card is accessible before booking the appointment.
Guangzhou
Guangzhou follows the national standard. Both online and counter channels are available. The Centre adjudicates within three working days under Article 25 of the national HPF Management Regulations. Confirm the current procedure for foreign nationals directly at gjj.gz.gov.cn.
Other cities
Verify directly with the local HPF Management Centre. The national three-day adjudication standard applies everywhere under Article 25 of the HPF Management Regulations, but channel availability, document requirements, and bank card rules vary by city.
Start this before you hand in your permit
Every city procedure reviewed requires a valid passport throughout the application process. Bank accounts in China typically require a valid residence permit to open or maintain at full functionality.
Begin this process at least two to three weeks before the planned departure date. The employer’s sealing step must come first and is not under the employee’s control. The processing clock only starts once the application is accepted as complete. Most steps become significantly harder once the permit has been cancelled.
If you have already left
No standardised nationwide procedure has been located for claiming the HPF balance from outside China after the residence permit has been cancelled. The balance does not disappear. Under Article 21 of the HPF Management Regulations, interest continues to accrue during periods when the account is sealed.
But the practical pathway to recover the funds remotely is not clearly documented.
Shanghai is the exception: the departure withdrawal procedure explicitly permits proxy handling by a non-family member with a notarised power of attorney [Article 12(3), Shanghai HPF Withdrawal Management Measures].
Whether other cities accept similar arrangements should be confirmed directly with the local HPF Management Centre before departure, not after.
If you have already left without withdrawing, contact your former employer’s HR department as a first step: you will need confirmation that the account has been sealed and a copy of the labour relationship termination certificate, both of which HR can provide and both of which are required to make a claim.
Related article: Leaving China? Here’s the Pension Money Most Expats Never Claim






