This article reflects federal rules as of June 2026 and covers tax years 2025 and 2026. State rules vary and are addressed separately below. Tax law changes — confirm current figures before you file. This guide is educational and is not a substitute for advice from a licensed CPA, tax attorney, or financial planner for your specific situation.
Quick Answer
No — a regular charitable deduction does not directly cut your 3.8% Net Investment Income Tax, because charitable gifts are itemized deductions that do not reduce net investment income or, for most people, MAGI. But certain charitable strategies — like CRTs, gifting appreciated stock, and QCDs — can lower it.
So the honest answer has two halves, and both matter to your wallet.
The thing tripping people up is that the 3.8% surtax under Section 1411 runs on its own track. It taxes the lesser of your net investment income (NII) or the amount your modified adjusted gross income (MAGI) sits above a fixed threshold. A check written to your church or a donor-advised fund lands on Schedule A as an itemized deduction — and itemized deductions, including charity, are not on the short list of expenses you may subtract when figuring NII on Form 8960. They also do not reduce your AGI or MAGI. So the gift saves you income tax, not the surtax.
That distinction carries real dollars. The Tax Foundation estimates the NIIT raises tens of billions a year, and it hits roughly the top several percent of earners — exactly the donors writing the biggest checks. If you are selling a business, unloading a rental, or harvesting a big gain, the 3.8% can quietly add five figures to your bill, and the wrong charitable move does nothing to stop it while the right one can erase it.
- 🎯 Why a plain charitable deduction misses the NIIT entirely, in plain English.
- 💰 The four charitable strategies that do move the 3.8% needle — with real math.
- 📊 Worked examples showing exactly how much surtax you save (or don’t).
- 🏛️ How Charitable Remainder Trusts dodge NIIT inside the trust and spread the hit.
- 🗺️ The 2026 OBBBA changes (a new 0.5% floor and 35% cap) that quietly raise your cost of giving.
How the 3.8% NIIT Actually Works
The Net Investment Income Tax is a 3.8% surtax created by the Health Care and Education Reconciliation Act of 2010 and codified in Internal Revenue Code Section 1411. It is not the same as income tax, and it is not the same as capital gains tax. It is an extra layer that sits on top of both, and it has its own form, its own thresholds, and its own rules for what you may subtract.
You owe the tax on the lesser of two numbers. The first is your net investment income — interest, dividends, capital gains, rental and royalty income, non-qualified annuities, and income from passive businesses, reduced only by the specific expenses tied to producing that income. The second is the amount your MAGI exceeds a fixed threshold. For tax year 2025 and tax year 2026, those MAGI thresholds are $250,000 for married filing jointly, $200,000 for single and head of household, and $125,000 for married filing separately. These thresholds are not indexed for inflation, so more taxpayers drift into the tax each year.
The consequence of misreading this is expensive. People assume “I gave $50,000 to charity, so my surtax drops.” It does not — because the gift never touches either of the two numbers the tax is built on. What can change those numbers is the strategy behind the gift: lowering the gain that becomes NII, or lowering the MAGI that crosses the threshold.
The Two-Number Test in One Example
Take a single filer with $180,000 of wages and $90,000 of long-term capital gains. Their MAGI is $270,000, which is $70,000 over the $200,000 single threshold for 2025. Their NII is $90,000. The tax applies to the lesser of $90,000 and $70,000, so it falls on $70,000, producing a 3.8% surtax of $2,660.
Now suppose they write a $40,000 check to a public charity. That deduction lands on Schedule A. It does not reduce the $90,000 of NII, and it does not reduce the $270,000 MAGI. The two-number test is unchanged, so the NIIT is still $2,660. The gift saved income tax — possibly $14,800 at a 37% bracket — but it saved zero surtax. That is the whole puzzle in one paragraph.
What You Actually May Deduct on Form 8960
Form 8960 lets you subtract only expenses allocable to investment income — things like investment interest expense, investment advisory and brokerage fees, and the state income tax tied to investment income. Charitable contributions are absent from that list because they are personal, not investment, expenses. The Treasury regulations under Section 1.1411-4 spell out the narrow set of properly allocable deductions, and charity is not in it. The takeaway: stop trying to deduct your way out of the surtax, and start trying to restructure your way out.
So Why Do People Think Charity Cuts the NIIT?
The confusion is reasonable, because charity does cut your regular income tax, and the two taxes appear on the same return. When you itemize a $40,000 gift, your taxable income falls and your income tax bill drops. Many people see a smaller total tax due and assume every part of the bill went down — including the surtax line. It did not. The NIIT line on your Form 1040 is computed independently on Form 8960, and itemized deductions never reach it.
There is a second source of confusion: estates and trusts. For a non-grantor trust or an estate, the Form 8960 instructions (Line 18b) do allow a deduction for charitable amounts and for distributions of NII. So a trust really can lower its NIIT with a charitable distribution — but an individual on a personal return cannot. People mix up the entity rules with the individual rules, and the dollar difference is real.
The fix is to separate “saving income tax” from “saving surtax” in your own head. A gift almost always saves income tax. It saves surtax only when the gift is structured to shrink your NII or your MAGI. The rest of this guide is about that structure.
The Charitable Strategies That Do Reduce the NIIT
Four approaches actually move the 3.8% needle. Each works by attacking one of the two numbers in the lesser-of test — NII or MAGI — rather than by simply claiming a deduction.
1. Donate Appreciated Securities Instead of Cash
This is the cleanest win. When you give long-term appreciated stock, a fund, or crypto directly to a public charity or a donor-advised fund, you never sell it — so the built-in capital gain never becomes net investment income. You also claim a deduction for the full fair market value (subject to the 30%-of-AGI limit for appreciated property). You dodge the capital gains tax and the 3.8% surtax on that gain, then still get a deduction. The consequence of doing it the slow way — selling first, then donating cash — is that you trigger the gain, pay 3.8% on it, and surrender the very benefit you were chasing.
A common misconception is that you must sell to “lock in” the value before giving. You do not; the charity sells, and as a tax-exempt entity it pays nothing. What to do: transfer the shares in kind before the sale, get a written acknowledgment, and keep brokerage transfer records.
2. Use a Charitable Remainder Trust (CRT)
A Charitable Remainder Trust is a tax-exempt trust that pays you (or another beneficiary) income for life or a term of years, then passes the remainder to charity. You contribute an appreciated asset, the trust sells it inside the trust with no immediate tax, and you get an upfront partial charitable deduction. Crucially, the gain is not realized by you in the year of sale, so it does not spike your NII that year. The CRT itself is exempt from the NIIT under Section 1411.
The catch is the tier rules of Section 664(b). Distributions to you carry out the trust’s income in order — ordinary income first, then capital gain, then tax-exempt, then return of corpus — and the net investment income earned inside the CRT is tracked and passed out to you as NII when distributed. So the CRT does not erase the 3.8%; it defers and spreads it across many years, often keeping your annual MAGI under the threshold. What to do: this needs a tax attorney to draft; expect $3,000–$8,000+ in setup costs.
3. Use a Qualified Charitable Distribution (QCD) From an IRA
If you are age 70½ or older, you can send up to $108,000 for 2025 (indexed; check the IRS QCD page for the 2026 figure) directly from your traditional IRA to a qualified charity. The QCD is excluded from your AGI entirely. IRA distributions are not themselves NII, but a normal RMD raises your MAGI, which can push more of your investment income over the threshold. By excluding the RMD from AGI, a QCD lowers MAGI and can shrink the “amount over the threshold” number — directly cutting the NIIT base. What to do: instruct your IRA custodian to pay the charity directly; never take the cash first.
4. Reduce MAGI With Bunching and Timing
Because the NIIT is the lesser of NII or the MAGI excess, dropping MAGI below the threshold zeroes the tax even if your NII is large. Charitable timing helps indirectly: pairing a big gift year with income deferral, or using a CRT to spread a one-time gain, keeps MAGI under $250,000 (MFJ) or $200,000 (single). The consequence of ignoring timing is a one-year MAGI spike that subjects an entire gain to the surtax.
Which Situation Applies to You?
The right move depends on who you are and what you are selling. Use this to jump to your case.
- You have a big one-time capital gain (sold a business, rental, or concentrated stock): look hard at the CRT and at gifting appreciated shares before the sale.
- You are 70½+ with large RMDs pushing your MAGI up: the QCD is your most direct NIIT lever.
- You give regularly and itemize: donate appreciated securities and bunch gifts into high-income years via a donor-advised fund.
- You are the trustee of a non-grantor trust or estate: you can deduct charitable amounts on Form 8960 Line 18b — a tool individuals do not have.
- You only write modest cash checks: accept that charity saves income tax, not surtax, and focus on MAGI timing.
Worked Examples With Real Dollars
Scenario Table 1 — Cash Gift vs. Appreciated Stock
| Donor’s Move | Effect on the 3.8% Surtax |
|---|---|
| Sell $100,000 of stock (with $60,000 gain), then donate $100,000 cash | $60,000 gain becomes NII; up to $2,280 surtax on the gain, plus capital gains tax |
| Donate the $100,000 of stock in kind to a public charity | $0 gain realized, $0 surtax on the gain, full deduction preserved |
Scenario Table 2 — RMD vs. QCD for a 72-Year-Old
| Donor’s Move | Effect on the 3.8% Surtax |
|---|---|
| Take a $40,000 RMD, then write a $40,000 check to charity | $40,000 raises MAGI, can push more NII over the threshold and into the 3.8% |
| Send the $40,000 directly as a QCD | Excluded from AGI; MAGI stays lower, shrinking or zeroing the NIIT base |
Scenario Table 3 — One-Time Gain: Outright Sale vs. CRT
| Donor’s Move | Effect on the 3.8% Surtax |
|---|---|
| Sell a $1,000,000 appreciated asset outright | Entire gain hits NII in one year; full 3.8% surtax plus capital gains tax now |
| Fund a CRT with the asset, take lifetime payments | Gain deferred inside an NIIT-exempt trust; surtax spread over years, MAGI managed |
Named Example A — Maria, Selling Appreciated Stock
Maria, a single filer, has $190,000 in wages and $120,000 of stock she wants to give to her alma mater, with a $70,000 built-in gain. If she sells and donates cash, the $70,000 gain pushes her MAGI to $280,000 — $80,000 over her $200,000 threshold — and the NIIT applies to the lesser of $70,000 NII and $80,000, so $70,000 × 3.8% = $2,660 in surtax, plus capital gains tax. If instead she gifts the shares in kind, no gain is realized, her MAGI stays near $190,000 (below the threshold), and her NIIT on that gain is $0. Same charity, same gift, $2,660+ saved.
Named Example B — David and Susan, the QCD Couple
David and Susan, both 73 and married filing jointly, have a $46,000 combined RMD and $60,000 of dividends and interest (their NII). Taking the RMD pushes MAGI to $276,000 — $26,000 over the $250,000 MFJ threshold — so NIIT hits the lesser of $60,000 and $26,000, a $988 surtax. They redirect $46,000 of the RMD as a QCD, excluding it from AGI. MAGI drops to $230,000, below the threshold, and their NIIT falls to $0 — a $988 surtax saving on top of the income-tax saving.
Named Example C — Robert, the Business Seller Using a CRT
Robert is selling a rental portfolio with a $1,000,000 gain. An outright sale makes the full $1,000,000 net investment income in one year, generating a $38,000 NIIT (3.8% × $1,000,000) plus large capital gains tax, all at once. He instead funds a Charitable Remainder Unitrust, which sells inside the trust tax-free and pays him 5% a year. The gain leaves the trust gradually under the Section 664 tier rules, so only a slice is NII each year, his annual MAGI stays controlled, and the 3.8% is spread across decades instead of landing in one brutal year.
The 2026 OBBBA Changes Every Donor Must Know
The One Big Beautiful Bill Act made two permanent changes to the charitable deduction that take effect for tax year 2026. They do not change the NIIT, but they raise the after-tax cost of giving, so they affect your overall strategy.
First, there is a new 0.5%-of-AGI floor on itemized charitable deductions. Starting in 2026, only the portion of gifts above 0.5% of your AGI is deductible. A donor with $1,000,000 AGI loses the deduction on the first $5,000 of giving every year.
Second, there is a 35% cap on the tax benefit of itemized charitable deductions for taxpayers in the top 37% bracket. A high-income filer donating $1,000 now sees the deduction worth $350 instead of $370. Neither change touches the 3.8% surtax — but both make the income-tax side of giving slightly less generous, which strengthens the case for NIIT-aware structures like in-kind gifts and CRTs. OBBBA also added a permanent above-the-line deduction of up to $1,000 ($2,000 MFJ) for non-itemizers.
Federal vs. State: Does Your State Pile On?
The 3.8% NIIT is a federal tax only; states do not impose the Section 1411 surtax itself. But your state may tax the same investment income through its regular income tax, and most states do not follow the new federal OBBBA charitable rules automatically. State conformity varies widely, so confirm with your state’s Department of Revenue.
| Issue | How It Differs |
|---|---|
| The 3.8% surtax | Federal only; no state imposes the NIIT |
| Charitable deduction conformity | Many states use their own rules, not the 2026 OBBBA floor and cap |
States with no income tax — such as Florida, Texas, and Washington (on wages) — give you no state charitable deduction because there is no state income tax to reduce, but you also face no state tax on the investment income. The federal NIIT analysis is identical regardless of your state.
Mistakes to Avoid
- Selling appreciated stock, then donating the cash. You realize the gain, pay 3.8% on it, and lose the surtax benefit you wanted.
- Assuming a cash gift lowers your surtax. It lowers income tax only; the NIIT base is untouched.
- Taking a full RMD when you qualify for a QCD. The RMD inflates MAGI and can drag more NII over the threshold.
- Donating short-term appreciated assets. Your deduction is limited to cost basis, wasting the strategy.
- Funding a CRT without professional drafting. A defective trust can lose its tax-exempt status and unwind the whole plan.
- Forgetting the new 0.5% AGI floor for 2026. Small gifts may now produce no deduction at all.
- Ignoring the 30%-of-AGI limit on appreciated property. Over-gifting in one year defers part of the deduction.
- Missing the contemporaneous written acknowledgment. Gifts of $250 or more are non-deductible without it.
Do’s and Don’ts
- Do gift appreciated securities in kind — why: it kills the gain that would have become NII.
- Do use a QCD if you are 70½+ — why: it lowers MAGI directly, the surtax’s second number.
- Do consider a CRT for a large one-time gain — why: it defers and spreads the 3.8% over years.
- Do keep written acknowledgments and transfer records — why: no records, no deduction.
- Do model your MAGI before year-end — why: staying under the threshold can zero the NIIT.
- Don’t sell first and donate cash — why: you trigger the surtax you were avoiding.
- Don’t expect Form 8960 to accept a charity deduction for individuals — why: it is not an allowable NII expense.
- Don’t ignore state income tax on the same gains — why: the state bill is separate from the NIIT.
- Don’t assume 2025 deduction rules apply in 2026 — why: the OBBBA floor and cap changed the math.
- Don’t fund a CRT with mortgaged real estate without advice — why: it can create unrelated business taxable income.
Pros and Cons of Charitable NIIT Strategies
- Pro: in-kind gifts avoid both capital gains tax and the 3.8% surtax — why: the gain is never realized by you.
- Pro: CRTs convert a lump-sum gain into a managed income stream — why: annual MAGI control keeps you under the threshold.
- Pro: QCDs reduce AGI dollar-for-dollar — why: fewer dollars of NII cross the threshold.
- Pro: donor-advised funds let you bunch gifts into high-income years — why: timing maximizes both deductions and threshold management.
- Pro: strategies stack with income-tax savings — why: you cut two taxes, not one.
- Con: CRTs are irrevocable and costly to set up — why: you give up control and pay legal fees.
- Con: QCDs require age 70½ and a traditional IRA — why: younger donors cannot use them.
- Con: the 2026 floor and cap shrink the income-tax benefit — why: the after-tax cost of giving rose.
- Con: in-kind gifts face a 30%-of-AGI limit — why: large gifts may not fully deduct in one year.
- Con: none of these help if your MAGI is far above the threshold and your NII is small — why: the lesser-of test caps the benefit.
What to Do Next
- Run the two-number test. Estimate your NII and your MAGI excess for 2025/2026 to see if you even owe the surtax.
- Pick the lever that fits your case using the “Which situation applies to you?” section above.
- For in-kind gifts, instruct your broker to transfer shares before any sale and request a written acknowledgment.
- For a QCD, have your IRA custodian pay the charity directly before your RMD deadline of December 31.
- For a CRT, consult a tax attorney now — drafting and funding before a sale closes is essential.
- Review the 2026 OBBBA floor and cap with your CPA before finalizing large gifts, and check your state’s conformity. If your gain exceeds roughly $250,000 or an estate or trust is involved, bring in a professional.
For the mechanics, see our guides on how to fill out Form 8960, setting up a Charitable Remainder Trust, and using a QCD from your IRA.
FAQs
Does a charitable deduction reduce the 3.8% NIIT?
No. For individuals, a charitable contribution is an itemized deduction that does not reduce net investment income or MAGI, so it does not lower the NIIT base for tax years 2025 or 2026. It cuts income tax only.
Can donating appreciated stock reduce my NIIT?
Yes. Giving long-term appreciated stock in kind means you never realize the gain, so it never becomes net investment income, and no 3.8% surtax applies to that gain — while you still claim a fair-market-value deduction.
Is a Charitable Remainder Trust subject to the NIIT?
No. The CRT itself is exempt from the 3.8% surtax under Section 1411. The net investment income it earns is instead passed out to you under the Section 664 tier rules and taxed as you receive distributions.
Does a QCD lower the Net Investment Income Tax?
Yes, indirectly. A qualified charitable distribution is excluded from AGI, which lowers your MAGI. Since the NIIT applies to the amount MAGI exceeds the threshold, a lower MAGI can shrink or eliminate the surtax.
What is the NIIT MAGI threshold for 2025 and 2026?
$250,000 for married filing jointly, $200,000 for single and head of household, and $125,000 for married filing separately. These thresholds are not indexed for inflation, so they stay the same year to year.
Can a trust or estate deduct charity against the NIIT?
Yes. Unlike individuals, a non-grantor trust or estate may claim charitable deductions and NII distributions on Form 8960, Line 18b, reducing its own net investment income tax for the tax year.
How much is the NIIT rate?
3.8%. It applies to the lesser of your net investment income or the amount your MAGI exceeds your filing-status threshold. It is a surtax on top of regular income and capital gains tax.
Does the 2026 OBBBA law change the NIIT?
No. The One Big Beautiful Bill Act did not change the 3.8% surtax. It added a 0.5%-of-AGI floor and a 35% benefit cap on the charitable deduction for 2026, which affect income tax, not the NIIT.
Do states charge the 3.8% NIIT too?
No. The NIIT is purely a federal tax under Section 1411. No state imposes it, though your state’s regular income tax may still tax the same investment income separately.
What form do I use to report the NIIT?
Form 8960. Individuals attach it to Form 1040, and the resulting tax flows to the “Other Taxes” section. Estates and trusts also use Form 8960 but complete the separate Lines 18 through 21.
Is a donor-advised fund a good way to reduce the NIIT?
Yes, when funded with appreciated assets. Donating appreciated securities to a donor-advised fund avoids realizing the gain, so no 3.8% surtax applies to it, and you can bunch the deduction into a high-income year.
Can I avoid the NIIT entirely with charitable giving?
Sometimes. If charitable strategies push your MAGI below your threshold, your NIIT can reach $0 for that year. But if your MAGI stays well above the threshold with large NII, giving only reduces, not eliminates, the surtax.
Related reading
- How Will the 2026 Tax Law Affect High-Income Donors? (w/Examples) + FAQs
- What Is the 0.5% AGI Floor for Donations in 2026? (w/Examples) + FAQs
- What Charities Qualify for the New Charitable Deduction? (w/Examples) + FAQs
- What Donations Qualify for the Above-the-Line Charitable Deduction? + FAQs
- Can a DAF Reduce the 3.8% Net Investment Income Tax? (w/Examples) + FAQs
- Can a QCD Reduce Your 3.8% NIIT? (w/Examples) + FAQs