Choice. Shanghai
Shanghai Social Insurance: What Expats Pay and Get Back (2026)
Reviewed in person · 亲自探店
Essentials

Shanghai Social Insurance: What Expats Pay and Get Back (2026)

By Choice Essentials Editor · 10 min read · Updated August 2026 · Fact-checked 事实核查 · standards 标准

Around 10 to 11 percent of your gross salary goes to social insurance, your employer adds close to 30 percent more.

If you work in Shanghai on a local contract, social insurance (社保, shebao) is not optional. Your employer must enrol you within 30 days of hiring you, roughly 10 to 11 percent comes out of your gross salary, and the employer adds close to 30 percent on top. When you leave China for good you can claim back the money sitting in your personal pension account, which is the 8 percent you paid, but not the rest. Since December 2024 the card this system issues you also carries your work permit, so it is no longer a document you can afford to ignore until you get sick.

Almost nobody explains this to you. You see a line on your first payslip, you work out that a chunk of your salary has gone somewhere, and then you either shrug or you spend an evening reading forum posts written by people who left in 2015. So here is the whole thing: what you pay, what you get for it, what happens if your country has a treaty with China, and how to get the refundable part back on your way out.

Do expats have to pay social insurance in China?

Yes, if you are legally employed on a Chinese labour contract. National rules bring foreign employees into the same system as local staff, and your employer is required to register you within 30 days of your start date. It is a legal obligation on the company, not a benefit they choose to offer, and an employer who quietly skips it is exposing you as well as themselves.

Two situations sit outside this. If you are seconded to China by an overseas parent company and stay on that company's payroll, the picture is more complicated and depends on your paperwork. And if your home country has a social security treaty with China, some contributions can be waived, which is covered further down.

What are the five insurances, and what do they actually give you?

The bundle everyone calls 五险 has five parts, and they are genuinely different things rather than one tax with a friendly name.

Payroll statement on a desk showing Shanghai social insurance contributions

How much comes out of your salary?

Roughly 10 to 11 percent of your gross, made up of about 8 percent pension and about 2 percent medical, plus a small unemployment contribution. Your employer pays a much larger share on top: in the region of 16 percent pension, 10 percent medical, half a percent unemployment, around 1 percent maternity and a work injury rate that varies by industry. Add it up and a foreign hire costs a Shanghai employer roughly a third again on top of the salary they quote you.

Two details change the arithmetic and neither is obvious from a payslip:

None of this is deducted from your taxable income in the way some newcomers assume. Social insurance and income tax are separate calculations, and our income tax guide covers the second one.

Is my social security card also my work permit now?

Yes, if you applied for or renewed a work permit from 1 December 2024 onwards. China folded the Expat's Work Permit into the social security card on that date and stopped issuing the separate plastic permit card, so the same card now proves both that you are insured and that you are legally allowed to work here.

That has three practical consequences worth acting on:

A foreign employee in Shanghai comparing his physical social security card with the electronic version on his phone

If you already hold an old plastic work permit card, nothing breaks. It stays valid until you renew or amend the permit, and you move onto the integrated card at that point. The full sequence, including what to bring to the Exit-Entry Administration now that the plastic card may not exist, is in our guide to getting a work permit and residence permit in Shanghai.

What about the housing fund (公积金)?

The housing provident fund is the 一金 in 五险一金, and it is the part where foreign employees in Shanghai are treated differently. Participation for foreign staff here is not universally enforced the way the five insurances are, and in practice many foreign employees and their employers agree not to enrol. If you are enrolled, both sides contribute at a matched rate and the balance is yours, usable towards housing and claimable when you leave.

This is worth raising directly with HR before you sign rather than after. If they do enrol you, the employer match is real money in your name. If they do not, ask for it in writing so there is no confusion later about what you were owed. It also matters for a reason that has nothing to do with housing: contribution records are the clock that property purchase eligibility is counted from.

Does your country have a treaty that lets you skip some of it?

Possibly. China has signed bilateral social security agreements with a number of countries, and where one applies you can be exempted from specific contributions, most commonly pension and unemployment, so that you are not paying twice into two national systems for the same working years. Germany, South Korea, Denmark, Finland, Canada, Switzerland, the Netherlands, Spain, Luxembourg, Japan, Serbia and Kyrgyzstan all have agreements in force, and an agreement with France has been signed but is not yet effective. Coverage differs agreement by agreement, and several cover pension only.

The exemption is not automatic. Someone, usually your employer, has to apply with a certificate of coverage from your home country's social security authority, and the exemption runs for a defined period. If you are from one of these countries and nobody has mentioned it, ask. If you are from a country with no agreement, including the United States, the United Kingdom and Australia, you pay in full.

Which one is for you 哪个适合你

If you are on a local contract and staying several years, treat the contributions as the price of the medical card and use it. If your country has a treaty, ask HR to apply for the exemption before your first payroll run rather than trying to unwind it later. If you are leaving China permanently, start the pension refund while you still have a working phone number and bank account here. If you are seconded from an overseas parent company, get your status confirmed in writing before you arrive, because this is the one case where the rules genuinely differ.

Waiting at a Shanghai social insurance bureau to claim a pension refund before leaving China

How do you claim your money back when you leave?

You can claim the balance of your personal pension account, which is the 8 percent you contributed. The employer's pooled contributions stay in the fund. Medical, unemployment, maternity and work injury contributions are not refundable either; those buy you cover while you are here rather than a balance you own.

The claim is made when you are permanently leaving China and your employment has ended, and it sits inside the wider exit checklist you work through on the way out. In outline:

  1. Have your employer close the account properly. Contributions must be stopped and your record marked as terminated. A company that simply stops paying without filing anything leaves your account in a state that is awkward to unwind from abroad.
  2. Gather the paperwork. Passport, your residence permit or the visa page showing your status, the termination document from your employer, your social insurance record, and your Chinese bank account details.
  3. Apply at the local social insurance bureau in the district where your contributions were paid. Some cities accept applications through the government service app; in Shanghai it is worth checking what can be done through Suishenban before making the trip.
  4. Get paid into a Chinese account. This is the step that catches people. The refund normally lands in a domestic account, which means closing your Chinese bank account on your last week here is a mistake. Keep it open, claim the refund, move the money out, and then close it. Our guide to sending money out of China covers the transfer.

One genuine alternative: if you intend to come back to China later, you can leave the account dormant instead of cashing it out. Contribution years accumulate, and if you eventually reach the qualifying period you may draw a pension rather than a lump sum. Whether that is worth it depends entirely on how many years you already have and how likely you are to return, so do the arithmetic rather than defaulting either way.

What if your employer is not paying it?

It happens, usually framed as a favour: your take-home looks bigger. It is not a favour. You lose the medical card, you lose the pension balance you would otherwise have claimed back, and you lose the contribution record that other things in this city are counted from. It is also the employer's legal obligation rather than an optional extra you can waive by agreeing.

Check your own record rather than trusting a payslip line. Contribution histories are visible through the Shanghai government service channels, and a record with gaps is worth raising with HR in writing early, while the relationship is good. If it cannot be resolved internally, labour arbitration is the formal route and unpaid social insurance is squarely within what it handles.

Common questions

Do expats have to pay social insurance in Shanghai?

Yes, if you are employed on a Chinese labour contract. Your employer must register you within 30 days of your start date, and around 10 to 11 percent of your gross salary is deducted for pension, medical and unemployment.

Can I get my social insurance back when I leave China?

You can claim the balance of your personal pension account, the 8 percent you contributed yourself. Employer contributions to the pooled fund, and the medical, unemployment, maternity and work injury portions, are not refundable.

How much is social insurance in Shanghai in 2026?

About 8 percent pension plus about 2 percent medical and a small unemployment contribution from the employee, and roughly 28 to 30 percent in total from the employer. Contributions are capped at a monthly base of 36,549 RMB, a figure that is reset each July.

Do expats pay the housing fund in Shanghai?

Often not. Unlike the five insurances, housing fund participation for foreign employees in Shanghai is not uniformly enforced, and many employers and foreign staff agree not to enrol. Confirm your position with HR in writing.

Which countries have a social security agreement with China?

Agreements in force include Germany, South Korea, Denmark, Finland, Canada, Switzerland, the Netherlands, Spain, Luxembourg, Japan, Serbia and Kyrgyzstan, and each covers different contribution types. France has signed but its agreement is not yet effective. The United States, United Kingdom and Australia have none, so their citizens contribute in full.

Do I need to keep my Chinese bank account open to get the refund?

Yes. The pension refund is normally paid into a domestic account, so close your Chinese bank account only after the money has arrived and you have transferred it out.

Do I need a social security card to get my work permit in 2026?

They arrive together now. Since 1 December 2024 the work permit information is embedded in the social security card rather than issued as a separate plastic card, so registering for the electronic card after you arrive is how you end up holding proof of your permit at all.

Over to you · 换你说

Anything we missed, or a part you want in more depth? Tell us in the comments below and we will work it into the guide.有没有漏掉的地方,或者想看得更细的部分?在下面留言告诉我们,我们会补进这篇指南。

Share 分享 · 转发
The Thursday Letter · 周四来信

One quietly useful email a week.

New guides, openings worth your time, and the small things that make Shanghai easier. For expats, by people who live here. 每周四一封,新指南与本地实用信息。

Choice Shanghai WeChat QR 微信二维码
Follow on WeChat
扫码关注公众号

Read next 继续阅读

What a Cat or Dog Costs You Each Month in Shanghai (2026)
Essentials
What a Cat or Dog Costs You Each Month in Shanghai (2026)
How to Get Laundry and Dry Cleaning Done in Shanghai (2026)
Essentials
How to Get Laundry and Dry Cleaning Done in Shanghai (2026)
Is Shanghai Safe? An Honest Look for Expats and Women (2026)
Essentials
Is Shanghai Safe? An Honest Look for Expats and Women (2026)
What It Costs to Furnish an Empty Shanghai Flat in 2026
Essentials
What It Costs to Furnish an Empty Shanghai Flat in 2026
Choice.
巧 思 甄 选

A personal blog about living in Shanghai, written firsthand by the people who actually go. Honest and independent, never a paid ad dressed up as an opinion.

一个关于在上海生活的个人博客,都是编辑亲身体验后第一手写下的。真诚、独立,绝不做伪装成观点的付费广告。

CHOICESHANGHAI.COMMore firsthand guides