The Net Investment Income Tax is the extra 3.8% federal tax that can sit on top of the regular tax on a home sale — but only for sellers whose income clears a fixed threshold, and only on the part of the gain that is actually recognized. Many main-home sellers owe none of it, because the gain the main-home exclusion shelters never enters the calculation at all. This page is general information, not tax advice — confirm your own figures with a tax professional before selling. The companion guides are Do you pay capital gains tax when you sell your house?, which works the main-home exclusion, and What is depreciation recapture?, which covers the rental-property piece of the gain.
The Net Investment Income Tax is a 3.8% federal tax under Section 1411 of the Internal Revenue Code (IRS Topic No. 559) on net investment income. It applies only when modified adjusted gross income (MAGI) exceeds the threshold for the filing status, and it is figured on the lesser of the total net investment income or the amount MAGI exceeds that threshold. It is an additional tax, reported on Form 8960, on top of the regular income tax on the same income.
The thresholds are set by filing status: $200,000 for a single filer or head of household, $250,000 for married filing jointly or a qualifying surviving spouse, and $125,000 for married filing separately. At or below the threshold for the filing status, there is no Net Investment Income Tax, however large the investment income is. Above it, only the excess matters to the calculation in section 3. These thresholds are not indexed for inflation — they have not changed since the tax took effect in 2013, so more sellers clear them each year on nominal income alone.
The tax is 3.8% of the lesser of (a) total net investment income or (b) the amount by which MAGI exceeds the threshold. That lesser-of rule is why the tax is never simply 3.8% of the whole gain: a seller just over the threshold pays it only on the excess, while a seller far over the threshold with a smaller gain pays it only on the gain. Both figures have to be known — the year's MAGI and the year's net investment income — before the tax can be estimated at all.
Net investment income includes interest, dividends, rents, passive business income, and net gain from selling property. It is the investment side of the return, not wages or active business income. On a property sale, it is the net gain — the recognized gain after basis and selling costs — that enters the figure, which is why the basis records in the capital-gains guides matter here too.
On a main-home sale, gain excluded under Section 121 is not net investment income. Section 121 — the $250,000 single / $500,000 joint main-home exclusion covered in Do you pay capital gains tax when you sell your house? — removes that gain from income entirely, so it cannot be taxed again under Section 1411. Only recognized gain above the exclusion counts as net investment income, and then only under the lesser-of rule. Whether the seller qualifies for the exclusion turns on the ownership and use tests in How long do you have to live in your house to avoid capital gains tax?
Gain from selling rental or investment property counts in full as net investment income, subject to the lesser-of rule — there is no Section 121 exclusion on a property that was not the seller's main home. Depreciation recapture is part of that gain picture: the unrecaptured portion figured in What is depreciation recapture? is part of the gain the tax is measured on. And a 1031 exchange that defers the gain defers the Net Investment Income Tax with it — the deferred gain is taxed, and this tax with it, on a later taxable sale, as What is a 1031 exchange? explains.
Example (illustrative only): a married couple filing jointly has MAGI of $300,000 and recognized gain above the Section 121 exclusion of $100,000 on a main-home sale. Their MAGI exceeds the $250,000 joint threshold by $50,000. The tax applies to the lesser of the $100,000 of net investment income or the $50,000 excess — the $50,000 — so the Net Investment Income Tax is 3.8% of $50,000, or $1,900. The figures in this example are round numbers chosen to show how the lesser-of rule works, not a calculation for any real sale.
The tax is reported on Form 8960, filed with the return for the year of the sale. Before a sale, the place this tax belongs is the estimate behind the What is a seller's net sheet? — a seller over the threshold who estimates proceeds from the regular capital-gains tax alone will overstate what they keep. In Homeowner HQ, the records that decide the figure — the basis and improvement records behind the recognized gain, and the income picture behind MAGI — belong in the homeowner's file alongside the home's value and equity record, kept current with the fix-my-facts record discipline the other tax guides use, so a likely charge is visible well before a listing date is chosen. This page is general information, not tax advice — confirm with a tax professional on your own facts.
Homeowners are always free. Realtors pay $25/mo all-in and lenders pay $25/mo to join, at any book size, with no setup fee; messaging is included free for realtors, and lender messaging is $100/mo ($125/mo total for lenders). A lender-sponsored realtor joins for $0.
The Net Investment Income Tax is a 3.8% federal tax under Section 1411 of the Internal Revenue Code on net investment income, and it applies only when modified adjusted gross income (MAGI) exceeds $200,000 for a single filer or head of household, $250,000 for married filing jointly or a qualifying surviving spouse, or $125,000 for married filing separately. Those thresholds are not indexed for inflation and have not changed since the tax took effect in 2013. The tax is 3.8% of the lesser of total net investment income or the amount by which MAGI exceeds the threshold, and it is reported on Form 8960. This page is general information, not tax advice.
Only to the part of the gain that is actually recognized. Gain excluded under Section 121 — the $250,000 single / $500,000 joint main-home exclusion — is not net investment income, so only recognized gain above the exclusion can count, and then only under the lesser-of rule: 3.8% on the smaller of the net investment income or the amount MAGI exceeds the filing-status threshold. A seller whose MAGI does not exceed the threshold owes no Net Investment Income Tax at all, even on recognized gain above the exclusion.
Yes. Net gain from selling rental or investment property counts in full as net investment income, subject to the lesser-of rule, and depreciation recapture is part of that gain picture. A 1031 exchange that defers the gain defers the Net Investment Income Tax with it — the deferred gain, including deferred recapture, is taxed on a later taxable sale instead. Interest, dividends, rents and passive business income are also net investment income when the MAGI threshold is exceeded.