Apply for a stay document before your current permitted stay expires. The NIA guide covers the case where residence grounds have ceased and the person needs to stay for humanitarian reasons (up to 30 days); Shanghai publishes the appointment, materials and 5-working-day processing steps.
Nationwide (all cities)
How to apply for a stay document
What to do: apply to the exit-entry administration of the public security authority at or above prefecture level for a stay document before the validity of your current visa, stay document or residence document expires. Under Article 34 of the Exit-Entry Administration Law, a foreigner with circumstances requiring a stay document shall apply for one as prescribed, and the validity of a stay document is at most 180 days. The National Immigration Administration's Service Guide for Issuance, Renewal and Replacement of Foreigners' Stay Documents covers the case where a foreigner's grounds for residence have ceased and the person needs to remain in China for humanitarian reasons: submit the residence document and supporting materials, and a stay document of no more than 30 days may be issued.
Materials
Materials (Article 12 of the Regulations on the Administration of Entry and Exit of Foreigners and the NIA stay-document guide): a completed application form, a valid passport or other international travel document, one compliant photograph, and materials related to the purpose of the stay. Article 13 of the Regulations: where the application meets acceptance requirements, the authority issues a receipt valid for no more than 7 days and decides within that period; while the passport or travel document is held for processing, the applicant may stay lawfully in China on the strength of the receipt. Article 21 of the Regulations lists the cases in which a stay document is not issued.
Cancellation creates no stay period
Cancellation of a work permit does not by itself create a stay period. The employer's cancellation duty is separate: Section 7 of the Service Guide on Work Permits for Foreigners in China (Interim) requires the employer to apply to the decision-making authority for cancellation within 10 working days of early termination of the contract or dissolution of the employment relationship.
Local variations
Shanghai procedure
Shanghai procedure: Government Online-Offline Shanghai lists "grounds for residence have ceased and the person needs to remain longer for humanitarian reasons" among eligible applicants. Book an appointment in the Exit-Entry Services column under "Issuance of Foreigner's Stay Permit", choose the district and time slot, then submit in person at the Exit-Entry Administration Corps of the Shanghai Municipal Public Security Bureau (Monday to Saturday 9:00-17:00; Saturdays for document acceptance only) with the original passport, the completed form and supporting documents. A photograph is taken free of charge on site; with complete materials, processing is completed within 5 working days. Hotline 12367 (Chinese, English, French, Russian, Japanese, Korean).
If something goes wrong
- The passport is held while the stay-document application is processed — Stay lawfully in China on the strength of the acceptance receipt until the decision is made (Article 13 of the Regulations)
- The former employer has been legally terminated — The applicant may apply to the decision-making authority to cancel the work permit directly, and the cancellation form may be filed without the employer's seal (Section 7 of the Work Permit Service Guide)