Federal withholding and Social Security and Medicare are separate deductions
Federal withholding and Social Security and Medicare taxes are three different things taken from your paycheck, and they go to three different places. Federal withholding is income tax that goes to the U.S. Treasury. Social Security tax and Medicare tax are payroll taxes that fund those specific programs. Your employer takes all three out of your pay, but they are not the same thing, and they do not cover each other.
When you see your pay stub, you will see separate line items for federal income tax withholding, Social Security (labeled as "OASDI" or "Social Security"), and Medicare. The percentages and caps are different for each one, and they have different rules about who pays them and when.
Key Takeaways
- Federal income tax withholding, Social Security tax, and Medicare tax are three separate deductions from your paycheck that fund three different programs.
- Social Security tax is 6.2% of your wages (up to a yearly cap), and Medicare tax is 1.45% with no cap, and neither one is federal income tax withholding.
- If you are self-employed, you pay both the employee and employer share of Social Security and Medicare, which is 15.3% total, plus you still owe federal income tax.
- Federal withholding amounts depend on your W-4 form and your total income; Social Security and Medicare amounts are fixed percentages regardless of your tax bracket.
How federal withholding differs from Social Security and Medicare taxes
Federal withholding is calculated based on the W-4 form you fill out when you start a job. It depends on how many dependents you claim, your filing status, and other income you have. The more you claim on your W-4, the less federal tax is withheld. The amount withheld goes into the general Treasury and funds the federal government's operations.
Social Security and Medicare taxes are fixed percentages that do not change based on your W-4 or tax bracket. Social Security is always 6.2% of your wages, but only up to a yearly wage cap (the cap changes each year). Medicare is always 1.45% of all your wages with no cap. These are payroll taxes, not income taxes, and they fund specific benefit programs, not the general government budget.
If you earn more than the Social Security wage cap in a year, you stop paying Social Security tax once you hit that cap, but you keep paying Medicare tax on every dollar. Federal withholding, by contrast, continues on all your income throughout the year.
What happens if you are self-employed
If you are self-employed, you pay both the employee and employer share of Social Security and Medicare taxes yourself. That means you pay 12.4% for Social Security (on income up to the yearly cap) and 2.9% for Medicare (on all income), for a total of 15.3%. You also still owe federal income tax, which you calculate on your tax return or pay through quarterly estimated tax payments.
Self-employed people can deduct half of their self-employment tax (the employer share) when calculating their adjusted gross income, which lowers their taxable income slightly. But you still owe the full 15.3% in Social Security and Medicare, plus federal income tax on top of that.
The yearly wage cap for Social Security
Social Security tax has a yearly wage cap; Medicare does not. In 2024, the cap was $168,600, meaning you only pay Social Security tax on the first $168,600 of your wages. Once you earn more than that in a year, your employer stops taking Social Security tax out of your remaining paychecks for that year.
The cap changes each year based on average wage growth. If you change jobs during the year, each employer withholds Social Security tax independently up to the cap, so it is possible to overpay if you worked for multiple employers. You can claim the overpayment as a credit on your tax return.
Medicare has no wage cap, so you pay 1.45% on every dollar you earn, no matter how much. High earners also pay an additional 0.9% Medicare tax on wages above a certain threshold ($200,000 for single filers, $250,000 for married filing jointly), which is part of the Affordable Care Act.
How to read your pay stub
Your pay stub shows gross pay (what you earned before deductions) and then lists deductions. Look for these line items: "Federal Income Tax" or "FIT" (this is federal withholding), "Social Security" or "OASDI," and "Medicare" or "Med." Each one shows the amount withheld and sometimes the year-to-date total.
Federal withholding varies based on your W-4 and income. Social Security and Medicare are fixed percentages. If you notice federal withholding is too high or too low, you can fill out a new W-4 with your employer. If you notice Social Security or Medicare is wrong, check that your employer is using the correct percentages (6.2% and 1.45%), because those should not change unless you are near the Social Security wage cap.
What federal withholding does and does not cover
Federal withholding is income tax only. It does not cover Social Security benefits, Medicare coverage, or any other program. The money withheld goes to the Treasury and funds federal operations, defense, infrastructure, and other government spending.
Social Security and Medicare taxes are separate and fund those programs specifically. Your Social Security tax payments build your record of earnings, which determines how much you can receive in Social Security retirement, disability, or survivor benefits later. Your Medicare tax payments make you may be able to access for Medicare at age 65, regardless of whether you are retired.
If you do not have enough federal withholding during the year, you may owe money when you file your tax return. If you have too much withheld, you get a refund. But Social Security and Medicare withholding does not work that way — you pay a fixed percentage, and that money goes directly to fund those programs.
Frequently Asked Questions
Does federal withholding count toward my Social Security benefits?
No. Federal income tax withholding and Social Security tax are separate. Only your Social Security tax payments (6.2% of your wages) count toward your Social Security benefit record. Federal withholding is income tax and does not build your Social Security earnings record.
If I adjust my W-4 to lower federal withholding, does that affect Medicare?
No. Your W-4 only affects federal income tax withholding. Social Security and Medicare taxes are fixed percentages that do not change based on your W-4. Changing your W-4 will not change how much Social Security or Medicare tax comes out of your paycheck.
Why do I pay Social Security tax if I am already paying federal withholding?
They fund different things. Federal withholding is income tax that funds general government operations. Social Security tax funds the Social Security program specifically and builds your personal earnings record for future benefits. Both are required by law, and both come out of your paycheck.
What if I work for two employers in the same year?
Each employer withholds Social Security tax independently up to the yearly cap. If your combined wages exceed the cap, you may overpay Social Security tax. You can claim the overpayment as a credit on your tax return. Federal withholding is also calculated by each employer separately based on the W-4 you give them.
Does the additional Medicare tax count toward my Medicare coverage?
Yes. The additional 0.9% Medicare tax on high wages is still Medicare tax and goes to fund the Medicare program. It does not change your coverage or benefits; it is just an extra tax on earnings above the threshold for higher earners.