+86 4006-123670 610113261021I2245
中文 EN
OTGEO
China Work Visa

Leaving China: Exit Tax, Final Payroll and the Loose Ends

Leaving China is not a resignation letter and a flight. The employer has to cancel the work permit, the residence permit stops being valid with it, the final payroll has to be taxed correctly, and the money in the housing fund and pension accounts has to be claimed rather than abandoned. Done in the wrong order, the last two weeks turn into an overstay.

Reviewed by OTGEO (中创侨智) 8 min read

At a glance

Work permit
The employer cancels it within 10 working days of the employment ending
Residence permit
Falls with the work permit; the holder must leave or change status
Final payroll
Taxed in the month paid; residents also file the annual reconciliation
Housing fund
Withdrawable on departure, with passport and exit evidence
Pension
The individual account can usually be withdrawn in a lump sum on leaving
Timing
Start 4–6 weeks before the last working day

Cancellation deadlines, withdrawal rules and the documents each office accepts are applied locally. The housing fund and pension procedures differ by city, and a bank will apply its own foreign-exchange review to any salary remitted after the employment ends.

The short answer

A clean exit closes six things, in this order:

  1. The final payroll — last month’s salary, unused leave, severance if any, taxed in the month it is paid.
  2. The work permit — cancelled by the employer within 10 working days of the employment ending.
  3. The residence permit — falls with the work permit; leave or change status within the window the exit-entry administration allows.
  4. The tax position — the final withholding, plus the annual reconciliation if the employee is a resident.
  5. The money — housing fund balance and the pension individual account.
  6. The bank — closing the account, or remitting the balance with the documentation the bank asks for.

Most of the pain comes from doing 4, 5 and 6 after 2 and 3. Once the work permit is cancelled, the clock on lawful stay is running, and the housing fund and pension offices want to see the permit status.

The final payroll is a tax event

The last salary is not just arithmetic. It is paid in a month when the employee may be a resident and may be leaving, and the two positions produce different filings.

SituationFiling
Non-resident (fewer than 183 days in the year)Monthly withholding; settle any unsettled income before departure
Resident leaving mid-yearAnnual reconciliation for the part-year, filed before departure or by a representative afterwards
Resident staying to year endNormal monthly withholding, reconciliation the following March to June

Two items are usually missed. Unused annual leave paid out in cash is salary and taxable. And the annual reconciliation is where a refund usually sits — a resident who leaves in June and never files gives it up.

Severance follows its own rule: the portion within three times the local average annual wage is exempt, the excess is taxed separately. That calculation is done by the employer, but the employee should check it, because it is rarely revisited.

Cancelling the permit, and the 30 days

The employer files the cancellation and returns the permit card. From that point the residence permit has no supporting employment, and the exit-entry administration will either cancel it or allow a short period to change status.

Changing status means a different basis for stay: a dependant permit if the spouse still works in China, a study permit, or a new work permit if another employer has already filed. The last of these is the one that goes wrong — the new employer’s application has to be timed so that the old permit is cancelled and the new one issued without a gap. The employer-change guide covers that sequence.

If the plan is simply to leave, book the flight inside the window, keep the cancellation receipt, and do not assume the residence permit remains valid because the card has not been collected.

The money: housing fund and pension

Housing fund. The balance is both contributions plus interest, and it is withdrawable on departure or on cancellation of the residence permit in most cities. The file is passport, cancellation evidence, and a bank account; some cities require the account to be closed in person, so this is a “do it before the flight” item, not an “email it later” item.

Pension. The individual account — the 8% the employee contributed — can usually be withdrawn as a lump sum when leaving, because it cannot be paid as a pension outside China. The employer’s 16% goes into the pooled fund and is not refundable. Procedures differ: some cities pay only after the account is closed and the departure is documented, and payment to a foreign bank account may need the bank’s own review.

Medical insurance. The personal account balance is usable while the permit is valid and is generally not refundable; spend it or accept the loss.

The bank, and moving the money out

Salaries remitted abroad are current-account items, but a bank handling a large final payment after the employment has ended will ask why. Keep the labour contract, the cancellation evidence, the final payslip and the tax withholding record together. For larger payments the bank may require tax filing evidence under the foreign-exchange rules, and it is the bank — not the tax office — that decides what it will accept.

Close or keep the account deliberately. A dormant Chinese account with a foreign passport as ID is hard to reactivate years later, and it is easier to empty and close it while the permit is still valid.

Where exits go wrong

  • The flight is booked before the cancellation is filed. The permit record stays open, and the next application has to explain it.
  • The reconciliation is forgotten. Residents leaving mid-year lose refunds and leave an open filing year.
  • The housing fund is left behind. It is real money, and it becomes much harder to claim once the permit is cancelled and the person is abroad.
  • The final month is paid “net” without withholding. The employer carries the liability, and the employee’s record shows an unexplained gap.
  • The tax residency position is ignored. A person who spent 200 days in China and leaves in December is a resident, and the year needs a resident filing.

Start four to six weeks before the last working day: payroll, permit, permit-linked accounts, then the bank. The social insurance and tax guide explains the contributions being closed, the work permit page covers the permit file, and the employer-change guide covers the case where the next job is also in China. To have an exit sequence mapped before notice is given, contact an advisor.

Frequently asked questions

"Who cancels the work permit, and when?",

The employer. The cancellation is filed within 10 working days of the employment ending, and the permit card is returned. The employer's failure to cancel is not the employee's problem on paper, but it becomes one in practice: the record stays open, and the next employer cannot file a clean new application until it is closed.

"How long can I stay after I stop working?",

The residence permit is tied to the work permit, so it stops being a valid basis for stay once the work permit is cancelled. In practice the exit-entry administration gives a short period to leave or to change status — usually treated as 30 days, but confirm it locally rather than booking a flight on the assumption.

"Can I get my pension contributions back?",

Usually yes, as a lump sum of the individual account balance, because the account cannot be paid as a pension outside China. Some cities require the account to be closed after departure and paid to a foreign bank account; others pay to a domestic account. The employer's share is not refunded. Confirm the procedure at the social-insurance office where the account was opened.

"Can I withdraw the housing fund?",

Yes, in most cities, on departure or on cancellation of the residence permit, with the passport, the permit cancellation evidence and a bank account. Some cities require the account to be closed in person; others accept a representative. The balance is the employee's and the employer's contributions combined.

"Do I need a tax clearance certificate to leave?",

Not as a general exit requirement, but the tax position has to be settled. A non-resident settles the final month's withholding before departure; a resident either files the annual reconciliation before leaving or appoints a representative to file it later. A bank remitting a large final payment may ask for tax evidence under the foreign-exchange rules.

"What happens if I leave without closing the permit?",

The permit record stays open and the residence permit may remain on the system as valid while no longer being supported by employment. That creates an overstay risk on a later visit, a problem when a new employer files a work permit, and possible difficulty with a future visa. Closing the file is cheap; repairing it later is not.

Sources and verification

Policy links were checked in November 10, 2026. Where a rule is applied differently by city or district, the article says so and points to the local authority.

  1. 01 国家移民管理局 — 外国人工作类居留许可服务指南 Residence-permit cancellation and the change-of-status options.
  2. 02 全国人大 — 中华人民共和国个人所得税法 Resident and non-resident filing obligations.
OT

Reviewed by OTGEO (中创侨智)

Entry-Exit Intermediary Service Filing No. 610113261021I2245. This article is general information, not legal advice. Chinese immigration rules are applied by local authorities and change without long notice; confirm your case with an advisor before filing. Ask about your case →

Planning a China move?

Send us the employer, the role, and the candidate's nationality and qualifications. A senior advisor will confirm which category applies and what the filing will require.