Quick Read
The idea of selling $135,300 in gains tax-free depends on having no other income, but $48,000 in Social Security makes $40,800 taxable and pushes part of the sale into the 15% bracket.
Because taxable benefits fill the bottom of the tax stack first, each taxable Social Security dollar can displace a dollar of gain from the 0% band, adding up to roughly $6,900 in federal tax.
Breaking the sale into two tax years, such as December and January or separate years, can keep the gains under the 0% limit and help preserve senior deductions.
Americans who work with a financial advisor have saved more than twice as much for retirement, on average. Find out what one could change for you: SmartAsset's free quiz matches you with up to three vetted fiduciary advisors in about five minutes. (Sponsor)
A retired couple in their early 60s has $135,300 in long-term gains parked in a brokerage account. It may be a stock bought decades ago that quietly appreciated over time. After seeing a widely shared post from Kurt Supe, a CPA and retirement planner, saying a married couple can now have up to $135,300 in long-term capital gains and still owe $0 in federal tax — a claim that drew 57K views on X — they decided to sell in January.
But there is a catch. As Supe noted, other income, including the taxable portion of Social Security, eats into that tax-free space. In this example, the couple also receives $48,000 a year in Social Security. Once the stock sale appears on their return, much of those benefits becomes taxable, and that taxable piece gets applied before the gains can use the 0% bracket.
How $48,000 of Benefits Turns Into $40,800 of Taxable Income
The IRS determines how much Social Security is taxable by using a straightforward formula: your other income plus half of your benefits. For married couples filing jointly, benefits begin to be taxed once that total passes $32,000. Once it rises above $44,000, as much as 85% of benefits can become taxable. Those thresholds are fixed in tax law and do not rise with inflation, even as benefits increase with cost-of-living adjustments like the 3.6% boost for 2027.
------
Americans say they need $1.46 million to retire comfortably. Whether that figure fits your life depends on three questions most people never fully work through:
1. How much can you withdraw each year without running out?
2. When should you claim Social Security?
3. How much will taxes take from your 401(k) or IRA?
A fiduciary advisor can help answer all three using your actual numbers. SmartAsset's free quiz matches you with up to three advisors who serve your area.
------
For this couple, the calculation is $135,300 in gains plus $24,000, which is half of their benefits, for a total of $159,300. That is well above the upper threshold, so the maximum applies: $40,800 of their Social Security becomes taxable income.
Why Capital Gains Are Taxed Last
Think of the tax return as a stack. Ordinary income, including taxable Social Security, sits at the bottom. Long-term gains are placed on top. In 2027, the 0% capital-gains rate applies to taxable income up to $102,100 for joint filers, and the standard deduction is $33,200. Together, those numbers create the couple's $135,300 ceiling.
Now add the $40,800 of taxable benefits to the bottom of that stack. The standard deduction shields $33,200 of it, leaving $7,600 of ordinary income. That trims the amount of gain that can stay in the 0% bracket to $94,500.
The remaining $40,800 of gain lands in the 15% bracket, creating a federal tax bill of $6,120 that the couple did not expect.
The final $7,600 of benefits is taxed at 10%, or $760, bringing the total federal tax on the sale to $6,880.
The simple rule is this: every dollar of Social Security that becomes taxable pushes one dollar of gain out of the 0% zone. It is one of several IRS rules that can slowly chip away at retirement savings, and the rest are covered in a free guide to common retirement tax traps.
Using Two Tax Years Can Lower the Bill
The 0% bracket resets each January, which makes timing the most useful planning tool. If the couple sold about half — roughly $67,650 of gain — in December 2026 and the other half in January 2027, their 2027 taxable income would land near $75,250, comfortably below the 0% limit. The 2026 ceiling is $98,900, so the December portion would also fit there.
There is a tradeoff. Selling in 2026 would also make most of that year's Social Security taxable, with the small amount above the standard deduction taxed at 10%. That would amount to only hundreds of dollars, far less than $6,880. If they do not need the money immediately, selling about $94,500 of gain in 2027 and the remainder in 2028 can work the same way.
Age-65 Deductions and State Taxes Can Change the Outcome
Couples who are both 65 or older receive an extra $1,700 each on top of the standard deduction in 2027. They may also qualify for a temporary senior deduction of up to $6,000 per person, available through 2028, which begins phasing out once modified adjusted gross income exceeds $150,000 for joint filers.
That phaseout makes splitting the sale more attractive. For a couple 65 or older with the same balance sheet, selling everything in 2027 would raise income to about $176,100, reducing the senior deduction. Splitting the gain would leave income near $108,450, where the full deduction remains intact. A one-year income spike can also lift Medicare premiums two years later; in this case, the couple's $176,100 is still below the $224,000 joint threshold that triggers surcharges. A larger gain could cross that line. And because the 0% rate is federal only, many states would still tax the full gain.
What to Decide Before Making the Trade
Run a draft return that includes Social Security before selling. Tax software or a preparer can show exactly where the 0% room ends once benefits are included. The $135,300 figure applies to a couple whose gains are their only income. Social Security changes the starting point.
Treat the sale date as the hardest part to reverse. A trade placed in a given tax year stays in that year. Spreading a large gain across December and January costs little more than patience, and it can turn a four-figure bill into a much smaller one.
The final result depends on age, state taxes, and any pension or IRA withdrawals already on the return, and any one of those can change the outcome. Checking the numbers before selling is the best safeguard.
Not Every Financial Advisor Has to Put You First (Sponsor)
SmartAsset's free matching tool only connects you with fiduciary advisors who are registered with the SEC or a state regulator and serve your area. Fees still vary from advisor to advisor, which is why you are matched with up to three to compare, and you are under no obligation to hire any of them.
More from Digilifetrends
She Wants to Invest $400,000 in an Annuity to Avoid Market Swings. Using Pretax IRA Money Instead of After-Tax Savings Would Make Another $12,240 of Her Social Security Taxable
An advisor guides an older couple through critical financial and estate planning decisions, such as asset protection for long-term care.
4 min read · Published 2026-11-29Savvy Senior: Should you convert a traditional IRA to a Roth IRA?
Dear Savvy Senior,
3 min read · Published 2026-11-29