Skip to content

Seller Tax Guide

Net Investment Income Tax (NIIT) When You Sell Rental Property

The net investment income tax (NIIT) is a 3.8% federal tax under Internal Revenue Code section 1411 on rents, capital gains and other investment income once your modified adjusted gross income passes $200,000 single or $250,000 married filing jointly. This guide is for owners of rental and apartment property who want to know how much NIIT a sale will trigger, who is exempt and what actually lowers it.

  • Clear feedback on your deal, typically within 48 hours
  • 5 to 100+ units, stabilized or distressed, listed or off-market
  • Owners, agents, and brokers welcome; every conversation is confidential

We buy:Tired landlordsEstate & trust sales1031 exchangesDeferred maintenanceHigh vacancyPartnership splits

In This Guide: 3.8% on top of capital gains tax · $200k / $250k / $125k thresholds · Not indexed for inflation · Real estate pro safe harbor: 500 hours · Reported on Form 8960

By Skyline Capital Investments · · 6 min read

What is the net investment income tax?

The net investment income tax is a 3.8% surtax on investment income for individuals, estates and trusts above set income levels. It took effect in 2013 and is charged in addition to regular income tax, so a landlord in the top bracket can pay 20% on long-term gain, up to 25% on unrecaptured section 1250 gain and another 3.8% on both.

Most rental owners run into it in two places: the net rent the property earns each year and the gain in the year it sells. The sale is where it bites, because one large gain can push income far past the threshold in a single year.

NIIT thresholds by filing status

NIIT starts at $200,000 of modified adjusted gross income for single and head of household filers, $250,000 for married couples filing jointly and qualifying surviving spouses, and $125,000 for married filing separately. The IRS says plainly that these amounts are not indexed for inflation, so they are the same in 2026 as they were when the tax started in 2013.

Filing statusNIIT threshold (MAGI)
Married filing jointly$250,000
Qualifying surviving spouse$250,000
Single$200,000
Head of household$200,000
Married filing separately$125,000
Estates and trusts (2026)$16,000 of adjusted gross income

How NIIT is calculated: the lesser-of rule

NIIT equals 3.8% of the smaller of two numbers: your net investment income, or the amount your modified adjusted gross income exceeds your threshold. Because of that lesser-of test, someone with moderate wages and a large gain can pay NIIT on less than the full gain.

Modified adjusted gross income here means your adjusted gross income plus any foreign earned income you excluded under section 911. For most U.S. landlords MAGI is simply AGI, and the gain from the sale is already included in it.

What counts as net investment income for a landlord?

Net rental income and the gain from selling a rental are both net investment income unless they come from a nonpassive trade or business. The tax is computed on the net amount, after deductions properly allocable to that income.

  • Net rents after operating expenses, interest and depreciation
  • Gain on the sale of a rental building or land, including the part taxed as unrecaptured section 1250 gain
  • Interest you receive on a seller-carry note
  • Passive K-1 income and gain from a syndication or partnership
  • Gain on selling a partnership or LLC interest, to the extent you were passive
  • Allocable deductions reduce it, including a reasonable share of state income tax

What is not subject to NIIT?

Wages, self-employment income and income from a business you materially participate in are outside NIIT, along with tax-exempt interest, Social Security, alimony and distributions from qualified retirement plans. Gain on a home sale is also excluded to the extent section 121 excludes it from income.

Gain on property held in a nonpassive trade or business is excluded under Treas. Reg. 1.1411-4(d)(4). For most rental owners, that exception depends on real estate professional status, which is the next section.

The real estate professional exception and the 500-hour safe harbor

A qualifying real estate professional can keep rental income and sale gain out of NIIT, and Treas. Reg. 1.1411-4(g)(7) gives a safe harbor to make that easier. If you are a real estate professional under section 469(c)(7)(B) and you participate in a rental real estate activity for more than 500 hours during the year, or did so in any five of the ten preceding years, the rent is treated as earned in a trade or business and gain on selling that property is treated as trade or business gain.

Hours are counted the same way they are for material participation under section 469. If you elected to treat all of your rental real estate as a single activity, that grouping applies here too, which matters if you own several buildings. Our real estate professional status guide covers the 750-hour test and the election itself.

Missing the safe harbor isn’t automatically fatal. The regulation says you can still show the income isn’t net investment income under other parts of section 1411, though without the safe harbor you would need to show on the facts that the rental is a trade or business.

NIIT for trusts and estates in 2026

A non-grantor trust or estate owes NIIT on the smaller of its undistributed net investment income or the amount its adjusted gross income exceeds the dollar level where the top 37% bracket begins. Under Rev. Proc. 2025-32 that level is $16,000 for 2026, which is why trusts holding rental property hit NIIT so quickly.

Suppose a trust that owns an apartment building keeps $300,000 of net rent and gain and has $300,000 of AGI. NIIT is 3.8% of $284,000 ($300,000 minus $16,000), or $10,792. Income the trust distributes is taxed to the beneficiaries instead, and each one tests it against their own threshold. Grantor trusts and charitable trusts are not subject to NIIT at the trust level.

Worked example: NIIT on a $2 million gain

A married couple filing jointly earns $180,000 in wages and $60,000 of net rent, so their MAGI is $240,000, just under the $250,000 threshold. They sell a rental building for a $2,000,000 gain. Their MAGI becomes $2,240,000 and their net investment income $2,060,000.

Their MAGI is over the threshold by $1,990,000. The smaller of $2,060,000 and $1,990,000 is $1,990,000, so NIIT is $1,990,000 × 3.8% = $75,620. That comes on top of capital gains tax and the 25% maximum rate on unrecaptured section 1250 gain. Had one spouse qualified for the real estate professional safe harbor on that building, the rent and the gain would both drop out of NII and the NIIT would be $0.

LineAmount
Wages$180,000
Net rent$60,000
Gain on sale$2,000,000
MAGI$2,240,000
MAGI over $250,000$1,990,000
Net investment income$2,060,000
Smaller of the two$1,990,000
NIIT at 3.8%$75,620

How an installment sale or 1031 exchange changes NIIT

An installment sale spreads NIIT over the years you collect, but for a high-income seller it rarely saves much. In the example above, spreading the $2,000,000 gain evenly over five years puts MAGI at $640,000 a year. The smaller of $460,000 of NII and the $390,000 excess is $390,000, so NIIT is $14,820 a year, or $74,100 in total. That is only $1,520 less than a cash sale.

The installment method changes timing, not character. Treas. Reg. 1.1411-4 says the trade or business question is decided in the year of sale and applies to every later payment, and the interest on the note is net investment income when you receive it. Spreading works best when it keeps a year’s income under the threshold altogether, which is easier for a retiree than for someone with high wages.

A 1031 exchange postpones NIIT along with income tax. The regulations’ own example says gain not recognized under section 1031 is not net investment income, while gain recognized later, when the replacement property is sold, is. Any boot you receive is taxed in the year of the exchange. Holding until death wipes out the deferred gain through a stepped-up basis.

Form 8960 and estimated tax

NIIT is computed on Form 8960, filed with Form 1040 for individuals or Form 1041 for estates and trusts. It is subject to the estimated tax rules, so a large sale early in the year can create an underpayment penalty if you wait until April to pay.

Your CPA will carry the gain from Form 4797 and Schedule D to Form 8960, subtract allocable deductions and apply the lesser-of test. Have them run the numbers before you sign a contract, not after closing, because that is when installment terms or a 1031 exchange can still be built into the deal.

How this works for a 5+ unit apartment building

For most owners of a 5+ unit apartment building, both the operating income and the eventual sale are net investment income unless the owner or a spouse qualifies as a real estate professional and meets the 500-hour safe harbor. Owning through an LLC taxed as a partnership doesn’t change that; the character passes through on the K-1.

Limited partners in a syndication are almost always passive, so their share of rent and sale gain is NII. If you own a large building with partners, a sale of your interest is tested under section 1411(c)(4) as if the partnership sold its assets, to the extent you were passive. A section 1231 gain on the building is still investment income for NIIT unless one of the exceptions applies.

Selling your apartment building to Skyline

Skyline Capital Investments buys apartment buildings with five or more units nationwide. We can offer seller-carry terms when spreading the gain helps your numbers, and we work with 1031 exchange timelines when you plan to defer.

Send the address and unit count through the form on this page or call (469) 660-2977. We typically respond within 48 hours, and your CPA can compare the NIIT on a cash sale with an installment or exchange structure before you decide.

Common Questions

What is the net investment income tax rate?

The net investment income tax rate is 3.8%. It applies to the smaller of your net investment income or the amount your modified adjusted gross income exceeds $200,000 single, $250,000 married filing jointly or $125,000 married filing separately. It is charged in addition to ordinary income tax and capital gains tax, not instead of them.

Does NIIT apply to rental income?

Yes, net rental income is net investment income for most landlords, because rental activity is passive by default. The main exception is a real estate professional who materially participates; meeting the 500-hour safe harbor in Treas. Reg. 1.1411-4(g)(7) treats the rent as trade or business income. NIIT is figured on net rent after expenses and depreciation.

Are the NIIT thresholds indexed for inflation?

No. The IRS confirms the NIIT thresholds are not indexed for inflation, so in 2026 they are still $200,000 single, $250,000 married filing jointly and $125,000 married filing separately. Because tax brackets and capital gains breakpoints do rise each year, more sellers cross the NIIT line over time even if their real income hasn’t changed.

Does NIIT apply to depreciation recapture?

Yes, for a passive owner the whole gain on a rental sale is net investment income, including the part taxed as unrecaptured section 1250 gain and any section 1245 recapture on cost segregation assets. The 3.8% is added to whichever rate applies to each slice, so recapture taxed at 25% effectively costs 28.8% at the top.

How do real estate professionals avoid NIIT?

A real estate professional under section 469(c)(7) avoids NIIT on a rental by participating in it for more than 500 hours that year, or in five of the prior ten years. That safe harbor treats both rent and gain on sale as trade or business income. You still need to qualify as a real estate professional first, which requires 750 hours and more than half your working time.

Does a 1031 exchange avoid the net investment income tax?

A 1031 exchange defers NIIT on the gain it defers, because gain not recognized under section 1031 is not net investment income. The tax comes back when you later sell the replacement property in a taxable sale. Cash or other boot you receive in the exchange is recognized gain and is subject to NIIT in that year.

What is the NIIT threshold for trusts in 2026?

For 2026, a non-grantor trust or estate pays NIIT once its adjusted gross income passes $16,000, the level where its top 37% bracket begins under Rev. Proc. 2025-32. The tax is 3.8% of the smaller of undistributed net investment income or that excess. Distributing income shifts it to beneficiaries, who use their own thresholds.

Which form do I use to report NIIT?

Individuals, estates and trusts compute the net investment income tax on IRS Form 8960. Individuals attach it to Form 1040, and estates and trusts attach it to Form 1041. NIIT counts for estimated tax purposes, so after a large property sale you may need an estimated payment that quarter to avoid an underpayment penalty.

Two Ways To Work With Us

Bring Us A Deal, Or Invest In One

For Agents, Brokers & Owners

Have A Multifamily Property?

We buy apartment buildings and income-producing residential assets nationwide — listed or off-market, stabilized or value-add.

  1. 1
    Send the basicsAddress, units and asking price.
  2. 2
    We review itAgainst our buy box, confidentially.
  3. 3
    Clear answer in 48 hoursA yes, a no, or the questions we need answered.
See our buy box
Takes 60 seconds
For Investors

Looking To Invest In Multifamily?

Join our investor network to learn how we structure partnerships and to be notified when new opportunities are available to qualified investors.

  • Disciplined, conservative underwriting
  • Professionally managed, passive ownership
  • Clear reporting and direct access to the team
  • Education first — no pressure, no hype
Call Text Submit Deal Invest