Tax-Gain Harvesting Guide

Tax-gain harvesting is the deliberate realization of capital gains in years when your income falls below the 0% long-term capital gains threshold. It resets your cost basis to a higher level, reducing future taxable gains.

While tax-loss harvesting (selling losers) gets most of the attention, tax-gain harvesting is a powerful but underutilized strategy. The 0% long-term capital gains bracket in 2025 covers single filers with taxable income up to $47,025 and married couples filing jointly up to $94,050. If your income is below these thresholds, you can sell appreciated assets, pay zero federal tax on the gains, and immediately repurchase the same assets to reset the cost basis higher.

Consider a married couple with $60,000 in ordinary income (after the standard deduction). They have $30,000 of room below the $94,050 threshold before capital gains are taxed. If they hold Apple stock purchased for $20,000 now worth $50,000, they could sell, realize the $30,000 gain tax-free, and immediately rebuy. Their new cost basis becomes $50,000, reducing future taxable gains. The couple just banked $30,000 of tax-free growth.

This strategy works best in low-income years such as early retirement before Social Security or RMDs begin, sabbatical years, years between jobs, or during business startup phases when income is minimal. It's particularly valuable for concentrated single-stock positions where you want to diversify without triggering a large tax bill later.

Interaction with State Taxes

While federal tax on harvested gains may be 0%, state taxes still apply. States like California tax capital gains as ordinary income at rates up to 13.3%. If you live in a high-tax state, weigh the federal benefit against the state cost. In a low-income year, your state marginal rate may also be low, making the strategy even more attractive.

FAQs

Does tax-gain harvesting trigger the wash sale rule?

No. The wash sale rule only applies to losses, not gains. You can sell an asset at a gain and immediately repurchase it without any restriction. This is why gain harvesting is simpler to execute than loss harvesting — there's no 30-day waiting period.

Can I use tax-gain harvesting in my IRA or 401(k)?

No. Tax-gain harvesting only makes sense in taxable brokerage accounts. In tax-advantaged accounts like IRAs and 401(k)s, gains grow tax-deferred or tax-free regardless of when you realize them, so resetting the basis has no benefit.

How do I track my cost basis after harvesting?

Brokerages track cost basis for you and report it on Form 1099-B when you sell. After harvesting, your new basis is the repurchase price plus any commissions. Most major brokerages (Vanguard, Fidelity, Schwab) allow you to select specific tax lots, making it easy to identify which shares to harvest.