Social Security and Medicare are separate from federal income tax

Federal income tax, Social Security tax, and Medicare tax are three different deductions that come out of your paycheck. They go to different government programs and are calculated differently. When you see your pay stub, federal income tax is one line item, and Social Security and Medicare taxes are separate line items below it.

This matters because understanding what you're paying for helps you plan for retirement and know what benefits you've earned. Social Security and Medicare are funded by payroll taxes — money taken directly from your wages and your employer's contribution — not by general federal income tax revenue.

Key Takeaways

  • Federal income tax, Social Security tax, and Medicare tax are three separate deductions on your paycheck, each funding different programs.
  • Social Security tax is 6.2% of your wages (up to a yearly cap), and Medicare tax is 1.45% with no wage cap, plus your employer matches both.
  • Self-employed people pay both the employee and employer portions of Social Security and Medicare taxes, totaling 15.3% combined.
  • Your Social Security and Medicare taxes are recorded under your Social Security number and determine your future benefits, separate from income tax withholding.

What comes out of your paycheck: the three taxes explained

Your employer withholds three types of taxes from each paycheck. Federal income tax is based on your tax bracket, filing status, and the W-4 form you filled out when you were hired. The amount varies widely depending on your income level and personal situation. Social Security tax is a flat 6.2% of your wages, but only on earnings up to a yearly cap (the cap changes each year). Medicare tax is 1.45% of all your wages with no upper limit.

Your employer also contributes matching amounts for Social Security and Medicare — 6.2% and 1.45% respectively — but does not match federal income tax. This employer contribution does not show up on your paycheck, but it is recorded as part of your earnings history.

If you earn more than a certain threshold (the amount depends on your filing status), you also pay an additional 0.9% Medicare tax on the excess wages. This extra Medicare tax has no employer match and is withheld by your employer when your income crosses that threshold.

How Social Security tax funds your future benefits

The Social Security tax you pay is not set aside in an account with your name on it. Instead, it goes into a general trust fund that pays current retirees, disabled workers, and survivors of deceased workers. In return, you earn credits toward your own Social Security benefits when you retire or become disabled.

You need 40 credits to be covered by Social Security — most people earn four credits per year, so you reach 40 credits after about 10 years of work. The Social Security Administration tracks your earnings record under your Social Security number. When you turn 62, 67, or 70 (depending on your birth year), you can begin receiving monthly benefits based on how much you earned and how long you worked.

The yearly cap on Social Security tax means high earners pay the same total Social Security tax as someone earning at the cap. For 2024, the cap is $168,600 — meaning you pay 6.2% on earnings up to that amount, then nothing on earnings above it. This cap changes each year based on wage growth.

How Medicare tax funds your coverage

Medicare tax funds the hospital insurance part of Medicare (Part A), which covers inpatient hospital stays, skilled nursing facility care, and some home health services. Like Social Security tax, Medicare tax goes into a general trust fund rather than a personal account. You earn the right to Medicare coverage at age 65 by having paid Medicare tax for at least 10 years (40 quarters).

Unlike Social Security tax, there is no yearly earnings cap on Medicare tax — you pay 1.45% on every dollar you earn, no matter how high your income goes. This means high earners pay significantly more in total Medicare tax over their lifetime. The additional 0.9% Medicare tax on high earners further funds the Hospital Insurance Trust Fund.

What self-employed people pay

If you are self-employed, you pay both the employee and employer portions of Social Security and Medicare taxes. This is called self-employment tax. You pay 12.4% for Social Security (up to the yearly cap) and 2.9% for Medicare, totaling 15.3% combined on your net self-employment income.

You report self-employment tax on Schedule SE of your tax return. You can deduct half of your self-employment tax as a business expense on your income tax return, which reduces your taxable income slightly. Like employees, self-employed people with income above the threshold also pay the additional 0.9% Medicare tax.

How to read your pay stub and earnings record

Your pay stub shows gross pay (before deductions), then lists each deduction separately. Look for lines labeled "Federal Income Tax Withheld" or "FIT", "Social Security Tax" or "FICA-SS", and "Medicare Tax" or "FICA-Medicare". The FICA acronym stands for Federal Insurance Contributions Act, the law that created these payroll taxes.

You can see your lifetime earnings record and verify that your Social Security and Medicare taxes have been recorded correctly by creating an account on ssa.gov (the Social Security Administration website). Your "Social Security Statement" shows your earnings by year and estimates your future benefits. Check this record every few years to catch any errors — you have a limited time to correct mistakes in your earnings history.

The difference between payroll taxes and income tax revenue

Federal income tax goes into the general Treasury and funds all federal spending — defense, infrastructure, education, and thousands of other programs. Social Security and Medicare taxes are dedicated taxes — they can only be used for those two programs by law. This is why Social Security and Medicare are sometimes called "earned benefits" — you pay for them directly through payroll deductions.

This separation matters when you hear debates about the future of Social Security or Medicare. Changes to these programs are separate from changes to income tax rates or brackets. A change to federal income tax does not automatically affect your Social Security or Medicare benefits, and vice versa.

Frequently Asked Questions

Do I pay Social Security and Medicare taxes on all my income?

Social Security tax applies only to wages up to a yearly cap (set at $168,600 for 2024, but it changes annually). Medicare tax applies to all wages with no cap. If you have investment income, rental income, or other non-wage earnings, you generally do not pay Social Security or Medicare tax on those — though self-employment income is subject to self-employment tax.

Can I opt out of Social Security or Medicare taxes?

No. These are mandatory payroll deductions for all employees and self-employed people. Some religious groups have limited exemptions from self-employment tax if they meet specific criteria, but this is rare and requires approval from the IRS.

What happens to my Social Security and Medicare taxes if I change jobs?

Your earnings record follows you automatically. The Social Security Administration and Medicare system track your contributions under your Social Security number regardless of how many employers you have. There is no need to transfer anything — your new employer will withhold and report these taxes just as your previous employer did.

If I paid Social Security tax, am I may provide to get benefits?

You must have earned 40 credits (roughly 10 years of work) to be covered by Social Security. If you meet that requirement, you will receive benefits when you reach retirement age or if you become disabled. The amount of your monthly benefit depends on your earnings history and the age at which you begin receiving benefits.

Are Social Security and Medicare benefits taxable income?

Social Security benefits may be partially taxable depending on your total income in retirement. Medicare is not taxable as income, but you pay premiums for Parts B and D, and these are deducted from your Social Security check if you are receiving benefits. Your tax situation in retirement is separate from the payroll taxes you paid while working.