On this page · 5 sections
Check your permitted stay when work or study ends
Write down your last working or study day, the date on your current residence document and your proposed flight date. If you are leaving a job, ask HR who files the work-permit cancellation or handles an expired permit and what confirmation you will receive. If you are leaving a course, ask the international student office what it reports and when. The permit authority and exit-entry authority handle different decisions.

Give the local exit-entry office or 12367 your permit type, the actual change date and flight plan. Ask whether you have to update, replace or surrender a document, and whether the flight fits the deadline they give you. If the situation affects family members’ documents, ask about each person separately. Save filing receipts and keep enough time for an in-person visit if required.
The employer or school must promptly report a worker's resignation/workplace change or a student's graduation, completion or withdrawal under Article 26 of the foreigner entry-exit regulation. These reporting and work-permit procedures do not give you or your family an automatic ten-day or thirty-day permission to stay; settle lawful residence or departure separately with exit-entry authorities. For an expired work permit, obtain the cancellation certificate if needed.
For an early employment termination in Shanghai, the actual work-permit cancellation service portal says the employer must apply within 10 working days from the termination event. This is the filing deadline, separate from the authority's processing time and from any residence or stay decision. Ask HR to submit promptly, retain the application reference and obtain the cancellation certificate. An older English cancellation summary still says 10 days, while the actual filing portal specifies 10 working days. Have HR file promptly and do not wait for the filing deadline before checking your own immigration position.
Shanghai's service portal lists the cancellation application and evidence of termination or another cancellation reason. If the original work-permit application used a salary commitment, its FAQ requires tax statements for the next procedure, including renewal or cancellation. Have HR check that conditional evidence before submitting. The portal publishes 021-962001 and staffed service windows for this municipal route; use the competent office for your actual case. A submitted application is not the cancellation certificate, and neither record extends a residence permit or authorizes a new job.
Give notice and document the rental handover
Use the lease to find the notice method, notice date, agreed deposit return date and circumstances for deductions. If you need to leave early, confirm any revised terms in writing before paying movers or leaving the country. At handover, compare the move-in inventory with the current condition, photograph the meters and property, and record which keys or access cards changed hands. Ask the landlord to itemize any deductions and confirm how and where the balance will be paid.

Read a recent utility bill to see whose name the account is in. For a service in your name, ask the provider about stop date, last bill and equipment return. If the landlord holds the account, agree on the final readings and settlement with the landlord. Check shipping restrictions with the carrier before packing separate shipments. Keep receipts for returned equipment and canceled services.
Give notice under the signed lease; leaving China is not itself an automatic right to cancel rent without the agreed or statutory consequences. National housing-leasing rules require deposit amount, return time and permitted deductions in the contract; ordinary agreed use is distinguished from compensable damage. For Beijing's supervised enterprise-sublet deposit scheme, the enterprise must propose an itemized deposit return within three working days after you return the home, and the undisputed balance should be returned promptly. That is not a nationwide three-day bank-credit guarantee. In Shanghai, a filing expires automatically at its end date, but early termination may need a separate filing cancellation; one party may apply with a written undertaking if the other will not cooperate. A housing filing is separate from police accommodation registration.
Arrange final pay and get records you can use abroad
Ask payroll when the final wages and reimbursements will arrive, where they will be paid and how you can get a year-to-date tax record. If an annual reconciliation applies, check its timing with your tax office. The State Taxation Administration allows taxpayers without domicile in China who leave before the reconciliation period to complete it before leaving. Ask which procedure applies to you and how to obtain proof for your next country’s filing.
Request dated employment or school records and, if relevant, prescriptions or clinical summaries before your last appointment. Save accessible copies of your pay statements, tax records, company or school contact and insurance documents. Ask the issuer whether a signed copy or translation is needed for your next institution.
The annual comprehensive-income reconciliation normally runs March 1–June 30 in the year after the income year. These measures do not apply to non-resident individuals’ salary and wages, remuneration for personal services, author’s remuneration or royalties (Article 36). A foreign passport or having no domicile in China does not by itself establish resident-taxpayer status. The pre-departure option in Article 5 of STA Order 57 applies to taxpayers within these measures’ scope who have no domicile in China and leave before that period begins; do not infer that tax category from a foreign passport alone. Article 26 requires a qualified personal bank account opened within China for a reconciliation refund: an overseas-only account is not the published refund route. Confirm the tax record, bank details and contact number before closing the account, and correct and resubmit invalid account information if the tax authority rejects it. A submitted or approved refund is not the actual bank credit.
If you contributed to employee social insurance, Shanghai’s published foreign-worker FAQ says a person leaving before the prescribed retirement age can retain the individual account, with contribution years continuing cumulatively on a later return to work. Alternatively, a written application can terminate the relationship and request the individual-account balance as a lump sum. This is not a refund of all employer contributions or every insurance premium. Obtain the administering agency’s decision, amount and accepted payout route before closing the receiving account; the FAQ gives no universal bank-credit deadline.
Keep bank and phone access until payments clear
Make a short list of money still due, such as wages, rental deposits or reimbursements, and when you expect each payment. Ask the bank what is required to keep or close your account, update the number, make a final transfer and retain access from your destination. Ask how a late payment or refund will reach you if the original account has closed, and agree on any alternative with the payer in writing.

Review the number saved with your bank, payment apps and tax account. Test each replacement login and verification method while you can still use the old number. If a bank or carrier requires an in-person change, schedule it before you leave and confirm what can still be done remotely. Keep a record of open balances, dates and provider contacts through final settlement.
BOC's January 2026 mobile-banking page requires valid identity, an eligible existing BOC card/passbook and a mainland, Hong Kong or Macao mobile number, with activation at a branch. It does not establish that replacing the number with any +44/+1 number preserves this service. Arrange a bank-supported verification method before canceling your old line. Also distinguish closing an app, canceling a debit card and closing each linked account: BOC's still-online debit-card guide expressly says a linked passbook can remain usable after card cancellation. Obtain the bank's record of what was closed or retained. Reconcile late refunds, unsettled transactions and transfers with the original payer/seller and bank using their references; their processing dates do not establish one universal credit or hold-release deadline.
Before canceling the mobile line, remove subscriptions and automatic debits and update every account that still needs it. Shanghai's June 2026 departure guidance directs customers to take their original passport to the carrier service center; it describes bank refund or same-carrier balance transfer as possibilities, subject to carrier terms. Shanghai Mobile's undated regional service page, read December 3, treats a foreign passport as a valid identity document, requires original ID and settlement for cancellation, and warns that unbilled roaming can arrive later. Its published balance-transfer route is a one-time transfer of eligible available credit to another Shanghai Mobile account; gifted credit is excluded and some transfers are handled the following month at a carrier-owned shop. Unicom's published agreement similarly allows final next-month settlement, while its Tencent Wang Ka supplement excludes certain promotional first recharges from refunds. Keep paid cash, bonus credit and refundable deposits separate, obtain the closing bill and the accepted refund route, and keep access or an authorized follow-up contact until the balance actually arrives. These product/regional examples do not promise that every carrier refunds all credit to any bank card.
Prepare the flight and leave yourself a way to follow up
Keep your passport, any applicable exit-entry documents and evidence for your next destination in your carry-on. Save offline copies of your itinerary and the current handover, tax or account confirmations you may need later. On your last day, check that the people handling your deposit or final pay have a contact method that will work after your phone arrangements change.
Sources and further information
What was checked
Checked on
Complete national regulation read, effective 15 September 2025. Articles2,8–10,19,23,25,27,35–36: urban state-owned land; identity/rental rights, deposit agreement, enterprise supervised account, broker filing and broker/information-platform rent/deposit collection ban. Not all collective-land or subsidized housing.
Checked on
Complete NIA Notice7 of2026, dated21 September2026, read: nationwide online channels; hotel registration versus non-hotel guest/host24-hour duty; offline route retains equal legal force. Does not establish every foreign-number/SMS workflow.
Checked on
Entire September2026 NIA FAQ read: host-assisted first online registration, self-service own/spouse-home or previously registered-address cases; limited return-trip exemptions and usual-residence over180-day definition; completed-record query and offline failure route.
Checked on
Independent peer fresh retrieval, complete STA Order57 main body read, effective26 February2025: Articles2–5,8,14–15,22–27 and36. Next-year March1–June30 comprehensive-income reconciliation, qualified in-scope no-domicile early departure, qualified personal China-opened refund account and correction/resubmission. Article36 expressly excludes non-resident individuals’ salary, personal-service remuneration, author remuneration and royalties; passport/no-domicile status alone does not establish resident-taxpayer status. Not a retail departure-VAT refund or proof of actual filing/bank credit.
Checked on
Complete January2026 BOC mobile-banking main body read: eligible existing card/passbook, valid ID, mainland/Hong Kong/Macao number and branch activation. Not proof any overseas number can replace the registered number or that all BOC products can close remotely.
Checked on
Entire Shanghai departure FAQ read:10 working days for early-termination work-permit cancellation, expiry case and tax option. This conflicts in wording with the still-linked detailed guide's10 days; no stay grace inferred.
Checked on
Complete work-permit gateway main text read, updated16 September2026; it still links the detailed cancellation guide. Physical/electronic-card transition details are not resolved from this page alone.
Checked on
Entire still-online2011 BOC debit-card guide read, including linked passbook remaining usable after card cancellation. Used only for that account/card distinction; not asserted a universal current issuing-branch-only closure rule.
Checked on
Entire18-clause Shanghai housing-filing rules read: effective1 December2024 to30 June2029; original IDs/property evidence, enterprise/agency filing duty, expiry and separate early-termination cancellation including one-party undertaking route. Police registration separate.
Checked on
Entire June10,2026 Shanghai departure/graduation main body read: backup accounts/cancel auto-debits, original passport at carrier center, possible bank or same-carrier balance return subject to provider. Does not guarantee every bank accepts any replacement foreign number.
Checked on
Entire served9,544-character Unicom agreement and Tencent-card supplement read. Undated template/provincial fields; original identity, contract/loaned equipment, unbilled charges and next-month final settlement; particular promotion excludes some prepaid/bonus amounts. Not all carriers or plans.
Checked on
Complete relevant NIA law Articles28,30–36,39,41,43,62 read. Ordinary work authorization, stay/residence changes,24-hour non-hotel registration and unlawful work distinguished; no invented automatic job-end stay grace.
Checked on
Complete relevant NIA regulation Articles16,20,22,25–26 read: school consent plus prior location/duration annotation for study-residence off-campus internship; employer/school prompt reporting; no ordinary visitor/remote-work exemption inferred.
Checked on
Entire detailed Shanghai cancellation guide read, linked from current September2026 gateway. Early-termination wording says10 days, compared with departure FAQ's10 working days. Expired permit auto-cancellation/certificate and own-application conditions retained; conflict unresolved.
Checked on
Complete June2026 Beijing enterprise-sublet deposit-return FAQ body read: propose return/itemized deductions within3 working days of returning home; undisputed amount prompt return. Not all landlords or bank credit within3 days.
Checked on
Firecrawl403; fresh native HTTPS200 HTML and entire plaintext read. Undated Shanghai Mobile regional service page includes legacy2007/2011 references; passport, settlement, late roaming, one-time eligible balance transfer to another Shanghai Mobile account and gift exclusions used narrowly. No universal current retention fee or all-carrier rule.
Checked on
Complete Civil Code rental Articles703–734 independently re-read from own fresh same-day earlier capture. Agreed ordinary wear, repairs, subletting, written terms, return and termination exceptions; unrelated portions not claimed read.
Checked on
Entire Shanghai foreign-worker social-insurance main FAQ read. Lawful employment participation, treaty-specific exemptions, and pre-retirement departure: retain individual account or written termination application for individual-account balance. Not a refund of all employer contributions, all insurance premiums or automatic payment deadline. Treaty list explicitly as of August2026.
Checked on
Shanghai municipal/provincial90days-plus work-permit cancellation service: complete functional instructions through FAQ read. employer must apply within10working days from termination event, distinct from processing duration; application and termination proof, no charge, cancellation certificate,962001. FAQ additionally requires tax statements on a next procedure including renewal/cancellation where the initial application relied on a salary commitment. Short90days-and-under Chongming page complete basic-information/approval conditions read separately confirms10working days after event, not all district instructions or personal approvals. Older English10days wording not claimed amended or harmonized.
Checked on
Shanghai Chongming90days-and-under cancellation service: complete basic-information/approval-condition section read;10working days after event. Specific short-term notice route, not an immigration grace period or guarantee of citywide processing duration.