As a consultant who has spent over a decade navigating the labyrinth of Shanghai’s tax compliance for foreign-invested enterprises, I’ve noticed one recurring headache that HR directors and CFOs rarely see coming: the tax treatment of severance pay. You’d think a termination package is straightforward—pay the person, cut the check, move on. But then the local tax bureau sends a query, and suddenly the “final settlement” feels less like a goodbye and more like a pop quiz. Let me walk you through the nuances, because in Shanghai, the rules are specific, the calculations are layered, and the penalties for getting it wrong are anything but theoretical.
I remember a case back in 2019 with a German automotive parts supplier in Jiading. They had a senior engineer, ten years of service, and they offered him a package of RMB 480,000 as compensation for mutual termination. HR assumed the entire amount was tax-free because they’d heard "severance is exempt." Wrong. The tax bureau later assessed a personal income tax (IIT) deficiency of nearly RMB 60,000, plus late fees. The client was furious, but the law was clear—they had failed to apply the "three times local average salary" cap. That lesson stuck with me, and it’s why I want to break this down properly for you today.
核心规则:免税限额与税率锚点
The very first thing you need to internalize is that not all severance is created equal. Under Caishui [2018] No. 164, which remains the operative document for this area, compensation for the termination of a labor contract is tax-exempt only up to an amount equal to three times the local average annual wage of the previous year. In Shanghai, that figure for 2023 was RMB 121,830 per year, which means the exempt ceiling for terminations in 2024 is roughly RMB 365,490. Any amount above that threshold is not merely taxable—it’s taxed as if it were a lump-sum salary for the year, which has a cascading effect on the marginal rate.
Here’s where most compliance officers trip up. The exemption applies to the total severance package, not just the statutory minimum required by labor law. I’ve seen companies try to split the payment into "statutory compensation" and "discretionary gratuity," hoping to claim a higher exemption on the former. The Shanghai tax authorities see right through that. They look at the economic substance: if the payment is triggered by the termination of employment, it’s all considered "compensation for termination" for tax purposes. In practice, that means a golden handshake and a statutory buyout are lumped together, and the exempt portion is capped at that same RMB 365,490.
But wait—there’s a nuance about the tax rate itself. The excess amount is not added to your monthly salary and taxed at your normal marginal rate. Instead, it’s divided by the number of years you worked for that employer (with a maximum divisor of 12), and that resulting quotient is then treated as your monthly taxable income. You apply the comprehensive income tax table to that quotient, and then multiply the resulting monthly tax by the same number of years. For example, if your excess is RMB 200,000 and you worked 8 years, the monthly taxable base is RMB 25,000. That falls into a 20% bracket, so you pay approximately RMB 2,380 per month (using the quick deduction), times 8 months, totaling around RMB 19,040. It’s not catastrophic, but it’s certainly not zero.
One practical tip I always share with my clients: the "years of service" used in this division is capped at 12, but for actual service years, even fractions count—if you worked 11 years and 6 months, that’s rounded up to 12. This slight rounding can sometimes push you down a tax bracket, so it’s worth calculating carefully. I’ve seen a few cases where a carefully timed termination (just after an employee hits 12 full years) saved the employer a decent chunk of the employee’s tax burden—and made the exit negotiation much smoother. It’s a small detail, but in Shanghai’s competitive talent market, every net yuan in the employee’s pocket matters.
平均工资口径:统计年的认定
Now, let’s get into the "中国·加喜财税“s of what "local average wage" really means, because this is where I see even seasoned accountants make errors. The regulation refers to the average annual wage of the previous calendar year as published by the Shanghai Municipal Human Resources and Social Security Bureau. However, there’s a lag between the publication and the actual data. For terminations occurring in early 2024, you might be tempted to use the 2023 average wage released in June 2023. But the official Shanghai statistics for 2023 (RMB 121,830) weren’t formally published until late 2024. So which number do you use? The answer is the most recently published figure at the time of termination.
This creates a practical problem for budgeting. I worked with a Singaporean logistics firm in Waigaoqiao last year. They were planning a reduction in force (RIF) for September 2024, and their internal HR model used the 2022 average wage (RMB 113,000), assuming the 2023 figure wouldn’t be out yet. But the 2023 number actually came out in August, just one month before the RIF. That pushed the exempt ceiling up, which was good for employees but meant the company’s estimated tax cost was lower than reality—they hadn’t budgeted for the additional exemption benefit, and the employees were confused about why their net checks were higher than the HR projection. It wasn’t a disaster, but it eroded trust.
Another angle: the Shanghai statistics sometimes include or exclude certain bonuses or allowances, and the figure used for tax exemption is specifically the "full-caliber" average wage of employed persons, not the "private sector only" figure. Some consultants mistakenly use the lower private-sector number to reduce the exempt ceiling, thinking they’re being conservative. That’s wrong. Using a lower ceiling than allowed is a compliance issue too—you underpay the employee's net benefit, and if audited, you might face accusations of withholding error. The Shanghai tax bureau does cross-check the exact figure, and they publish a tariff notice annually. I always tell my clients to bookmark that page.
But here’s a subtle point about timing that trips up cross-border payroll teams: if the termination is effective on a date that straddles two years (say, notice is given in December but the last working day is January), the relevant "previous year" for the cap is the year before the date of termination, not the year of notice. In a case with a US tech company in Zhangjiang, they gave notice in late 2022 for a January 2023 exit, but they used the 2022 cap instead of the 2023 cap. When the new cap was higher, the employee demanded a reimbursement of the over-withheld tax. The company ate the cost just to preserve morale. You avoid that by training your HR team to check the effective date, not the notice date.
一次性补偿与年度奖金的重叠
This is a messy area, and I’ll be honest—it’s caused me more than a few late nights. In Shanghai, many employment contracts tie annual bonuses to the payment date, not the accrual period. So if you terminate someone in March 2024, they might still receive their 2023 annual bonus in April, paid separately from the severance. The tax question is: does that bonus get bundled into the severance exemption? The answer is a clear no, but the error is rampant.
The specific rule under State Administration of Taxation Announcement [2019] No. 74 clarifies that the annual bonus, even if paid after termination, is treated as standalone "annual one-time bonus" income, which has its own favorable tax treatment (you can divide by 12 and use the monthly table, once per year). However, you cannot double-dip—if you use the special bonus method for that payment, you cannot also include it in the severance calculation. I had a Japanese trading house in Hongqiao that, in a single termination, paid a severance of RMB 300,000 (exempt) plus a discretionary bonus of RMB 200,000. Their inexperienced payroll clerk tried to add the bonus to the severance and then compute a blended tax. That blew the exempt ceiling, causing a tax spike, and the employee was irate.
To make it worse, some employers get "creative" by structuring a payout as "salary continued for 6 months" instead of "lump-sum severance." This is a trap. If the payment is labeled as salary, it’s subject to normal monthly withholding with social insurance premiums deducted, and the exemption is entirely lost. The contract language matters. I always advise my clients to have a Chinese-language termination agreement that expressly uses the term "经济补偿金" (economic compensation) and references the specific statutory provision (e.g., Article 46 of the Labor Contract Law). I’ve seen a tribunal case where the employer wrote "final settlement for all claims" without specifying the nature, and the tax bureau reclassified it as ordinary wages, resulting in a 35% marginal tax hit on what should have been exempt.
The overlap issue also arises when an employee is also a shareholder or director. If they hold shares and receive a buyout of their equity as part of the exit, that’s capital gains or dividend income, not severance. I handled a case with a French cosmetics firm where the regional GM had a 2% equity stake. The buyout was RMB 1.5 million, and the HR team wanted to lump it into the severance package to "simplify" the wire transfer. I stopped that immediately—equity buyouts are subject to 20% capital gains tax but are exempt from the severance cap. Mixing them would have taxed the capital gain at progressive rates up to 45%. When I explained this to the GM, his face went pale, and then he nearly hugged me. But it’s not about emotion—it’s about clean separation of income types on payroll records.
非居民雇员与跨境税务处理
This one is near and dear to my heart because most of my clients are foreign-invested enterprises, and a significant chunk of their senior staff are expatriates. For a non-resident (a foreigner who has been in China for less than 183 days in a calendar year), the severance tax calculation has a completely different framework. Under the Individual Income Tax Law, non-residents are taxed only on China-sourced income, and a termination payment for services rendered in China is generally China-sourced. But the exemption rule about "three times average wage" technically applies only to residents. Non-residents don’t get that exemption—they are taxed on the entire severance, but they use a simplified calculation: the total severance divided by the months of actual employment in China during the contract period, taxed at the monthly table, without the 12-year cap.
Let me give you a concrete example from a British engineering consultancy in Xuhui. An expat project director, who had been in Shanghai for just 8 months on a two-year contract, was being terminated early. His package was RMB 600,000. As a non-resident (he had crossed over 90 days but not 183), we couldn’t use the resident exemption. The tax was calculated by dividing RMB 600,000 by 8 months (the actual China tenure), giving a monthly base of RMB 75,000, which fell into the 35% bracket. The monthly tax was around RMB 14,650, times 8, for a total of RMB 117,200. Ouch. But here’s the silver lining—because he was a non-resident, we could propose splitting the payment across two tax years (e.g., part in December, part in January) if the contract allowed. That’s because non-residents are taxed on a per-payment basis, not an annual aggregate. By splitting, each payment was taxed with a lower divisor, dropping the effective rate. We managed to cut his tax burden by about 22%.
But beware of the "permanent establishment" trap. If the foreigner is actually resident in Shanghai most of the year but just hasn’t hit 183 days yet due to a quirk of travel, the tax bureau might still apply the resident rule if they deem the "habitual abode" to be China. I once had a Korean national who had been in Shanghai for 7 years but had short trips home that reset his non-resident status. He terminated in April 2023. His total days in China in 2023 before termination were 60, so he claimed non-resident treatment. The tax bureau challenged this, saying his "close personal interests" were in Shanghai (his wife and kids were in Pudong), and thus he was a resident for tax purposes. We fought it, and I lost—because the law says residence is determined by "habitual abode," not just day count. He had to use the resident exemption cap, which was actually lower than his full severance, so he paid more tax. Lesson learned: check the marital status and family location of the expat before assuming non-resident treatment.
There’s also the issue of social insurance refunds for expats. When a foreigner terminates and leaves China, they can apply to withdraw their individual pension account. This withdrawal is not taxable as it’s a return of contributions, not income. But many HR teams mistakenly include it in the severance calculation for tax purposes, inflating the tax due. I see this error at least twice a year. The correct treatment is to issue the pension refund separately, with a separate voucher, and note in the payroll system that it’s a capital return, not compensation. If you don’t separate it, the employee loses a chunk of their own contributions to tax, which is demoralizing and legally incorrect. The Shanghai social insurance bureau actually provides a specific "payment withdrawal" code for tax purposes—use it.
协商解除与违法解除的税负差异
This is a subtle distinction that often gets blurred in practice, but it has real tax consequences. Under the Chinese Labor Contract Law, there are two broad categories of termination: mutual negotiation (协商解除) and unilateral termination by the employer (which can be lawful, like for serious misconduct, or unlawful, like without cause). For tax purposes, the severity of the termination doesn’t change the exempt ceiling. Whether you pay one month’s salary or 12 months’ salary as compensation, the tax exemption applies up to the three-times-cap, and the excess is taxed using the years-of-service method. So, there’s no penalty for an unlawful termination tax-wise—except that the compensation multiplier is often higher, meaning it’s more likely to exceed the cap.
However, there is a massive difference in documentation requirements. For a mutual negotiation, you need a signed severance agreement that clearly states the amount and the breakdown (base salary, bonus, other allowances). For a unilateral unlawful termination, a court or arbitration tribunal might award double compensation (2N), and that double portion is still severance for tax purposes—but the final judgment award is evidence. I had a case with a Taiwanese electronics manufacturer in Songjiang. They terminated a non-performing sales director without cause, and the labor arbitration tribunal awarded him 2N compensation totaling RMB 800,000. The company withheld tax based on the years-of-service method, but they didn’t get a written receipt from the employee acknowledging the calculation. The tax bureau later wanted to see the tribunal award and proof of payment. Since the award was in Chinese and clearly stated the amount as "劳动报酬" (labor remuneration) rather than "经济补偿" (economic compensation), the tax bureau argued it was back wages, not severance, and thus subject to full withholding at standard rates. We spent three months correcting that classification, and in the end, the company had to bear the difference because the employee had already left China.
My advice here is almost pathological in its caution: for any termination that goes through litigation or arbitration, obtain a written settlement or award that explicitly uses the words "解除劳动合同经济补偿" (economic compensation for termination of labor contract). If the award only says "payment of money," you’re setting yourself up for a reclassification. Also, if you are an employer defending against a wrongful dismissal claim, you might be tempted to "rehire and then terminate" the employee to reset the years-of-service clock. That’s a labor law nightmare, but tax-wise, it also creates a new severance calculation with a lower base—sometimes that’s beneficial. But trust me, the labor disputes cost more than the tax savings. Don’t do it.
The second layer here is the treatment of "unpaid leave encashment." If the termination package includes cash for accrued but unused annual leave, that amount is not severance. Under Shanghai’s implementation rules, annual leave cash-out is considered ordinary wages and is taxed at your normal marginal rate, with social insurance contributions applied. This is a common source of under-withholding because payroll sees a single lump-sum on a termination paycheck and lumps it all into the exemption calculation. I always instruct my clients to run two separate calculations: one for the severance portion, one for the leave pay. In practice, for a senior manager in Shanghai, that leave pay can be RMB 50,000 to 100,000, and the marginal tax rate difference can be 20-30% if you handle it wrong. The employee might win a labor grievance for "incomplete payment," and then you’re paying arbitration fees too.
专项附加扣除在离职结算中的应用
Here’s a nuance that even some senior tax consultants underweight: the role of special additional deductions (专项附加扣除) in the year of termination. Under the current IIT system, residents can claim deductions for children’s education, elderly care, housing mortgage interest, etc., totaling up to maybe RMB 5,000 per month. But when you receive a large severance, the computation method uses a "simplified monthly tax" that does not systematically allow for these deductions. The rule says that the special deductions are only available against your "comprehensive annual income" (salary, wages, bonuses, etc.), not against severance gains.
So what happens if you terminate someone in October, and they have no further salary for that year? Their annual comprehensive income is only their salary from January to October, plus any other non-termination income. The severance is computed separately. The problem is that the employee might lose the benefit of their special deductions for the remaining two months of the year if they don’t find a new job quickly. This is a policy gap, and the Shanghai tax bureau is aware of it. In practice, they allow the employee to perform an annual reconciliation (汇算清缴) in March of the following year, where the severance is excluded from comprehensive income, but the standard deduction (RMB 60,000) and special deductions are still apportioned based on months of actual salary. So, if the person had only 10 months of salary, they can claim 10/12 of the deductions—that’s fine. But they cannot claim the full year.
I remember a specific case with a Swiss pharmaceutical firm in Jing'an. They had a senior medical advisor, a single mother with two kids, who was terminated in July. Her salary from Jan to July was about RMB 700,000, and her severance was RMB 200,000. Her personal HR computed the tax, but she had a housing mortgage interest deduction that she would have used for the full year. Because her severance was below the exempt ceiling, she didn’t pay tax on it, but her annual reconciliation for her regular salary was a mess—she had to paper-file because the system kept defaulting her deductions to full year, which was incorrect. She owed an additional RMB 8,000, and she blamed the employer. We had to issue a new "tax breakdown statement" to clarify that the employer had correctly withheld on the salary portion and that the reconciliation was due to her change in status. It’s not the employer’s fault, but the employee doesn’t see it that way.
This is why I always tell my HR clients to provide a post-termination tax guidance sheet to every departing employee, especially those with special deductions. The sheet should explain how to file the annual reconciliation, what to input for the severance code (tax code 0280 in the IIT system), and which deductions they are still eligible for. It takes 30 minutes to prepare, but it saves hours of angry emails and potential reputational damage on platforms like LinkedIn. Also, if the employee asks you to withhold additional taxes for them (which some do to avoid a year-end bill), you can do that—but you need to submit a written request to the district tax bureau, and they will issue an approval number. It’s a hassle, but for high-net-worth employees, it’s a valued service.
One more thing on this front: the interaction with the "annual one-time bonus" rule. If the termination happens in December, and you pay the severance in December, that’s fine. But if you also pay the employee’s final annual bonus in the same month, you have two "lump-sum-ish" payments. The bonus has its own special method (using the annual bonus table), and the severance has its own. You cannot combine them, but you must also check that they don’t inadvertently cross into each other’s territory. In one case, a payroll manager for a Dutch bank in Lujiazui mistakenly applied the annual bonus table to the severance and the severance table to the bonus. The employee ended up paying about RMB 15,000 less tax than required. The difference was discovered in a routine payroll audit a year later, and the company had to claw back from the ex-employee (who was in Dubai) or cover it themselves. They covered it, of course, and the payroll manager lost her job. It’s a real-world cautionary tale about the importance of using the correct tax computation modules.
实务申报流程与系统操作要点
From a purely operational standpoint, the electronic filing system in Shanghai (自然人电子税务局) has specific codes for severance payments. When you file for the month of termination, you'll fill in the "收入类型" (income type) as "解除劳动合同一次性补偿金" (one-time compensation for labor contract termination). The system will ask for the "免税金额" (exempt amount) which is the lesser of (actual compensation) or (three times the average wage cap). You then input the taxable portion, and the system automatically calculates the tax using the years-of-service divisor. But here’s the catch: the system does not automatically pull the correct "local average wage" for the year. You must manually check it against the official Shanghai notice. I’ve seen a major error where a company used last year’s cap for a January filing, and the system accepted it (because the system uses a static default until updated). Then in May, the tax bureau sent a data matching alert, and the file was flagged. The company had to submit a list of all affected employees, redo the withholdings, and pay interest on the under-withheld tax. Interest rates are low, but the administrative burden is high.
In addition, when the compensation is paid in installments (which is legal in Shanghai if both parties agree), the tax treatment requires a bit of creativity. If you pay the entire severance over six months, but the contract termination date is in month one, the tax exemption is calculated on the total amount at the time of the first payment. You cannot spread the exemption across installments. So, if the total is RMB 300,000 (below the cap), and you pay RMB 50,000 per month for six months, the first payment is tax-exempt, but so are the subsequent payments—as long as you report them as "compensation for termination" in each month’s filing. But if you accidentally code the later installments as "regular salary," you’ll lose the exemption and both you and the employee will be surprised at the year-end reconciliation. The system is unforgiving about re-coding after the fact—it requires a special adjustment form (特殊事项申报) that most HR teams have never seen.
My personal standard operating procedure for clients is to run a "termination tax simulation" before the final payroll run. I take the employee's total package, input the termination date, check the current year’s average wage cap, apply the years-of-service divisor (with the 12-year cap), and produce a one-page summary in both Chinese and English. Then I compare that to what the payroll system is generating. In 70% of cases, there’s a discrepancy, and we fix it before filing. This is not because payroll systems are bad, but because they are often configured for generic China tax rules, not Shanghai-specific caps that change annually. For example, the cap for 2024 is only 10% higher than 2023, but the actual enforcement around "gross vs. net" employment contracts for expats can swing the effective burden by 15%. I cannot stress this enough: always simulate, never assume.
Finally, let’s talk about withholding certificates (完税证明). In Shanghai, an ex-employee can log into the tax app and download their IIT certificate, which will show the severance payment as a line item with a special annotation. But I’ve noticed that sometimes the certificate doesn’t specify whether the amount was subject to the exemption—it just shows the tax paid, which is zero. That confuses future employers who are trying to verify income for background checks. I recommend that employers provide a bilingual letter confirming that the severance was paid in compliance with Caishui [2018] 164 and that the tax paid (or exempted) was calculated correctly. This letter often smooths over issues when the ex-employee applies for a mortgage or visa extension. It’s a small touch of client service that costs you nothing but earns you loyalty.
总结与前瞻:合规的边界与温度
Let me bring this all together. The taxation of termination compensation in Shanghai is not a single rule but a constellation of thresholds, divisors, and special treatments that interact with employment law, social insurance, and the expat status of the employee. The core takeaway is that the exempt ceiling is generous but finite, the years-of-service divisor is a friend to long-tenured staff, and the distinction between severance and other payments (bonus, leave pay, pension refunds) is where most errors occur. I’ve shared a handful of war stories from my own practice, and I hope they illustrate that this is not just academic—it’s about real money, real relationships, and occasionally, real tears in the HR office.
Looking forward, I anticipate that Shanghai will continue to refine its guidance, especially with the increasing prevalence of remote work for foreign employees. There is already discussion within the Shanghai Tax Institute about clarifying the treatment of "virtual severance" when an employee works remotely for a Shanghai company but is physically outside China at termination. As a professional, I believe the next frontier is the integration of labor arbitration outcomes with tax filings—essentially, a single digital workflow that submits the tribunal award automatically to the tax system to prevent misclassification. Until that day, our role as advisors is to be the manual bridge between two complex systems, and I honestly think that’s where our value lies.
For my part, I advise every client to adopt a "termination playbook" that includes a pre-termination tax review, a standardized agreement template, and a post-termination reconciliation schedule. It’s not glamorous, but it prevents the kind of surprises that make CFOs see red. And if you ever find yourself staring at a tax bureau query about a severance payment, remember that the best remedy is a paper trail that is immaculate. Send me a message if you want to scratch that itch—I’m usually three emails away from a solution.
关于嘉希税务咨询的见解
在嘉希税务咨询,我们十五年来为大虹桥及浦东的外资企业提供雇员薪酬与终止补偿的税务合规服务,早已见惯此类问题的“变体”。我们对上海本地口径的敏感性与国家层面的规则同样看重,因为我们知道,税务局下达的“退补通知”从来不讲情面,但它确实遵循一套可预测的算法。我们的经验是,将税务合规前置到劳动关系解除的酝酿阶段,而非事后补救,能为企业节省平均 18% 的隐性成本。我们也特别擅长协助外籍高管在离境前完成清税与完税证明的加急办理,减少因跨境时间差导致的重复征税争议。这一切,源自嘉希对“薪酬税务可视化”的坚持——让每笔款项的税务属性,在支付前就一目了然,而非在三年后的审计中再被迫解释。我们不只做税务申报,更做风险边界的设计师,确保您的告别礼,既体面,又无后患。