Learn
A little clarity for your next decision.
A little clarity for your next decision.
By Jerry Baker
The net investment income tax, or NIIT, is an extra 3.8% federal tax that can apply to investment income when your income exceeds a set threshold. For real estate owners, it can affect rent and taxable sale gains, while gain properly deferred through a 1031 exchange generally is not counted at that time.
The NIIT calculation has two limits. One is based on investment income. The other is based on your total modified adjusted gross income, often called MAGI. Your filing status sets the threshold used in the second limit. You need both numbers before calculating the tax. [1]
For an individual, take these steps:
This is not a 3.8% tax on every dollar you earn once you cross the threshold. It is also not a tax on the full selling price of a property. Both shortcuts can produce a poor estimate.
I would want to see this calculation as part of the tax review before a sale. A rental owner may have a fairly steady income for years. One sale can change the picture. The issue is the taxable income in that year, not whether the owner thinks of themselves as a high-income investor.
The thresholds below apply to individuals. They are not adjusted for inflation. A threshold is not an extra deduction from net investment income; it is used to measure how far MAGI exceeds the stated amount. [1] [2]
| Filing status | MAGI threshold |
|---|---|
| Single | $200,000 |
| Head of household | $200,000 |
| Married filing jointly | $250,000 |
| Qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
Do not apply this table to every estate or trust. Those taxpayers have separate rules and a much lower income threshold tied to the top trust tax bracket. Their calculation also considers undistributed net investment income. The applicable dollar threshold can change by tax year.
This guide focuses on individual taxpayers. Trusts, foreign income, nonresident status, and changes in residency can require more work. The current Form 8960 instructions explain those cases. The correct taxpayer and filing year need to be settled before using a threshold. [3]
Assume each person has already calculated NII and MAGI correctly. These examples show only NIIT, with no special adjustments. The income figures already include the investment income shown.
| Situation | MAGI | Net investment income | Amount above threshold | NIIT |
|---|---|---|---|---|
| Single investor | $230,000 | $80,000 | $30,000 | $1,140 |
| Married, joint return | $400,000 | $35,000 | $150,000 | $1,330 |
| Single investor | $190,000 | $60,000 | $0 | $0 |
In the first example, the income-over-threshold limit is smaller. Only $30,000 enters the 3.8% calculation. In the second, net investment income is smaller. In the third, MAGI does not exceed the threshold, so there is no NIIT.
Crossing the threshold does not create a sudden tax on all prior income. Each case depends on the two calculated amounts. A model that simply multiplies a capital gain by 3.8% may be useful in a narrow case. It should not be mistaken for the general rule.
Common items include taxable interest, dividends, certain annuity income, rents, royalties, and net gains from selling investment property. Income from a business that is passive to the taxpayer can also count. There are exclusions and special business rules, so the label alone is not the full analysis. [2] [3]
A rental payment is gross income. Net investment income takes account of allowed expenses and other applicable adjustments. The amount deposited in your bank is not necessarily the amount used for NIIT.
Likewise, a property sale requires a gain calculation. Selling price, sale costs, adjusted basis, and other tax rules matter. Mortgage payoff affects cash received, but it is not a general deduction that erases the gain. An owner with little cash left after paying off debt can still have taxable gain.
For a business sale or an interest in a partnership or S corporation, ask for a specific review. The NIIT rules include special adjustments. Do not assume every business-related gain is excluded, or that every dollar of proceeds is investment income.
The phrase “passive income” also needs care. People use it casually to describe money earned without daily work. The tax rules use a narrower definition of passive activities. Interest and dividends are often portfolio income rather than passive-activity income, even though they can be subject to NIIT. [5]
Wages and certain qualified retirement-plan distributions are generally outside net investment income. Social Security benefits and tax-exempt interest are also excluded from NII. That does not mean every one of those receipts is ignored in every part of the calculation. [3]
Taxable wages, taxable retirement distributions, and taxable Social Security benefits can increase adjusted gross income. That may move MAGI above the threshold and expose existing investment income to NIIT. Tax-exempt interest is not simply added to NIIT MAGI as a general rule.
For many domestic taxpayers without special foreign-income adjustments, NIIT MAGI is the same as adjusted gross income. It is not the taxable-income figure after the standard deduction. A CPA should make the required adjustments rather than use a familiar number from another tax calculation.
Return to the single investor with $230,000 MAGI and $80,000 NII. Add $10,000 of wages, with no other change. MAGI becomes $240,000, and NII stays $80,000. NIIT increases from $1,140 to $1,520 because the smaller amount becomes $40,000.
The extra wages were not reclassified as investment income. They changed the threshold calculation. That distinction matters when comparing timing choices involving a bonus, retirement withdrawal, or sale.
Suppose a couple filing jointly has $240,000 MAGI, including $30,000 of net investment income. They owe no NIIT under those facts. Now assume a Roth conversion adds $50,000 of taxable income, with all other facts unchanged.
MAGI rises to $290,000. NII remains $30,000 because the retirement distribution itself is excluded from NII. The excess over the joint threshold is $40,000. The smaller amount is $30,000, producing $1,140 of NIIT.
This is an illustration of how the formula works, not a reason to accept or reject a conversion. Retirement planning involves future tax rates, cash needs, estate goals, and other rules. Include the investment-income effect in the comparison instead of treating the two decisions as unrelated.
The same habit helps with a property sale. Give your adviser a complete picture of the year, including other gains and retirement transactions. A sale estimate built without those items can miss the threshold effect.
Assume a rental produces $120,000 of rent. Allowed cash expenses are $45,000, and allowed depreciation is $30,000. There are no other adjustments or suspended losses, and the rental is subject to the NIIT income rules.
The net rental income used in this simplified example is $45,000. If the owner also pays $10,000 of loan principal, cash remaining is $65,000. Principal repayment uses cash but is not a rental expense deduction. Depreciation reduces the taxable result without using current cash.
The $45,000 of expenses could include deductible interest where appropriate. It does not include that $10,000 principal payment. Keeping those categories separate prevents double counting.
Whether the $45,000 results in NIIT still depends on the owner's MAGI and filing threshold. Net rental income is one input, not the final tax bill. These figures also do not measure total investment return or eventual tax on a sale.
A DST distribution deserves the same care. For an interest treated as ownership of underlying real estate, tax reporting follows the investor's allocated items and basis. The cash distribution alone cannot tell you taxable income. Your own exchange basis and depreciation records may differ from a new cash investor's records. The relevant DST tax ruling describes a specific structure, not every trust. [6]
NIIT permits certain deductions properly tied to investment income. It does not allow every expense an investor chooses to subtract. Current Form 8960 instructions address investment interest, income taxes, rental expenses, allocation methods, and limits. [3]
One change makes older summaries particularly risky. The 2025 law known as the One Big Beautiful Bill Act made the disallowance of miscellaneous itemized deductions permanent for tax years beginning after 2017. General investment fees that fall within that category do not become deductible simply because you are calculating NIIT.
Expenses related to property held for rents or royalties may fall under different rules. The instructions distinguish allowed above-the-line rental or royalty expenses from disallowed miscellaneous investment expenses. Read the category and the limit together. “Investment expense” on an invoice does not answer the tax question.
Also avoid deducting an expense twice. If it already reduced rental income on Schedule E, it cannot be subtracted again merely because Form 8960 has an expense section.
Loss limits matter as well. Basis and at-risk rules can restrict deductions, followed by passive-activity rules where applicable. A loss shown on a statement may be carried forward instead of reducing this year's income. Portfolio income generally is not passive-activity income that can absorb a passive loss. [5]
Give your adviser prior returns, carryforward schedules, and current tax records. A marketing estimate of depreciation is not proof of a current deductible loss. The useful question is how much of the deduction this taxpayer can use in this year.
A real estate license, a job title, or ownership of several rentals does not by itself remove rental income from NIIT. The instructions separate real estate professional status, material participation, and whether the rental is a trade or business. Those tests need to be applied to the taxpayer's facts. [3] [5]
A qualifying real estate professional may have nonpassive rental income. For the ordinary-course business exclusion, the activity must also meet the trade-or-business requirement. The instructions provide a safe harbor for certain qualifying professionals based on participation hours. Failing that safe harbor does not, by itself, prove that no business exists.
Do not count a sponsor's staff hours as the investor's own work. A professionally managed investment can require very little investor activity. That is often part of its appeal, but the sponsor's work does not automatically establish your material participation.
For a taxpayer who works extensively in real estate, ask the CPA to explain the activity grouping, records, and exclusions being used. For a passive investor, do not promise an exclusion based on someone else's experience. Similar properties can produce different tax results for different owners.
The regulations include a Section 1031 example. Gain that is not recognized in a qualifying exchange is not included in net investment income from that exchange at that time. The example also shows a later taxable sale, when the gain may enter NII. Deferral and permanent exemption are different results. [4]
A qualifying exchange does not remove current rental income from the annual NIIT calculation. It also does not automatically exclude cash or other gain that is recognized in a partly taxable exchange. Determine the recognized amount and its tax character first.
Consider a joint filer whose baseline MAGI is $240,000, including $20,000 NII. Assume a property sale would add $400,000 of gain, all subject to the NII rules. No other income or deduction changes. This is a simplified NIIT comparison, not a full exchange or income-tax calculation.
| Hypothetical result | MAGI | NII | Excess over $250,000 | NIIT |
|---|---|---|---|---|
| All $400,000 gain recognized | $640,000 | $420,000 | $390,000 | $14,820 |
| All $400,000 gain properly deferred | $240,000 | $20,000 | $0 | $0 |
| $100,000 gain recognized; rest deferred | $340,000 | $120,000 | $90,000 | $3,420 |
The tax in the first row is not $400,000 times 3.8%. The baseline income and threshold affect the result. The partial-exchange row assumes that $100,000 is the correctly determined recognized gain; it does not tell you how to calculate cash boot, debt relief, or recapture.
Real transactions need those calculations, plus regular federal income tax and state tax review. A proposed replacement should also make investment sense. Deferring a tax does not compensate for an unsuitable property, excessive fees, or a risk you cannot accept.
NIIT is different from the additional 0.9% Medicare tax on certain wages and self-employment income. A taxpayer can owe both taxes, but they apply to different types of income. Calling NIIT a Medicare surtax should not cause the two calculations to be combined. [2]
A home sale also needs its own review. Gain excluded under Section 121 is excluded from NII. Taxable gain above the allowed exclusion may be included. That does not mean every home sale creates NIIT, and it does not make a personal home eligible for a 1031 exchange.
Grantor trusts generally pass the relevant tax items to the owner for this purpose. Other trusts may face their own NIIT calculation. Do not use a trust's title or a beneficiary's filing status to guess which threshold applies. Ask who reports the income and whether it was distributed. [3]
Start with the inputs before comparing the bottom lines. Ask whether MAGI already includes the proposed sale gain. If it does, adding that gain a second time will overstate the tax. If it does not, leaving the gain out may understate it. The same issue can arise with rental income.
Then look for a separate NII figure. A worksheet may use the words net income for cash flow after debt payments. Another may mean income after tax deductions. Neither label proves that the NIIT rules were followed. Ask what is included and which deductions were allowed.
Consider two investors, both filing single, each with $60,000 of NII. One has MAGI of $210,000. The other has MAGI of $300,000. The first owes $380 of NIIT; the second owes $2,280. Their investment income is the same. Their other income changes the result.
Now suppose both had expected $60,000 of rental cash, but part of that cash was offset by allowed depreciation for tax purposes. We would need to rebuild the NII input. The earlier example cannot be reused by changing only the label from cash to income.
Ask what happens if an assumption changes. A sale might close in a different year. A planned deduction might be limited. A loss might remain suspended. A spouse might receive an unexpected bonus. These are reasons to update the estimate, not signs that the formula itself is broken.
Finally, separate a tax estimate from an investment forecast. Lower current taxable income does not prove that the investment earned less or more. A distribution can include cash with different tax treatment. Debt payments, capital spending, and reserves also affect the cash you receive. Keep a tax schedule next to the cash-flow schedule so you can understand both.
I would keep the dated assumptions with the comparison. It should be clear which amounts came from tax records, which came from the proposed transaction, and which were estimates. That makes the next review faster and reduces the chance that an old figure becomes a fact by repetition.
Form 8960 is used to report NIIT. The tax is also subject to estimated-tax rules, so waiting until return preparation can leave a payment issue to address. Ask your CPA about the applicable payment requirements rather than assuming the closing agent handles the entire tax bill. [2]
A useful file includes these items:
I would ask for a written comparison showing the taxable-sale result and the proposed exchange result. Separate regular income tax, NIIT, and state tax. That makes it easier to see what changes, what remains deferred, and which inputs still need confirmation.
No. The calculation concerns net investment income and MAGI above the applicable threshold. A sale generally requires a gain calculation that accounts for basis and other tax rules. Neither the full price nor cash left after the mortgage is the automatic NIIT base.
No. Individuals use the smaller of net investment income or MAGI above the threshold. If either amount is zero or less, NIIT is zero. The threshold does not turn wages into investment income, even when wages affect the result.
Gain properly unrecognized under Section 1031 generally is not included in NII at that time. Recognized gain may still count, and current rental income remains a separate issue. A later taxable sale can bring deferred gain into the calculation.
Certain qualified retirement-plan distributions are excluded from NII. Taxable distributions can still raise MAGI and expose other investment income to the tax. Review both sides of the formula instead of assuming an excluded receipt cannot affect the result.
Allowed depreciation can reduce rental income that enters the calculation. Your basis and deduction limits matter. A deduction that is suspended or unavailable does not automatically lower current NIIT, and depreciation can affect gain on a later sale.
No. Status alone is not enough. The relevant rental income must satisfy the nonpassive and trade-or-business rules for the exclusion. A license, a sponsor's work, or a general description of your career does not settle those tests.
No. The individual thresholds are not indexed for inflation. Separate rules apply to estates and trusts, whose relevant tax bracket threshold can change annually. Use the correct taxpayer type and current filing-year instructions.
Educational information, not an offer or a personal tax, legal, or investment recommendation. Examples are hypothetical and omit stated adjustments. Tax treatment depends on your facts and current law. Review your transaction with your CPA, attorney, and qualified intermediary. Real estate investments can lose value and may be illiquid.