Skip to main content
My Consumer Finance

Tax-gain harvesting basics: realizing gains on purpose in low-income years

Tax-gain harvesting in low-income years: when deliberately realizing capital gains can fill lower brackets or zero-percent LTCG space, with a worked brokerage example.

Tax-gain harvesting means deliberately selling appreciated investments in a taxable brokerage account in a year when your taxable income is unusually low, so some or all of the long-term capital gain is taxed at 0% (or another lower rate) under current federal brackets - then often buying the same or similar investment back to reset cost basis higher. It is the mirror image of tax-loss harvesting, not a way to create free money.

This stays at household basics. Bracket maps: Tax bracket vs effective rate. Gain character: Capital gains basics. Account wrapper: Taxable brokerage basics.

Where gain harvesting applies

AccountUsually relevant?
Taxable brokerage (Fidelity, Vanguard, Schwab, E*TRADE)Yes - sales realize capital gains on Form 1040
Traditional / Roth IRA, 401(k)Different tools (for example Roth conversions); not the same LTCG 0% harvest
HSA investedNot the same annual capital-gain game as a taxable brokerage

You need room in the 0% long-term capital gains zone (or another planning reason) after counting wages, conversions, and other income. Confirm current IRS capital-gains brackets for your filing status the year you sell.

The simple idea

  1. You expect a low-income year (parental leave, sabbatical, job gap, first retirement year before Social Security, etc.).
  2. You hold lots with large unrealized long-term gains in a taxable account.
  3. You sell enough to “fill” preferential LTCG space without shoving ordinary income into a worse combined outcome.
  4. You repurchase (same fund is often fine for gains - the wash-sale rule targets losses) so you stay invested with a higher basis.
  5. Future appreciation above the new basis may be taxed later; the harvest locked in tax at today’s low rate.

Gain harvesting competes with other low-income-year moves such as Roth conversions. Run rough numbers both ways before you click sell (Filing taxes for beginners).

Worked example: filling 0% LTCG space

Alex normally earns about $95,000 wages. In Year X Alex has only $40,000 of wages after a mid-year job change. Alex files single and, after deductions, has roughly $25,000 of unused room under the top of the 0% long-term capital-gains zone (illustrative - use that year’s IRS table).

Alex holds a Vanguard total-market ETF in a taxable account bought years ago for $20,000, now worth $45,000 ($25,000 unrealized long-term gain). Alex sells the entire lot, realizes about $25,000 LTCG that may fall in the 0% federal zone (watch NIIT, state tax, and other income), then buys the same ETF back the next day with a new $45,000 basis.

Rough outcome: federal tax on that gain may be $0 in this stylized year; basis is reset so a later sale only taxes gains above $45,000. If Alex had waited until a $95,000 wage year, the same $25,000 LTCG might have faced 15% federal tax ($3,750 illustrative) plus any state tax.

Alex still checks:

  • State tax (many states tax capital gains as ordinary income).
  • Whether the sale affects premium tax credits, student aid, or Medicare IRMAA in adjacent years.
  • Transaction fees and bid-ask spread (usually small on major ETFs).

When skipping gain harvest is smarter

  • Your income is already near or above the top of the 0% LTCG range.
  • You need the cash for spending (then it is just a normal sale, not a harvest-and-repurchase plan).
  • State tax or NIIT erases most of the federal benefit.
  • You would realize short-term gains (ordinary rates) by mistake - confirm holding period first (capital gains basics).
  • A Roth conversion in the same low-income year is a higher priority for lifetime tax (Roth conversions).
  • The paperwork time exceeds a tiny basis reset.

Loss harvesting and gain harvesting in the same year need coordinated lot selection so you do not accidentally net away the planning benefit (Tax-loss harvesting).

Checklist

  1. Project taxable income and LTCG bracket room before year-end.
  2. Confirm lots are long-term and live in a taxable account.
  3. Estimate federal, state, and NIIT impact - not federal headlines alone.
  4. Sell, document proceeds, and repurchase if you want continuous market exposure.
  5. Save 1099-B data; note the new basis on the replacement lot.
  6. Revisit next year; do not harvest gains into a high-income surprise December bonus.

Educational only. Not tax, legal, or investment advice. Capital-gains brackets, NIIT, and state rules change; confirm with current IRS publications and a qualified tax professional for your return.