Skip to main content

HomeAll guides

What OASDI Tax Is and Why It Comes Out of Your Paycheck

OASDI is the payroll tax that funds Social Security and Medicare

OASDI stands for Old-Age, Survivors, and Disability Insurance. It is the federal payroll tax that appears on your pay stub as a deduction. The money goes to two programs: Social Security retirement and disability benefits, and Medicare hospital insurance. You pay OASDI tax on every dollar you earn as an employee, up to a yearly limit that changes each year.

Your employer matches what you pay — you contribute a percentage, and your employer contributes the same percentage. If you are self-employed, you pay both the employee and employer portions yourself. The tax is collected by the IRS and sent to the Social Security Administration and the Centers for Medicare & Medicaid Services.

OASDI is separate from income tax. You will see it listed as a line item on your pay stub, usually labeled "Social Security" or "OASDI," with a different rate than federal income tax withholding.

Key Takeaways

  • OASDI tax funds Social Security retirement, survivor benefits, disability benefits, and Medicare Part A hospital insurance.
  • The employee portion is 6.2% for Social Security and 1.45% for Medicare, withheld from your paycheck up to an annual earnings limit for Social Security only.
  • Your employer pays an equal amount, and self-employed people pay both portions combined.
  • OASDI is withheld automatically and you cannot opt out, even if you do not plan to use Social Security or Medicare.
  • The earnings cap for Social Security tax changes yearly, but Medicare tax has no cap and applies to all wages.

How much OASDI tax comes out of your paycheck

The Social Security portion of OASDI is 6.2% of your gross wages, up to a maximum yearly earnings amount. For 2024, that cap is $168,600 — meaning once you earn that much in a year, no more Social Security tax is withheld from your remaining paychecks. The Medicare portion is 1.45% of all your wages with no earnings cap, so it continues throughout the year no matter how much you make.

If you earn $50,000 a year as an employee, you pay $3,100 in Social Security tax (6.2% of $50,000) and $725 in Medicare tax (1.45% of $50,000), for a total OASDI contribution of $3,825. Your employer pays the same amount. If you earn $200,000, you still pay only 6.2% on the first $168,600 of Social Security tax, but you pay 1.45% on the full $200,000 for Medicare.

Self-employed workers pay both the employee and employer portions combined: 12.4% for Social Security (up to the earnings cap) and 2.9% for Medicare (no cap). You report this on Schedule SE when you file your tax return.

What the money funds

Social Security tax (the 6.2% portion) pays for three things: retirement benefits for workers age 62 and older, survivor benefits for the families of deceased workers, and disability benefits for workers who cannot work due to a medical condition. These are not savings accounts in your name — the tax from current workers pays benefits to current retirees and beneficiaries.

Medicare tax (the 1.45% portion) funds Part A hospital insurance, which covers inpatient hospital stays, skilled nursing facility care, hospice, and some home health services. It does not fund Part B (doctor visits), Part D (prescription drugs), or Medigap supplemental plans, which have separate funding or require separate premiums.

When you turn 65, you become may be able to access for Medicare automatically if you have paid Medicare tax for at least 10 years (40 quarters). You do not have to explore separately — the Social Security Administration enrolls you.

The earnings cap and why it matters

Only Social Security tax has an earnings cap; Medicare tax does not. This means high earners pay a smaller percentage of their total income in Social Security tax than lower earners do. A person earning $50,000 pays 6.2% on all of it. A person earning $500,000 pays 6.2% only on the first $168,600 (in 2024), then nothing on the remaining $331,400.

The cap increases each year based on wage growth in the economy. The Social Security Administration announces the new cap in October for the following year. You can find the current and historical caps on the Social Security Administration website.

The earnings cap affects how much Social Security retirement benefit you can receive, because benefits are calculated based on your highest 35 years of earnings. Earnings above the cap do not count toward your benefit calculation, so very high earners do not receive proportionally higher benefits.

OASDI on your tax return

If you are an employee, OASDI tax is already withheld from your paycheck and reported to the IRS on your W-2 form. You do not calculate it yourself — your employer handles it. You will see the amounts in boxes 4 (Social Security tax withheld) and 6 (Medicare tax withheld) on your W-2.

When you file your tax return, you do not owe additional OASDI tax. The withholding is final. However, if you are self-employed, you calculate OASDI tax on Schedule SE and report it on Form 1040. You can deduct half of your self-employment tax as an above-the-line deduction on your return.

If you had multiple jobs in one year, each employer withholds Social Security tax separately up to the annual cap. This can result in overpayment if your combined earnings exceed the cap. You can claim a refund of the excess on your tax return by filing Form 1040 and listing the overpayment on Schedule 3.

Who pays OASDI and who cannot opt out

All employees pay OASDI tax on wages, with very few exceptions. Railroad workers pay into a separate railroad retirement system instead. Some government employees hired before specific dates may not pay Social Security tax if they are covered by a government pension plan, but they typically pay Medicare tax.

You cannot opt out of OASDI tax, even if you do not plan to use Social Security or Medicare, or if you have religious objections to government programs. The tax is mandatory. The only way to avoid it is to not earn wages subject to it — for example, by being self-employed and earning below the self-employment tax threshold, though most self-employed people still owe it.

Nonresident aliens working in the United States on certain visa types may have different OASDI obligations. Students on F-1 visas, for example, may be exempt from Social Security and Medicare tax on wages earned from on-campus employment. Check with your employer or the IRS if you are unsure whether you are subject to OASDI tax.

OASDI versus income tax withholding

OASDI and federal income tax are two separate deductions on your pay stub. OASDI is a fixed percentage (6.2% for Social Security, 1.45% for Medicare) and goes to specific programs. Federal income tax withholding varies based on the W-4 form you fill out with your employer and depends on your filing status, number of dependents, and other income.

You can adjust your federal income tax withholding by submitting a new W-4 to your employer, but you cannot change your OASDI withholding — it is set by law. Some people owe federal income tax at the end of the year but have paid the correct amount of OASDI tax, or vice versa.

State income tax, if your state has it, is also separate from both OASDI and federal income tax. Your pay stub may show three or more deductions: federal income tax, OASDI (Social Security and Medicare combined), and state income tax.

Frequently Asked Questions

What happens to OASDI tax if I never use Social Security or Medicare?

The money you paid in goes to the Social Security and Medicare trust funds and is used to pay current beneficiaries. You cannot get a refund of OASDI taxes paid, even if you do not claim Social Security retirement benefits or use Medicare. However, if you die before claiming retirement benefits, your survivors may be may have access to to survivor benefits based on your earnings record.

Do I pay OASDI tax on tips, bonuses, and overtime?

Yes. OASDI tax applies to all wages, including tips reported to your employer, bonuses, overtime pay, and most other forms of compensation. The only common exceptions are certain fringe benefits like health insurance premiums paid by your employer, which are not subject to OASDI tax.

Why is there an earnings cap for Social Security but not Medicare?

The cap was set by Congress to limit the maximum Social Security benefit amount. Medicare has no cap because it is designed as universal hospital insurance for people 65 and older, similar to how other insurance works — everyone pays in, and benefits are based on medical need, not earnings history.

If I overpaid Social Security tax because I had multiple jobs, how do I get the refund?

File your tax return with Form 1040 and Schedule 3. The IRS will calculate the overpayment automatically and refund it to you. You do not need to submit a separate claim — the refund appears as part of your overall tax refund or is applied to any taxes you owe.

Can I claim OASDI tax as a deduction on my tax return?

No, not as an itemized deduction. However, if you are self-employed, you can deduct half of your self-employment tax (which includes OASDI) as an above-the-line deduction on Form 1040, which reduces your taxable income.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.