Is Social Security Taxed Before or After Medicare Is Deducted?

Social Security is taxed before Medicare is deducted. The IRS looks at your gross benefit, the full monthly amount the Social Security Administration credits you before it pulls out your Part B and Part D premiums, and that gross figure is what feeds every tax calculation. The smaller number that lands in your bank account has no role in the math.

Why the Gross Benefit Is What Counts

The Social Security Administration withholds Medicare Part B and Part D premiums from your monthly payment before sending the remainder to your bank. In 2026, the standard Part B premium alone is $202.90 per month, roughly $2,435 a year taken off the top before you see the deposit.

For tax purposes, none of that matters. The IRS treats Medicare premiums as a personal expense you happen to pay out of your Social Security check, the same as if you had paid them from a checking account. The SSA handling the deduction automatically is an administrative convenience, not a tax reduction. You cannot use premiums withheld from your benefit to shrink the amount the IRS sees.

Finding the Right Number on Your SSA-1099

Each January, the SSA mails Form SSA-1099. The figure you need sits in Box 5, labeled “Net Benefits.” The name is misleading. Box 5 is not what hit your bank account. It equals your gross benefits paid during the year (Box 3) minus any benefits you repaid to the SSA (Box 4). Medicare premiums are not subtracted.

The premium amount withheld during the year does appear on the form, listed within the Box 3 breakdown for your information. It sits there as a reference, nothing more. When you fill out Form 1040, line 6a takes the Box 5 figure, and Box 5 is also what you use to run the provisional income calculation described below.

If you asked the SSA to withhold federal tax from your monthly benefit, that appears in Box 6 and counts as tax already paid for the year. If you didn’t, Box 6 reads “NONE.”

How Much of the Gross Benefit Actually Gets Taxed

Starting from the gross benefit doesn’t mean the whole benefit is taxable. The IRS uses a figure called provisional income, sometimes called combined income, to decide how much of it lands on your return. The calculation: take your adjusted gross income from every non-Social-Security source, add any tax-exempt interest such as municipal bond interest, then add half of your total annual Social Security benefits.

That total is compared against fixed dollar thresholds. Depending on where you fall, 0%, up to 50%, or up to 85% of your gross benefit gets added to taxable income on Form 1040. The ceiling is 85%. No matter how high your other income runs, the remaining 15% of your Social Security is never federally taxed.

Thresholds for Single Filers, Head of Household, and Qualifying Surviving Spouses

  • Below $25,000: none of your Social Security is taxable.
  • $25,000 to $34,000: up to 50% is taxable.
  • Above $34,000: up to 85% is taxable.

Thresholds for Married Filing Jointly

  • Below $32,000: none of your Social Security is taxable.
  • $32,000 to $44,000: up to 50% is taxable.
  • Above $44,000: up to 85% is taxable.

These numbers are written into the tax code and haven’t changed since the early 1990s. Congress never indexed them to inflation, so as balances and pensions have grown, more retirees cross into the taxable range each year.

Can You Recover Medicare Premiums Elsewhere on the Return?

Premiums don’t reduce your taxable Social Security, but they may reduce your overall tax bill through a separate route. Medicare Part B, Part D, and Medicare Advantage (Part C) premiums all qualify as medical expenses for federal tax purposes.

Itemizing on Schedule A

If you itemize, Medicare premiums join copays, prescriptions, and dental costs on Schedule A. The 7.5% AGI floor limits what actually deducts: only the portion of your total medical expenses above 7.5% of your adjusted gross income counts. A retiree with $50,000 in AGI needs more than $3,750 in total medical spending before a dollar of it lands on the return.

The 2026 standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly, with an additional amount for taxpayers 65 and older. Most retirees find the standard deduction beats their itemized total, which means Medicare premiums produce no tax benefit through this route.

The Self-Employment Route

If you have net self-employment income and no access to an employer health plan, Medicare Part B, Part D, and Medicare Advantage premiums are deductible above the line on Schedule 1. This deduction lowers your adjusted gross income directly, works even if you take the standard deduction, and carries no 7.5% floor. Any premium amount you don’t use here can still count as a medical expense on Schedule A if you itemize.

Avoiding a Surprise Bill at Tax Time

Social Security doesn’t withhold federal tax automatically the way a paycheck does. Retirees who owe on their benefits often discover it as a lump sum in April, sometimes with an underpayment penalty attached.

The simpler fix is filing IRS Form W-4V with the SSA to request voluntary withholding. You choose one of four flat rates: 7%, 10%, 12%, or 22% of each monthly payment. No custom dollar amount is available. Whatever gets withheld shows up in Box 6 of your SSA-1099.

The other option is quarterly estimated payments on Form 1040-ES, which offers more flexibility if your income shifts from year to year. If you underpay through both routes, the IRS can assess an underpayment penalty, though it may be waived if you retired after reaching age 62 during the current or preceding tax year and the shortfall was for reasonable cause.

State Taxes Are a Separate Question

Everything above is federal. A handful of states also tax Social Security benefits, though the number has been shrinking, and most states either impose no income tax or fully exempt Social Security. States that do tax benefits generally offer their own income-based exemptions, so lower-income retirees in those states often owe nothing at the state level. If you’re weighing where to live in retirement, checking your state’s treatment is worth the few minutes it takes.