Three steps chain together: cancel the old work permit (within 10 working days of the employment ending), file the new application (within 30 days of cancellation), then change the residence document (within 10 days of the change being approved).
Nationwide (all cities)
Step one: cancel the old work permit
Step one: cancel the old work permit. Section 7 of the Service Guide on Work Permits for Foreigners in China (Interim): where the contract is terminated early or the employment relationship is dissolved, the employer shall apply to the decision-making authority for cancellation within 10 working days from the date of the event; once cancelled, the decision-making authority issues a cancellation certificate upon application. The Jiyuan transfer guide repeats this, and adds that where the employer is terminated, the applicant may apply for cancellation.
Step two: file the new application
Step two: file the new application. The Jiyuan guide states: after cancelling the original work permit, file the new work permit application within 30 days from the date of cancellation, uploading the work permit cancellation certificate. The same guide notes the application is generally decided within 5 working days, and that the application should be filed at least 30 days before the original residence permit expires.
Step three: change the residence document
Step three: change the residence document. Article 19 of the Regulations on Employment of Foreigners in China: after a foreigner is approved to extend the period of employment or change the region or unit of employment, the foreigner shall, within 10 days, go to the local public security authority to extend or change the residence document. The Jiyuan guide lists the materials for updating the residence permit after obtaining the new work permit.
The sequence and the tightest constraint
The three steps are sequential: cancellation (step one) must be completed before the new application (step two), which must be approved before the residence change (step three). The tightest constraint is the step-two 30-day window counted from cancellation, so the steps should be started promptly after the employment ends.