Not as a general rule. Official texts were located saying that leaving China is not required under specified conditions: nine categories of domestic work permit applications, item 7 of the 12 facilitation policies, and NIA enquiry replies stating "no need to leave China" and "no need to obtain a work visa first". No official text was located saying that "most cases can be handled inside China" or that "leaving China is a last resort"; what was located are condition-based lists. Official documents also differ: a 2019 police tip says employment requires entering on a Z visa, and a January 2020 NIA question records that the Xi'an authority required leaving the country while Beijing and Shanghai were understood to allow a domestic change. A Foshan guide states that category B or C foreigners who entered on L or M visas and do not fall within the nine categories must follow the overseas application route.
Nationwide (all cities)
The conditions under which official texts say leaving China is unnecessary
The "Frequently Asked Questions on Work Permits for Foreigners V1.0" on the Ministry of Science and Technology service platform lists nine categories in which a work permit application may be made inside China, including "an A-class high-end foreign talent who has already entered on another visa or with a valid residence document", "a foreigner working in China who changes employer but whose post (occupation) is unchanged and whose work-type residence permit is still valid", "the foreign spouse or child of a Chinese citizen, or the spouse or child of a foreigner with permanent residence or working in China, holding a valid visa or a residence permit within its validity period", "personnel moving within an enterprise group", and "other cases determined by the approving authority". Item 7 of the 12 migration and exit-entry facilitation policies, promoted nationwide from 1 August 2019, reads: "Foreigners employed by enterprises or institutions in China who have obtained a work permit and have no time to leave China to obtain a work visa may, on the strength of the work permit and other materials, apply to the exit-entry administration of the public security organ for a work-type residence permit". NIA enquiry replies state: "on the strength of the Work Permit Notice or the Work Permit, a work-type residence permit may be applied for directly inside China, with no need to leave the country"; "either the Work Permit Notice or the Work Permit is sufficient to apply directly for a work-type residence permit inside China, with no need to obtain a work visa first"; and "where a foreigner's purpose of residence changes from study to work, the study-type residence permit may be changed to a work-type residence permit on the strength of the Work Permit Notice and other materials; if the study-type residence permit has expired or the study has ended before the work materials are obtained, a stay document may be applied for first". Each of these is tied to a stated condition.
What was not located, and the differences between official texts
This verification located no official text stating "in most cases the procedure can be completed inside China" or "leaving China is a last resort". The official texts located are condition-based lists: the nine domestic application categories, item 7 of the 12 policies (which requires that a work permit has already been obtained and that there is no time to leave China to obtain a work visa), and NIA replies concerning specific directions such as study to work. Official texts also differ from one another. A Fuxin Municipal Public Security Bureau police tip of 31 October 2019 reads: "Foreigners employed in China must enter with a Z visa and obtain the Foreigner Work Permit and a work-type residence document." An NIA enquiry question of 3 January 2020 records that the Xi'an exit-entry administration had said the applicant "must leave China and re-enter on a Z visa", while the questioner had consulted the Beijing and Shanghai authorities as allowing a domestic change; the NIA reply states that a spouse who has obtained a work permit "may apply directly" for a work-type residence document and ends with "the above reply is for reference only". The NIA replies describe the 12 policies as "issued in December 2019", whereas the NIA press release of 19 July 2019 and the Shishi Municipal People's Government interpretation state that they were implemented nationwide "from 1 August 2019"; both wordings are recorded as written, without reconciliation.
Local variations
Foshan: the nine categories and the reverse case
In Foshan, the Chancheng District guide "Domestic application for a work permit for foreigners (work of more than 90 days)" on the Foshan Municipal People's Government portal, dated 22 September 2026, reads in its FAQ: "A foreign national already in China whose visa or residence document is lawful and within its validity period, and who falls within one of the nine statutory categories for domestic application, does not need to leave China and is exempt from the Work Permit Notice, and may apply directly for the formal Foreigner Work Permit." Its "kind reminder" reads: "Category B and C foreign nationals who entered only on a tourist (L) visa or business (M) visa and do not fall within the above nine statutory categories may not apply for a work permit directly inside China; they must follow the overseas application procedure, obtain the Work Permit Notice and a Z work visa outside China, and then re-enter to obtain a long-term work permit." This page sets out conditions in both directions; it does not describe leaving China as a last resort.
Guangzhou: domestic re-application after cancellation
In Guangzhou, a Guangzhou Municipal Science and Technology Bureau reply dated 13 October 2021 reads: "A foreigner whose work permit is still valid and who changes employing unit must cancel the work permit issued for the original unit and obtain a new work permit at the new employing unit. If the original residence document is still within its validity period, the application may be made again through the domestic procedure." A Guangzhou Municipal People's Government online interview, answered by the deputy director of the Municipal Science and Technology Bureau, distinguishes two situations: "the first is where the applicant is outside China, in which case a change of employing unit is handled under the overseas application requirements; the second is where the applicant is inside China, in which case, in addition to the overseas application requirements, the applicant must hold a valid visa or residence permit"; it also states that "if the original work permit is still within its validity period, the current work permit must first be cancelled before a new one can be processed". A Municipal Science and Technology Bureau notice of 21 November 2024 reads: "For movement of personnel in units not included in the list, the original work permit procedure applies, namely cancellation at the outflowing unit followed by a fresh application at the inflowing unit." None of these pages says that "most cases" can be handled domestically.
Shanghai: an M visa can lead to a work-type residence permit, but not to a Z visa in China
In Shanghai, an official Q&A on the English website of the Shanghai Municipal People's Government dated 27 April 2026 (source credited to the Exit-Entry Administration General Corps of the Shanghai Municipal Public Security Bureau) reads: "An employee who enters China on a business (M) visa may apply for a work permit after entry and then proceed to apply for a work-type residence permit in Shanghai." The same page reads: "The exit-entry administration authorities are not able to convert an M visa into a Z visa within China." The Shanghai page therefore states both a domestic path after entry and a conversion that the authorities do not perform inside China; it does not state a general rule about leaving the country for all status changes.