top of page

How to Harvest Capital Gains in the 0% Tax Bracket During Retirement

  • Writer: Marcel Miu, CFA, CFP®
    Marcel Miu, CFA, CFP®
  • 4 days ago
  • 8 min read

TL;DR


Tax-gain harvesting lets retirees with low taxable income sell appreciated investments and pay zero federal capital gains tax. Since wash sale rules apply only to losses, investors can buy back the same asset minutes later and reset the cost basis higher. This often saves money on future taxes.



The Free Lunch in the Tax Code


Sarah and Mark retired at age sixty. They live off their investments. Their taxable income dropped to nearly zero. A taxable brokerage account they own grew by $80,000 over the last few years. The couple decided against letting that embedded tax liability sit there. Hitting the reset button made sense. They sold the assets. Paying zero federal tax on the gain was a huge win, and buying the assets right back secured their market position.


Graphic showing a $50,000 original investment with an $80,000 embedded gain resetting to a $130,000 cost basis. The key insight is that early retirees can legally eliminate future federal capital gains tax by selling and repurchasing the exact same asset during a low-income year.
Hypothetical example for illustrative purposes only. Repurchasing assets immediately carries execution risk, and market values will fluctuate.

Retirees often focus on tax-loss harvesting to offset gains. But many miss the massive opportunity hidden in low-income years. Washing away future tax bills requires proactive planning. Harvesting gains demands careful calculation of your total income.


Most people spend their working years avoiding capital gains taxes. High salaries push them into the highest tax brackets. The government takes a large cut every time they sell a profitable stock. Retirement changes the math, though. Stopping work means your earned income drops and the tax code treats you in a new way. The 0% long-term capital gains bracket becomes available for many and can be used to save money over the long run.


*Market conditions do not guarantee a profit or protect against a loss


What Exactly Is Tax-Gain Harvesting?


Selling appreciated assets in a taxable account realizes a long-term capital gain (assuming you hold over 1 year). Paying a 0% federal tax rate on the profit is the primary goal. You then repurchase the asset to establish a higher cost basis.


This is different than tax-loss harvesting, which is used to offset gains elsewhere. The goal of gain harvesting is to reduce (or eliminate in some cases) future tax liabilities. Both strategies require discipline and a thorough understanding of your tax picture.


Comparison table contrasting tax-loss and tax-gain harvesting mechanics. The key insight is that while loss harvesting offsets current high income, gain harvesting permanently removes future tax liabilities for low-income retirees without triggering IRS wash sale restrictions.
Tax laws change frequently. Consult a qualified tax professional to determine if loss or gain harvesting aligns with your specific financial plan.

Let's look at the cost basis. Cost basis is the original price you paid for an investment. Buying shares of a fund for $50,000 sets your basis at $50,000. Ten years later, that fund might be worth $130,000. You have an $80,000 embedded gain. Selling the fund triggers taxes on that $80,000.


Gain harvesting can change the outcome. You sell the fund when your income is low (in this case, while still in the 0% long-term capital gains bracket). The IRS taxes the $80,000 gain at 0%. You take the entire $130,000 and buy the same fund again. Your new cost basis is $130,000. The $80,000 gain disappears from your future tax calculations.


*Investing involves risk. The value of your newly purchased fund will fluctuate.


How Do You Qualify for the 0% Capital Gains Bracket?


The 0% bracket applies to long-term capital gains and qualified dividends. You must hold the asset for more than one year to qualify. Shorter holding periods are considered short-term capital gains, which the IRS taxes at your ordinary income tax rates (which are usually higher).


To find your 0% limit, you add your standard deduction to the top end of the 0% capital gains bracket. For example, in 2025, a married couple filing jointly can have up to $128,200 of Gross Income (a $31,500 standard deduction + the $96,700 capital gains bracket limit) before paying federal capital gains tax. This threshold changes every year with inflation, so be sure to check the current IRS limits.


Ordinary income sits at the bottom of your tax calculation. Capital gains sit on top. The IRS stacks your money to determine your rate. Earning an unexpected bonus, withdrawing from a traditional IRA, or receiving non-qualified dividends increases your ordinary income at the bottom. This can push your capital gains at the top over the line, triggering a 15% or 20% tax on the overflowing gains.


Let's walk through an example using 2025 numbers. John and Jane are married filing jointly, giving them a standard deduction of $31,500. They earn $40,000 in ordinary income from part-time consulting. Their standard deduction completely absorbs the first $31,500, leaving them with just $8,500 of Taxable Ordinary Income sitting at the bottom of their bucket. Because the 2025 0% capital gains bracket goes up to $96,700, they still have $88,200 of space remaining ($96,700 limit - $8,500 ordinary income). They can harvest up to $88,200 in long-term capital gains without paying a single dollar in federal capital gains tax.


*This strategy requires precise execution. Miscalculating your income could push your gains into the 15% bracket.


Stacked bar chart illustrating the IRS income stacking method. The key insight is that capital gains sit on top of the standard deduction and ordinary income, meaning retirees must proactively measure their non-investment income to stay under the $128,200 limit for a 0% federal tax rate.
Income thresholds are based on current IRS limits for Married Filing Jointly, adjusted annually for inflation, and exclude state tax considerations.


Why Do Wash Sale Rules Not Apply to Gains?


Investors assume they must wait 30 days to buy back a sold asset. The IRS wash sale rule applies only to capital losses. It prevents people from faking a loss to lower their tax bill. The IRS permits you to realize a gain whenever you want. Recognizing taxable income never bothers the government.


Flowchart comparing the 31-day wait for tax-loss harvesting against the immediate repurchase allowance for gain harvesting. The key insight is that investors can sell and buy back the same index fund within minutes to secure a higher cost basis because the IRS wash sale rule only applies to losses.
The IRS wash sale rule applies exclusively to realized capital losses. Past performance does not guarantee future results.

You can sell an index fund at a gain in the morning and buy it back minutes later. This immediate repurchase sets gain harvesting apart from loss harvesting. Loss harvesting forces you to buy a different asset. You must wait 31 days to buy back the original asset. Gain harvesting has no restrictions. The freedom to trade immediately reduces your time out of the market. Time out of the market can result in missed growth.


*Past performance does not guarantee future results.


How Do Roth Conversions Interfere With Gain Harvesting?


Early retirees often use low-income years to convert pre-tax IRA money to a Roth IRA. These conversions move money from a taxable environment to a tax-free environment. Roth conversions generate ordinary income. That ordinary income eats up the space in the 0% capital gains bracket.


Illustration of a tax bucket filling with both Roth conversions and harvested gains. The key insight is that executing Roth conversions generates ordinary income, which can unintentionally crowd out space in the 0% capital gains bracket, requiring retirees to weigh these competing strategies carefully.
Roth conversions generate ordinary income and may impact your capital gains tax bracket. Strategy suitability depends on your specific financial circumstances.

We help calculate whether converting IRA funds at lower ordinary income rates makes more sense than harvesting gains at 0%. Prioritizing one strategy often means sacrificing the benefits of the other.


Every dollar you convert to a Roth IRA fills up your tax bucket from the bottom. Harvesting a dollar of capital gain fills up the bucket from the top. Doing both at the same time usually results in a tax bill. A financial plan helps you decide which strategy provides a greater long-term benefit. Tax laws change and the strategy that works today might not work next year.


Navigating the Ripple Effects


Harvesting gains operates in a connected financial ecosystem. Before executing any trades, you must measure the collateral impacts on the rest of your retirement profile. We look at four specific areas to ensure the strategy makes sense.


State income taxes matter. Many states don't have a zero percent capital gains bracket. Harvesting gains federal tax-free might still generate a state tax bill. You have to calculate the net benefit.


Medicare premiums can increase. Realized gains increase your Modified Adjusted Gross Income. Higher income can trigger IRMAA surcharges. These surcharges increase your Medicare Part B and Part D costs.


Social Security benefits might face taxes. Realized gains increase your combined income. Up to eighty-five percent of your benefits can become taxable if your income rises too high.


Pushing past the limit triggers the fifteen percent bracket. Any gain pushed above the income threshold loses the zero percent exemption. Careful planning keeps your gains within the tax-free zone.


A two-by-two matrix detailing the secondary impacts of gain harvesting. The key insight is that realizing tax-free federal gains can still trigger hidden costs, such as increased Medicare IRMAA surcharges, state income taxes, and the taxation of Social Security benefits.
State tax rules, Medicare IRMAA limits, and Social Security taxation vary by individual. This graphic does not constitute specific tax or Medicare advice.

Key Takeaways


The 0% capital gains bracket is a powerful tool for early retirees. Living off cash or principal makes this strategy possible. You must hold the asset for over a year to qualify for long-term capital gains rates. Holding periods carry market risk.


Wash sale rules do not apply to gains. You can buy the asset right back without a waiting period.


And watch out for state taxes. Some states tax capital gains as ordinary income. Executing this strategy in a high-tax state might erase the federal benefits.


FAQs


Are qualified dividends included in the zero percent bracket?

Yes. Qualified dividends and long-term capital gains share the same tax thresholds. Earning qualified dividends fills up your zero percent bucket alongside your harvested gains.


Does harvesting gains affect my mutual fund distributions?

No. Gain harvesting resets your cost basis. It doesn't change how the mutual fund distributes internal capital gains or dividends at the end of the year.


Can I harvest gains if only one spouse is retired?

Yes. The IRS looks at your combined income for married couples filing jointly. You can harvest gains as long as your total household income stays under the threshold.


Your Next Steps


A four-step visual checklist for executing a zero-tax harvest. The key insight is that successfully resetting cost basis requires precisely calculating current income, auditing asset holding periods, measuring tax bracket space, and executing immediate repurchases before year-end.
For educational purposes only. Do not execute trades or alter your tax strategy without consulting your financial advisor and tax professional

Stop Leaving Money on the Table


Proactive tax planning during early retirement adds tremendous value. Waiting until the end of the year limits your options. A structured approach helps you keep more of your wealth.


If you would like to learn more about our financial planning process and discuss whether our services are right for your financial objectives, feel free to schedule a consultation with our team.


To learn more about how we partner with clients, click here to view our services.


This blog is for educational purposes only and should not be taken as individual advice

Simplify Wealth Planning


Fast-Tracking Work Optional For Employees Earning Company Stock | Turn Your Stock Comp Into Wealth, Cut Taxes & Live Life Your Way | Flat Fees Starting at $8,000



Marcel Miu, CFA and CFP®, is the Founder and Lead Wealth Planner at Simplify Wealth Planning. Simplify Wealth Planning is dedicated to helping employees earning company stock master their money and achieve their financial goals.


Disclosures


Simplify Wealth Planning, LLC (“SWP”) is a registered investment adviser in Texas and in other jurisdictions where exempt; registration does not imply a certain level of skill or training.


If this blog refers to any client scenario, case study, projection, or other illustrative figure, such examples are hypothetical and based on composite client situations. Results are for informational purposes only, are not guarantees of future outcomes, and rely on assumptions specific to the scenario (e.g., age, time horizon, tax rate, portfolio allocation). Full methodology, risks, and limitations are available upon request.


Past performance is not indicative of future results. This message should not be construed as individualized investment, tax, or legal advice, and all information is provided “as-is,” without warranty.


The material and discussions are for informational purposes only. These do not constitute investment advice and are not intended as an endorsement for any specific investment.


The information presented in this blog is the opinion of Simplify Wealth Planning and does not reflect the view of any other person or entity. The information provided is believed to be from reliable sources, but no liability is accepted for any inaccuracies.


We recommend consulting with your independent legal, tax, and financial advisors before making any decisions based on the information in this blog or any of the resources we provide herein (models, etc.).

 
 
Simplify Wealth Planning
  • LinkedIn

© 2026 Simplify Wealth Planning. 

Simplify Wealth Planning | Austin, TX | (512) 200-3922

Simplify Wealth Planning, LLC is a registered investment adviser in Austin, Texas and in other jurisdictions where exempt; registration does not imply a certain level of skill or training.

 

Information presented is for educational purposes only and does not intend to make an offer or solicitation for the sale or purchase of any securities. Simplify Wealth Planning, LLC's website and its associated links offer news, commentary, and generalized research, not personalized investment advice. Nothing on this website should be interpreted to state or imply that past performance is an indication of future performance. All investments involve risk and unless otherwise stated, are not guaranteed. Be sure to consult with a tax professional before implementing any investment strategy. 

bottom of page