This article reflects federal rules as of June 2026 and covers tax year 2025 (the return you file in 2026), with 2026 figures noted where they differ. The 3.8% Net Investment Income Tax is a federal tax; states do not levy it, though your state may tax the same gain under its own income tax. Tax law changes — confirm current figures before you file. This article is educational and is not a substitute for advice from a licensed CPA, tax attorney, or estate attorney for your specific situation.
Quick Answer
Yes — sometimes. Selling inherited property can trigger the 3.8% Net Investment Income Tax, but only if you have a taxable gain and your modified adjusted gross income (MAGI) tops the threshold — $200,000 single, $250,000 married filing jointly, $125,000 married filing separately for 2025. Step-up in basis often shrinks or erases the gain.
Two Numbers Decide Almost Everything
The first paragraph of your worry comes down to two figures: your gain and your income. If either one is low enough, the 3.8% Net Investment Income Tax — often called NIIT or the “Medicare surtax” — never touches your inherited-property sale. The gain is what you sell for minus your stepped-up basis, and because inherited assets reset to fair market value at the date of death, that gain is frequently small. The income test then asks whether your MAGI crosses a fixed dollar line. Both must be met before you owe a cent of NIIT.
Here is why this matters right now. The NIIT thresholds have never been adjusted for inflation since the tax took effect in 2013, so as incomes drift higher each year, more sellers get pulled in — a point tax planners flag for 2025. A single large home or land sale can push an otherwise-modest earner over the line for one year. The good news is that the same step-up rule that protects most heirs survived the 2025 tax law fully intact.
Here is what you will learn:
- 🏠 How the step-up in basis usually slashes — or wipes out — the gain that NIIT would tax.
- 🧮 The exact income thresholds and the “lesser of” math, with dollar-by-dollar worked examples.
- 📋 How to report the sale on Form 8949, Schedule D, and Form 8960, line by line.
- ⚖️ Why estates and trusts hit the NIIT at barely $15,650, not $200,000.
- 🚫 The seven costly mistakes that make heirs overpay the 3.8% surtax.
Deconstructing the 3.8% NIIT
The NIIT is a flat 3.8% federal tax created by Internal Revenue Code Section 1411 to help fund Medicare. It applies on top of regular capital-gains tax, not instead of it. You compute it on Form 8960 and carry the result to your Form 1040.
The tax does not hit your whole income. It hits the lesser of two amounts: your net investment income, or the amount your MAGI exceeds the threshold. That “lesser of” rule is the single most important mechanic in the whole topic, and missing it causes people to overestimate what they owe.
What counts as “net investment income”
Net investment income (NII) includes interest, dividends, rental and royalty income, annuities, and — central to this article — capital gains from selling property held for investment. The gain on inherited real estate, stocks, or land you did not use as a business almost always counts as NII. The consequence of this is direct: if your inherited-property sale produces a $40,000 gain, that $40,000 is potential NII. A common misconception is that all income is NII; wages, self-employment income, Social Security, and IRA or 401(k) distributions are not investment income. What you should do is separate your investment gain from your ordinary income before you ever apply the 3.8% rate.
MAGI and the fixed thresholds
Modified adjusted gross income is your adjusted gross income with certain foreign-earned-income add-backs; for most U.S. sellers, MAGI equals AGI. The thresholds for individuals are $200,000 single, $250,000 married filing jointly, and $125,000 married filing separately, confirmed for 2025 by tax advisers tracking NIIT and unchanged for 2026. The consequence of these being frozen is that a one-time inheritance sale can spike your MAGI past the line in a single year even if you normally sit below it. A frequent misconception is that the threshold is indexed like tax brackets — it is not. Your next step is to estimate your full-year MAGI including the gain before you sell, so a December closing does not surprise you.
Why step-up in basis is your best friend
Step-up in basis resets the cost basis of an inherited asset to its fair market value on the decedent’s date of death. The plain meaning: decades of the deceased owner’s appreciation simply vanish for tax purposes. The consequence is enormous — a home bought in 1985 for $60,000 and worth $500,000 at death gives the heir a $500,000 basis, so a quick sale at $510,000 yields only a $10,000 gain, not $450,000. A common misconception is that you inherit the original owner’s low basis; you do not, except in rare cases like certain trusts. What you should do is document the date-of-death value with a written appraisal, because that figure is your shield against both capital-gains tax and NIIT, and it remains fully intact under the 2025 OBBBA law.
Which Situation Applies to You?
The answer to “do I owe NIIT?” depends on who is selling and what the property is. Use this branch to jump to your case.
- You are an individual heir who already received the property and then sold it. Your gain is sale price minus stepped-up basis, and you apply the $200,000 / $250,000 / $125,000 MAGI test. This is the most common case.
- You are an executor or trustee selling property still inside the estate or trust. A very different threshold applies — about $15,650 for 2025 — covered in the estates-and-trusts section below.
- The property was your decedent’s home and you moved in. You may qualify for the Section 121 home-sale exclusion in addition to step-up, which can erase the gain entirely.
- You inherited a rental property. Depreciation recapture and passive-loss rules come into play, and these interact with NIIT in ways covered in the rental section.
Worked Example: The Core Math
Meet Dana, a single filer in Ohio. Her father dies in March 2025, and his house is appraised at $400,000 on the date of death. Dana sells it in August 2025 for $430,000 and pays $25,000 in real-estate commissions and closing costs. Her salary that year is $190,000.
Here is the step-by-step math:
- Step 1 — Gain: $430,000 sale price − $25,000 selling costs − $400,000 stepped-up basis = $5,000 gain. That $5,000 is her net investment income from the sale.
- Step 2 — MAGI: $190,000 salary + $5,000 gain = $195,000 MAGI.
- Step 3 — Threshold test: $195,000 MAGI − $200,000 single threshold = $0 over (a negative number means zero).
- Step 4 — NIIT: The tax is 3.8% of the lesser of her NII ($5,000) or her MAGI over the threshold ($0). The lesser is $0.
- Result: Dana owes $0 NIIT. Step-up basis plus a modest income kept her under the line.
Now change one fact. Suppose Dana’s salary is $240,000 and the house had appreciated more, selling for $480,000 (a $55,000 gain after costs). Her MAGI is $295,000. The excess over $200,000 is $95,000; her NII is $55,000. The lesser is $55,000, so her NIIT is 3.8% × $55,000 = $2,090, on top of her regular capital-gains tax.
Three Common Selling Scenarios
The table below shows the three patterns most heirs fall into. Each is a two-column view of the sale and its NIIT result.
| Selling situation | NIIT outcome |
|---|---|
| Heir sells soon after death; sale price near the date-of-death appraisal | Gain is tiny, so even a high earner pays little or no NIIT because NII is small |
| Heir holds the property for years, then sells after major appreciation | Post-death gain becomes NII; if MAGI tops the threshold, the 3.8% applies to the appreciation |
| Estate or trust sells the property before distributing to heirs | The low ~$15,650 threshold applies, so NIIT can hit even modest undistributed gains |
| Filing status (2025) | NIIT MAGI threshold |
|---|---|
| Single or head of household | $200,000 |
| Married filing jointly / qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
| Property type | Key NIIT wrinkle |
|---|---|
| Inherited primary home you move into | Section 121 exclusion (up to $250K single / $500K joint) can erase gain before NIIT applies |
| Inherited raw land or vacation home | Full post-death gain is investment income subject to NIIT if MAGI is over threshold |
| Inherited rental property | Depreciation taken after inheritance is recaptured; passive gains feed NIIT |
Estates and Trusts Face a Tiny Threshold
If the executor or trustee sells the property before distributing it to heirs, the entity — not the heirs — may owe NIIT, and at a far lower bar. For 2025, a non-grantor estate or trust hits the 3.8% tax once it has undistributed net investment income and adjusted gross income above $15,650, the dollar amount where the top trust bracket begins, per the 2025 inflation figures. For 2026, that threshold rises to about $16,000.
The consequence is severe: a $100,000 gain trapped inside an estate can owe roughly $3.8% × ($100,000 − $15,650) ≈ $3,205 of NIIT, far more than if the same gain landed on an individual heir under the $200,000 line. A common misconception is that estates get the same generous thresholds individuals do — they do not. What an executor should do is consider distributing the property or the sale proceeds to beneficiaries so the income is taxed at the heirs’ higher thresholds, a strategy worth running by an estate attorney before the sale closes.
Grantor trusts and exemptions
Certain trusts are exempt from NIIT entirely. Grantor trusts and perpetual care trusts, for example, do not pay NIIT at the trust level because their income flows to the grantor’s personal return instead. The consequence is that the same property sale may be tested at the grantor’s individual threshold rather than the $15,650 trust line. A misconception is that “trust” automatically means the low threshold; the trust’s type controls. The step you should take is to confirm with the trustee whether the trust is a grantor or non-grantor trust before estimating any NIIT.
Inherited Rental Property: Recapture and Passive Losses
Inherited rentals add two layers. First, if you rent the property after inheriting it and claim depreciation, selling later triggers depreciation recapture, taxed at a federal rate capped at 25%. Recapture and NIIT are separate taxes, but recapture income from a passive rental still counts as net investment income, so it can feed the 3.8% surtax.
Second, suspended passive losses you could not deduct in prior years are generally released in the year you sell the property in a fully taxable sale. The consequence is favorable: those freed losses can offset both the gain and the recapture, lowering your NII and possibly your NIIT. A common misconception is that recapture escapes NIIT; for a passive rental it does not, as tax practitioners confirm. What you should do is have your preparer track suspended losses and apply them in the sale year, because forgetting them inflates your taxable gain.
How to Report the Sale: Forms and Lines
Reporting an inherited-property sale runs through three federal forms in sequence. Get the order right and the NIIT calculation falls out automatically.
- Form 8949 — Report the sale here first. Enter the sale price, your stepped-up basis, and the gain. For inherited assets, write “INHERITED” in the acquisition-date column; inherited property is automatically treated as long-term, which gets the lower capital-gains rates regardless of how briefly you held it. Missing the “inherited” entry can cause the IRS to question your holding period.
- Schedule D (Form 1040) — Totals from Form 8949 flow here to compute your overall capital gain or loss. This is where your regular capital-gains tax is figured. See a Form 8949 and Schedule D guide for line-by-line help.
- Form 8960 — This computes the NIIT. Part I lists your investment income including the gain, Part II subtracts allowed expenses, and Part III applies the threshold and the 3.8% rate. Per the form instructions, individuals carry the result to Schedule 2 (Form 1040), line 12; estates and trusts use Form 1041.
The deadline is your normal return due date — April 15, 2026 for a 2025 sale, or October 15, 2026 with an extension (though an extension to file is not an extension to pay). If you receive a Form 1099-S from the closing, the IRS already knows about the sale, so you must report it even if the gain is zero. A DIY return with this math runs $0–$120 in software; a CPA for an estate sale typically runs $400–$1,500 depending on complexity.
Federal vs. State: Two Different Bills
The 3.8% NIIT is purely federal, so no state imposes its own version of it. But your state can still tax the same capital gain under its regular income tax, and the rules vary sharply.
| Tax layer | What it covers |
|---|---|
| Federal NIIT (3.8%) | Applies nationwide once gain is NII and MAGI tops the threshold; no state add-on exists |
| State income tax on the gain | Separate bill set by each state; rate and rules differ, and no-income-tax states charge nothing |
A heir in Florida, Texas, Tennessee, or another no-income-tax state pays the federal NIIT (if triggered) but no state tax on the gain. A heir in California pays the federal NIIT plus California’s regular income-tax rate on the full gain, since California has no separate capital-gains rate. The lesson: federal and state are two separate questions, and the federal step-up applies everywhere.
Mistakes to Avoid
- Using the original owner’s basis instead of the stepped-up value. This inflates your gain massively and can create NIIT you never actually owed.
- Skipping a date-of-death appraisal. Without proof of fair market value, the IRS can dispute your basis, raising both capital-gains tax and NIIT.
- Forgetting that the gain itself raises your MAGI. A large sale can push you over the threshold, so test MAGI with the gain included.
- Applying the 3.8% to your whole income. NIIT hits only the lesser of NII or MAGI over the threshold, never your entire income.
- Letting the estate sell instead of distributing. The ~$15,650 trust threshold can trigger far more NIIT than an individual heir would owe.
- Ignoring suspended passive losses on a rental. Failing to release them in the sale year overstates your gain and your NIIT.
- Assuming recapture is exempt. Depreciation recapture on a passive rental is still net investment income subject to the 3.8% tax.
Do’s and Don’ts
- Do get a written, qualified appraisal of the date-of-death value — it is your strongest defense against an inflated gain.
- Do project your full-year MAGI before closing, because the timing of the sale can decide whether you cross the threshold.
- Do report the sale even when the gain is zero, since a 1099-S puts the IRS on notice.
- Do consider distributing estate assets to heirs, because individual thresholds dwarf the trust threshold.
- Do keep records of selling costs like commissions, because they reduce the gain that NIIT taxes.
- Don’t confuse capital-gains tax with NIIT — they are separate taxes that can both apply to the same sale.
- Don’t assume your state mirrors the federal rule, since some states tax the gain and others tax nothing.
- Don’t treat NIIT thresholds as inflation-adjusted, because they have been frozen since 2013.
- Don’t sell a rental without checking suspended passive losses, because they can erase part of the NIIT.
- Don’t rely on memory for the appraisal value years later — document it now while records are fresh.
Pros and Cons of Selling Inherited Property Quickly
- Pro: A fast sale near the appraised value produces a tiny gain, so NIIT exposure is minimal.
- Pro: Inherited property is always long-term, so you get the lower capital-gains rate even on a quick flip.
- Pro: Selling avoids ongoing carrying costs like property tax, insurance, and upkeep that erode your inheritance.
- Con: A large one-time gain can spike your MAGI over the threshold for that single year, triggering NIIT.
- Con: If you wait and the property appreciates, the post-death growth becomes taxable investment income.
- Con: Selling inside an estate or trust exposes the gain to the very low ~$15,650 NIIT threshold.
- Con: You lose the chance to use the Section 121 home exclusion that requires you to live in the home for two of five years.
What to Do Next
- Order a date-of-death appraisal if you do not already have one — this sets your stepped-up basis and is your top priority.
- Estimate your full-year MAGI including the gain, and compare it to your filing-status threshold.
- Gather records of the sale price, selling costs, and any post-death improvements.
- Report the sale on Form 8949 and Schedule D, then run Form 8960 to see if NIIT applies.
- File and pay by April 15, 2026 for a 2025 sale, or request an extension to file.
- Call a CPA or estate attorney if the property is held in a trust, is a rental with depreciation, or the gain is large enough to push you well over the threshold.
FAQs
Does selling inherited property always trigger the 3.8% NIIT? No. It triggers NIIT only if you have a taxable gain and your MAGI exceeds your threshold ($200,000 single, $250,000 joint for 2025). Step-up in basis often leaves little or no gain.
What is the NIIT income threshold for 2025? $200,000 for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately. These figures are not adjusted for inflation and remain the same for 2026.
Is the gain on an inherited house long-term or short-term? Long-term, always. Inherited property is automatically treated as held long-term regardless of how soon you sell, so it qualifies for the lower capital-gains rates.
Does step-up in basis reduce NIIT? Yes. Step-up resets your basis to the date-of-death value, which shrinks the gain. A smaller gain means less net investment income exposed to the 3.8% tax.
Do estates and trusts pay NIIT on a property sale? Yes, often. A non-grantor estate or trust owes NIIT once it has undistributed net investment income and AGI above $15,650 for 2025 — a much lower bar than individuals face.
How much NIIT would I owe on a $50,000 inherited-property gain? Up to $1,900. That is 3.8% × $50,000, but only if your MAGI exceeds the threshold by at least $50,000; otherwise you owe 3.8% of the smaller excess amount.
Does the NIIT apply on top of capital-gains tax? Yes. NIIT is an additional 3.8% layered on top of your regular federal capital-gains tax, not a replacement for it. Both can apply to the same sale.
Do I owe state tax on an inherited-property sale too? It depends on your state. No state charges NIIT, but most tax the capital gain under their income tax. No-income-tax states like Florida and Texas charge nothing on the gain.
Is depreciation recapture on an inherited rental subject to NIIT? Yes, if passive. Recapture income from a passive rental counts as net investment income and can be taxed at the 3.8% rate, separate from the 25% recapture rate.
Which form do I use to calculate NIIT? Form 8960. Individuals file it with Form 1040 and carry the result to Schedule 2; estates and trusts file it with Form 1041 by the return’s due date.
Can selling costs reduce my NIIT? Yes. Real-estate commissions and closing costs reduce the gain, and certain investment expenses can be subtracted on Form 8960, lowering the net investment income that NIIT taxes.
Did the 2025 tax law change step-up in basis or NIIT? No. The 2025 OBBBA law left both the step-up in basis and the 3.8% NIIT fully intact, with no scheduled sunset for either provision.
Related reading
- Legally Avoid Paying Taxes on Inherited Property + FAQs
- Does an Inheritance Trigger the 3.8% NIIT? (w/Examples) + FAQs
- Does Selling a Business Trigger the 3.8% NIIT? (w/Examples) + FAQs
- Does Selling a Rental Property Trigger the 3.8% NIIT? (w/Examples) + FAQs
- Does Selling Your Home Trigger the 3.8% NIIT? (w/Examples) + FAQs
- Does the 3.8% NIIT Stack on Top of Capital Gains Rates? (w/Examples) + FAQs
- Is It Better to Inherit Money or Property? (w/Examples) + FAQs