Social Security and Medicare taxes are separate from federal income tax, but Social Security benefits may be taxed as income
Social Security and Medicare are funded by payroll taxes, but they work differently from federal income tax. When you work, you pay 6.2% into Social Security and 1.45% into Medicare (your employer matches these). These are not federal income tax — they are separate taxes that fund specific programs. However, when you receive Social Security benefits in retirement, a portion of those benefits may be counted as taxable income on your federal tax return, depending on your total income that year.
Medicare premiums you pay do not reduce your federal income tax. If you pay for Medicare Part B or Part D out of pocket, those costs are not tax-deductible. The only exception is if you are self-employed — then you can deduct half of your self-employment tax (which includes the Medicare portion) as an adjustment to income, but this is not the same as deducting Medicare premiums themselves.
Key Takeaways
- Social Security and Medicare payroll taxes are separate from federal income tax and fund specific programs, not the general treasury.
- Up to 85% of your Social Security benefits may be taxable income if your combined income exceeds certain thresholds that vary by filing status.
- Medicare premiums you pay out of pocket are not tax-deductible, though self-employed people can deduct half their self-employment tax.
- You may owe federal income tax on Social Security benefits even if you do not work, depending on your total income from all sources.
When Social Security benefits become taxable income
The IRS uses a formula called combined income to decide whether your Social Security is taxable. Combined income is your adjusted gross income plus nontaxable interest plus half of your Social Security benefits. If your combined income exceeds a certain threshold, you must include a portion of your benefits on your federal tax return.
The thresholds depend on your filing status. For a single filer, the first threshold is $25,000; for married filing jointly, it is $32,000. If your combined income is below these amounts, your Social Security is not taxable. If it is above them, up to 50% of your benefits may be taxable. If your combined income exceeds a second threshold — $34,000 for single filers and $44,000 for married filing jointly — up to 85% of your benefits may be taxable.
These thresholds have not changed since 1984 and do not adjust for inflation, which means more people are affected each year as incomes rise. Even if you do not work in retirement, income from pensions, investments, rental property, or part-time work counts toward combined income.
How to calculate what portion of your benefits is taxable
The IRS worksheet for this calculation is on Form 1040 instructions or in IRS Publication 915. The math is complex because it depends on how much your combined income exceeds the threshold and how much of your benefit you have already counted as taxable in prior years. Many people use tax software or a tax preparer to work through it.
If you receive a Social Security Statement (available at ssa.gov), it shows your estimated benefits but not the tax impact. The Social Security Administration does not calculate your tax liability — that is the IRS's job. You will need to report the taxable portion on your Form 1040 when you file.
If you expect your benefits to be taxable, you can ask Social Security to withhold federal income tax from your monthly payment. You do this by completing Form W-4V and sending it to your local Social Security office. Withholding can help you avoid owing a large amount at tax time.
Medicare premiums and tax deductions
If you pay Medicare Part B premiums (standard coverage) or Part D premiums (prescription drug coverage), those payments are not deductible on your federal tax return. The same is true for Medigap (supplemental insurance) premiums and Medicare Advantage plan premiums — none of these reduce your taxable income.
The only health insurance premiums that are sometimes deductible are those you pay for coverage while you are self-employed and do not have access to employer coverage. This is called the self-employed health insurance deduction, and it applies to any health insurance, including Medicare Advantage, but only if you meet specific conditions. You cannot claim this deduction if you are may be able to access for employer-sponsored coverage or Medicare based on your spouse's work.
Out-of-pocket medical expenses (copays, deductibles, coinsurance) are deductible only if they exceed 7.5% of your adjusted gross income, and only if you itemize deductions rather than take the standard deduction. For most people, this threshold is too high to benefit from.
Self-employment tax and the Medicare portion
If you are self-employed, you pay both the employee and employer share of Social Security and Medicare taxes — a total of 15.3% on net self-employment income (12.4% for Social Security, 2.9% for Medicare). You can deduct half of this amount as an adjustment to income on Form 1040, which lowers your adjusted gross income.
This deduction is not the same as deducting Medicare premiums. It is a deduction for the tax itself, not for insurance costs. If you also pay Medicare Part B or Part D premiums out of pocket, those premiums are still not deductible — only the self-employment tax portion is.
What to do if you receive a Social Security earnings statement
Each January, Social Security mails a statement to people age 60 and older who are not yet receiving benefits, and to current beneficiaries. The statement shows your estimated monthly benefit amount and your earnings history. It does not show how much of your benefit will be taxable — that depends on your other income in the year you claim.
If you are still working and receiving benefits, Social Security will reduce your benefit if your earnings exceed a limit. In 2024, the limit is $23,400 per year (this amount changes annually). For every $2 you earn above the limit, Social Security withholds $1 in benefits. This is not a tax — it is a reduction in your benefit payment. Once you reach full retirement age, this limit no longer applies, and you can earn as much as you want without losing benefits.
Planning ahead: what to know before you claim
If you have other sources of income in retirement — a pension, investment income, rental income, or part-time work — you may want to think about the tax impact of claiming Social Security before you file. Some people delay claiming to reduce their combined income in early retirement years, which can lower the taxable portion of their benefits.
A tax professional or financial planner can help you model different claiming ages and income scenarios to see which approach results in the lowest lifetime tax bill. This is especially useful if you have a choice about when to claim or whether to continue working part-time.
Frequently Asked Questions
Do I have to pay federal income tax on all of my Social Security?
No. If your combined income is below the threshold for your filing status, none of your benefits are taxable. If your combined income is above the threshold, up to 50% or 85% of your benefits may be taxable, depending on how far above the threshold you are. The IRS worksheet on Form 1040 shows the exact amount.
Can I deduct my Medicare Part B premiums on my taxes?
No. Medicare premiums are not deductible on your federal tax return. The only exception is if you are self-employed and pay for health insurance yourself — then you may be able to deduct those premiums, but only if you meet specific conditions and do not have access to employer coverage.
What counts as income for the Social Security tax calculation?
Combined income includes your adjusted gross income, nontaxable interest (such as from municipal bonds), and half of your Social Security benefits. It includes income from pensions, investments, rental property, part-time work, and any other source. It does not include certain types of nontaxable income, such as Supplemental Security Income or veterans benefits.
If I withhold federal tax from my Social Security, will that cover my whole tax bill?
It may or may not, depending on your other income. Withholding from Social Security is one way to pay tax throughout the year instead of owing a lump sum at tax time. If you have other income sources, you may need to make estimated tax payments or adjust withholding from other sources as well. A tax preparer can help you figure out the right amount.
Does the Social Security Administration tell me how much of my benefit is taxable?
No. Social Security sends you a statement showing your benefit amount, but the IRS determines how much is taxable based on your total income. You will need to calculate this yourself using the IRS worksheet or work with a tax preparer when you file your return.