Skip to main content
Tax forms laid out with a calculator and a magnifying glass on a wooden surface.
The Grace Capital Journal

The 3.8% Net Investment Income Tax: How the Surtax Works on Capital Gains and Rental Income

It does not appear on the familiar capital gains rate table, which is why it is so often the gap between the tax an investor estimated and the tax that shows up on the return.

September 8, 2026 8 min read Grace Capital Management
Photo: RDNE Stock project / Pexels

The Short Answer

The net investment income tax is a 3.8% federal surtax that sits on top of regular income and capital gains tax. It applies to investment income — interest, dividends, capital gains, rents, royalties, and passive business income — for taxpayers whose modified adjusted gross income exceeds $250,000 married filing jointly, $200,000 single, or $125,000 married filing separately.

It is easy to overlook because it does not appear on the familiar capital gains rate table. On a large property sale or a concentrated stock liquidation, it is frequently the difference between the tax figure an investor estimated and the tax figure that actually appears on the return. Our capital gains calculator includes it in the estimate.

Where the Surtax Came From, and Why It Keeps Reaching Further

Congress enacted the surtax under Internal Revenue Code Section 1411 as part of the health care legislation of 2010, effective for tax years beginning in 2013. The mechanics have not changed materially since.

What has changed is who it touches. The threshold amounts are fixed in the statute and are not indexed for inflation. The $250,000 joint threshold has meant progressively less in real terms every year since 2013, while asset values, rents, and wages have not stood still. A surtax originally described as applying to high earners now reaches a considerable number of households that would not describe themselves that way — particularly in a year containing a single large liquidity event.

The Two-Part Calculation

The surtax is not simply 3.8% of investment income. It applies to the lesser of:

  1. Net investment income for the year, or
  2. The amount by which modified adjusted gross income exceeds the applicable threshold.
How the 3.8% surtax base is chosenIn an ordinary year a married couple with 260,000 dollars of modified adjusted gross income and 40,000 dollars of investment income is taxed on the 10,000 dollar excess over the 250,000 threshold, producing 380 dollars. In the year they sell a rental for a 600,000 dollar gain, modified adjusted gross income rises to 860,000, the excess becomes 610,000 and investment income becomes 640,000; the smaller figure, 610,000, is the base, producing 23,180 dollars.The surtax applies to the SMALLER of the two barsAn ordinary yearMAGI $260,000 · investment income $40,000Investment income$40,000MAGI over $250,000$10,000 ← smaller3.8% of $10,000 = $380 for the yearThe year they sell the rental$600,000 gain · MAGI rises to $860,000Investment income$640,000MAGI over $250,000$610,000 ← smaller3.8% of $610,000 = $23,180 — one transaction, sixty times the surtaxIllustration only. Bars are to scale within each year, not between them.
The two figures are compared every year. In most years the excess over the threshold is the smaller one; a single large gain can push both far above it.

That structure matters. Consider a married couple with $260,000 of modified adjusted gross income, of which $40,000 is investment income. The excess over the $250,000 threshold is $10,000. Because $10,000 is less than $40,000, the surtax applies to $10,000, producing $380 of additional tax rather than $1,520.

Now consider the same couple in a year when they sell an appreciated rental property and recognize $600,000 of gain. Modified adjusted gross income rises to $860,000, an excess of $610,000 over the threshold, while net investment income rises to $640,000. The excess is now the smaller of the two by a narrow margin, so the surtax applies to $610,000 — $23,180 of tax against $380 the year before. A single transaction can move a household from paying the surtax on a sliver of income to paying it on essentially all investment income for the year.

This is why the surtax is best understood as an event-driven tax rather than a chronic one. For many investors it is a rounding error in most years and a meaningful line item in the year of a sale.

What Counts as Net Investment Income

Generally included:

  • Interest, dividends, and annuity income other than qualified retirement distributions
  • Capital gains from stocks, bonds, mutual funds, and investment real estate
  • Rental and royalty income
  • Income from a business in which the taxpayer does not materially participate
  • Income from a business that trades financial instruments or commodities
  • Gain on the sale of an interest in a partnership or S corporation, to the extent attributable to passive assets

Generally excluded:

  • Wages and self-employment income
  • Income from a trade or business in which the taxpayer materially participates
  • Distributions from qualified retirement plans, individual retirement accounts, and similar arrangements
  • Social Security benefits
  • Tax-exempt municipal bond interest
  • Gain excluded under the Section 121 primary residence exclusion
  • Income already subject to self-employment tax

Two exclusions deserve a closer look, because they are where the practical planning tends to happen.

Retirement distributions are excluded from net investment income, but not from the threshold test. A large distribution from an individual retirement account is not itself net investment income. It does, however, increase modified adjusted gross income, and that increase can pull other investment income above the threshold and into the surtax. Distribution sequencing and conversion timing therefore have a second-order effect on the surtax that is easy to miss when looking only at bracket management.

Material participation changes the character of business and rental income. Income from an activity in which the taxpayer materially participates under the passive activity rules is generally outside the definition of net investment income. Rental income is generally treated as net investment income, subject to a specific safe harbor for taxpayers who qualify as real estate professionals and meet the participation requirements. This is a fact-specific determination that turns on records of hours and activity, and it is one that a certified public accountant should evaluate rather than an investor assuming the answer.

Where the Surtax Meets Common Tax Strategies

The surtax does not exist in isolation. It interacts with most of the structures accredited investors use around a capital gains event.

1031 exchanges. Gain that is not recognized is generally not counted in net investment income for that year, so a properly structured exchange defers the surtax alongside the underlying capital gains tax. Boot recognized in the exchange is a different matter and may carry the surtax. Because deferral is not elimination, the surtax question returns when the deferred gain is eventually recognized — a point worth weighing in the broader exchange versus pay the tax analysis. Our 1031 exchange calculator estimates the total deferral at stake, and the timeline guide covers the deadlines that govern the structure.

Depreciation recapture. Unrecaptured Section 1250 gain is still gain from the disposition of property, and it is generally included in net investment income. On a long-held rental with substantial accumulated depreciation, the recapture component carries both its own rate and, potentially, the surtax. The depreciation recapture calculator isolates that figure.

Installment sales. Recognizing gain across several years rather than one can keep modified adjusted gross income closer to the threshold in each year, which changes which of the two figures in the calculation is the lesser. The trade-off is counterparty and rate risk over the note period.

Qualified opportunity funds. Deferral of an eligible gain by investing in a qualified opportunity fund postpones recognition of that gain, and appreciation eliminated after the required holding period is generally not net investment income when the investment is sold. Program rules, deadlines, and eligibility have been revised over the life of the incentive, so current-year requirements should be confirmed before relying on any of it.

Working interests in oil and gas programs. A working interest that is not held through a limited partnership interest is generally not treated as a passive activity under the passive activity rules, which affects whether the resulting income falls inside the definition of net investment income. The analysis depends heavily on how the interest is held and how the investor participates, and it changes if the interest later converts to a royalty interest.

Tax-loss harvesting. Because the calculation begins with net investment income, realized losses that offset realized gains reduce the base the surtax applies to as well as the base ordinary capital gains tax applies to. The benefit is proportional and mechanical rather than dramatic, but it applies without requiring any change to the underlying structure of a portfolio.

What to Do With This

The practical takeaway is one of sequencing. The surtax is calculated on a calendar-year basis, which means the year a gain is recognized matters as much as the size of the gain. Investors anticipating a significant liquidity event generally benefit from modeling the full federal picture — ordinary rates, capital gains rates, recapture, state considerations, and the surtax together — before a sale contract is signed rather than after, because most of the structures that address the surtax must be in place before closing.

Grace Capital Management is an independent advisory firm in Austin. We work with accredited investors evaluating how categories such as 1031 exchange replacement structures, Delaware Statutory Trusts, opportunity zone funds, intangible drilling cost programs, and loss-harvesting approaches fit a specific tax picture, coordinating with the client’s certified public accountant rather than replacing that relationship. If a liquidity event is on the horizon, start with the numbers and then schedule a conversation.

This article is educational only and is not tax, legal, or investment advice. Tax thresholds, rates, and rules described here reflect general federal law and may change; state treatment varies and individual outcomes depend on facts specific to each taxpayer. The alternative investment categories referenced are speculative, illiquid private placements available only to accredited investors, involve substantial risk including possible loss of principal, and are offered solely through a sponsor’s private placement memorandum. Nothing on this page is an offer to sell or a solicitation to buy any security. Consult your certified public accountant and attorney regarding your specific circumstances.

G Grace Capital Management
Austin, Texas · Wealth & Tax Advisory
Have a question? Talk with an advisor
Frequently Asked Questions

Common Questions

What is the net investment income tax?
The net investment income tax is a 3.8% federal surtax under Internal Revenue Code Section 1411 that applies on top of ordinary income tax and capital gains tax. It applies to investment income such as interest, dividends, capital gains, rents, royalties, and passive business income, but only for taxpayers whose modified adjusted gross income exceeds the statutory threshold.
What are the net investment income tax thresholds?
The thresholds are $250,000 of modified adjusted gross income for married taxpayers filing jointly, $200,000 for single filers and heads of household, and $125,000 for married taxpayers filing separately. These amounts were set by statute and are not indexed for inflation, so more households cross them each year. Estates and non-grantor trusts face a far lower threshold tied to the dollar amount at which the top trust tax bracket begins.
Is a 1031 exchange subject to the net investment income tax?
A properly structured 1031 exchange defers recognition of the gain, and gain that is not recognized generally does not enter the net investment income calculation for that year. Any boot recognized in the exchange, however, is generally treated as recognized gain and may be subject to the surtax. The deferral is a deferral rather than an elimination, so the surtax question returns whenever the deferred gain is eventually recognized.
What income is not subject to the net investment income tax?
Wages, self-employment income, income from a trade or business in which the taxpayer materially participates, distributions from qualified retirement plans and individual retirement accounts, Social Security benefits, tax-exempt municipal bond interest, and gain excluded under the Section 121 primary residence exclusion are generally excluded. Note that retirement plan distributions, while not themselves net investment income, do increase modified adjusted gross income and can push other investment income above the threshold.
Does depreciation recapture count as net investment income?
Unrecaptured Section 1250 gain and Section 1245 recapture on the sale of investment real estate are generally treated as gain from the disposition of property and are generally included in net investment income. That means the recapture portion of a property sale can carry the 3.8% surtax in addition to its own tax rate.
How is the 3.8% surtax actually calculated?
The surtax applies to the lesser of two figures: total net investment income for the year, or the amount by which modified adjusted gross income exceeds the applicable threshold. Because it is the lesser of the two, a taxpayer only slightly over the threshold pays the surtax only on the amount of the excess, not on the full investment income figure.
Who You're Working With

Earl Proeger

Registered Representative of Concorde Investment Services, LLC

Grace Capital Management is a hybrid RIA that acts in a fiduciary capacity when providing investment advisory services to accredited investors in Austin and nationwide.

  • Series 7General Securities Representative
  • Series 63Uniform Securities Agent
  • SIESecurities Industry Essentials
  • NMLS #1159073Mortgage Loan Originator (TX)

Stay Informed

Get tax strategies, market insights, and investment updates delivered to your inbox.

By subscribing, you agree to receive email communications from Grace Capital Management. You can unsubscribe at any time. Privacy Policy

Access Your Free Guide

These investments are speculative, illiquid, and involve risk including possible loss of principal; they are available only to verified accredited investors. Distributions are not guaranteed.

By submitting, you agree to be contacted by Grace Capital Management. We do not sell your information; form submissions are processed by our forms provider.