The 3.8% Medicare Surtax Explained: IRS Rules Since 2013

Taxes
December 4, 2026

Learn how the 3.8% Medicare surtax applies to your investment income, who pays it, and strategies to manage NIIT.

What is the 3.8% Medicare Surtax?

The 3.8% Medicare surtax, also called the Net Investment Income Tax (NIIT), can apply when you have investment income and your modified adjusted gross income exceeds $200,000 if single or $250,000 if married filing jointly. You pay 3.8% on the smaller of your net investment income or the amount your income exceeds the threshold. These rules have applied since 2013, and the thresholds have not risen with inflation. The IRS explains the rules and other filing-status thresholds.

A large gain or a retirement withdrawal can change whether you owe the tax.

NIIT calculation: 3.8% of the smaller of net investment income or income above the filing threshold infographic

Who Pays the 3.8% Medicare Surtax, and What Income Counts?

Congress established the Net Investment Income Tax under Section 1411 of the Internal Revenue Code (IRC). It took effect on January 1, 2013, following the enactment of the Health Care and Education Reconciliation Act of 2010. The tax applies to individuals, estates, and certain trusts earning investment returns above certain income marks. You can review the baseline statutory guidelines directly in the official Net investment income tax rules.

Understanding liability begins with comparing income against your statutory threshold and cataloging which streams of revenue count toward net investment income.

Thresholds by filing status

The NIIT does not apply to every taxpayer. It targets high earners by establishing Modified Adjusted Gross Income (MAGI) thresholds based on tax filing status. Unlike tax brackets and standard deductions, these statutory limits are not indexed for inflation.

Filing StatusStatutory MAGI Threshold
Single$200,000
Head of Household$200,000
Married Filing Jointly$250,000
Married Filing Separately$125,000
Qualifying Surviving Spouse$250,000

For individuals with no foreign earned income, MAGI is equal to regular Adjusted Gross Income (AGI).

Trusts and estates face a much tighter threshold. For 2026, an estate or non-grantor trust reaches the NIIT threshold at the start of the 37% bracket, which is $16,000 of undistributed income. For 2025, that threshold is $15,650.

Included and excluded income

The surtax applies strictly to unearned investment returns.

Income categories included in the calculation of net investment income:

  • Taxable interest from bonds, certificates of deposit, and high-yield savings accounts
  • Dividend income from mutual funds, exchange-traded funds, and individual corporate stocks
  • Realized capital gains from the sale of securities, mutual funds, cryptocurrency, and non-business property
  • Rental and royalty income from passive investments
  • Income from passive business activities in which the taxpayer does not materially participate
  • Non-qualified annuity distributions
  • Undistributed net investment income within non-grantor trusts and estates

Income categories excluded from the calculation of net investment income:

  • W-2 wages and salaries
  • Active self-employment earnings and nonpassive trade or business income
  • Social Security benefits and unemployment compensation
  • Alimony payments
  • Tax-exempt interest, such as income from municipal bonds
  • Distributions from qualified retirement plans, including 401(k), 403(b), 457(b), and traditional IRA distributions, as well as Roth conversions
  • Gains excluded under Section 121 from the sale of a primary residence

While excluded income streams avoid the direct 3.8% levy, they elevate overall MAGI, which can pull your investment earnings above the statutory thresholds.

How the 3.8% Medicare Surtax Is Calculated and Interacts With Other Taxes

financial analyst reviewing tax forms and investment returns

Determining liability requires following the IRS "lesser-of" rule. Form 8960 guides taxpayers through netting allowable expenses and comparing total investment income to the income amount exceeding the statutory threshold.

How the 3.8% medicare surtax is calculated

The NIIT equals 3.8% multiplied by the lesser of:

  1. Net Investment Income (gross investment income minus allowable allocable deductions).
  2. The amount by which MAGI exceeds your filing status threshold.

Consider a single filer in Charlotte, NC, with $180,000 in W-2 wages and $50,000 in realized net capital gains:

  • Total MAGI: $230,000
  • Threshold for Single Filer: $200,000
  • Excess MAGI above threshold: $30,000 ($230,000 - $200,000)
  • Net Investment Income: $50,000
  • Taxable Base (lesser of $30,000 or $50,000): $30,000
  • 3.8% Surtax Owed: $1,140 ($30,000 × 3.8%)

If that same taxpayer had $240,000 in W-2 wages and only $10,000 in dividends, the excess MAGI would be $50,000, but the surtax would apply only to the $10,000 dividend total, resulting in $380 of tax.

Capital gains and the Additional Medicare Tax

The 3.8% surtax stacks on top of regular long-term capital gains tax rates. Long-term capital gains brackets sit at 0%, 15%, and 20%. When investment income crosses above the NIIT threshold, the effective federal rate on capital gains jumps:

  • Gains in the 15% bracket facing NIIT incur an effective rate of 18.8%.
  • Gains in the 20% bracket facing NIIT incur an effective rate of 23.8%.

The NIIT is separate from the 0.9% Additional Medicare Tax, which also took effect in 2013 under the Affordable Care Act. The two taxes share statutory thresholds but target entirely different income streams.

Feature3.8% Net Investment Income Tax (NIIT)0.9% Additional Medicare Tax
IRC SectionSection 1411Section 3101(b)(2) & 1401(b)(2)
Target IncomeUnearned investment income (interest, dividends, gains, passive rents)Earned income (W-2 wages, tips, self-employment income)
Single Threshold$200,000 MAGI$200,000 Earned Income
Married Joint Threshold$250,000 MAGI$250,000 Earned Income
IRS Reporting FormForm 8960Form 8959
WithholdingNo mandatory employer withholding; paid via estimates/withholding adjustmentsMandatory employer withholding once wages cross $200,000

A high-earning household can be subject to both taxes on the same return, but never on the same dollar of income.

How the 3.8% medicare surtax affects home sales, IRA withdrawals, and rentals

Real estate transactions and retirement choices can create unexpected surtax exposure:

  1. Selling a Main Home: Section 121 of the Internal Revenue Code excludes up to $250,000 in capital gains for single filers and $500,000 for married couples filing jointly on the sale of a primary residence. Any gain above this exclusion is taxable capital gain. If total income exceeds the statutory threshold, the remaining gain is exposed to the 3.8% tax.
  2. IRA Withdrawals and Roth Conversions: Distributions from traditional IRAs, 401(k) accounts, and taxable Roth conversions are exempt from the definition of net investment income under IRC Section 1411(c)(5). However, ordinary income distributions raise your total MAGI. This dynamic creates a "crossover zone" where non-investment withdrawals push previously protected dividend and capital gain income over the threshold, indirectly triggering the surtax.
  3. Rental Real Estate: Rental income is treated as passive investment income by default. However, property owners who qualify as Real Estate Professionals under IRC Section 469(c)(7) and materially participate in their rental activities can reclassify rental income as active business income, exempting it from the 3.8% surtax.
  4. Section 1031 Exchanges: Real estate investors selling commercial or residential investment properties can defer realized gains, and avoid immediate NIIT liability, by completing a qualifying Section 1031 like-kind exchange.

Planning, Reporting, and Paying the 3.8% Medicare Surtax

multi-year tax planning timeline and portfolio review

Proactive tax planning allows investors to control the timing and recognition of taxable events.

Strategies to manage potential NIIT

Investors can implement several strategies to manage their exposure:

Framework for managing Net Investment Income Tax liability

  • Tax-Loss Harvesting: Realizing capital losses before year-end directly reduces net capital gains on Schedule D, lowering the net investment income figure entered on Form 8960.
  • Tax-Exempt Municipal Bonds: Municipal bond interest is exempt from federal income tax and excluded from both net investment income and statutory MAGI calculations.
  • Asset Location: Holding high-yield dividend funds, taxable bonds, and real estate investment trusts (REITs) inside tax-deferred accounts (such as a 401(k) or traditional IRA) prevents ongoing distributions from generating annual investment income.
  • Installment Sales: When selling highly appreciated real estate or business interests, structuring the transaction as an installment sale under Section 453 spreads taxable gains across multiple calendar years, keeping annual MAGI below statutory thresholds.
  • Coordinating Retirement Distributions: Reviewing the balance between pre-tax and post-tax withdrawals helps prevent large, lump-sum IRA distributions from triggering the surtax on taxable brokerage holdings. Evaluating retirement cash-flow planning offers a structured framework for managing yearly withdrawals.
  • Optimizing Account Types: Choosing between traditional and Roth structures changes how income is recognized later in life. Examining Roth and traditional account trade-offs helps evaluate whether paying taxes today prevents higher composite surtax liabilities in retirement.

Forms, withholding, and estimated payments

Taxpayers subject to the NIIT must calculate and report the tax on IRS Form 8960 (Net Investment Income Tax—Individuals, Estates, and Trusts) and attach it to their standard Form 1040.

Employers do not withhold the 3.8% NIIT from regular paychecks. If you realize significant capital gains or dividends, you may need to:

  • Increase voluntary tax withholding from W-2 employment wages using IRS Form W-4.
  • Submit quarterly estimated tax payments using Form 1040-ES.

Failing to prepay sufficient tax throughout the calendar year can result in underpayment penalties under IRC Section 6654.

How the NIIT Has Evolved Since 2013—and What Could Change

The Net Investment Income Tax was signed into law under the Affordable Care Act (Public Law 111-148) and the Health Care and Education Reconciliation Act (Public Law 111-152).

Over more than a decade of enforcement, its reach has expanded dramatically, driven primarily by fixed statutory thresholds.

Because the $200,000 single and $250,000 married joint thresholds were not indexed for inflation, normal wage growth and asset appreciation have drawn more households into the surtax net each year.

The expansion of the tax is evident in IRS Statistics of Income figures compiled in an Urban Institute analysis of the Net Investment Income Tax:

  • In 2013, the first year of enactment, 3.1 million taxpayers paid the surtax, generating $16.5 billion in federal revenue.
  • By tax year 2021, the number of filers subject to the tax surged to 7.3 million, raising $59.8 billion.
  • In 2019, taxpayers with adjusted incomes between $200,000 and $500,000 made up 69.6% of all returns subject to the NIIT, paying an average of $1,054 per return.
  • Taxpayers earning $10 million or more accounted for only 0.4% of subject filers in 2019 but paid 31.5% of total surtax collections, averaging $449,642 per return. Across all filers who owed the tax in 2019, the average amount paid was $5,202.

Repealing the tax entirely would reduce federal revenues by an estimated $50.8 billion annually, making full elimination a substantial budgetary hurdle for lawmakers.

Policy proposals and open questions

The NIIT remains a central element of federal budget debates. Several policy proposals have emerged:

  1. Expanding the Tax to Active Pass-Through Income: Currently, profits distributed to active owners of S corporations and partnerships are exempt from both self-employment taxes and the NIIT. Expanding the 3.8% tax to cover active pass-through earnings for high-income earners could raise significant tax revenue.
  2. Redirecting Revenue to Medicare's Trust Fund: Although created as part of healthcare reform, NIIT collections flow into the federal government's general fund rather than the Medicare Hospital Insurance (Part A) trust fund. Legislative proposals frequently suggest redirecting these receipts directly into the Hospital Insurance trust fund to extend its solvency.
  3. Inflation Indexing: Taxpayer advocacy groups have pushed to index the $200,000 and $250,000 limits to inflation, preventing bracket creep from affecting moderate-income retirees selling a home or managing modest taxable portfolios.

Conclusion

Managing exposure to the 3.8% Medicare surtax requires year-round awareness of how investment gains, passive earnings, and ordinary retirement distributions interact. Because the statutory thresholds remain unindexed, long-term investors and high-earning households face rising exposure to this surtax over time.

Strategic coordination—such as managing the timing of capital gains, utilizing tax-loss harvesting, allocating tax-efficient assets, and monitoring retirement distributions—can protect investment returns from unexpected tax liability.

For comprehensive, fiduciary wealth management tailored to your financial goals, schedule a free assessment to review your portfolio strategy and multi-year tax plan.

Educational Purposes Only. Content on this blog is for general educational and informational purposes only. It is not investment, tax, accounting, or legal advice, and it is not a recommendation or solicitation to buy or sell any security or to adopt any investment strategy. Past performance does not guarantee future results. Investing involves risk, including the possible loss of principal.

‍

NoDa Wealth Management, LLC ("NoDa Wealth") is an investment adviser registered with the State of North Carolina. Advisory services are offered only where NoDa Wealth and its representatives are properly registered or exempt from registration. Readers should consult their own financial, tax, and legal advisors regarding their specific situation before making any decisions. For important disclosures, see the site footer and Form ADV.

Take the First Step - For Free

Feeling overwhelmed? Let’s simplify things! Schedule your Free Assessment for an easy, 30-minute chat to help you tackle life’s transitions.

Enjoy a hassle-free conversation that puts your needs front and center!

Financial plan example
NoDa Wealth Management is located at 2108 Electric Lane, Charlotte NC, 28205. Phone Number: (980) 206-0953.
‍

Advisory services offered through NoDa Wealth Management, LLC, an investment adviser registered with the state of North Carolina. Advisory services are only offered to clients or prospective clients where NoDa Wealth Management, LLC and its representatives are properly registered or exempt from registration. The information on this site is not intended as tax, accounting or legal advice, nor is it an offer or solicitation to buy or sell, or as an endorsement of any company, security, fund, or other offering. Information provided should not be solely relied upon for decision making. Please consult your legal, tax, or accounting professional regarding your specific situation. Investments involve risk and have the potential for complete loss. It should not be assumed that any recommendations made will necessarily be profitable. The information on this site is provided “AS IS” and without warranties either express or implied and the information may not be free from error. Your use of the information provided is at your sole risk.
>