Tax Gain Harvesting: Resetting Cost Basis in Lower-Income Years
Most investors have heard of tax loss harvesting. Fewer know about its quieter counterpart. Tax gain harvesting is the practice of intentionally selling appreciated investments in a year when your taxable income is low enough that long-term gains may face little or no federal tax, then often buying back the same or a similar holding. The goal is to raise your cost basis, so less gain is exposed to tax later when your income, and possibly your bracket, is higher.
It sounds counterintuitive to realize gains on purpose, but in the right year it can be a useful tool for retirees, early retirees, business owners between ventures and families with uneven income. Families in Madison, Wausau and Oshkosh may find these windows in several ways: a gap year after a business sale, a sabbatical, or the first years of retirement before Social Security and required distributions begin. If you would like to explore whether your situation fits, you can request a complimentary, no-obligation wealth and tax review.
How Tax Gain Harvesting Works
Federal long-term capital gains are taxed in tiers. The lowest tier applies up to an income threshold set by the IRS and adjusted each year, and gains that fall inside that tier may owe little or no federal tax. Gains that push income above the threshold move into higher brackets.
Tax gain harvesting tries to fill that lowest tier with gains you choose to recognize. A simplified sequence:
Estimate taxable income for the year, including wages, pensions, interest, dividends and retirement withdrawals.
Compare that estimate with the current long-term capital gains thresholds.
Identify appreciated positions held longer than one year.
Sell enough to realize gains that stay within the targeted bracket.
Reinvest, often in the same holding, at the new, higher cost basis.
Unlike losses, gains are not subject to the wash sale rule, so repurchasing the same investment right away is generally allowed. That allows the portfolio's allocation to stay largely intact while the tax picture changes.
Who May Benefit From Tax Gain Harvesting
The strategy tends to fit people whose income is temporarily lower than usual, or who expect it to rise. Examples to consider:
Early retirees living on cash or taxable savings before claiming Social Security or drawing from a 401(k).
Business owners in the year after a sale, once the transaction income has passed, or in a slow operating year.
Families with a parent who left work to care for children or relatives.
Executives taking a career break between roles.
A hypothetical scenario: a couple in Green Bay retires a few years before claiming Social Security. They live on a mix of cash reserves and a taxable brokerage account. Because their reported income is modest for those years, their advisor runs projections showing room to realize some long-term gains within the lowest bracket. They sell and immediately repurchase a broad index fund, resetting basis upward. Later, when required minimum distributions raise their income, those already-harvested gains are no longer exposed to tax.
The Ripple Effects to Watch
Realizing gains changes more than the capital gains line on a return. Additional income can affect other parts of your financial life, so a careful projection matters:
Modified adjusted gross income: higher income can change eligibility for credits and deductions. Our explainer on MAGI covers why this number matters.
Medicare premiums: income-related surcharges are based on income from prior years, so a gain harvested now could affect premiums later.
Health insurance subsidies: for early retirees buying coverage on the marketplace, additional income may reduce premium assistance.
Taxation of Social Security benefits: more income can cause more of your benefit to become taxable.
Wisconsin state tax: Wisconsin generally taxes capital gains as income, with a partial exclusion for certain long-term gains, so a gain that is federally favorable may still create a state tax cost.
Because of these interactions, tax gain harvesting is usually planned alongside other moves for the year, such as Roth conversions, charitable gifts or timing of retirement withdrawals. Doing both a large Roth conversion and significant gain harvesting in the same year could push income beyond the intended range.
Tax Gain Harvesting and Your Investment Strategy
Tax planning should serve the portfolio, not the other way around. Before harvesting gains, it can help to ask whether the position still belongs in the portfolio at all. A sale that resets basis is also an opportunity to rebalance, trim a concentrated stock, or shift toward the allocation you actually want.
Gain harvesting also fits within a broader set of tax-efficient investing strategies, including asset location, loss harvesting in down markets, and thoughtful withdrawal sequencing. For a wider view of the tools available, see our guide on how to reduce capital gains tax.
If you want to see how lower future taxes and reinvested growth could compound over time, the Compound calculator offers a simple way to model scenarios. Results are hypothetical and are not a prediction of actual returns.
When Tax Gain Harvesting May Not Make Sense
The strategy is not for everyone. It may offer little value if:
Your income is consistently in higher brackets, leaving no low-tax room to fill.
You intend to hold the assets until death, when heirs may receive a step-up in basis under current law.
You plan to donate the appreciated shares to charity or a donor-advised fund, which may avoid the gain entirely.
The added income would cost more in lost credits, subsidies or Medicare surcharges than the future tax it avoids.
Questions to discuss with a professional before acting include: What is my projected taxable income this year and next? How will a gain affect state tax, Medicare and credits? Is this position one I want to keep?
Plan Your Next Move With a Coordinated Team
Tax gain harvesting works best when the person reviewing your portfolio and the person preparing your return are looking at the same projection. Compound's wealth management and tax planning and preparation services are designed to coordinate those pieces for families in Wisconsin and surrounding areas, from Milwaukee to Eau Claire. To review your income outlook and portfolio together, schedule a complimentary wealth and tax review.
Frequently Asked Questions
What is tax gain harvesting?
Tax gain harvesting is selling appreciated investments held longer than a year in a year when your income is low enough that long-term gains may face little or no federal tax. You then often repurchase the same holding at a higher cost basis. This can reduce the taxable gain on a future sale when your income and bracket may be higher.
Does the wash sale rule apply to gains?
No. The wash sale rule applies to losses, not gains. That means you can generally sell an appreciated investment and buy it back right away while still recognizing the gain and resetting cost basis. Still, trading costs, bid-ask spreads and fund minimums are worth reviewing before acting, and it may make sense to confirm the details with a tax professional.
Is tax gain harvesting the same as tax loss harvesting?
They are related but opposite. Loss harvesting realizes losses to offset gains or some ordinary income, and it is subject to the wash sale rule. Gain harvesting realizes gains during low-income years to raise basis. Some investors use both at different times, depending on market conditions and their income outlook for the year.
Can realizing gains affect my Medicare premiums?
It can. Medicare premium surcharges are based on income reported in earlier tax years, so a gain realized now could raise premiums later. Retirees approaching or already on Medicare may want to model the full effect, including state tax and Social Security taxation, before harvesting gains. A coordinated wealth and tax review can help weigh those trade-offs.
Does Wisconsin tax harvested capital gains?
Generally, yes. Wisconsin typically taxes capital gains as income, though a partial exclusion may apply to certain long-term gains. A gain that is lightly taxed at the federal level may therefore still carry a state tax cost. Including the state impact in your projections can help you judge whether harvesting makes sense in a given year.
Compound is a registered investment adviser. Registration does not imply a certain level of skill or training. This article is for informational and educational purposes only and should not be construed as personalized investment, tax, or legal advice. Tax laws are complex and subject to change. Strategies discussed may not be suitable for everyone, and there is no guarantee that any strategy will achieve its objectives or reduce taxes. Calculator results are hypothetical, are not guarantees of future results, and do not reflect any actual investment. Investing involves risk, including possible loss of principal. Please consult your tax, legal, and financial professionals before acting on any information in this article. For more information, see Compound's Form ADV, available at adviserinfo.sec.gov.
About Compound Wealth
Tax planning often intersects with investment decisions, business ownership, retirement planning, and other financial considerations. Compound Wealth provides an integrated approach that combines tax planning, wealth management, accounting, and business transition services to help clients evaluate financial decisions from multiple perspectives as part of an ongoing planning process.