Under Article 37 of the Labor Contract Law, a regular employee must give 30 days' written notice; an employee still in the probation period gives only 3 days' notice.
Nationwide (all cities)
The statutory notice period
The rule is in Article 37 of the Labor Contract Law: an employee may terminate the contract by giving 30 days' written notice in advance; during the probation period, 3 days' notice in advance is enough. This is the statutory notice period and is a mandatory rule that a contract generally cannot override.
The contract stays in force during the notice period
The notice runs from when the employer receives it, and the contract stays in force during the notice period — the employer must keep paying wages and social insurance throughout. This is separate from the work-permit cancellation, which follows the same 10-working-day timeline regardless of your notice period.