Quick answer: No. A sale inside an IRA generally does not create current taxable capital gain and does not itself enter net investment income. An IRA distribution is also excluded from net investment income, although a taxable distribution can raise modified adjusted gross income and indirectly expose other investment income to the 3.8% tax.
This guide explains the federal or state rule in practical filing terms. It uses the latest official material available on August 15, 2026; always use the form and instructions for the tax year you are filing because line numbers, limits and procedures can change.
At a glance
| Question | Practical answer |
|---|---|
| Who this applies to | Traditional and Roth IRA owners with investment transactions or distributions |
| What it does not cover | Sales in a regular taxable brokerage account and prohibited transactions that can disqualify an IRA |
| Where it is handled | Form 8960 only when the taxpayer has net investment income and MAGI above the applicable threshold |
How the rule works
Start with the legal character of the payment, transaction, benefit or form—not the label used in an advertisement or summary. Tax results can differ when ownership, timing, filing status, residency, basis, participation or documentation changes. The controlling return instructions should be reconciled with all information statements before filing.
- Tax is generally deferred on earnings inside a traditional IRA and qualified Roth IRA earnings can be tax-free.
- IRA and qualified-plan distributions are excluded from the statutory definition of net investment income.
- A taxable traditional IRA distribution is included in MAGI, so it can move a taxpayer above the NIIT threshold.
- NIIT is the lesser of 3.8% of net investment income or the excess of MAGI over the filing-status threshold.
- Keep taxable-account gains separate from IRA activity when reconciling brokerage statements and Form 8960.
Practical example
Dana has $30,000 of taxable brokerage interest and gains and takes a $50,000 taxable traditional IRA distribution. The distribution is not net investment income, but it can increase Dana's MAGI. If MAGI exceeds the applicable threshold, some of the $30,000—not the IRA distribution—may be subject to NIIT.
The example isolates the main rule and is not a tax calculation for every fact pattern. Other income, deductions, state conformity, related-party rules and prior-year carryovers can change the final result.
Step-by-step checklist
- Identify whether each sale occurred inside an IRA or a taxable account.
- Determine the taxable portion of any IRA distribution.
- Compute MAGI using the Form 8960 instructions.
- List only included investment-income categories on Form 8960.
- Review Roth qualification and basis records separately.
Keep copies of the filed return, schedules, source documents, calculations and submission confirmation. If an issuer or agency document is wrong, request a correction instead of silently changing a number without an explanatory record.
Common mistakes to avoid
- Reporting an IRA trade as a current Schedule D sale.
- Adding the IRA distribution itself to net investment income.
- Assuming the distribution cannot affect NIIT merely because it is excluded from the tax base.
A tax software interview can help transfer information, but it cannot verify an uncertain legal classification or recreate missing evidence. Pause and obtain advice from a credentialed tax professional or the responsible agency when the dollars are material or the facts are unusual.
Related NavajoTax guides
For connected planning and reporting issues, see 401(k)-to-Roth conversion guide, capital-gain reporting when basis is missing. Read related pages as a topic cluster, but follow the year-specific official form for the return you actually file.
Frequently asked questions
Does a Roth conversion count as net investment income?
No, but the taxable conversion can increase MAGI and therefore affect NIIT on other investment income.
Does NIIT apply inside a 401(k)?
Investment growth inside a qualified plan does not itself enter net investment income.
What if the IRA engaged in a prohibited transaction?
The account can lose IRA status in serious cases; obtain professional advice because the ordinary deferral analysis may no longer apply.
Sources reviewed
Last reviewed: August 15, 2026. This article provides general educational information, not individualized tax, legal, investment or benefits advice.