Capital Gains Harvesting and the ACA Cliff: The 0% Rate That Still Kills PTC

By Severance Calculator Editorial · Updated

Situation

Tax-loss harvesting and its mirror image — tax-gain harvesting — are standard year-end portfolio management tactics. The logic of gains harvesting in particular seems compelling: if your income is low enough that long-term capital gains are taxed at 0% under IRC § 1(h), why not realize appreciated positions, reset the cost basis, and lock in tax-free gains? For many investors, it is a sound strategy. For ACA marketplace enrollees receiving Premium Tax Credits, it can be a catastrophic mistake.

The federal income tax treats long-term capital gains (assets held more than one year) preferentially. Under IRC § 1(h)(1)(B), a 0% tax rate applies to "adjusted net capital gain" falling within certain income thresholds: for 2026, the 0% bracket for a single filer runs up to $48,350 of taxable income. A single filer with $40,000 of wages and $15,000 of long-term gains would owe zero federal tax on those gains — the $15,000 sits entirely within the 0% bracket. The gains are, in the colloquial sense, "free." But "free" is a tax concept, not an ACA MAGI concept.

ACA Modified Adjusted Gross Income, defined in IRC § 36B(d)(2), starts with Adjusted Gross Income. AGI, in turn, is defined under IRC § 62 and includes all gross income items recognized on Schedule D minus allowable deductions. Capital gains realized and recognized — whether long-term (0% bracket) or short-term (ordinary rate) — are gross income items that flow into AGI. They are not excluded, phased out, or otherwise removed from the MAGI calculation because they happen to be taxed at 0%. The preferential rate under § 1(h) is an income tax concept; it changes the tax rate applied to the gain, not whether the gain counts as income.

The practical result: a single filer with $43,000 of wages (approximately 275% of the single-filer 2026 FPL of ~$15,650) receives meaningful PTC. If they harvest $20,000 of long-term gains, their MAGI rises to $63,000 — above the 400% FPL cliff of approximately $62,640 for a single filer. They owe $0 in federal capital gains tax (the gains are in the 0% bracket). But they also receive $0 in PTC for the year and must repay all APTC received, since MAGI exceeds 400% FPL and no repayment cap applies. The $20,000 in "free" gains cost them $10,000-$18,000 in PTC.

Tax-loss harvesting produces the opposite effect. When you sell positions at a loss, that loss offsets capital gains dollar-for-dollar. Under IRC § 1211(b), losses from capital asset sales are allowed to offset capital gains; if losses exceed gains, up to $3,000 ($1,500 for married filing separately) of excess loss can be deducted against ordinary income. This $3,000 ordinary income deduction flows into AGI — reducing MAGI dollar-for-dollar. Unused losses carry forward under IRC § 1212. For an ACA enrollee near the cliff, a deliberate tax-loss harvesting strategy can reduce MAGI by $3,000/year (the deductible amount) and let loss carryforwards offset future gains that would otherwise spike MAGI.

The key distinction for ACA planning: gains realization (harvest or recognition) of any kind — short-term, long-term, 0%-bracket, 15%-bracket — adds to MAGI. Loss realization that produces a deductible ordinary loss deduction ($3,000 limit) reduces MAGI. The ACA-optimal portfolio strategy near the cliff is to harvest losses, not gains — and to defer gain realization until a year when MAGI can absorb it without crossing the cliff, or until Medicare eligibility eliminates PTC exposure entirely.

For households with significant unrealized gains — particularly pre-65 retirees managing a brokerage account alongside retirement distributions — this interaction demands year-end MAGI modeling before any trade. The IRS Topic 409 guidance confirms the 2026 thresholds for the 0% bracket but does not address the ACA interaction. The acacliff.com calculator accepts a `capitalGainsNet` input that reflects Schedule D net gain or loss; entering a negative value (net loss of up to $3,000) demonstrates the MAGI reduction benefit of loss harvesting.

Tax-gain harvesting vs. tax-loss harvesting — ACA MAGI impact for single filer at $43k wages
ActionSchedule D resultMAGI changeFederal tax on gain/lossPTC impact
Harvest $20k LTCG (0% bracket)+$20,000 capital gain+$20,000 → $63,000 MAGI$0 capital gains taxCrosses 400% FPL cliff → zero PTC
No action$0$43,000 MAGI stays$0PTC preserved (~$6,000-$10,000/yr)
Harvest $20k tax loss (exceeding $20k gains)−$3,000 ordinary deduction−$3,000 → $40,000 MAGI$0 (loss)PTC may increase; MAGI down

Calculate your cliff

Inputs preset for this scenario; adjust to your specifics.

Your situation

Member ages
self

Coverage

Income

You're $400 above the cliff — losing $2,764 / year of PTC

100%138%200%300%400%

You are at 403% of the federal poverty level.

Cliff distance
$400
PTC value lost
$2,764
% FPL
403%

Ranked MAGI moves

#1 Contribute the 2026 deductible Traditional IRA maximum

Feasibility: High
MAGI reduction
$8,000
New % FPL
351%
PTC captured
$3,505

Full deduction available when no workplace retirement plan covers you.

#2 Contribute the 2026 HSA maximum

Feasibility: Medium
MAGI reduction
$4,400
New % FPL
374%
PTC captured
$3,146

Requires HSA-eligible HDHP coverage all year (or pro-rated months).

#3 Harvest losses in taxable accounts to offset realized capital gains

Feasibility: Medium
MAGI reduction
$3,000
New % FPL
383%
PTC captured
$3,007

Requires unrealized losers in taxable accounts; net cap loss is capped at $3,000/yr against ordinary income.

Worth it?

MoveMAGI cutPTC captured
Contribute the 2026 deductible Traditional IRA maximum$8,000$3,505
Contribute the 2026 HSA maximum$4,400$3,146
Harvest losses in taxable accounts to offset realized capital gains$3,000$3,007

Cliff distance (income-only) is exact; PTC dollar values use a state-level SLCSP estimate. Verify your zip on healthcare.gov.

Key facts

The 0%-bracket LTCG trap is particularly surprising to investors who learned about tax-gain harvesting in the context of ordinary income tax planning. A financial planner who advises "harvest your gains while you're in the 0% bracket" is technically correct for income tax — but that advice can be catastrophic for a client receiving ACA subsidies. The ACA cliff does not care about tax brackets; it cares about income. A gain that costs $0 in income tax can cost $15,000+ in lost PTC.

Municipal bond interest is an especially counterintuitive MAGI driver. Municipal bonds generate interest that is excluded from gross income under IRC § 103 — it never appears in AGI. Yet IRC § 36B(d)(2)(A)(ii) explicitly adds tax-exempt interest back into ACA MAGI. A retiree holding $500,000 in munis earning 3.5% generates $17,500 of tax-exempt interest that counts toward MAGI but generates zero tax liability. Combined with other income sources, this can push MAGI over the ACA cliff silently.

For capital gains specifically, the acacliff.com calculator's `capitalGainsNet` field accepts both positive (gains) and negative (net loss, up to −$3,000 for ACA purposes) values. Entering a negative value models the MAGI reduction from tax-loss harvesting. This allows direct comparison of the two strategies in the embedded calculator without navigating away.

FAQ

Do capital gains at the 0% tax rate still count for ACA premium tax credits?
Yes, fully. The 0% capital gains rate under IRC § 1(h) is an income tax provision — it reduces the tax owed on the gains but does not exclude them from income. ACA MAGI under IRC § 36B(d)(2) starts with Adjusted Gross Income, which includes all recognized capital gains regardless of which tax bracket they fall into. A 0%-bracket gain is still a gain for MAGI purposes.
What is the difference between tax-gain harvesting and tax-loss harvesting for ACA purposes?
They point in opposite directions. Tax-gain harvesting realizes capital gains — those gains add to MAGI and can push you over the ACA cliff. Tax-loss harvesting realizes capital losses — those losses first offset capital gains (reducing MAGI), and if losses exceed gains, up to $3,000 can be deducted against ordinary income, reducing MAGI by up to $3,000 annually. For ACA cliff management, loss harvesting is the favorable move; gain harvesting is dangerous near the cliff.
Can I control when capital gains are recognized to avoid crossing the cliff?
Yes — for voluntary sales. If you own appreciated securities in a taxable brokerage account, you choose when to sell. You can defer gain realization to a year when: (a) your other income is lower and MAGI has room below 400% FPL, (b) you are Medicare-eligible and no longer receive PTC, or (c) the gain falls into a designated high-income year when you have no PTC at stake. Capital gains are not recognized until you sell — unrealized gains do not count as MAGI.
What about dividends and interest — do they count toward MAGI the same way?
Yes. Qualified dividends are treated similarly to long-term capital gains for tax-rate purposes but still count as AGI and MAGI. Ordinary dividends and taxable interest are ordinary income and count fully. Tax-exempt municipal bond interest does not enter AGI, but under IRC § 36B(d)(2)(A)(ii) it is added BACK to MAGI for ACA purposes — so even that "tax-free" income counts for PTC eligibility.
If I have a net capital loss carryforward, does it reduce my ACA MAGI?
Partially. A capital loss carryforward from prior years can be used in the current year to offset capital gains recognized. If total current-year losses plus carryforward exceed current-year gains, up to $3,000 of excess loss can be deducted against ordinary income — reducing AGI and MAGI by up to $3,000. The remaining unused carryforward carries to future years. The carryforward itself (not yet deployed against current-year gains or the ordinary income limit) does not reduce current-year MAGI.
Does the net investment income tax (NIIT) interact with ACA MAGI the same way?
The 3.8% Net Investment Income Tax under IRC § 1411 applies to investment income (including capital gains) for taxpayers above $200,000 (single) / $250,000 (MFJ) of modified AGI. For NIIT purposes, MAGI uses a separate definition that does not include the § 36B ACA add-backs. The NIIT and ACA cliff are generally separate concerns — most households below the 400% FPL cliff (~$62,640 for a single filer) are far below the $200,000 NIIT threshold.

Primary sources

  1. IRC § 1(h)(1)(B) — 0% LTCG rate
    0 percent of so much of the adjusted net capital gain (or, if less, taxable income) as does not exceed the excess (if any) of—(i) the amount of taxable income which would (without regard to this paragraph) be taxed at a rate below 25 percent, over (ii) the taxable income reduced by the adjusted net capital gain
  2. IRC § 1211(b) — Capital loss limitation for noncorporate taxpayers
    losses from sales or exchanges of capital assets shall be allowed only to the extent of the gains from such sales or exchanges, plus (if such losses exceed such gains) the lower of—
  3. IRS Topic 409 — 0% capital gains rate thresholds (2026)
    A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and $64,750 for head of household.
  4. IRC § 36B(d)(2)(A) — ACA MAGI definition starts with AGI
    Adjusted gross income increased by—(i) any amount excluded from gross income under section 911, (ii) any amount of interest received or accrued by the taxpayer during the taxable year which is exempt from tax, and (iii) an amount equal to the portion of the taxpayer's social security benefits (as defined in section 86(d)) which is not included in gross income under section 86 for the taxable year.