Coordinated retirement tax planning
Capital-Gains Planning in Retirement
Selling an appreciated investment can fund retirement, rebalance risk or simplify a portfolio—but the gain may also affect federal and Oregon taxes, Social Security taxation and Medicare premiums. The question is not merely whether to sell. It is how much, from which tax lots and in which year.
Educational information only—not individualized investment or tax advice. Tax treatment depends on the asset, holding period, income, basis, filing status and current law.
Start with the complete tax picture
How should retirees manage capital gains?
Estimate the gain before selling, separate short-term from long-term positions, review available losses and carryovers, and model how the sale interacts with ordinary income, Social Security, Medicare IRMAA, Roth conversions and Oregon income tax.
A low federal capital-gain rate can create a useful planning opportunity, but “0% capital gains” does not necessarily mean the transaction has no cost. A gain can consume deductions, increase the taxable portion of Social Security, trigger net investment income tax, move Medicare premiums into a higher tier or create state income tax.
The short answer
Build a projected tax return before placing the trade. Then compare several sale amounts and tax lots, preserve a margin for unexpected income, and choose the transaction that best balances taxes, diversification, risk and retirement cash flow.
Know what is being taxed
How capital gains are calculated
A capital gain is generally the difference between the amount realized from selling a capital asset and the asset’s adjusted tax basis. Basis often begins with purchase cost but may be adjusted for items such as reinvested distributions, commissions, improvements, gifts or inheritance.
| Item | What it means | Why it matters |
|---|---|---|
| Sale proceeds | The amount realized from disposing of the asset, adjusted for applicable selling costs | Forms the starting point for measuring the result |
| Adjusted basis | The asset’s tax basis after applicable increases or decreases | A higher documented basis generally means a smaller taxable gain |
| Holding period | Generally more than one year for long-term treatment; one year or less for short-term treatment | Determines whether preferential federal long-term rates may apply |
| Netting | Capital gains and losses are combined under federal ordering rules | Losses may offset gains, and character matters |
| Carryover | Unused net capital losses may carry into later tax years | Prior-year tax records can change the cost of a current sale |
This is a simplified overview. Real estate, business interests, collectibles, qualified small-business stock and depreciation can follow additional rules.
Review basis records before selling. Missing reinvested dividends or an incorrect inherited or gifted basis can materially distort the estimated gain.
Federal rates depend on the full return
What tax rate applies to capital gains in retirement?
Net short-term capital gains are generally taxed as ordinary income. Net long-term capital gains may receive federal rates of 0%, 15% or 20%, depending on taxable income. Certain assets and portions of real-estate gains can be subject to different maximum rates.
Long-term gains effectively sit on top of ordinary taxable income when the rate is calculated. Pensions, IRA withdrawals, Roth conversions, wages, interest and the taxable portion of Social Security can therefore reduce the amount of gain eligible for a lower federal rate.
Higher-income households may also owe the 3.8% net investment income tax. For individuals, the tax generally applies to the lesser of net investment income or modified adjusted gross income above the applicable statutory threshold: $200,000 for single or head-of-household filers, $250,000 for married couples filing jointly, and $125,000 for married people filing separately.
Oregon taxable income begins with federal taxable income and applies state additions, subtractions and modifications. Capital gains taxable on the federal return may also create Oregon tax, so a 0% federal long-term rate should not be described as a tax-free sale for an Oregon resident.
Know the estimated cost before you sell.
Compare the federal rate, Oregon tax and income-related effects of several gain amounts before finalizing the transaction.
A gain can change more than one line
How capital gains affect other retirement costs
Social Security
Additional income can increase the portion of Social Security benefits included in federal taxable income. Up to 85% of benefits may be taxable under current rules; that is not an 85% tax rate.
Medicare IRMAA
A realized gain can increase the modified adjusted gross income used to determine income-related Part B and Part D premiums, generally two years later.
Roth conversions
A gain and a conversion in the same year can compete for the same tax capacity and push income across multiple thresholds.
Net investment income tax
Investment gains can contribute to both net investment income and modified adjusted gross income used for the separate 3.8% federal tax.
Estimated payments
A meaningful gain may create a need for federal or Oregon estimated tax payments or an adjustment to withholding.
Survivor filing status
A surviving spouse may face narrower tax brackets and capital-gain thresholds after moving from a joint to an individual return.
These interactions are why gain planning belongs inside a coordinated retirement income plan, not in a separate spreadsheet focused only on the investment being sold.
Use the available planning levers
Capital-gains planning strategies for retirees
Spread gains across years
Partial sales may prevent one transaction from crowding several years of gains into a single tax return. The investment case and transaction costs still matter.
Select shares intentionally
When specific-lot identification is available and properly documented, choosing higher-basis shares may reduce the current gain compared with an automatic sale method.
Harvest losses selectively
Realized losses can offset realized gains under federal netting rules. The replacement investment should preserve the intended portfolio exposure without violating wash-sale rules.
Harvest gains deliberately
A retiree with available room in the 0% federal long-term capital-gain range may intentionally recognize gains and reset basis, while still accounting for Oregon tax and other thresholds.
Consider appreciated property
Donating eligible appreciated assets directly to a qualified charity may avoid realizing the embedded gain, subject to deduction, substantiation and eligibility rules.
Place tax-inefficient assets thoughtfully
Coordinating taxable, tax-deferred and Roth accounts may reduce unnecessary taxable distributions, although investment selection and account rules remain primary considerations.
Holding a concentrated or unsuitable investment solely to avoid a gain can expose retirement assets to unnecessary risk. Compare the tax cost with the benefit of diversification, liquidity and a portfolio aligned with the plan.
Coordinate gains with the rest of the year.
A gain decision should be evaluated alongside withdrawals, Roth conversions, charitable gifts and required distributions—not after each has already occurred.
Use losses without losing the deduction
Tax-loss harvesting and the wash-sale rule
When capital losses exceed capital gains, federal rules generally allow up to $3,000 of remaining net loss to reduce other income for the year—$1,500 for married people filing separately—with unused amounts carried forward.
A wash sale occurs when stock or securities are sold at a loss and substantially identical stock or securities are acquired within 30 days before or after the sale. The rule can also apply when the replacement is purchased by a spouse, a controlled corporation, or an IRA or Roth IRA. A broker’s Form 1099-B may not identify every wash sale across different accounts, so household-wide coordination is important.
Loss harvesting should improve the overall tax and investment plan. Selling an appropriate holding merely to create a deduction, remaining out of the market unintentionally or buying a substantially identical replacement can undermine the intended result.
Some decisions cross generations
Basis, charitable giving and inherited assets
Tax basis deserves special attention when an asset was received as a gift or inheritance. Gifted property can carry the donor’s basis and may require additional records. The basis of inherited property is often tied to fair market value at the date of death or an alternate valuation date, but estate elections and special situations can change the result.
This creates a real planning tension. Selling a highly appreciated asset now may support diversification or spending, while holding it may preserve a potential future basis adjustment under current law. The decision should consider risk, liquidity, estate goals, expected tax cost and the possibility that tax law changes.
Charitably inclined retirees may also compare selling and donating cash with transferring eligible appreciated securities directly. Direct gifts can avoid realization of the embedded gain in appropriate circumstances, but deduction limits, holding periods, appraisals and documentation rules must be followed.
Create a repeatable decision process
A practical capital-gains planning checklist
Inventory taxable holdings
List market value, adjusted basis, unrealized gain or loss, holding period, concentration and the role each position serves.
Review carryovers and expected distributions
Collect the prior return, capital-loss carryovers and estimates of mutual-fund or partnership distributions before projecting the year.
Build a baseline tax projection
Include pensions, Social Security, retirement distributions, interest, dividends and other expected income before adding an optional sale.
Test tax lots and sale amounts
Compare alternatives using federal long-term and ordinary rates, Oregon income tax, NIIT, Social Security taxation and Medicare IRMAA.
Check investment consequences
Confirm that the trade improves diversification, risk, liquidity or another portfolio objective after taxes and costs.
Coordinate implementation
Give the custodian clear tax-lot instructions, monitor wash sales across household accounts and coordinate reporting and estimated payments with a tax professional.
Make investment and tax decisions together.
The right sale is one that supports the retirement plan after considering taxes—not one chosen for the lowest tax bill in isolation.
Avoid expensive assumptions
Common capital-gains planning mistakes
Confusing proceeds with gain
The taxable result generally depends on proceeds minus adjusted basis, not the full amount deposited after a sale.
Assuming 0% means no cost
A federal 0% long-term rate does not eliminate possible Oregon tax or income-related effects elsewhere in the plan.
Ignoring holding period
Selling shortly before a position becomes long term can create ordinary federal rates when waiting would have been consistent with the investment plan.
Triggering a wash sale
Automatic purchases, dividend reinvestment, a spouse’s trade or an IRA transaction can cause a loss to be disallowed or deferred.
Letting taxes preserve bad risk
An embedded gain should be measured, but it should not automatically justify keeping an overconcentrated or unsuitable investment.
Waiting until tax filing
By the time the return is prepared, the opportunity to select a different lot, amount or calendar year has usually passed.
A coordinated retirement view
How Fairchild Capital approaches gain planning
Fairchild Capital helps people age 50 and older coordinate investment management, retirement income and tax-sensitive financial decisions. Capital-gains planning can include reviewing unrealized gains and losses, comparing tax lots, evaluating diversification and modeling how a sale may affect the household’s projected taxes and Medicare costs.
The purpose is not to eliminate every gain. Gains often accompany successful long-term investing, and selling can be necessary to fund retirement or manage risk. The goal is to make the tax effect visible and choose an implementation that supports the overall plan.
Fairchild Capital does not prepare tax returns or provide legal advice. Tax estimates and implementation should be reviewed with the client’s qualified tax professional.
Common questions
Capital-gains planning FAQs
How are capital gains calculated?
A capital gain is generally the amount realized from selling a capital asset minus its adjusted tax basis. Basis and proceeds can require adjustments, and special rules apply to certain assets.
What is the difference between short-term and long-term capital gains?
A gain is generally long term when the asset was held for more than one year and short term when held for one year or less. Net short-term gains are generally taxed as ordinary income, while qualifying net long-term gains may receive preferential federal rates.
Can retirees pay a 0% federal capital-gains rate?
Potentially. Some net long-term capital gains may fall within the 0% federal rate depending on taxable income and filing status. Oregon tax and effects on Social Security, Medicare or other provisions may still apply.
Does Oregon tax capital gains?
Capital gains included in federal taxable income may also affect Oregon taxable income because Oregon begins with federal taxable income and applies state-specific additions, subtractions and modifications. Have a qualified tax professional calculate the state result.
Do capital gains affect Medicare IRMAA?
Yes. Realized gains can increase modified adjusted gross income used for Medicare’s income-related Part B and Part D adjustments, generally for a premium year two years later.
Can capital gains make Social Security taxable?
Capital gains can increase the income used to determine whether a portion of Social Security is federally taxable. Up to 85% of benefits may be included in taxable income under current rules, but that is not an 85% tax rate.
How much capital loss can offset ordinary income?
After federal capital-gain and loss netting, an individual can generally deduct up to $3,000 of remaining net capital loss against other income for the year, or $1,500 if married filing separately. Additional loss may carry forward.
What is the wash-sale rule?
A wash sale generally occurs when stock or securities are sold at a loss and substantially identical stock or securities are acquired within 30 days before or after the sale. The loss is generally disallowed or deferred according to the applicable rules.
Should I avoid selling an appreciated investment?
Not necessarily. The tax cost should be compared with diversification, liquidity, risk and retirement-income needs. Avoiding a gain can be counterproductive when it leaves the household with an unsuitable concentration.
When should capital-gains planning happen?
Review gains and losses throughout the year and update the projection before placing a major trade or completing year-end transactions. Planning after the tax year closes limits the available choices.
Official references
Sources and further reading
Government resources
IRS Topic 409: Capital Gains and Losses
IRS Topic 559: Net Investment Income Tax
IRS Publication 550: Investment Income and Expenses
IRS Publication 551: Basis of Assets
IRS Topic 423: Taxation of Social Security Benefits
Social Security: Modified Adjusted Gross Income for IRMAA
Oregon Department of Revenue: Personal Income Tax
Plan before the trade
Coordinate capital gains with your retirement plan.
Fairchild Capital helps people age 50 and older connect investment decisions with retirement income, taxes and long-term financial goals.
