Pensions, Social Security benefits and withdrawals from retirement accounts generally aren’t subject to Medicare payroll tax. Wages and self-employment earnings generally remain subject to Medicare tax even after you retire. Higher-income retirees may also owe the separate 3.8% Net Investment Income Tax on certain investment income.
A financial advisor with tax expertise can help you evaluate how these rules apply to your retirement income.
What Are FICA Taxes?
The FICA tax, short for Federal Insurance Contributions Act tax, is a federal payroll tax levied on all forms of earned income. It is what’s known as a regressive flat tax, meaning that it applies the same fixed rate to all taxpayers and is structured such that high earners pay a lower effective rate the more they earn.
Unlike federal income tax, which goes into general revenues, FICA taxes are specifically earmarked for certain programs. Specifically, this tax pays for Social Security and Medicare.
You only pay FICA taxes on what’s called “earned income.” While the definition can get complex, broadly speaking, earned income is defined as any money that you received in exchange for work or effort. For most people, this tax applies to W-2 paychecks, 1099 contractor income, business income and other self-employment income. The self-employed pay double and for them this is categorized as the “self-employment tax.”
Do You Pay FICA Taxes on Investment Income?
For retirees, the nature of the FICA tax matters because of what it omits. As a payroll tax, FICA does not apply to investment income. You do not pay Medicare and Social Security taxes on the money your portfolio generates. That includes capital gains, interest payments and dividends.
Much of the reason for this is that you have already paid FICA taxes on this money. When you contribute to a pre-tax retirement account, such as a 401(k), the IRS still charges FICA taxes on that money. You only get to deduct those contributions from your federal income tax. If you contribute to a post-tax account, such as a Roth account or an ordinary portfolio, then you have again already paid FICA taxes on those contributions.
So, for most people, the answer is no. If you are a retiree who lives on the proceeds of your investments, you will not pay Medicare taxes in retirement.
The Net Investment Income Tax

Investment income generally isn’t subject to Medicare payroll tax, but higher-income retirees may owe the separate Net Investment Income Tax (NIIT).
The NIIT took effect in 2013. It is a 3.8% tax on certain net investment income when modified adjusted gross income (MAGI) exceeds the applicable threshold. For 2027, the income thresholds remain:
- $200,000: Single filers and heads of household.
- $250,000: Married couples filing jointly and qualifying surviving spouses.
- $125,000: Married taxpayers filing separately.
These thresholds are not adjusted annually for inflation.
The tax applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold. For example, suppose a married couple filing jointly has $275,000 in net investment income and the same amount of MAGI. They would pay NIIT on $25,000, the amount above their $250,000 threshold, for a tax of $950 ($25,000 × 3.8%). 1
Net investment income generally includes taxable interest, dividends, capital gains and certain rental and annuity income. Social Security benefits and distributions from qualified pensions, 401(k)s and IRAs generally are excluded. However, taxable retirement-account distributions can increase MAGI and cause other investment income to become subject to NIIT.
The NIIT is different from the 0.9% Additional Medicare Tax, which applies to wages and self-employment income above the applicable thresholds. That additional payroll tax does not apply to pension payments or retirement-account withdrawals.
Curious how much you’re paying in FICA taxes? Use our income tax calculator to estimate your Social Security and Medicare contributions alongside your overall tax bill.
Do You Pay FICA Taxes on Earned Income?
Finally, retirement does not change the taxable status of earned income. If you do any work in retirement, for example, if you pick up a part-time job or continue to run a business, that income will be subject to FICA taxes as usual. Increasingly relevant, this will apply to any freelance or contractor-based income. So, for example, if you drive for Uber or rent a room on Airbnb, these will be considered earnings.
Bottom Line

Medicare tax is a payroll tax that generally applies to wages and self-employment earnings, including income earned while working in retirement. It generally does not apply to pensions, Social Security benefits or retirement-account withdrawals. Certain investment income may instead face the separate 3.8% NIIT when your income exceeds the applicable threshold, so the source of your retirement income matters as much as the amount.
Medicare Tips
- A financial advisor can help you build a comprehensive retirement plan. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with vetted financial advisors who serve your area. You can have a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
- So you aren’t paying Medicare taxes in retirement, probably. What are the ins and outs of getting coverage under this program?
Photo credit: ©iStock.com/Aum racha, ©iStock.com/PeopleImages, ©iStock.com/BakiBG
Article Sources
All articles are reviewed and updated by SmartAsset’s fact-checkers for accuracy. Visit our Editorial Policy for more details on our overall journalistic standards.
- “Topic No. 559, Net Investment Income Tax | Internal Revenue Service.” Home, https://www.irs.gov/taxtopics/tc559. Accessed Dec. 3, 2026.
