No nationwide official text was located stating that a status change or a gap between documents interrupts the continuity of residence. What is verified: the qualifying years are "continuous years immediately before the date of application"; the spouse and relative routes require five continuous years of residence with at least nine months in China each year.
Nationwide (all cities)
The statutory condition
Article 6(1)(5) of the Measures for the Administration of Examination and Approval of Permanent Residence of Foreigners in China (Order No. 74 of the Ministries of Public Security and Foreign Affairs, 15 August 2004) reads: "the spouse of a Chinese citizen or of a foreigner who has obtained permanent residence status in China, where the marriage has subsisted for five years, the person has resided in China continuously for five years, has resided in China for not less than nine months in each year, and has a stable means of support and a place of residence". Article 6(1)(7) contains the same five-year, nine-month wording for persons aged 60 or over with no direct relatives abroad who come to rely on direct relatives in China. The final paragraph of Article 6 reads: "The periods of years referred to in this Article mean continuous periods immediately before the date of application." The NIA Service Guide for Examination and Approval of Permanent Residence Qualification repeats the same conditions.
After permanent residence is granted
Article 20 of Order No. 74 reads: "A foreigner approved for permanent residence in China shall reside in China for a cumulative period of not less than three months each year. Where the person genuinely cannot reside in China for a cumulative three months in a year for practical needs, approval shall be obtained from the public security department or bureau of the province, autonomous region or municipality directly under the Central Government of the place of long-term residence, but the cumulative period of residence in China within five years shall not be less than one year." Article 24(4) lists failure to meet these cumulative periods without approval as a ground for cancellation of permanent residence status. An NIA enquiry reply of 9 January 2020 on "calculation of the periods of residence for permanent residence" reads: "when the applicant applies to the local exit-entry administration to renew the document, the administration will, on the basis of the actual circumstances such as the date on which the applicant was approved for permanent residence in China and in accordance with the principle favourable to the applicant, verify the specific number of days of cumulative residence." That reply concerns the renewal of the document by a person who already holds permanent residence, not the calculation of the five continuous years before applying. The NIA service guide states that the decision is made within six months of acceptance and that, on approval, "the applicant's original valid visa or residence document is cancelled at the same time".
What was not verified
Order No. 74, the NIA permanent-residence service guide and the NIA enquiry reply contain none of the expressions "interruption of continuity of residence", "change of visa category", "change of purpose of residence", "short-term departure", "status change", "gap", or "required to explain". No official text was located stating whether changing visa category or purpose of residence interrupts continuity, whether short departures or periods covered by a stay document count towards continuous residence, or whether a status-change gap would lead to questions from the authorities. The only general provision on continuity located is the final paragraph of Article 6: "The periods of years referred to in this Article mean continuous periods immediately before the date of application."
Local variations
Beijing: renewal of the permanent resident card
In Beijing, a Beijing Municipal Public Security Bureau Q&A dated 14 January 2022 (answered by the Exit-Entry Administration Corps) reads: "Where the document expires during the period in which the Foreign Permanent Resident ID Card is being renewed, this is not treated as overstaying in China. If the person needs to leave China during the renewal period, they may apply to the exit-entry administration of the Beijing Municipal Public Security Bureau for a visa document." This answer concerns a person who already holds permanent residence and is renewing the card; it is not a rule on the continuous years required before an application for permanent residence.