JOHN KOYLE, AIF®
Capital Gains Management in Retirement
The 0% long-term capital gains bracket is one of the most underused tax breaks in the code. Most retirees qualify. Most don't use it.
johnkoyle.com  |  plan.johnkoyle.com  |  (208) 915-8400  |  john@redcedarwealth.com

Section 1: Executive Summary

The federal tax code provides a 0% tax rate on long-term capital gains for taxpayers whose taxable income falls within certain thresholds. For 2024, the 0% bracket applies to long-term capital gains for married couples filing jointly with taxable income up to approximately $94,050. For single filers, the threshold is approximately $47,025. Above these thresholds, the rate rises to 15%, and above higher thresholds, to 20%.

In the early years of retirement, before Social Security benefits are maximized and before required minimum distributions begin, many retirees find themselves in an unusually low-income period where their taxable income falls within or near the 0% capital gains bracket. This creates a window for harvesting accumulated capital gains in taxable brokerage accounts at zero federal tax cost, permanently resetting the cost basis of those holdings.

This strategy, called capital gains harvesting or strategic gain realization, is the inverse of tax-loss harvesting. Instead of realizing losses to create deductions, the retiree realizes gains when the tax cost is zero, eliminating the future tax liability on those gains. Done systematically over several years, capital gains harvesting in the 0% bracket can significantly reduce the lifetime tax burden on taxable portfolio assets.

Section 2: The Core Concepts

How the 0% Capital Gains Bracket Works

Long-term capital gains are taxed at rates of 0%, 15%, or 20% based on total taxable income, not just on the capital gains themselves. A married couple with $60,000 of taxable income from ordinary sources and $30,000 of long-term capital gains has a total taxable income of $90,000. Because $90,000 falls below the $94,050 threshold for the 0% bracket, all $30,000 of capital gains are taxed at 0%. The ordinary income and capital gains stack together for bracket determination, but only the gains portion gets the preferential rate.

The practical mechanics: long-term capital gains are taxed at the 0% rate for the portion that falls within the 0% bracket ceiling. If total income including gains exceeds the ceiling, the excess gains are taxed at 15%. The opportunity is to harvest gains up to the ceiling in years when ordinary income is low enough to leave room.

Calculating the Available Harvesting Room

The available harvesting room in any given year is the difference between the 0% bracket ceiling for the taxpayer's filing status and their projected ordinary taxable income for the year. Ordinary income includes wages, Social Security (the taxable portion), IRA distributions, pension income, rental income, and other non-capital gain sources.

For a married couple with $45,000 of ordinary taxable income and a 0% bracket ceiling of $94,050, the available harvesting room is approximately $49,050. They can realize up to $49,050 of long-term capital gains from their taxable portfolio at zero federal tax. This could be used to sell appreciated positions in the taxable account, buy them back immediately (no wash sale rule applies to gains), and permanently reset the cost basis to the current market value.

The Basis Reset Benefit

The benefit of harvesting gains in the 0% bracket is the permanent reset of the cost basis. If a position purchased for $10,000 is now worth $50,000, it carries $40,000 of embedded gain. Selling in the 0% bracket and immediately rebuying at the current $50,000 price resets the basis to $50,000. When the position is eventually sold in a future year at, say, $70,000, only the $20,000 gain above the new $50,000 basis is taxable, rather than the full $60,000 gain that would have been taxable without the harvest.

If the position is eventually inherited by heirs who receive a step-up in basis to the date-of-death value, the harvesting benefit is partially duplicated: both the harvest and the eventual step-up reset the basis. But for positions likely to be sold during the retiree's lifetime, the 0% bracket harvest is a concrete and valuable tool.

Interaction With Social Security and IRMAA

Capital gains realizations, even at the 0% rate, add to combined income for purposes of Social Security taxability and IRMAA calculations. A married couple who realize $50,000 of capital gains at 0% federal tax may still push their combined income above the Social Security taxability threshold, causing a larger fraction of Social Security benefits to become federally taxable. They may also push MAGI above an IRMAA tier, triggering Medicare premium surcharges.

These interactions create multiple constraints that must be managed simultaneously in the capital gains harvesting decision. The relevant thresholds for Social Security taxability, the IRMAA tiers, the NIIT threshold, and the 0% gains bracket ceiling all affect the optimal level of gains to realize in any given year. The harvest that is tax-free at the capital gains level may still have costs at the Social Security or IRMAA level.

Section 3: The Strategic Gain Realization Timeline

The Early Retirement Window

The most favorable window for capital gains harvesting is the period after employment income stops but before Social Security benefits are maximized and before required minimum distributions begin. During this window, which may span several years or a decade, ordinary income is at its lowest since early in the career. This creates maximum room in the 0% bracket for capital gains harvesting.

A couple who retire at 65, delay Social Security to 70, and don't have large pre-tax IRA distributions before 73 may have five to eight years of relatively low ordinary income. Systematically harvesting gains throughout this window can eliminate most of the embedded gains in a substantial taxable portfolio at zero federal tax cost, dramatically reducing the future tax burden from the taxable account.

Coordination With Roth Conversions

Capital gains harvesting and Roth conversions occupy the same income space. Roth conversions are ordinary income, not capital gains, but they use the same MAGI that determines the 0% bracket ceiling and IRMAA thresholds. In a year with significant Roth conversion income, less room may remain for capital gains harvesting. In a year with minimal Roth conversion, more room is available for gains.

The optimal coordination between gains harvesting and Roth conversions depends on the relative benefits of each in the specific year, the size of the taxable account gains available for harvesting, and the available bracket room. Some years, prioritizing Roth conversions makes more sense because the bracket room is better used for conversions that permanently reduce future RMDs. In other years, capital gains harvesting is the priority because the taxable account basis reset provides greater long-term value.

Section 4: What the Research Says

Kitces on Capital Gains Harvesting

Michael Kitces has written extensively on capital gains harvesting as a tax planning strategy for retirees. His analysis quantifies the benefit of systematic gains harvesting during the 0% bracket window and shows that the strategy can produce after-tax wealth improvements that are comparable to or exceed those from other planning strategies like tax-loss harvesting, particularly for retirees with large embedded gains in taxable portfolios.

Kitces's work also addresses the interaction between gains harvesting, Social Security taxability, and IRMAA, providing frameworks for determining the optimal level of gains to realize in any given year after accounting for all the relevant threshold effects.

Vanguard on Basis Management

Vanguard's tax-efficient investing research addresses the long-term management of cost basis in taxable accounts, including the strategic realization of gains at preferential rates. Their analysis supports systematic gains harvesting as a component of after-tax return optimization, particularly for investors with significant taxable portfolios and the income flexibility to manage within the 0% bracket during retirement.

The IRS on Wash Sale Rules for Gains

The wash sale rule, which disallows loss deductions when a substantially identical security is purchased within 30 days of a sale at a loss, does not apply to gains. A retiree can sell an appreciated position, realize the gain at 0% tax, and immediately repurchase the same security to reset the basis. The wash sale restriction applies only when trying to claim a loss, not when realizing a gain. This makes the gains harvesting execution simpler than loss harvesting.

Section 5: The Common Mistakes

Mistake One: Not Knowing the 0% Bracket Exists

Many retirees are unaware that long-term capital gains can be taxed at 0% in certain income ranges. The 0% bracket is not widely publicized and is underused relative to its availability. Retirees who become aware of it often find that they have had multiple years of 0% bracket room that went unused.

Mistake Two: Harvesting Gains Without Accounting for Social Security and IRMAA Effects

The capital gains are tax-free at the federal income tax level, but they still affect combined income for Social Security taxability and MAGI for IRMAA purposes. Harvesting large gains without modeling the Social Security and IRMAA interactions can produce unintended consequences that partially offset the tax-free gains benefit.

Mistake Three: Missing the Window Due to High Roth Conversion Activity

A retiree who maximizes Roth conversions every year without reserving bracket room for capital gains harvesting may miss the harvesting opportunity. The two strategies compete for the same income space, and the optimal allocation between them depends on the specific situation and priorities.

Mistake Four: Selling Positions Intended for Estate Planning

Positions with large embedded gains that are intended to be left to heirs receive a step-up in basis at death, which eliminates the embedded gain without any tax. Harvesting these positions at 0% during lifetime is suboptimal compared to preserving the estate planning benefit of the step-up. Capital gains harvesting is most valuable for positions that will be sold during the retiree's lifetime rather than passed to heirs.

Section 6: Questions to Ask Your Advisor

Question 1: What is my available room in the 0% capital gains bracket this year?

This establishes the opportunity size for the current year's harvesting.

Question 2: Which positions in my taxable account have the largest embedded gains and are candidates for harvesting?

Identifying the highest-priority positions to harvest focuses the strategy on the largest benefit.

Question 3: How would realizing $X of capital gains this year affect my Social Security taxability and IRMAA exposure?

This models the full income impact of the proposed harvest, including the non-obvious threshold effects.

Question 4: Should I prioritize Roth conversions or capital gains harvesting in years when I can't do both within the bracket?

This question asks for a prioritization framework based on the specific portfolio and situation.

Question 5: Which of my taxable positions are intended for heirs rather than lifetime spending, and should those be excluded from the harvesting plan?

This coordinates the gains harvesting plan with the estate planning strategy.

Section 9: Use the Calculator

The retirement planning calculator at plan.johnkoyle.com was built to model exactly the dynamics discussed in this paper. The retirement calculator at plan.johnkoyle.com projects your income from all sources at each age, including the taxable account draws needed to supplement other income sources. The Withdrawal Strategy tab shows the income composition and tax implications of different withdrawal approaches. For capital gains harvesting planning, the key input is the projected ordinary income in the early retirement years, which determines how much room remains in the 0% bracket. Work with your advisor to use the calculator's income projection as the foundation for identifying the years with the most harvesting opportunity and the specific amount to harvest in each year.

Run your own numbers at plan.johnkoyle.com

Section 10: About John Koyle, AIF®

John Koyle, AIF®, is the Co-Founder of Red Cedar Wealth Advisors, headquartered in Pocatello, Idaho. He holds the Accredited Investment Fiduciary (AIF®) designation, awarded by the Center for Fiduciary Studies (Fi360), which signifies completed coursework, a rigorous examination, and ongoing continuing education in fiduciary responsibility and prudent investment practices.

John serves individuals and families in or approaching retirement throughout eastern Idaho, the Pacific Northwest, and across the country via Zoom. Clients work directly with John, not a junior team. Red Cedar Wealth Advisors operates under Osaic Wealth, Inc. (Member FINRA/SIPC) and Osaic Advisory Services, LLC for investment advisory services.

The Five Disciplines. One Foundation.

Every client relationship is built on five integrated disciplines. The proportions shift with the client and the moment. The integration is constant. Most of the actual value sits in how these disciplines connect, not in any single one of them.

Retirement Sustainability

Retirement planning is a discipline that barely existed a generation ago. For most of modern history, people worked until they physically couldn't and then they died, usually fairly close together. The idea that an individual should spend decades saving, then spend decades drawing down those savings, with a plan that accounts for inflation, taxation, sequence risk, healthcare, longevity, and estate transfer, that's maybe forty years old.

Which means almost nobody your age grew up watching their parents do it properly. There's no cultural muscle memory. The advice industry backfilled that gap with rules of thumb that work sometimes and fail catastrophically the rest of the time. The 4% rule. 'You can take Social Security at 62.' 'Target-date funds will handle it.' These are not bad starting points. They are terrible ending points. Real planning is specific, personal, and built on principles that hold up across the full range of outcomes, not just the average one.

Tax Efficiency

The tax code is a set of instructions Congress wrote to shape behavior. Aligning your financial life with those instructions is not aggressive planning. It is the planning. Roth conversion sequencing, capital gains compression on concentrated positions, charitable remainder trusts, Social Security timing, beneficiary coordination. None of these are obscure. They're all legitimate, all written into the code intentionally, and all under-used. Most CPAs handle compliance. The strategy work is a different discipline entirely.

Wealth Transfer

Seventy percent of family wealth doesn't survive two generations. The reason isn't bad markets. The cause is failure to communicate, outdated documents, and no plan for preparing heirs. Beneficiary designations regularly override well-crafted wills. Trust structures created a decade ago no longer match current law or current family. The portfolio that built the wealth isn't the structure that transfers it. The work here is coordinating with your attorney to align documents, beneficiaries, gifting strategies, and trust funding with what you actually want to happen.

Portfolio Performance

Every week, before any portfolio decision, John runs through four layers of market health: economic conditions, market internals, valuations, and sentiment. Each layer gets scored and those scores combine into a composite that maps directly to a portfolio posture, from aggressive on the positive end to defensive on the negative. The work is in the scoring. Once the scoring is done, the positioning follows. That removes one of the most dangerous things in investing: making it up as you go.

Risk Management

The protection gap quietly kills more plans than markets do. A significant net worth paired with inadequate liability coverage is a lawsuit away from a serious problem. Long-term care is more acute: a multi-year care event for one spouse can consume what was meant for the survivor. Most advisors relegate risk to a footnote because insurance conversations are uncomfortable. The math doesn't care. Coverage adequacy, umbrella sizing, long-term care planning, and life insurance structure sit alongside the portfolio in any complete plan.

Six Beliefs

These are the principles behind every plan John builds.

01. Sequence risk often kills more plans than return assumptions do. The order of returns matters more than the average. Two retirees with identical 7% average returns can end up in completely different places depending on when those returns arrive. A bad first decade of retirement can end a plan that would have worked fine with the same average distributed differently.
02. Price determines return. The decade you start in is most of the story. Buy stocks at a CAPE of 10 and you get a good decade. Buy them at 35 and you get a decade of treading water. Starting valuation is the single best predictor of 10-year returns, better than any forecaster, any guru, or any fund manager.
03. The best Roth conversion year is the one you almost didn't do. The years between retirement and required minimum distributions are often the lowest-income window of a lifetime. Missing that window costs hundreds of thousands of dollars in lifetime taxes. Most people miss it because it feels optional. It isn't.
04. Concentration builds wealth. Diversification protects it. Most wealth gets built through concentration in one thing done well. A business. A career. A property. Keeping wealth requires the opposite discipline. The same concentration that made you rich will unmake you if you don't rotate out of it.
05. The surviving spouse moves to single filing. Same income, higher bracket. Married filing jointly has wider brackets than single. When the first spouse passes, the survivor keeps most of the income and loses half the brackets. This is the widow's tax trap, and it's one of the most under-planned events in retirement.
06. A process you follow beats a hunch you got right once. Everybody's a genius in a bull market. The work of a real advisor shows up in the years nobody remembers fondly. A process is what keeps you from confusing a long bull run with actual skill. It's also what keeps you invested when everything in your body wants to sell at the bottom.

To begin a conversation, visit johnkoyle.com, use the retirement planning calculator at plan.johnkoyle.com, or reach John directly at john@redcedarwealth.com or (208) 915-8400. Initial consultations are complimentary and carry no obligation.

0% Capital Gains Bracket Thresholds (2024)
Married Filing Jointly: 0% on gains up to ~$94,050 total taxable income | Single: 0% on gains up to ~$47,025 | Note: the ordinary income and gains stack together; gains use the remaining room in the bracket ceiling
References
Sources cited throughout this paper are provided for educational context and verification. Inclusion of any third-party source does not imply endorsement by John Koyle or Red Cedar Wealth Advisors. Readers are encouraged to consult primary sources directly.
Important Disclosures
This white paper is published by John Koyle and Red Cedar Wealth Advisors for informational and educational purposes only and does not constitute personalized financial, tax, or legal advice. Nothing in this paper should be construed as a solicitation, offer, or recommendation to buy or sell any security, or to adopt any particular investment or tax strategy.
Tax laws are complex and subject to change. The references to federal tax brackets, contribution limits, retirement plan rules, Social Security provisions, Medicare premium thresholds, and other regulatory figures reflect the legal landscape as understood at the time of writing and may change. Clients should consult their own tax and legal professionals before acting on any strategy discussed.
Investing involves risk, including the possible loss of principal. Past performance is not indicative of future results, and there can be no assurance that any investment strategy will achieve its objectives. No content in this paper is a prediction or projection of future performance.
References to third-party sources, studies, authors, and institutions are provided for context and verification; their inclusion does not imply endorsement, and neither John Koyle nor Red Cedar Wealth Advisors is responsible for the content of third-party materials.
Hypothetical examples contained in this paper are for illustrative purposes only. They do not represent the results of any specific investment and should not be interpreted as projections or predictions of future outcomes.
Regulatory Disclosures
Securities and investment advisory services are offered through Osaic Wealth, Inc., member FINRA/SIPC. Investment advisory services are also offered through Osaic Advisory Services, LLC. Osaic Wealth and Osaic Advisory Services are separately owned and other entities and/or marketing names, products, or services referenced here are independent of Osaic Wealth and Osaic Advisory Services.
This material has been prepared for informational purposes only. Individuals seeking financial advice specific to their situation should consult with a qualified financial professional.
Check the background of your financial professional on FINRA's BrokerCheck at brokercheck.finra.org.
Blue Sky Registration
This communication is strictly intended for individuals residing in the states of Arizona, California, Colorado, Idaho, Montana, Nevada, Oregon, Texas, Utah, and Washington. No offers may be made or accepted from residents outside these states due to various state regulations and registration requirements regarding investment products and services.
Contact Information
John Koyle, AIF® | Red Cedar Wealth Advisors | Pocatello, Idaho