When investors think about the tax a 1031 exchange defers, they usually focus on capital gains — but for higher-income investors, there's another meaningful layer: the 3.8% net investment income tax (NIIT). This surtax, enacted as part of the Affordable Care Act, applies to net investment income (including gains from selling investment property) for taxpayers above certain income thresholds. On a large property gain, the 3.8% NIIT can add tens of thousands of dollars to the tax bill. The good news is that a 1031 exchange defers the NIIT along with the capital gains, depreciation recapture, and state tax — because deferring the gain means there's no recognized investment income to which the NIIT applies. This guide explains what the NIIT is, who owes it on property sales, how a 1031 defers it, the income-threshold nuances, and how the NIIT fits into the total four-layer tax the exchange defers.
What the 3.8% NIIT is
The net investment income tax (NIIT) is a 3.8% tax on net investment income, applying to individuals (and some trusts and estates) whose income exceeds certain thresholds. Enacted under Section 1411 as part of the Affordable Care Act, it took effect in 2013 and functions as a surtax on investment income for higher-income taxpayers — an additional 3.8% on top of the regular income or capital gains tax on that income. It's sometimes called the Medicare surtax, reflecting its origin.
Net investment income includes a range of investment-related income: interest, dividends, capital gains, rental and royalty income, and income from passive business activities, among others — reduced by allocable investment expenses. Importantly for real estate investors, gains from the sale of investment property are net investment income, so a taxable property sale can trigger the NIIT on the gain. Rental income is also generally net investment income (unless the taxpayer qualifies as a real estate professional materially participating).
The NIIT applies only to taxpayers whose income exceeds specific thresholds (discussed below), so it's a tax on higher-income individuals. For those above the thresholds, the 3.8% applies to the lesser of their net investment income or the amount by which their income exceeds the threshold. On a large investment property gain, the NIIT can be substantial — 3.8% of a $500,000 gain is $19,000, for instance. This makes the NIIT a meaningful tax layer for higher-income real estate investors selling appreciated property, and therefore a meaningful part of what a 1031 exchange defers. Understanding the NIIT as a 3.8% surtax on investment income (including property gains) for higher earners sets up its interaction with the exchange.
Who owes it on property sales
The NIIT applies to property sale gains for taxpayers whose modified adjusted gross income (MAGI) exceeds the applicable threshold: generally $200,000 for single filers and $250,000 for married couples filing jointly (with $125,000 for married filing separately). These thresholds are not indexed for inflation, so over time more taxpayers cross them. A taxpayer below the threshold doesn't owe the NIIT; one above it owes 3.8% on the lesser of their net investment income or the excess over the threshold.
For a property sale, the gain itself can push a taxpayer over the threshold even if their other income is below it, because the gain is included in MAGI. So an investor selling a highly appreciated property may owe the NIIT on the gain — both because the gain is net investment income and because it can raise their MAGI above the threshold. This is why the NIIT is a common consideration for investors selling appreciated investment real estate: the gain triggers both the inclusion of investment income and, often, the crossing of the threshold.
Whether and how much NIIT a particular investor owes on a property sale depends on their overall income and the size of the gain, so it's a calculation specific to the taxpayer. A higher-income investor selling a large gain clearly owes substantial NIIT; a lower-income investor with a modest gain might owe little or none. But for the typical investor with an appreciated property and meaningful income — the kind of investor who does 1031 exchanges — the NIIT is usually a real part of the tax a sale would trigger. This is why the NIIT belongs in the analysis of what an exchange defers, and why deferring it matters for higher-income real estate investors. The CPA calculates the specific NIIT exposure, but for many investors it's a meaningful layer worth deferring.
A property's gain can both be net investment income and push the seller over the threshold — so an appreciated-property sale often triggers the 3.8% NIIT for meaningful-income investors.
How a 1031 defers it
A 1031 exchange defers the NIIT along with the gain, for a simple reason: the NIIT applies to recognized net investment income, and a 1031 exchange defers the gain rather than recognizing it. If you don't recognize the gain (because you exchanged instead of selling), there's no recognized investment income from the sale to which the NIIT applies. The deferral of the gain is automatically a deferral of the NIIT on that gain — they go together.
This means the 1031's benefit extends beyond capital gains and depreciation recapture to include the NIIT. By deferring the entire gain, the exchange defers all the taxes that would apply to that gain — federal capital gains, depreciation recapture, the 3.8% NIIT, and state income tax. The NIIT isn't a separate thing the exchange has to address; it's deferred as a consequence of deferring the gain, because there's no recognized gain to trigger it. So an investor who exchanges defers the NIIT they would have owed on a sale, without any additional steps.
There's also a secondary benefit: by deferring the gain, the exchange keeps that gain out of the investor's MAGI for the year, which can keep them below the NIIT threshold (or reduce the amount over it) for their other investment income. A large recognized gain would spike the investor's MAGI, potentially subjecting more of their investment income to the NIIT; deferring the gain avoids that spike. So the exchange not only defers the NIIT on the property gain itself but also avoids the MAGI increase that the gain would cause. The bottom line is that a 1031 exchange defers the NIIT comprehensively — both the direct NIIT on the deferred gain and the threshold effect — making the NIIT a real part of the tax benefit the exchange provides for higher-income investors.
Income-threshold considerations
The income thresholds add nuance to the NIIT's role in the exchange analysis. Because the NIIT applies only above the MAGI thresholds ($200,000 single, $250,000 married filing jointly), an investor's NIIT exposure depends on their income level. A higher-income investor well above the threshold owes the full 3.8% on their net investment income (including a property gain), so deferring a large gain saves significant NIIT. An investor near or below the threshold might owe little NIIT, so the NIIT component of the deferral is smaller for them.
The threshold effect of a property gain is significant. A large recognized gain can push an investor well above the threshold for that year, subjecting not just the gain but potentially other investment income to the NIIT. By deferring the gain through an exchange, the investor avoids this spike, keeping their MAGI lower and potentially their other investment income below or less far above the threshold. So the exchange's NIIT benefit can be larger than just 3.8% of the gain, because it also avoids the threshold-crossing effect on other income.
These threshold considerations mean the NIIT's weight in the exchange decision varies by investor. For a high-income investor with a large gain, the NIIT is a substantial part of the tax deferred (3.8% of the gain plus the threshold effect), reinforcing the case for exchanging. For a lower-income investor whose gain wouldn't trigger much NIIT, it's a smaller factor. The CPA calculates the specific NIIT exposure given the investor's income and the gain, quantifying how much NIIT the exchange would defer. For most investors doing 1031 exchanges — who tend to have meaningful income and appreciated properties — the NIIT is a real component of the deferral, and the threshold considerations determine exactly how large that component is for their situation. Understanding the thresholds clarifies that the NIIT benefit, while real, is income-dependent.
Total tax deferred
The NIIT is best understood as one of the four layers in the total tax a 1031 exchange defers. When an investor sells appreciated investment property, the gain can face: federal capital gains tax (up to 20% for long-term gains), depreciation recapture (up to 25% on the portion attributable to prior depreciation), the 3.8% NIIT (for higher-income investors), and state income tax (varying by state). A 1031 exchange defers all four layers by deferring the gain, and the NIIT is the layer that's often overlooked but adds meaningfully to the total.
Stacking the layers shows the NIIT's contribution. On a $500,000 gain for a high-income investor in a tax state, the layers might be roughly: federal capital gains at up to 20% ($100,000), depreciation recapture on the relevant portion (variable), the 3.8% NIIT ($19,000), and state tax (variable). The NIIT's $19,000 is a real addition to the bill — and to what the exchange defers. Across the four layers, the total tax on a large gain commonly exceeds a third of the gain, with the NIIT being a distinct, meaningful slice for higher-income investors.
Recognizing the NIIT as part of the four-layer stack reinforces the value of the exchange for higher-income investors. The deferral isn't just about capital gains; it's about deferring the entire stack, including the 3.8% NIIT that a sale would trigger. For a higher-income investor with a large gain, the NIIT can be a five-figure component of the deferred tax, adding to the already substantial benefit of deferring the capital gains, recapture, and state tax. So when assessing what an exchange saves, the NIIT should be included in the total — it's a real part of the tax a higher-income investor defers, and overlooking it understates the exchange's benefit. The total tax deferred, properly counted, includes the NIIT, making the exchange even more valuable for higher earners than a capital-gains-only analysis would suggest.
- The NIIT is a 3.8% surtax on net investment income (including property gains) for taxpayers above MAGI thresholds ($200K single, $250K married).
- A property sale can trigger the NIIT — the gain is investment income and can push the seller over the threshold.
- A 1031 exchange defers the NIIT along with the gain, since there's no recognized investment income to tax, and avoids the MAGI spike.
- The NIIT is one of the four tax layers (with capital gains, recapture, and state tax) the exchange defers — a meaningful slice for higher earners.
The NIIT on rental income
Beyond the gain on sale, the NIIT also applies to rental income for higher-income investors, which is relevant to the post-exchange picture. Rental income is generally net investment income subject to the 3.8% NIIT for taxpayers above the thresholds — unless the taxpayer qualifies as a real estate professional materially participating in the rental activity, in which case the rental income may not be passive net investment income. So a higher-income investor's ongoing rental income from a property (relinquished or replacement) can bear the NIIT.
This means the NIIT affects both the gain on sale (deferred by the exchange) and the ongoing rental income (which continues to bear the NIIT for higher-income investors, whether from the relinquished or replacement property). The exchange defers the NIIT on the gain, but the replacement property's rental income remains subject to the NIIT going forward for a higher-income investor. So the NIIT is a consideration both at the point of exchange (the gain) and in the ongoing income from the real estate.
For investors who qualify as real estate professionals, the NIIT treatment of rental income can differ — material participation in the rental activity can take it out of the passive net-investment-income category, potentially exempting the rental income from the NIIT. This is a valuable status for those who qualify (it requires meeting specific time and participation tests), and it affects both the rental income's NIIT treatment and the passive loss rules. For most investors, though, rental income is net investment income subject to the NIIT above the thresholds. The interaction of the NIIT with both the gain (deferred by the exchange) and the ongoing rental income (subject to it for higher earners) is part of the full NIIT picture, which the CPA factors into the investor's overall tax planning. The exchange's NIIT benefit is primarily on the deferred gain; the ongoing rental income's NIIT treatment is a separate, continuing consideration.
How Baker 1031 helps with the NIIT
Baker 1031 Investments helps investors understand the full tax a 1031 exchange defers, including the often-overlooked 3.8% NIIT — coordinating with your CPA to quantify your NIIT exposure on a property gain given your income and the threshold effects, and confirming that the exchange defers the NIIT along with the capital gains, depreciation recapture, and state tax. We help higher-income investors see the complete four-layer tax benefit of exchanging, so the NIIT isn't left out of the analysis.
Where an exchange fits, we help identify replacement property and coordinate the transaction; securities such as DSTs are offered through the broker-dealer, Aurora Securities, Inc. (member FINRA/SIPC), with any recommendation following a suitability review. The NIIT calculation and the rental-income NIIT treatment are matters for your CPA, with whom we coordinate — our role is to ensure the NIIT is counted in the total tax the exchange defers, so higher-income investors appreciate the full value of the deferral, including this meaningful 3.8% layer.
Frequently Asked Questions
Does a 1031 exchange defer the net investment income tax?
Yes — a 1031 exchange defers the 3.8% NIIT along with the gain. The NIIT applies to recognized net investment income, and an exchange defers the gain rather than recognizing it, so there's no recognized investment income from the sale to trigger the NIIT. Deferring the gain automatically defers the NIIT on it, making the NIIT part of the tax the exchange defers for higher-income investors.
What is the 3.8% net investment income tax?
A surtax under Section 1411, enacted with the Affordable Care Act, of 3.8% on net investment income for individuals (and some trusts/estates) above certain income thresholds. Net investment income includes interest, dividends, capital gains, and rental income, among others. For real estate investors, gains from selling investment property are net investment income subject to the NIIT above the thresholds.
Who owes the NIIT on a property sale?
Taxpayers whose modified adjusted gross income (MAGI) exceeds the threshold — generally $200,000 single, $250,000 married filing jointly — owe 3.8% on the lesser of their net investment income or the excess over the threshold. A property gain is net investment income and can push the seller over the threshold, so an appreciated-property sale often triggers the NIIT for meaningful-income investors.
How much NIIT can a property sale trigger?
3.8% of the gain (or the relevant portion), which can be substantial on a large gain — 3.8% of a $500,000 gain is $19,000, for instance. The exact amount depends on the investor's income and the gain's size relative to the thresholds. For higher-income investors with large gains, the NIIT can be a five-figure tax layer, which a 1031 exchange defers.
What are the NIIT income thresholds?
Generally $200,000 of MAGI for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately. These aren't indexed for inflation, so more taxpayers cross them over time. Above the threshold, the 3.8% applies to the lesser of net investment income or the excess over the threshold. Below it, no NIIT is owed.
Can a property gain push me over the NIIT threshold?
Yes — the gain is included in MAGI, so a large recognized gain can push you over the threshold even if your other income is below it, subjecting the gain (and potentially other investment income) to the NIIT. Deferring the gain through a 1031 avoids this spike, keeping your MAGI lower, which is a secondary NIIT benefit of exchanging beyond deferring the NIIT on the gain itself.
Is the NIIT part of the total tax a 1031 defers?
Yes — it's one of the four layers: federal capital gains (up to 20%), depreciation recapture (up to 25%), the 3.8% NIIT (for higher earners), and state income tax. A 1031 defers all four by deferring the gain. The NIIT is often overlooked but adds a meaningful slice — a five-figure amount on a large gain for a higher-income investor.
Does deferring the gain also help my other investment income?
It can. A large recognized gain spikes your MAGI, potentially subjecting other investment income to the NIIT or pushing you further over the threshold. Deferring the gain through an exchange avoids that spike, keeping your MAGI lower and potentially your other investment income below or less far over the threshold. So the exchange's NIIT benefit can exceed just 3.8% of the gain.
Does the NIIT apply to my rental income too?
Generally yes, for higher-income investors — rental income is net investment income subject to the 3.8% NIIT above the thresholds, unless you qualify as a real estate professional materially participating in the rental. So the replacement property's rental income continues to bear the NIIT for a higher-income investor, even though the exchange deferred the NIIT on the gain. The two are separate considerations.
Can real estate professionals avoid the NIIT on rental income?
Potentially. Material participation in a rental activity by a qualifying real estate professional can take the rental income out of the passive net-investment-income category, potentially exempting it from the NIIT. This valuable status requires meeting specific time and participation tests. For those who qualify, it affects both the NIIT and passive loss treatment of rental income; your CPA assesses whether you qualify.
Is the NIIT a reason to do a 1031 exchange?
It's part of the reason — for a higher-income investor, the NIIT adds a meaningful 3.8% layer to the tax a sale would trigger, and the exchange defers it along with the capital gains, recapture, and state tax. The NIIT alone wouldn't drive the decision, but it adds to the substantial total tax the exchange defers, making the case for exchanging stronger for higher earners than a capital-gains-only view suggests.
Who calculates my NIIT exposure?
Your CPA — the NIIT depends on your overall income, the gain's size, and the thresholds, so it's a calculation specific to your situation. The CPA quantifies the NIIT a sale would trigger (and the exchange would defer), factors in the threshold effects, and addresses the ongoing rental-income NIIT. Have your CPA include the NIIT in the analysis of what your exchange defers, so the full benefit is counted.
Are the NIIT thresholds adjusted for inflation?
No — the $200,000 (single) and $250,000 (married filing jointly) thresholds are not indexed for inflation, so they've stayed fixed since the NIIT took effect in 2013. As incomes rise over time, more taxpayers cross them, meaning the NIIT increasingly affects investors who weren't originally subject to it. This makes deferring the NIIT through an exchange relevant to a growing pool of investors.
Does the NIIT apply to a fully deferred exchange?
No — a fully deferred exchange recognizes no gain, so there's no recognized net investment income from the sale to which the NIIT applies. The NIIT is deferred entirely along with the gain. Only if you take boot (recognizing some gain) would the NIIT apply to that recognized portion. A clean, fully deferred exchange defers the NIIT completely on the property gain.
Is the NIIT separate from the capital gains tax?
Yes — the 3.8% NIIT is a surtax on top of the regular capital gains tax (up to 20%) on the gain, not part of it. So a high-income investor's property gain can face both the capital gains tax and the additional 3.8% NIIT, plus depreciation recapture and state tax. The NIIT is a distinct layer, which is why it's counted separately in the four-layer stack the exchange defers.
Glossary
- Net Investment Income Tax (NIIT)
- A 3.8% surtax on net investment income for taxpayers above MAGI thresholds, under Section 1411.
- Net Investment Income
- Investment income including interest, dividends, capital gains, and rental income, subject to the NIIT.
- Section 1411
- The Code section imposing the net investment income tax.
- Modified Adjusted Gross Income (MAGI)
- The income measure compared to the NIIT thresholds; a property gain is included in it.
- NIIT Thresholds
- The MAGI levels above which the NIIT applies: $200K single, $250K married filing jointly.
- Capital Gain
- Gain on sale of property, a form of net investment income subject to the NIIT.
- Depreciation Recapture
- Tax on prior depreciation; part of the gain that, with the NIIT, the exchange defers.
- Four-Layer Tax Stack
- Capital gains, depreciation recapture, NIIT, and state tax — what a 1031 defers.
- Rental Income
- Income from rentals, generally net investment income subject to the NIIT for higher earners.
- Real Estate Professional
- A status that, with material participation, can exempt rental income from the NIIT.
- Material Participation
- Active involvement that can take rental income out of the passive net-investment-income category.
- Nonrecognition
- The deferral of gain in a 1031, which means no recognized income to trigger the NIIT.
- Threshold Effect
- A gain pushing MAGI over the threshold, subjecting more income to the NIIT — avoided by deferring.
- Surtax
- An additional tax on top of regular income or capital gains tax, as the NIIT is.
- Affordable Care Act
- The legislation that enacted the NIIT, effective 2013.
- Deferral
- Postponing the gain (and the NIIT on it) through a 1031 exchange.
Sources & References
- IRS. Questions and Answers on the Net Investment Income Tax
- Cornell Legal Information Institute. 26 U.S. Code § 1411 — Imposition of tax
- IRS. Topic No. 559, Net Investment Income Tax
- Cornell Legal Information Institute. 26 U.S. Code § 1031
Disclosures
This article is published by Baker 1031 Investments, LLC for general educational purposes for accredited investors and is not an offer to sell or a solicitation of an offer to buy any security, nor is it tax, legal, accounting, or investment advice or a recommendation. Any securities offering is made solely through a sponsor’s private placement memorandum (PPM) following a suitability determination. Securities offered through Aurora Securities, Inc. (ASI), member FINRA / SIPC; Baker 1031 Investments is independent of ASI.
Oil & gas mineral and royalty interests and DST programs are speculative, illiquid securities sold only to verified accredited investors and involve substantial risk, including possible loss of principal, commodity-price and production-decline risk, lack of control, and the risk that an intended 1031 exchange fails to qualify for tax deferral. Whether a particular interest qualifies as like-kind real property is a fact-specific legal determination that varies by state and by the terms of the instrument. Tax results depend on your individual circumstances. Consult your own CPA and attorney before acting. Past performance does not guarantee future results.
