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

Social Security and Medicare are not paid for by federal income tax. Instead, they are funded by separate payroll taxes that come directly out of your paycheck. When you work, you and your employer each pay a percentage of your wages into these two programs. The money you pay in is not mixed with general federal tax revenue — it goes into dedicated trust funds for each program.

This distinction matters because it affects how much you pay, when you pay it, and what you get back. Social Security and Medicare have their own tax rates, their own income limits, and their own rules about who pays and when payments stop.

Key Takeaways

  • Social Security and Medicare are funded by payroll taxes (FICA taxes), not federal income tax, and the money goes into separate trust funds.
  • You pay 6.2% of your wages for Social Security and 1.45% for Medicare; your employer pays the same amount for each.
  • Self-employed people pay both the employee and employer share, totaling 12.4% for Social Security and 2.9% for Medicare.
  • Social Security tax stops once you reach the annual wage cap, but Medicare tax continues on all wages with no cap.
  • High-income earners pay an additional 0.9% Medicare tax on wages above a certain threshold.

How much you pay in Social Security and Medicare taxes

If you are an employee, your employer withholds 6.2% of your gross wages for Social Security and 1.45% for Medicare. Your employer also pays an equal amount on your behalf — 6.2% for Social Security and 1.45% for Medicare. You see only your half deducted from your paycheck; the employer's half is a separate cost to them.

If you are self-employed, you pay both halves yourself. That means you pay 12.4% for Social Security and 2.9% for Medicare on your net self-employment income. You can deduct half of this as a business expense when you file taxes, but you still owe the full amount.

These rates have been set by law and do not change from year to year, though Congress can alter them. The rates have remained at 6.2% and 1.45% since 1990 for employees.

The wage cap for Social Security — and why Medicare has none

Social Security tax only applies to the first $168,600 of your annual wages (this amount changes each year based on wage growth). Once you earn above that threshold, you stop paying Social Security tax for the rest of the year. This is called the wage cap. If you change jobs mid-year, each employer withholds based on what you earn with them, so you might overpay if your combined income crosses the cap — but you can claim the overage as a credit when you file your tax return.

Medicare tax has no wage cap. You pay 1.45% on every dollar you earn, no matter how much you make. However, if your income is high enough, you pay an additional 0.9% Medicare tax on wages above $200,000 (if single) or $250,000 (if married filing jointly). This extra tax was added in 2013 and applies only to high earners.

Why these taxes are separate from federal income tax

Federal income tax is withheld from your paycheck based on your W-4 form and goes into the general U.S. Treasury. Social Security and Medicare taxes are withheld separately and go into dedicated trust funds that pay benefits only to people who have earned them through work.

This separation means you can owe federal income tax but still be may have access to to Social Security and Medicare benefits based on your work history. It also means the solvency of Social Security and Medicare depends on the balance between what workers pay in and what retirees draw out — not on the overall federal budget.

What happens to the money you pay

The Social Security tax you pay goes into the Social Security Trust Fund, which pays benefits to current retirees, disabled workers, and survivors of deceased workers. The Medicare tax you pay goes into the Hospital Insurance Trust Fund (Part A) and the Supplementary Medical Insurance Trust Fund (Part B). Part A covers hospital stays and some skilled nursing care; Part B covers doctor visits and outpatient services.

You do not have a personal account where your taxes sit waiting for you. Instead, current workers' taxes pay current beneficiaries' benefits. When you retire, future workers' taxes will pay your benefits. This is called a pay-as-you-go system.

Self-employed workers and quarterly taxes

If you are self-employed, you pay Social Security and Medicare taxes through self-employment tax, which you calculate on Schedule SE when you file your annual tax return. You may also need to pay estimated taxes quarterly if you expect to owe more than a certain amount.

Self-employment tax is separate from federal income tax, though you pay both. You can deduct half of your self-employment tax as an adjustment to income, which lowers your federal income tax burden. Many self-employed people work with a tax professional to make sure they are setting aside enough money throughout the year.

How these taxes affect your future benefits

The amount you pay in Social Security and Medicare taxes does not directly determine your benefit amount. Instead, Social Security benefits are based on your highest 35 years of earnings, adjusted for inflation. The more you earned during your working years, the higher your benefit — but there is a maximum benefit amount.

Medicare benefits are not based on how much you paid in taxes. Instead, you become may be able to access for Medicare at age 65 if you have worked and paid Medicare taxes for at least 10 years (40 quarters). Once you are may be able to access, you pay premiums for Part B and Part D coverage, but Part A (hospital insurance) is free.

Frequently Asked Questions

Can I opt out of paying Social Security and Medicare taxes?

No. If you are an employee, these taxes are mandatory and withheld from your paycheck. If you are self-employed, you must pay self-employment tax on your net earnings. The only exceptions are certain religious groups and some government employees hired before specific dates, but these are rare and require formal exemption.

What if I work for multiple employers in one year?

Each employer withholds Social Security tax based on what you earn with them. If your combined income exceeds the wage cap, you will overpay Social Security tax. When you file your tax return, you can claim the overpayment as a credit, and the IRS will refund it or explore it to other taxes you owe.

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

No. These taxes explore only to wages from employment and net self-employment income. They do not explore to investment income, rental income, or retirement account withdrawals. Some types of income, like certain government benefits, are also exempt.

Do non-citizens have to pay these taxes?

Yes, if you work in the United States, you must pay Social Security and Medicare taxes regardless of citizenship status. You need an Individual Taxpayer Identification Number (ITIN) or Social Security number to work legally and pay these taxes.

How do I know how much I have paid in Social Security and Medicare taxes over my lifetime?

You can create a free account on ssa.gov and view your Social Security earnings record, which shows your annual wages and taxes paid. This record is used to calculate your future Social Security benefit. You can also request a printed statement by mail if you do not use online services.