Flames Access
$150 per quarter
$600 annualized
Capital gains in retirement
A brokerage account built over thirty years arrives in retirement carrying decades of unrealized gain. When and how that gain is realized is a decision, and in retirement, when ordinary income is finally under your control, it is a decision with unusually good options.
Published September 11, 2026 by Flames Financial Planning. 9 min read.
Short answer: Long-term gains and qualified dividends are taxed at 0% while your joint taxable income, including the gains themselves, stays at or below $98,900 in 2026 ($49,450 single), 15% up to $613,700, and 20% above, with a further 3.8% on investment income once modified adjusted gross income passes $250,000 joint. Gains stack on top of ordinary income, so the room in the 0% and 15% brackets is whatever ordinary income has not used. Manage gains by realizing them deliberately in low-income years, selling the highest-basis lots first, giving the lowest-basis positions to charity, and leaving positions you will never need for the step-up in basis at death.
The schedule
Gains on assets held more than a year, and qualified dividends, have their own rate schedule. It is keyed to taxable income, the same measure as the ordinary brackets, but the breakpoints are different.
| Rate on long-term gains and qualified dividends | Joint taxable income (2026) | Single |
|---|---|---|
| 0% | up to $98,900 | up to $49,450 |
| 15% | $98,900 to $613,700 | $49,450 to $545,500 |
| 20% | over $613,700 | over $545,500 |
| plus 3.8% net investment income tax | MAGI over $250,000 | MAGI over $200,000 |
Sources: IRS, Rev. Proc. 2025-32 (full text), section 3.03; IRS, Topic no. 559, Net investment income tax. Short-term gains (assets held a year or less) and non-qualified dividends are taxed as ordinary income at the regular brackets. The net investment income tax thresholds are set in statute and not indexed.
The 3.8% tax deserves a note of its own. It applies to the smaller of your net investment income or the amount by which MAGI exceeds the threshold, and the threshold has been $250,000 for a joint return since the tax began, with no inflation adjustment. A couple with $60,000 of dividends and interest and $220,000 of MAGI pays nothing; the same couple with a $100,000 gain pays 3.8% on $70,000 of it. The gain is taxed at 15% and, in effect, 18.8% at once.
The stacking rule
The most useful and least understood feature of the schedule is how the two kinds of income combine. Ordinary income (wages, pensions, IRA withdrawals, Roth conversions, interest, Social Security) fills the ordinary brackets first. Long-term gains and qualified dividends are then stacked on top, and the capital-gain rate is read off where the stack lands.
An example. A retired couple, both over 65, has $75,500 of ordinary income before deductions: after the $35,500 standard deduction that is $40,000 of taxable ordinary income. The 0% capital-gain bracket runs to $98,900, so they can realize $58,900 of long-term gains this year and pay no federal tax on any of it. Every dollar of gain beyond that is taxed at 15%. And every additional dollar of ordinary income they take, say from an IRA, is taxed at its own bracket rate and pushes a dollar of gain from 0% to 15%, so its true cost is the bracket rate plus 15 points.
A Roth conversion and a realized gain use the same bracket room. In a year when the household wants to do both, each dollar of conversion costs its bracket rate plus the capital-gain rate it displaces. For a couple in the 22% bracket with gains in the 0% band, that is 37 cents, not 22. The two are planned as one decision, and often assigned to different years.
The rule also explains a surprise that catches many retirees: Social Security. Because up to 85% of benefits become taxable as other income rises, and gains count as other income for that formula, a large gain in a year when benefits are being drawn can pull more of the benefit into income, which then pushes the gain higher in the stack. The years before claiming, when the household controls its income, are where large gains are cheapest, for the same reason they are where conversions are cheapest.
The moves
The house
The largest single gain many households ever realize is on a house, and it has its own rule.
Gain on the sale of a main home is excluded from income up to $250,000 for a single filer and $500,000 on a joint return, provided you owned and lived in the home for at least two of the five years before the sale and have not used the exclusion in the previous two years. Gain above the exclusion is a long-term capital gain like any other, stacked on top of ordinary income, counted toward the 3.8% threshold and toward Medicare MAGI. Source: IRS, Topic no. 701, Sale of your home.
For a long-held house in a market that has risen steeply, the gain above the exclusion can be several hundred thousand dollars, all in one year. That year should not also be a Roth conversion year or a gain-harvesting year, and where the timing is flexible, a sale before Medicare enrollment or in a year without other income keeps the stack low. Basis matters here too: the cost of improvements over the years adds to it, and records of them are worth keeping.
Two edge cases come up often. A surviving spouse can still use the full $500,000 exclusion if the home is sold within two years of the death, after which the single limit applies. And a home inherited by children takes a basis equal to its value at death, so a parent who is considering selling to simplify the estate should compare the tax on selling now with the tax on selling later, which for the heirs may be zero.
The state layer
Federal capital-gain rates are the same everywhere; state treatment is not. California and Minnesota tax gains as ordinary income at rates up to 13.3% and 9.85% respectively, so a gain that is taxed at 15% federally can face nearly 30% in total. Washington taxes long-term gains above a standard deduction at 7%, rising to 9.9% on large gains, while having no ordinary income tax. Wisconsin excludes 30% of long-term gains from state income. Texas, Florida, Tennessee and Nevada tax gains not at all. For a household with a large gain and a planned move, which state you are domiciled in when you sell is worth more than most other planning. Each state page carries the rule with its source.
Flames FP approach
Flames Financial Planning coordinates investments, taxes, retirement income and estate guidance under a flat quarterly membership, with no fee on assets. Planning includes proactive tax guidance and a planning-focused review of a completed personal return. Premier adds ongoing tax projections, Roth-conversion and capital-gain modeling, retirement-income and withdrawal implementation, and eligible tax-return preparation and filing through an independent tax partner.
$150 per quarter
$600 annualized
$900 per quarter
$3,600 annualized
$1,650 per quarter
$6,600 annualized
Memberships are billed quarterly in advance with no annual commitment. See what each includes on the pricing page, read how the pieces fit together on the retirement tax planning overview, or, if you are weighing a subscription firm, see the side-by-side with Facet.
FAQ
Long-term capital gains and qualified dividends are taxed at 0% while joint taxable income, including the gains, is at or below $98,900 ($49,450 for a single filer). Above that they are taxed at 15% up to $613,700 joint ($545,500 single) and 20% beyond.
Long-term gains do not change the rate on your ordinary income, because they are stacked on top of it and taxed at their own schedule. But they do raise adjusted gross income, which can make more of your Social Security taxable, trigger the 3.8% investment tax, phase out deductions, and raise Medicare premiums two years later. Ordinary income does push gains into a higher capital-gain rate, because it fills the room beneath them.
Selling an appreciated investment in a year when the gain would be taxed at 0%, then buying it back, so the basis resets higher and no tax is paid. There is no wash-sale rule for gains, so the repurchase can be immediate. It is most useful for retirees in the years before Social Security and required distributions, when ordinary income is low.
It applies to the smaller of net investment income (interest, dividends, gains, rents, royalties and similar) or the amount by which modified adjusted gross income exceeds $250,000 on a joint return ($200,000 single). The thresholds are not indexed. Retirement-plan distributions are not investment income, but they raise MAGI and can expose investment income you already have.
For a household that gives to charity, donating appreciated stock held more than a year is usually better than selling it and giving cash: the deduction is generally the full fair market value and the gain is never taxed. For positions the household will never need and does not intend to give, leaving them for heirs, who receive a basis stepped up to the value at death, is often better than either.
Up to $250,000 for a single filer and $500,000 on a joint return, if you owned and lived in the home for at least two of the five years before the sale and have not used the exclusion in the prior two years. Gain above that is a long-term capital gain.
Keep reading
Keeping the gain-producing assets where gains are taxed least, before any of them are realized.
The other claim on the same bracket room, and how to assign the two to different years.
When the gain is all in one company: a multi-year plan for bringing it down.
This article is educational and is not individualized tax, legal or investment advice. Thresholds, rates and premiums are revised every year; the figures here are for tax year 2026 as published by the sources above, and you should confirm the current year’s before acting on any of them. Advisory services are offered through Core Planning, LLC, a Registered Investment Advisor.