Net Investment Income Tax Exposure in Real Estate Dispositions
Planning ahead can shield real estate sellers from a surprise 3.8% surtax on top of capital gains.

The Net Investment Income Tax is a flat 3.8% surtax layered on top of whatever capital gains and depreciation recapture a real estate sale already generates. Most sellers find out about it after closing, when the accountant runs the actual numbers and the check due to the IRS is bigger than the back-of-envelope math promised. That gap is avoidable. For a seller sitting on a substantial gain, planning around NIIT instead of discovering it after the fact can materially swing the outcome, and the tools that create that swing, a 1031 exchange chief among them, are well understood and available to anyone willing to use them correctly.
Congress wrote the NIIT into IRC §1411, and it lands on Form 8960 once a taxpayer's modified adjusted gross income clears a set threshold. Those thresholds aren't the same for everyone, and they haven't moved in over a decade. A single filer trips the wire at $200,000 of MAGI. Married couples filing jointly get to $250,000. File separately while married, and the bar drops to $125,000. Estates and trusts face a far lower ceiling, just $16,000 of AGI, which catches a lot of investors who hold property in trust without realizing the exposure sits dramatically closer than it would if they held the same asset personally.
The individual thresholds are fixed in the statute at 2013 levels and were never indexed for inflation. The estates and trusts threshold, by contrast, is adjusted annually, giving trusts a modest annual reprieve. So trusts get a modest annual reprieve, while individual filers get pulled deeper into NIIT territory every year that wages and asset values rise and the $200,000/$250,000 lines stay put. No legislature voted to expand this tax's reach. Inflation did it on autopilot, and nothing in the current legislative posture suggests that changes soon.
Capital gains, depreciation recapture, and NIIT combining at the point of sale
Real estate dispositions rarely trigger just one tax. They trigger three, stacked, and the NIIT sits on top of whichever gain survives after the other two take their bite. Treating a sale as a single "capital gains event" is the most common, and most expensive, miscalculation sellers make.
Start with the capital gains layer. For 2026, long-term gains, meaning property held more than a year, are taxed at 0% up to $49,450 for single filers or $98,900 for joint filers, 15% through $545,500 single / $613,700 joint, and 20% above that. Short-term gains, where the property changed hands within a year, get no preferential rate. They're taxed as ordinary income, up to 37% at the federal level, which alone should discourage quick flips for anyone near the top bracket.
Then there's Section 1250 unrecaptured depreciation, capped at 25%, applied to the portion of gain attributable to depreciation the owner already claimed. It runs on its own separate calculation from the capital gains rate, and sellers who forget it exists tend to be the same sellers surprised by a bill that doesn't match what "sale price minus basis" suggested on a napkin.
Putting the three together at the top bracket makes the stacking get expensive fast. Long-term capital gains at 20%, plus the 3.8% NIIT, comes to 23.8% combined. Short-term gains at 37%, plus NIIT, hits 40.8%. Depreciation recapture runs concurrently at its own 25% cap, a third layer that doesn't net against the other two so much as sit alongside them. A seller in the top bracket disposing of a fully depreciated commercial building isn't looking at one tax rate. He's looking at three, applied to different slices of the same gain.
1031 Exchange NIIT Deferral Alongside Capital Gains and Recapture
A like-kind exchange under Section 1031 defers all four exposures at once: capital gains, depreciation recapture, applicable state tax, and the NIIT. That last piece is the one plenty of otherwise sophisticated investors miss, because the exchange gets marketed almost entirely as a capital gains tool, as though the NIIT were a separate problem needing a separate fix. It isn't, because the exchange gets marketed almost entirely as a capital gains tool, as though the NIIT were a separate problem needing a separate fix. When gain recognition is deferred under §1031, there's no income to plug into the Form 8960 calculation in the first place, so the 3.8% surtax defers right alongside everything else.
Deferral is not elimination, and that distinction should shape how an investor plans the rest of the holding period. The tax liability doesn't vanish. It transfers into the replacement property's adjusted basis, now lower than it would have been on a cash purchase, and it comes due whenever that replacement property is eventually sold in a taxable transaction.
One scenario turns deferral into something closer to permanent avoidance: holding the replacement property until death. Heirs receive the property at a stepped-up basis, and the gain carried forward through one exchange or several never gets taxed, NIIT included. That's the intersection of two well-established doctrines, §1031 deferral and stepped-up basis at death, each doing what it was designed to do. Neither is a loophole.
As of 2026, Section 1031 came through the One Big Beautiful Bill Act intact. No dollar cap got added, the deferral amount remains uncapped, and the exchange sits on its steadiest regulatory footing since an earlier reform narrowed its scope to real property only.
The mechanics and deadlines that determine whether the deferral holds
None of the deferral above matters if the exchange gets executed incorrectly. The clock runs 180 days, with three fixed points: the closing of the relinquished property (Day 1), the identification deadline (Day 45), and the exchange completion deadline (Day 180). Both deadlines are absolute. There's no extension for a holiday landing on Day 45, and no grace period for a personal emergency that delays paperwork right before Day 180.
The 45-day window requires the investor to deliver written identification of potential replacement properties to the Qualified Intermediary within 45 calendar days of closing. Under the standard rule, an investor can identify up to three properties regardless of combined value. The alternative, the 200% rule, allows identification of more than three, provided their combined value doesn't exceed 200% of what the relinquished property sold for.
The trap most investors miss sits in the "earlier of" language governing the 180-day deadline. The replacement property must close by the earlier of 180 days after the relinquished property's sale, or the due date of the taxpayer's federal return for that tax year. A sale closing in mid-October runs into this directly: the full 180-day window would extend past the standard April 15 filing deadline. Without a filed extension, the exchange has to close on April 15, not on whatever date the 180-day count would otherwise produce. Filing an extension unlocks the full window, and it's a simple form. Skipping it has ended exchanges that were executed correctly in every other respect.
NIIT Leaks in 1031 Deferral: Boot, Partial Exchanges, and State Traps
Even a properly structured exchange can leave a slice of gain exposed. The mechanism practitioners call boot covers three things: cash retained, any reduction in net debt, or any non-like-kind property received in the exchange. All three get recognized as gain immediately, and that recognized gain is squarely inside NIIT for anyone above the MAGI threshold.
Boot comes in two forms, and the second one trips up more investors than the first. Cash boot is proceeds the investor doesn't reinvest, either by choice or because the replacement purchase came in under budget and left funds sitting with the intermediary. Mortgage boot is subtler: if the replacement property carries less debt than the relinquished one did, the difference in debt reduction counts as boot received, even though no cash changed hands directly.
Partial exchanges compound the problem. An investor who deliberately reinvests only part of the proceeds, pulling cash out at closing, triggers proportional recognition of gain on the unreinvested portion, and the 3.8% NIIT applies to that recognized slice for any high-MAGI taxpayer. It's a legitimate strategy for someone who wants liquidity, but it needs to be modeled with the NIIT built in from the start, not bolted on as an afterthought to a capital-gains-only spreadsheet.
State law adds a further wrinkle that catches out-of-state investors especially. Some states impose their own rules on deferred gain that can create additional tax exposure when investors later sell or relocate. The interaction between state-level gain tracking and NIIT is worth reviewing with a tax advisor before completing an exchange that crosses state lines.
Other strategies that can reduce NIIT exposure on a real estate disposition
The exchange isn't the only lever, and for some investors it isn't even the best one. Real estate professional status under IRC §469(c)(7) offers the cleanest exit of the group: taxpayers who qualify can exclude rental income and disposition gains from NIIT calculations. The material participation requirements are demanding (generally more than half of the taxpayer's working hours, plus a substantial number of hours spent in real property trades or businesses), but for full-time investors already operating at that level, the status converts income that would otherwise sit inside NIIT's reach into income the tax never touches.
Because the NIIT threshold works as a binary switch rather than a phase-in, managing MAGI down below $200,000 or $250,000 turns the tax off completely for that year. The available levers are familiar: maximizing retirement plan contributions, accelerating deductible expenses into the sale year, and timing other income so it doesn't land in the same tax year as the disposition.
Bonus depreciation deserves specific attention, since the One Big Beautiful Bill Act permanently restored 100% bonus depreciation for qualifying property acquired and placed in service after January 19, 2025. Paired with a cost segregation study, that restoration lets an investor front-load depreciation deductions that reduce MAGI in the acquisition year, potentially pushing total income below the NIIT threshold on other, unrelated income. Take a $5 million commercial property where a cost segregation study identifies $1.2 million in additional first-year deductions under the restored bonus depreciation rule. For a top-bracket investor, that could cut federal tax liability by roughly $490,000 in year one, and depending on the rest of that investor's income picture, it could also drop MAGI back under the NIIT threshold.
Choosing a Qualified Intermediary when NIIT exposure makes execution risk expensive
Every dollar of deferred NIIT, capital gains, and recapture rides on the exchange getting executed correctly, and the party holding those funds during the 180-day window is the Qualified Intermediary. QIs are not federally regulated. No federal licensing requirement exists, no mandated education, no oversight body vetting who's allowed to hold exchange funds. Legally, almost anyone can set up shop as one. Some states have layered on their own rules, but coverage is uneven across the country, so due diligence falls entirely on the investor. Picking the wrong one causes the deferral this entire piece describes to evaporate in a single mishandled wire.
The cost of getting this wrong isn't theoretical. The FTC reported it was aware of 23 instances where investors lost an estimated $250 million combined to fraud and negligence committed by QIs. When an exchange fails, whether from fraud, insolvency, or simple mishandling of deadlines, the full deferred tax bill comes due immediately: capital gains, depreciation recapture, and the NIIT, all at once, with no do-over.
Exchange proceeds should sit in segregated, FDIC-insured accounts, never commingled with the QI's own operating capital, and any investor should ask directly about insurance coverage limits before signing an agreement. Experience and credentialing matter even though none of it is legally required: affiliation with the Federation of Exchange Accommodators and the Certified Exchange Specialist® designation both signal a QI that chose to be held to a professional standard, rather than to the statutory minimum, which in this space is close to none.
The IRS also disqualifies certain parties. A QI can't be the investor's existing real estate agent, accountant, or attorney, nor anyone with whom the investor has had a formal professional relationship within the two years prior to the exchange. Speed of engagement matters more than most investors expect going in, since the QI has to be in place before the relinquished property closes. A QI able to open the exchange same-day, or right at the closing table, removes one of the more common ways these deals stumble before they've even started. Ask, too, whether one dedicated officer handles the file from open to close, or the file gets passed between staff at exactly the moments, Day 45, Day 180, when a handoff is least affordable.
Then there's the question that rarely gets asked directly: what happens to interest earned on funds held for up to 180 days. Traditional QIs charge fees for their services and typically keep any interest earned on held funds for themselves, an arrangement standard in the industry but not universal. Some intermediaries structure their arrangements differently, sharing interest with the client instead, which changes who actually benefits from a longer hold period. Investors comparing QIs should ask directly how each one structures fees and handles interest on held funds before signing any agreement. Given how much rides on the exchange holding up, that fee and interest structure deserves as much scrutiny as the QI's credentials, arguably more, since it's the one detail most investors never think to ask about until the exchange is already open.


