Pensioners pay capital gains tax on the same terms as any other taxpayer. Nothing in the federal tax code exempts retirees, seniors, or pension recipients from tax on profits from selling stocks, real estate, or other assets. What changes in retirement is the surrounding income picture: lower overall income often puts retirees into the 0% or 15% long-term capital gains bracket, and a home sale usually qualifies for a large exclusion. The real trap isn’t the capital gains tax itself. It’s the side effects a big gain can set off, including more of your Social Security benefits becoming taxable and higher Medicare premiums two years later.
The Rates That Apply to a Retiree’s Sale
How long you owned the asset decides which rate schedule applies. Hold something for more than a year and the profit is a long-term capital gain, taxed at 0%, 15%, or 20%. Sell within a year or less and it’s a short-term gain, taxed at ordinary income rates that can reach 37%.1Internal Revenue Service. Topic No. 409, Capital Gains and Losses For retirees selling assets accumulated over decades, almost every sale lands in the long-term category.
Long-term rates run in three tiers based on your total taxable income for the year, not the size of the gain alone. For 2026, single filers pay 0% on taxable income up to $49,450, 15% between that and $545,500, and 20% above $545,500. Married couples filing jointly pay 0% up to $98,900, 15% up to $613,700, and 20% beyond.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed
Pension payments, Social Security benefits, IRA withdrawals, and other retirement income all count toward taxable income. A retiree living on a $30,000 pension who sells $50,000 of appreciated stock doesn’t get the gain taxed in isolation. The pension fills the lower brackets first, and the capital gain stacks on top. Part of the gain can land in a higher tier than expected because of that stacking.
The 0% Bracket Is Where Retirement Actually Helps
A single filer aged 65 or older gets a standard deduction of roughly $18,150 (the base amount plus the additional senior deduction). With no other income, that retiree could realize up to about $67,600 in long-term capital gains before owing any federal capital gains tax, because the standard deduction reduces adjusted gross income before the 0% bracket is reached.3Internal Revenue Service. IRS Courseware – Standard and Itemized Deductions A married couple both over 65 gets a larger combined deduction and a higher effective zero-tax threshold.
Most retirees do have pension or Social Security income filling part of that space, so the full 0% benefit rarely covers an entire gain. Running the numbers before selling is worth the time. Spreading a large sale across two calendar years can keep more of the profit in the 0% or 15% zone instead of pushing everything into a higher tier in a single year.
Collectibles Are Taxed Higher
Art, antiques, coins, and stamps sit outside the standard rate schedule. Long-term gains on collectibles are taxed at a maximum of 28%, whatever your income bracket.2Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed A retiree selling a coin collection assembled over decades faces a steeper bite than one selling a similarly appreciated stock portfolio.
Selling the Home: The $250,000 and $500,000 Exclusion
For retirees downsizing, the primary residence exclusion is usually the single most valuable tax break in play. You can exclude up to $250,000 of profit from the sale if you’re single, or up to $500,000 if you’re married filing jointly.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence For a house owned for decades, the exclusion often wipes out the entire taxable gain.
To qualify, you must have owned and used the home as your primary residence for at least two of the five years before the sale. The two years don’t have to be consecutive.5Internal Revenue Service. Topic No. 701, Sale of Your Home Any profit above the exclusion is taxed at your applicable long-term rate.
Moving Into a Care Facility
Retirees who move into assisted living or a nursing home before hitting the full two-year use requirement get a specific carve-out. If you become physically or mentally unable to care for yourself and lived in the home for at least one of the five years before the sale, time spent in a state-licensed care facility counts as time using the home as your residence.6Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence – Section: Determination of Use During Periods of Out-of-Residence Care
The Two-Year Window After a Spouse Dies
When a spouse dies, the surviving partner can still claim the full $500,000 joint exclusion, but only if the home is sold within two years of the date of death. After that window closes, the exclusion drops back to the $250,000 single-filer limit.7Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Grieving widows and widowers often miss this deadline. On a home that has appreciated significantly, selling inside those two years can save tens of thousands of dollars.
Partial Exclusion for an Early Sale
If a health condition, job relocation, or other unforeseen circumstance forces a sale before you meet the two-year test, you may qualify for a partial exclusion proportional to the time you actually lived there. One year of use out of the required two, for example, allows up to half the full $250,000 or $500,000 limit.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence
Inherited Assets Get a Step-Up in Basis
Many retirees inherit property, and the treatment is more favorable than most people realize. When you inherit an asset, its cost basis resets to the fair market value on the date the previous owner died.8Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent Every dollar of appreciation during the original owner’s lifetime is erased for tax purposes.
If your mother paid $40,000 for a house in 1975 and it was worth $350,000 when she died, your basis is $350,000. Sell for $360,000 and you owe capital gains tax on $10,000. Had she gifted the house to you during her lifetime instead, her original basis would carry over, and the same sale would produce a $320,000 taxable gain.
The step-up covers stocks, bonds, real estate, and most capital assets. It does not apply to IRAs or 401(k)s, where withdrawals are taxed as ordinary income no matter when the account was funded. On jointly owned property, only the deceased owner’s share steps up, unless the property was held as community property in a community property state, where both halves are adjusted.
Inherited assets also count as long-term automatically for capital gains purposes, regardless of how long the original owner held them or how quickly you sell.
The Side Effects Retirees Miss
More of Your Social Security Becomes Taxable
Capital gains feed into the formula that decides how much of your Social Security is subject to income tax. The IRS calculates “combined income” as half your annual Social Security benefits plus all your other income, capital gains included.9Internal Revenue Service. IRS Reminds Taxpayers Their Social Security Benefits May Be Taxable
Combined income above $25,000 for a single filer or $32,000 joint pulls up to 50% of your benefits into the taxable column. Cross $34,000 single or $44,000 joint and up to 85% becomes taxable.9Internal Revenue Service. IRS Reminds Taxpayers Their Social Security Benefits May Be Taxable Those thresholds have not been indexed for inflation since they were set in the 1980s and 1990s. A retiree whose benefits normally escape tax can find 85% of them taxable in a year with a large stock sale or a home sale exceeding the exclusion. The effective marginal rate in that zone is steep, because each extra dollar of gain drags more Social Security into taxable territory at the same time.
The 3.8% Net Investment Income Tax
A separate 3.8% surtax applies on top of the regular capital gains rate for higher-income taxpayers. It kicks in when modified adjusted gross income exceeds $200,000 single, $250,000 married filing jointly, or $125,000 married filing separately.10Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The 3.8% is charged on the lesser of your net investment income or the amount by which your income exceeds the threshold. Those numbers are also fixed by statute with no inflation adjustment. Selling a rental property or liquidating a sizable brokerage account can clear the limit in one year, even if your normal income sits well below it.
Higher Medicare Premiums Two Years Later
Medicare Part B and Part D premiums are income-based, and a big gain can trigger the Income-Related Monthly Adjustment Amount, or IRMAA. For 2026, single filers with modified adjusted gross income above $109,000 and joint filers above $218,000 pay higher premiums, with surcharges rising across several tiers up to $500,000 single or $750,000 joint.11Centers for Medicare & Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles
IRMAA looks back two years. A large 2026 gain raises your Medicare premiums in 2028. If the spike was a one-time event, you can file a life-changing event appeal with Social Security to ask for a reduction. Otherwise the higher premium stays in place until the high-income year drops out of the two-year window.
Paying the Tax After a Big Sale
Pension payments usually have federal tax withheld, which covers your normal obligation. A large capital gain changes the math. If you’ll owe at least $1,000 for the year after withholding, and your withholding won’t cover 90% of your current-year tax or 100% of your prior-year tax, you’re required to make quarterly estimated payments.12Internal Revenue Service. Estimated Tax for Individuals
There’s a cleaner workaround if you can see the sale coming. Use Form W-4P to increase the federal tax withheld from your pension payments for the rest of the year, and you can satisfy the withholding requirement without filing quarterly estimates. If the gain hits late in the year, the annualized income installment method lets you concentrate the estimated payment in the quarter when the income actually arrived rather than spreading it across all four.
Retirees who recently turned 62 and retired have an additional safety net: the IRS can waive underpayment penalties when the shortfall resulted from retirement and reasonable cause rather than neglect.13Internal Revenue Service. Instructions for Form 2210 – Underpayment of Estimated Tax by Individuals, Estates, and Trusts