What Social Security tax withholding is and where it comes from

Social Security tax withholding is money taken directly from your paycheck to fund the Social Security program. Your employer withholds 6.2% of your gross wages up to a certain income limit each year, and your employer contributes an equal 6.2% on your behalf — for a total of 12.4% of your covered earnings going into the system.

The withholding happens automatically if you work as a W-2 employee. Your employer calculates the amount based on your wages and sends it to the Internal Revenue Service (IRS), which deposits it into the Social Security Trust Fund. This is separate from income tax withholding and Medicare tax withholding, though all three appear on your pay stub.

If you are self-employed, you pay both the employee and employer portions yourself — 12.4% total — as part of your self-employment tax when you file your annual tax return. The calculation is slightly different because you can deduct half of your self-employment tax as a business expense.

Key Takeaways

  • Social Security tax withholding is 6.2% of your wages as an employee, plus 6.2% paid by your employer, up to the annual wage base limit.
  • The wage base limit changes each year and determines the maximum income subject to Social Security tax; earnings above that amount are not withheld.
  • Self-employed workers pay 12.4% of their net self-employment income, but can deduct half of it as a business expense on their tax return.
  • The money withheld goes directly to the Social Security Trust Fund and is credited to your individual earnings record, which determines your future benefit amount.
  • You cannot opt out of Social Security tax withholding if you are a covered employee, with limited exceptions for certain religious groups and some government workers.

The annual wage base limit and how it affects your withholding

Not all of your income is subject to Social Security tax. The wage base limit is the maximum amount of earnings that can be taxed for Social Security in a given year. Once your earnings reach that limit, your employer stops withholding Social Security tax for the rest of the year, even if you continue to earn income.

The wage base limit increases most years to account for inflation and wage growth. For example, in 2024 the limit was $168,600, meaning Social Security tax was withheld only on the first $168,600 of your wages. In 2025, the limit increased to $176,100. The exact amount depends on the national average wage index from two years prior, so it is set by a formula rather than by Congress.

This means high-income earners pay Social Security tax only on a portion of their total income. If you earned $200,000 in 2024, you would pay Social Security tax on only $168,600 of it. If you change jobs mid-year or work multiple jobs, you might temporarily overpay Social Security tax if your combined earnings exceed the limit; you can claim a credit for the overpayment when you file your tax return.

How your withholding connects to your future Social Security benefit

Every dollar withheld for Social Security is credited to your individual earnings record maintained by the Social Security Administration (SSA). Your future benefit amount is based on your 35 highest-earning years of covered work. The SSA calculates your Primary Insurance Amount (PIA) — the benefit you receive at your full retirement age — using a formula that weights your average indexed monthly earnings.

You do not need to do anything to track this. The SSA maintains your record automatically, and you can view your estimated benefits and earnings history through your personal account on ssa.gov. If you notice an error in your earnings record, you can contact the SSA to correct it, though you generally have a limited time window to do so.

Withholding history also affects your may be able to access for benefits. To receive retirement benefits, you must have earned at least 40 credits of coverage, which typically means working and paying Social Security tax for at least 10 years. Survivor and disability benefits have different credit requirements but also depend on your withholding and work history.

Exceptions and special cases for Social Security tax withholding

Most workers cannot opt out of Social Security tax withholding. However, certain groups have exemptions. Members of recognized religious groups that oppose insurance, including some Amish and Mennonite communities, can request exemption by filing Form 4029 with the IRS. Once granted, the exemption is permanent and applies to both Social Security and Medicare taxes.

Some government employees hired before specific dates — particularly those in certain state and local pension systems — are not covered by Social Security and do not have withholding taken. Federal employees hired after 1983 are covered. Railroad workers are covered under a separate system called the Railroad Retirement Tax Act (RRTA) instead of Social Security.

Nonresident aliens on certain visa types may have different withholding rules. Students on F-1, J-1, M-1, or Q-1 visas are generally exempt from Social Security tax on wages earned from on-campus employment, though they must still pay Medicare tax. If you fall into any of these categories, your employer should know your status and adjust withholding accordingly.

What happens if you overpay Social Security tax

Overpayment occurs most commonly when you work multiple jobs or change jobs during the year and your combined earnings exceed the wage base limit. Because each employer withholds based only on what you earn from them, not your total income, you can end up paying more than the annual maximum.

You cannot get a refund of excess Social Security tax directly from the SSA. Instead, you claim the overpayment as a credit on your federal income tax return when you file. On Form 1040, you report the excess amount, and it reduces your income tax liability or increases your refund. If you use tax software or work with a tax professional, they will calculate this automatically if you report all your W-2 forms.

If you expect to overpay because you know you will exceed the wage base limit, you can ask your employer to adjust your withholding, though this is uncommon and requires coordination between employers. Most people straightforward claim the credit at tax time.

Self-employment tax and Social Security withholding

If you are self-employed, you pay Social Security tax as part of your self-employment tax calculation. You report your net self-employment income on Schedule C (or Schedule F for farming) and then calculate self-employment tax on Schedule SE. The Social Security portion is 12.4% of your net self-employment income, up to the annual wage base limit.

Self-employed workers can deduct half of their self-employment tax as an adjustment to income on Form 1040, which reduces your taxable income. This deduction approximates the employer-side tax that a W-2 employee's employer would pay on their behalf. You pay self-employment tax when you file your annual return, though if you expect to owe more than $1,000, you should make quarterly estimated tax payments to avoid penalties.

The wage base limit applies to self-employed income the same way it applies to W-2 wages. If you have both self-employment income and W-2 wages in the same year, you combine them to determine whether you have exceeded the limit. Any overpayment is claimed as a credit on your tax return.

Reading your pay stub and understanding the withholding line

On your pay stub, Social Security tax withholding appears as a separate line item, often labeled "Social Security Tax," "OASDI" (Old-Age, Survivors, and Disability Insurance), or "SS Tax." The amount shown is 6.2% of your gross wages for that pay period, up to the annual limit. Next to it, you should see an employer contribution of the same amount, though that may not be deducted from your take-home pay.

Your pay stub also shows a year-to-date total for Social Security tax withheld. Once this total reaches the maximum for the year (6.2% of the wage base limit), no further Social Security tax should be withheld from your remaining paychecks. If you see withholding continuing after you have hit the limit, contact your payroll department to report the error.

If you receive a W-2 form at the end of the year, Box 4 shows your total Social Security tax withheld for that year. This amount should match what you see in your year-to-date total on your final pay stub. Box 5 shows your Medicare wages and tips, which is a separate calculation.

Frequently Asked Questions

Can I reduce my Social Security tax withholding by claiming more allowances?

No. Social Security tax withholding is not affected by the W-4 form you file with your employer. The W-4 controls only federal income tax withholding. Social Security tax is calculated as a fixed percentage of your gross wages and cannot be reduced through allowances or other W-4 elections.

What if I did not work long enough to earn 40 credits?

You will not be able to receive retirement benefits on your own record. However, you may be able to receive spousal or survivor benefits if you are married or widowed, depending on your age and your spouse's or ex-spouse's work history. Contact the SSA to discuss your specific situation.

Does Social Security tax withholding count toward Medicare?

No. Social Security tax and Medicare tax are separate. Social Security tax (6.2% employee, 6.2% employer) funds retirement, disability, and survivor benefits. Medicare tax (1.45% employee, 1.45% employer, plus 0.9% additional on high earners) funds hospital insurance. Both appear on your pay stub as separate line items.

If I work part-time, do I still have Social Security tax withheld?

Yes. Social Security tax is withheld on all W-2 wages, regardless of whether you work full-time or part-time. The withholding rate is the same: 6.2% of your gross wages up to the annual wage base limit. Your employer status (full-time or part-time) does not change the withholding calculation.

What happens to my Social Security credits if I take time off work?

Credits are earned only in years when you have covered earnings and pay Social Security tax. If you take a year off work, you earn no credits that year. However, Social Security uses your 35 highest-earning years to calculate your benefit, so a year with zero earnings may not affect your benefit if you have more than 35 years of work history.