Social Security and Medicare are funded by separate payroll taxes, not federal income tax

Social Security and Medicare come out of your paycheck, but they are not part of federal income tax. When you work, your employer withholds three different things: federal income tax, Social Security tax (6.2%), and Medicare tax (1.45%). Your employer matches each of these amounts. They go to three separate government accounts and fund three separate programs.

This matters because the rules for each are different. You pay into Social Security and Medicare throughout your working life, and you become may have access to to them based on your work history — not based on your income level or how much federal income tax you paid. Medicare may be able to access is tied to age 65 and work credits; Social Security retirement benefits are tied to your age and how many years you worked.

If you are self-employed, you pay both the employee and employer share of these taxes yourself (15.3% total for Social Security and Medicare combined), but the principle is the same: these are separate from your federal income tax bill.

Key Takeaways

  • Social Security and Medicare taxes are withheld from your paycheck separately from federal income tax, and each funds its own program.
  • You become may have access to to Social Security and Medicare based on your work history and age, not on how much federal income tax you paid.
  • Social Security tax is 6.2% of wages (up to a cap that changes yearly); Medicare tax is 1.45% with no wage cap.
  • If you earn over $200,000 as a single filer (or $250,000 married filing jointly), you pay an additional 0.9% Medicare tax on income above that threshold.
  • Self-employed people pay both the employee and employer portions of these taxes, totaling 15.3% for Social Security and Medicare combined.

Why Social Security and Medicare taxes are separate from income tax

Federal income tax is a general tax that funds the overall operations of the federal government — defense, infrastructure, federal agencies, and many other programs. Social Security and Medicare taxes are dedicated taxes, meaning the money collected goes directly into trust funds for those two programs only.

Congress set them up this way on purpose. When Social Security was created in 1935, it was designed as an insurance program you pay into during your working years and draw from in retirement. Medicare, created in 1965, follows the same model. Because the money is dedicated, it cannot be redirected to other government spending, and your may be able to access is based on your contributions, not on need or income level.

This is why you can have a high federal income tax bill but still may have access to for Medicare at 65, and why you can have little or no federal income tax liability but still receive Social Security benefits based on your work record.

How much you pay in Social Security and Medicare taxes

If you are an employee, Social Security tax is 6.2% of your wages, and your employer pays another 6.2%. However, Social Security tax only applies to the first $168,600 of your wages in 2024 (this cap increases yearly). Once you reach that amount, no more Social Security tax is withheld for the rest of the year.

Medicare tax is 1.45% of all your wages with no upper limit, and your employer matches it. If you earn more than $200,000 as a single filer or $250,000 as a married couple filing jointly, you pay an additional 0.9% Medicare tax on income above those thresholds. This extra tax was added in 2013 to help fund the Affordable Care Act.

If you are self-employed, you pay both shares: 12.4% for Social Security (on wages up to the yearly cap) and 2.9% for Medicare (on all net self-employment income). You can deduct half of your self-employment tax when you file your income tax return, but you still owe the full amount.

What happens to the money you pay

The Social Security tax you pay goes into the Social Security Trust Fund. The money is used to pay current retirees, disabled workers, and survivors of workers who have died. If you work long enough and pay into the system, you build up a record of earnings that determines how much you can receive when you retire or become disabled.

Medicare tax goes into the Medicare Trust Fund, which pays for hospital insurance (Part A), medical insurance (Part B), and prescription drug coverage (Part D). Unlike Social Security, Medicare does not have a yearly earnings cap that determines your benefit amount. Instead, your Medicare coverage is the same whether you paid $10,000 or $100,000 in Medicare taxes over your lifetime.

Both trust funds are separate from the general Treasury. Money collected cannot be used for other federal programs, and money from other federal programs cannot be used to pay Social Security or Medicare benefits.

How your work history affects Social Security and Medicare

To receive Social Security retirement benefits, you need 40 work credits, which usually means 10 years of paid work. To receive Medicare at 65, you also need 40 work credits. If you have not worked enough years, you may still be able to receive Medicare if you are married to someone who has, or if you are disabled or have end-stage renal disease.

Your Social Security benefit amount depends on how much you earned during your highest 35 years of work. The more you earned (up to the yearly cap), the higher your benefit. Medicare coverage, by contrast, does not vary based on how much you earned — everyone with 40 work credits gets the same coverage options at 65.

If you did not work in the United States, you may still be able to receive benefits through a totalization agreement if you worked in another country that has an agreement with the Social Security Administration. This is worth checking if you have an international work history.

What to ask your doctor or Social Security office

If you are approaching 65 and have questions about Medicare coverage, ask your doctor which Medicare parts you will need based on your health. If you are unsure how many work credits you have, contact the Social Security Administration at 1-800-772-1213 or visit ssa.gov to request a statement of your earnings record.

If you are self-employed and unsure how much Social Security and Medicare tax you owe, speak with a tax professional or call the IRS at 1-800-829-1040. They can walk you through the calculation and help you understand your obligations.

If you are receiving Social Security or Medicare and your tax situation changes — for example, if you go back to work or your income increases — contact Social Security to understand how it might affect your benefits. Some benefits are reduced if you earn above a certain amount before your full retirement age.

Frequently Asked Questions

Can I get a refund of Social Security and Medicare taxes if I did not use the benefits?

No. Social Security and Medicare taxes are not refundable, even if you die before you start receiving benefits or if you move out of the country. The money you paid in stays in the trust fund to pay for current beneficiaries. However, if you are married, your surviving spouse or children may be able to receive survivor benefits based on your work record.

Do I pay federal income tax on my Social Security benefits?

You may. Up to 85% of your Social Security benefits can be taxable as federal income, depending on your total income for the year. This is separate from the Social Security tax you paid while working. Medicare premiums are also deducted from your Social Security check, but those are not federal income tax.

What if I worked in another country — do those years count toward Social Security?

Work in another country does not automatically count toward U.S. Social Security. However, the U.S. has totalization agreements with about 30 countries. If you worked in one of those countries, you may be able to combine your work history to reach 40 credits. Contact the Social Security Administration to learn about your country has an agreement.

Do I have to pay Social Security and Medicare taxes if I am over 65 and still working?

Yes, you must pay both taxes on your wages no matter your age, as long as you are employed. However, once you reach full retirement age and start receiving Social Security, your benefits are no longer reduced if you earn income from work. If you have not yet reached full retirement age, your benefits may be reduced if you earn above a certain amount.

Are Social Security and Medicare taxes the same in every state?

The federal rates are the same everywhere, but some states have additional state income tax that is withheld separately. Social Security and Medicare taxes themselves do not vary by state — they are federal only. Your state income tax, if any, is a separate withholding.