Federal tax law gives no one a capital gains tax break for turning 65. The 0%, 15%, and 20% long-term rates apply the same way to a retiree as they do to a 30-year-old. What actually changes after 65 is the rest of your tax return: wages typically stop, the standard deduction goes up, and you gain more control over when income lands. Those shifts are what let many retirees pay 0% on their long-term gains, and understanding capital gains tax over 65 is really about understanding how the whole return fits together in retirement.1Internal Revenue Service. Publication 554 – Tax Guide for Seniors
The Long-Term Rates You Will Actually Pay
Assets held one year or less are taxed as ordinary income. Assets held longer than a year qualify for long-term rates of 0%, 15%, or 20%, and which one applies depends on your total taxable income for the year, not on the size of the gain by itself.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses
For the 2026 tax year, the thresholds are:3Tax Foundation. 2026 Tax Brackets and Federal Income Tax Rates
- 0% rate: taxable income up to $49,450 single, $98,900 married filing jointly
- 15% rate: taxable income from $49,450 to $545,500 single, $98,900 to $613,700 joint
- 20% rate: taxable income above $545,500 single, $613,700 joint
The brackets work in layers. If your income crosses from 0% into 15%, only the portion above the line is taxed at 15%; the rest still sits at 0%. Crossing a threshold by a few hundred dollars does not retroactively raise the rate on the entire gain.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses
For a retired couple, the 0% bracket is the planning target. Total taxable income of $98,900 or less means zero federal tax on qualified long-term gains, and that number is reachable for many households once wages stop.
The One Age-Based Break That Helps
Taxpayers 65 and older get a larger standard deduction, which lowers taxable income and can keep more of a capital gain inside the 0% bracket. For 2026, the additional amount is $2,050 for single filers and $1,650 per qualifying spouse on a joint return.3Tax Foundation. 2026 Tax Brackets and Federal Income Tax Rates
Total 2026 standard deductions with the age add-on:
- Single, 65 or older: $18,150
- Married filing jointly, one spouse 65+: $33,850
- Married filing jointly, both spouses 65+: $35,500
The base deduction for 2026 is $16,100 single and $32,200 joint.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 The extra room isn’t huge on its own, but for a household sitting near the top of the 0% capital gains bracket, it can be the difference between paying nothing and paying 15%.
Selling the House
Selling a primary residence is the largest capital gains event most retirees face, and Section 121 of the Internal Revenue Code shelters a lot of it. You can exclude up to $250,000 of gain as a single filer or up to $500,000 filing jointly, provided you owned and lived in the home as your primary residence for at least two of the five years before the sale.5Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence
A few things worth knowing:
- There is no age requirement. The exclusion works the same at 45 as it does at 75.
- You can only claim it once every two years. A prior sale within that window disqualifies the current one.5Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence
- Capital improvements over the years (a new roof, a renovation, an added bathroom) raise your cost basis and shrink the taxable gain. Old receipts matter.
Gain above the exclusion is taxed at your applicable long-term rate. For a couple who bought decades ago in a hot market, the profit can exceed $500,000, so the exclusion helps but does not always finish the job.
If you’re forced to sell before hitting the two-year mark because of a health condition, a job move, or an unforeseen event, a partial exclusion prorated to the time you did meet may apply. This matters when someone has to move into assisted living sooner than planned.6Internal Revenue Service. Publication 523, Selling Your Home
The Hidden Costs a Big Gain Triggers
Capital gains do not sit alone on a retiree’s return. A large realized gain reaches into Social Security, adds a surtax at higher incomes, and quietly raises Medicare premiums two years later.
More of Your Social Security Becomes Taxable
The IRS combines half your Social Security benefits with your other income, including capital gains, to decide how much of your benefit is taxable. The thresholds have never been adjusted for inflation:7Internal Revenue Service. IRS Reminds Taxpayers Their Social Security Benefits May Be Taxable
- Single: combined income of $25,000 to $34,000 makes up to 50% of benefits taxable; above $34,000, up to 85%.
- Joint: combined income of $32,000 to $44,000 makes up to 50% taxable; above $44,000, up to 85%.
An extra $10,000 of capital gains can pull thousands of dollars of previously untaxed Social Security into your taxable income at ordinary rates. Some retirees see effective marginal rates above 40% when this interaction kicks in.
The 3.8% Net Investment Income Tax
Higher-income households owe an additional 3.8% surtax on the lesser of net investment income or the amount their modified adjusted gross income exceeds:8Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax
- $200,000 single or head of household
- $250,000 married filing jointly
- $125,000 married filing separately
These thresholds are fixed by statute and don’t move with inflation, so more people cross them each year.9Internal Revenue Service. Questions and Answers on the Net Investment Income Tax A one-time sale of a rental or a large stock position can easily clear the line in a single year. The 3.8% stacks on top of the regular rate, so a retiree in the 20% bracket with NIIT exposure pays an effective 23.8%.
Medicare Premiums Two Years Later
Here’s the cost that catches retirees off guard. Medicare uses your modified adjusted gross income from two years earlier to set your Part B and Part D premiums under the income-related monthly adjustment amount (IRMAA). Your 2026 premiums are based on your 2024 return.10Medicare.gov. 2026 Medicare Costs
The 2026 standard Part B premium is $202.90 per month. If your 2024 income cleared the thresholds, that jumps:
- Above $109,000 single or $218,000 joint: Part B rises to $284.10, plus $14.50 Part D
- Above $137,000 single or $274,000 joint: Part B rises to $405.80, plus $37.50 Part D
- Above $205,000 single or $410,000 joint: Part B rises to $649.20, plus $83.30 Part D
- At $500,000+ single or $750,000+ joint: Part B hits $689.90, plus $91.00 Part D
At the top tier, IRMAA adds nearly $9,400 a year in premiums. A retiree who sells a home or a business and clears these lines will feel it in the mailbox two years later, long after the proceeds have been spent or reinvested. Plan the sale with the two-year lookback in mind.10Medicare.gov. 2026 Medicare Costs
Timing Sales to Stay in a Lower Bracket
Because gains interact with Social Security, NIIT, and IRMAA, managing when income lands is often more valuable than any single deduction. Approaches that work well after 65:
- Spread the sale of a large position across two or three tax years so no single year crosses a bracket line.
- Coordinate with required minimum distributions. RMDs count as ordinary income; a year with a large RMD is a bad year to also realize gains.
- Use qualified charitable distributions if you’re 70½ or older. QCDs go directly from a traditional IRA to a qualifying charity, satisfy your RMD, and stay out of taxable income, leaving more room in the 0% capital gains bracket.11Internal Revenue Service. Seniors Can Reduce Their Tax Burden by Donating to Charity Through Their IRA
- Harvest losses on purpose. Reviewing the portfolio near year-end for positions you can sell at a loss gives you offsets to use this year or carry forward.
Using Losses to Offset Gains
Capital losses cancel capital gains dollar for dollar. A $30,000 gain paired with a $20,000 loss leaves $10,000 of net gain to tax. When losses exceed gains in a year, you can deduct up to $3,000 of the excess against ordinary income, or $1,500 if married filing separately.12Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Anything above that carries forward to future years indefinitely.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Watch the wash-sale rule. Selling a security at a loss and buying the same or a substantially identical security within 30 days before or after the sale disallows the loss for that year. The rule reaches across your IRAs and your spouse’s accounts, not just the account where the sale happened.
The Case for Holding Appreciated Assets Until Death
When someone dies, the cost basis of their assets resets to fair market value at the date of death.13Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent All the appreciation during the original owner’s lifetime is wiped away for tax purposes.
If a parent bought stock for $20,000 that’s worth $200,000 at their death, the heir’s basis is $200,000. Selling immediately at that price generates no taxable gain.14Internal Revenue Service. Gifts and Inheritances Gifted assets, by contrast, carry over the original owner’s basis, so the recipient inherits the full built-in tax. For deciding whether to sell a highly appreciated position at 75 or leave it to heirs, the step-up is a serious weight on the side of holding. Heirs should get a professional appraisal at the date of death to document the stepped-up value in case the IRS ever asks.
Paying the Tax After a Large Sale
A retiree who sells a highly appreciated asset mid-year often owes a big tax bill that withholding won’t cover. If you don’t pay enough during the year, the IRS charges an underpayment penalty. You avoid it by meeting any one of these safe harbors:15Internal Revenue Service. Topic No. 306, Penalty for Underpayment of Estimated Tax
- Owe less than $1,000 after withholding and credits.
- Pay at least 90% of the current year’s tax through withholding or estimates.
- Pay at least 100% of the prior year’s tax, rising to 110% if your prior-year AGI exceeded $150,000 ($75,000 if married filing separately).
Quarterly estimates are due April 15, June 15, September 15, and January 15 of the following year. Sell an asset in August, and the payment belongs on the September 15 installment, not the following April.
A Note on State Taxes
Federal rates are only part of the bill. Most states tax capital gains as ordinary income, with rates that vary widely, and a handful of states have no income tax at all. Because rules differ so much, check with your state’s tax agency or a local tax professional for the specific rate that applies where you live.