Do H-1B Visa Holders Pay Social Security Tax?
An H-1B visa holder's first paycheck often contains a surprise: the same Social Security and Medicare withholding (FICA taxes) that applies to U.S. citizens applies to them. Your visa status does not exempt you. Under the Internal Revenue Code, any individual performing services as an employee in the United States is subject to FICA taxes unless a specific treaty or statutory exception applies — and H-1B status contains no such exception.
This is the direct answer: yes, H-1B visa holders pay Social Security tax at the standard 6.2% rate on wages up to the annual wage base ($176,100 as of 2026, per the Social Security Administration). They also pay the 1.45% Medicare tax on all wages, plus the 0.9% Additional Medicare Tax on wages above $200,000 for single filers. Your employer withholds the employee portion and matches it with an equal employer contribution, the same as for any other worker on the U.S. payroll.
What matters is where the work is performed and how it is classified for tax purposes, not the worker's immigration category. This article explains the statutory basis for FICA taxation of H-1B workers, how totalization agreements affect certain workers, what happens to those taxes if you leave the U.S., and the rare situations where exemption actually applies.
The Statutory Basis — Why H-1B Status Does Not Create a Tax Exemption
The Federal Insurance Contributions Act (FICA) imposes Social Security and Medicare taxes on wages paid for employment performed in the United States. Section 3121(b) of the Internal Revenue Code defines employment broadly: services performed by an employee for an employer, with no exclusion based on visa category. The fact that the worker holds a temporary nonimmigrant visa does not change the employment relationship or the tax obligation.
H-1B visa holders are authorized to work for a specific U.S. employer in a specialty occupation. During that employment, they are employees under U.S. tax law. The IRS treats them as resident aliens for tax purposes if they meet the substantial presence test — generally, physical presence in the U.S. for at least 183 days over a three-year period using the weighted formula in IRC Section 7701(b)(3). Once classified as a resident alien for tax purposes, the individual is subject to FICA taxes on all U.S.-source wages, the same as a U.S. citizen.
Even if the H-1B worker is classified as a nonresident alien for income tax purposes (which can occur in the first year before meeting the substantial presence test), FICA taxes still apply to U.S. employment wages. The exemption that exists for certain nonresident aliens — specifically, students, scholars, and teachers on F-1, J-1, M-1, or Q visas — does not extend to H-1B workers. That exemption is codified in IRC Section 3121(b)(19) and applies only to services performed to carry out the purpose of the visa (study, teaching, research). H-1B visas authorize work, not study, so the exemption does not apply.
The result: if you are on H-1B status and earning wages from a U.S. employer, FICA taxes are withheld from your paycheck. This is not discretionary. It is not negotiable. It is a statutory requirement that operates independently of your visa type.
How FICA Withholding Works for H-1B Employees
Your employer calculates and withholds FICA taxes from every paycheck. The Social Security tax is 6.2% of your wages up to the annual wage base — $176,100 in 2026, per the Social Security Administration's published figures. Wages above that amount are not subject to the Social Security portion of FICA. The Medicare tax is 1.45% on all wages with no cap. If your annual wages exceed $200,000 as a single filer ($250,000 married filing jointly), your employer withholds an additional 0.9% Medicare tax on the excess.
The employer matches your Social Security and Medicare contributions dollar for dollar, bringing the total FICA contribution to 12.4% for Social Security (up to the wage base) and 2.9% for Medicare on all wages. The employer's portion is not withheld from your paycheck — it is paid separately by the employer — but both portions fund the same Social Security and Medicare programs.
You see the withholding itemized on your pay stub as "OASDI" or "Social Security" and "Medicare" or "FICA-Med." These amounts are reported on your Form W-2 at year-end in Boxes 4 and 6. The withholding is automatic. Unlike income tax, where you can adjust withholding via Form W-4, you cannot opt out of FICA withholding while you are employed in the United States.
| Tax Component | Rate | Wage Base (2026) | Who Pays | What It Funds |
|---|---|---|---|---|
| Social Security (OASDI) | 6.2% employee + 6.2% employer | First $176,100 of wages | Both employee and employer | Old-Age, Survivors, and Disability Insurance |
| Medicare (Part A) | 1.45% employee + 1.45% employer | All wages (no cap) | Both employee and employer | Hospital Insurance |
| Additional Medicare Tax | 0.9% employee only | Wages above $200,000 (single filer) | Employee only (no employer match) | Medicare funding supplement |
Totalization Agreements — The One Situation Where You Might Not Pay
The United States has signed Social Security totalization agreements with more than 30 countries to prevent double taxation of workers who split their careers between the U.S. and another country. If you are a citizen of a country with a totalization agreement and you are temporarily working in the U.S. for an employer based in that country, you may be exempt from U.S. Social Security taxes for up to five years, provided you continue paying into your home country's social security system.
This exemption applies ONLY if both of these conditions are met: (1) your home country has a totalization agreement with the U.S., and (2) you obtain a certificate of coverage from your home country's social security authority proving that you are still covered under that country's system. You or your employer must present that certificate to your U.S. employer, who then stops withholding Social Security tax (but not Medicare tax — Medicare withholding continues regardless).
Countries with totalization agreements include Australia, Canada, Germany, India, Japan, South Korea, the United Kingdom, and others. The full list and the specific terms of each agreement are maintained by the Social Security Administration at ssa.gov/international. If you believe you qualify, your first step is contacting your home country's social security agency to request the certificate. Without the certificate, your U.S. employer is required to withhold Social Security tax.
Medicare taxes are NOT covered by totalization agreements. Even if you are exempt from Social Security withholding under a totalization agreement, the 1.45% Medicare tax (and the 0.9% Additional Medicare Tax if applicable) still applies to your U.S. wages.
What Happens to Your Social Security Taxes If You Leave the U.S.
Here's the honest answer: if you pay Social Security taxes while working in the U.S. and then leave permanently before becoming eligible for Social Security benefits, you generally cannot get a refund of those taxes. The Social Security Administration does not refund FICA taxes to individuals who leave the U.S. — the taxes you paid remain in the system.
To qualify for Social Security retirement benefits, you must earn at least 40 Social Security credits, which generally requires 10 years of work in the U.S. Each year you work and pay Social Security taxes on at least $1,730 in earnings (the 2026 threshold per the Social Security Administration) earns you up to four credits. If you leave the U.S. before accumulating 40 credits, you do not qualify for retirement benefits, and the taxes you paid do not transfer to another country's pension system unless a totalization agreement is in place.
If your home country has a totalization agreement with the U.S., the agreement allows your U.S. work credits and your home country work credits to be combined when determining eligibility for benefits in either country. For example, if you worked five years in the U.S. (earning 20 credits) and then returned to your home country and worked an additional five years there, the agreement may allow those credits to count toward the minimum requirement for benefits in either system. The benefit amount you receive is prorated based on how much you contributed to each system.
If no totalization agreement exists, your U.S. Social Security taxes do not translate into benefits unless you return to the U.S. and accumulate the remaining credits needed to qualify. The taxes are not refunded, and they are not portable.
What If I'm Self-Employed on an H-1B Visa?
H-1B visa holders are generally not authorized to be self-employed. The visa is employer-specific — it authorizes you to work for the petitioning employer in the job described in the approved petition. Self-employment or freelance work outside that authorized employment is a violation of your visa status.
If you are authorized for some form of self-employment (for example, if you later adjust to a different visa category or obtain work authorization that permits it), you are subject to the Self-Employment Contributions Act (SECA) tax, which is the self-employed equivalent of FICA. SECA tax is 12.4% for Social Security (on net earnings up to the wage base) plus 2.9% for Medicare (on all net earnings), because you are paying both the employee and employer portions. You report and pay SECA tax when you file your annual tax return using Schedule SE.
What If My Employer Didn't Withhold FICA Taxes?
If your employer failed to withhold Social Security and Medicare taxes from your H-1B wages, that is an employer error, not an exemption. The IRS holds employers responsible for FICA withholding and remittance. If the error is discovered, the employer must correct it by withholding the unpaid taxes from future paychecks or paying the employer and employee portions itself and then seeking reimbursement from you.
You are still liable for the employee portion of FICA taxes on those wages, even if the employer failed to withhold them at the time. The IRS can assess the unpaid taxes against you when you file your tax return. If you discover the error first, report it to your employer immediately so it can be corrected before the tax year closes. Do not assume that the absence of withholding means you are exempt — it means the withholding was missed, and you will owe it later.
Comparing FICA Tax Treatment Across Visa Categories
| Visa Category | Subject to Social Security Tax? | Subject to Medicare Tax? | Exemption Basis |
|---|---|---|---|
| H-1B (specialty occupation worker) | Yes | Yes | No statutory exemption for employment wages |
| F-1 (student, on-campus or OPT employment) | No (if employed to carry out purpose of visa) | No | IRC Section 3121(b)(19) exemption |
| J-1 (exchange visitor, authorized employment) | No (if employed to carry out purpose of visa) | No | IRC Section 3121(b)(19) exemption |
| L-1 (intracompany transferee) | Yes | Yes | No exemption — treated same as H-1B |
| O-1 (extraordinary ability worker) | Yes | Yes | No exemption — employment wages subject to FICA |
| Green card holder (permanent resident) | Yes | Yes | Same tax status as U.S. citizen |
The Sections of the Internal Revenue Code That Govern This
Understanding the statutory framework clarifies why H-1B workers pay FICA taxes while certain other nonimmigrants do not. The key code sections:
IRC Section 3101 imposes Social Security tax on employees and employers. The tax applies to all wages paid for employment, as defined in Section 3121.
IRC Section 3121(b) defines employment and lists specific exclusions. Paragraph (19) excludes services performed by a nonimmigrant alien temporarily admitted to the U.S. under certain visa categories (F-1, J-1, M-1, Q-1, Q-2) if the services are performed to carry out the purpose for which the visa was issued. H-1B is not listed. The H-1B visa authorizes employment, so the services performed under it do not fall under the "carrying out the purpose of the visa" exclusion — they ARE the purpose of the visa.
IRC Section 3121(b)(10) excludes services performed by individuals employed by a foreign government. H-1B workers employed by private companies or U.S. entities do not qualify for this exclusion.
IRC Section 7701(b) defines resident alien and nonresident alien for tax purposes using the substantial presence test and other criteria. An H-1B worker who meets the substantial presence test is taxed as a resident alien and subject to FICA on all U.S. wages. Even if classified as a nonresident alien (in the first year before meeting the test), FICA still applies to U.S. employment wages unless a specific exemption applies.
These sections, read together, leave no room for an H-1B-based exemption. The visa authorizes work. The work produces wages. The wages are subject to FICA.
Does Paying FICA Taxes Affect My Immigration Status?
No. Paying or not paying Social Security and Medicare taxes has no effect on your H-1B visa status, your eligibility for extensions, or your ability to adjust status to lawful permanent residence. FICA taxes are a federal tax obligation, not an immigration requirement. Failing to pay them (or having an employer fail to withhold them) creates a tax compliance problem with the IRS, not a visa problem with USCIS.
That said, if you apply for a green card and USCIS reviews your tax compliance as part of that process, unpaid FICA taxes that resulted in an IRS assessment or lien could be relevant to the "public charge" analysis or to questions about lawful conduct during your nonimmigrant status. But the taxes themselves — properly paid and reported — are neutral. They neither help nor harm your immigration case.
When Legal Advice Matters
If your employer incorrectly withheld or failed to withhold FICA taxes, if you believe you qualify for a totalization agreement exemption but your employer disagrees, or if you have been assessed back taxes by the IRS for unpaid FICA from prior years, the issue has moved beyond general information. These are fact-specific tax and employment situations where an error by you or your employer has financial and compliance consequences.
If your FICA tax situation raises concerns about your visa compliance, your employer's obligations, or your eligibility for future immigration benefits, a consultation can clarify what your next step should be. Immigration and tax law operate on parallel tracks, and a problem on one track sometimes requires action on the other.
Disclaimer: This article provides general information about Social Security and Medicare tax obligations for H-1B visa holders under current federal law. It is not legal advice, tax advice, or a substitute for consultation with a licensed attorney or tax professional. Tax obligations depend on individual facts, and immigration status can affect tax classification in ways this article does not cover. No attorney-client relationship is formed by reading this content. Outcomes in tax and immigration matters depend on the specific facts of your situation. For advice tailored to your circumstances, consult a licensed immigration attorney and a qualified tax advisor.
Need Personalized Immigration Guidance? The Law Offices of Peter D. Chu has been helping individuals, families, and employers navigate U.S. immigration law since 1981. Our San Diego office offers consultations for H-1B workers, employers, and applicants at every stage of the process — extensions, status changes, and green card applications. Contact us at 858-268-8823 or visit us at 4615 Convoy St, San Diego, CA 92111. Initial consultations are $250. Office hours: Monday–Friday, 8:30 AM – 5:30 PM. We speak English, Mandarin, Cantonese, Vietnamese, and French.
Schedule a consultation with the Law Offices of Peter D. Chu — 4615 Convoy St, San Diego, CA 92111 · 858-268-8823 · Mon–Fri, 8:30 AM–5:30 PM. Consultation fee: $250.
Frequently Asked Questions
Do all H-1B visa holders have to pay Social Security tax? ▼
Yes, unless you qualify for an exemption under a totalization agreement. H-1B visa holders are employees performing services in the U.S., and the Internal Revenue Code subjects all such employees to FICA taxes. The exemption that applies to F-1 and J-1 visa holders does not apply to H-1B workers because H-1B status authorizes employment, not study or cultural exchange.
Can I get a refund of Social Security taxes if I leave the U.S. before retirement? ▼
No. The Social Security Administration does not refund FICA taxes to individuals who leave the U.S. If you leave before earning the 40 credits required to qualify for benefits (generally 10 years of work), the taxes you paid remain in the system but do not convert to benefits unless you return and complete the required credits or your home country has a totalization agreement that allows credit combination.
What is a totalization agreement and how does it affect H-1B workers? ▼
A totalization agreement is a treaty between the U.S. and another country that prevents double taxation of workers who move between the two countries. If you are a citizen of a country with a totalization agreement and you work temporarily in the U.S. for an employer based in that country, you may be exempt from U.S. Social Security tax (but not Medicare tax) for up to five years, provided you obtain a certificate of coverage from your home country proving you are still paying into that system.
Do H-1B workers pay the same Social Security tax rate as U.S. citizens? ▼
Yes. The rate is 6.2% on wages up to the annual wage base ($176,100 in 2026) plus 1.45% Medicare tax on all wages. If your wages exceed $200,000 (single filer), you also pay an additional 0.9% Medicare tax on the excess. These rates are identical for H-1B workers and U.S. citizens.
What happens if my employer did not withhold Social Security tax from my paycheck? ▼
That is an employer error, not an exemption. The employer is required to correct it by withholding the unpaid taxes from future paychecks or by paying both the employer and employee portions and seeking reimbursement from you. You remain liable for the employee portion, and the IRS can assess it against you when you file your tax return.
Are H-1B workers eligible to collect Social Security benefits after returning to their home country? ▼
Only if you earned at least 40 Social Security credits while working in the U.S. (generally 10 years of work) or if your home country has a totalization agreement that allows your U.S. and home country credits to be combined. If you do not meet the credit requirement and no totalization agreement exists, you will not qualify for U.S. Social Security retirement benefits.
Does Medicare tax apply to H-1B workers even if they are exempt from Social Security tax under a totalization agreement? ▼
Yes. Totalization agreements cover Social Security tax only, not Medicare tax. Even if you are exempt from the 6.2% Social Security withholding under a totalization agreement, the 1.45% Medicare tax (and the 0.9% Additional Medicare Tax if your wages exceed $200,000) still applies to all your U.S. wages.
Can an H-1B visa holder avoid FICA taxes by working remotely for a U.S. company from outside the U.S.? ▼
If you perform the work while physically located outside the U.S., the wages are not subject to U.S. FICA taxes because FICA applies only to services performed in the United States. However, working remotely from abroad while on H-1B status raises separate immigration compliance issues, including whether you are maintaining valid H-1B status. Tax avoidance is not a valid reason to work abroad on an H-1B visa.