This article may include links from sponsors and affiliates, and Flywheel Publishing may receive compensation for activity completed through them.
Picture a 70-year-old retiree selling stock worth $100,000 that he purchased two decades ago for $20,000. The $80,000 profit gives him extra cash for retirement. Two years later, Social Security may send a notice explaining that the sale pushed up his Medicare premiums.
Most retirees never receive that notice. The Center for Medicare & Medicaid Services says income-related charges affect about 8% of people enrolled in Part B. A single filer with income at or below $109,000, or a joint filer at or below $218,000, pays the standard 2026 Part B premium of $202.90.
Why Medicare Includes the $80,000 Gain
Social Security determines the income-related monthly adjustment amount, or IRMAA, using modified adjusted gross income (MAGI). MAGI is adjusted gross income from line 11 of Form 1040 plus tax-exempt interest from line 2a. Interest from municipal bonds is exempt from federal tax, but it still counts for this calculation. A realized gain in a taxable brokerage account is added directly to AGI.
Social Security usually relies on a return from two years earlier to set the premium year, so 2026 premiums are generally based on 2024 tax return information. A sale made before December 31, 2026, would affect 2028 premiums. The gain also cannot be spread out later. The IRS does not allow the installment method for publicly traded stock, so the full gain is recognized in the year of the trade date.
How $140,000 Fits on the 2026 IRMAA Scale
Assume he files as a single taxpayer with $60,000 in other MAGI. Add the stock gain, and his income rises to $140,000. Because his actual premium year would be 2028, the 2026 rates below are only examples.
| Single filer MAGI | Part B total premium (monthly, per person) | Part D charges only (monthly, per person) | Combined charges only (annual, per person) |
|---|---|---|---|
| Up to $109,000 | $202.90 | $0 | $0 |
| Over $109,000 through $137,000 | $284.10 | $14.50 | $1,148.40 |
| Over $137,000 through $171,000 | $405.80 | $37.50 | $2,884.80 |
That places him in the second bracket. If he has Part D coverage, his total surcharges would be $240.40 a month, or $2,884.80 for the year. The frustrating part is that he missed the lower tier by only $3,000. If his gain had been $77,000 instead, he would have owed the $1,148.40 first-tier surcharge. That extra $3,000 of gain costs him $1,736.40 in added premiums.
If his income falls the next year, the higher surcharge usually lasts only one year. He also cannot appeal simply because he chose to sell stock. Form SSA-44 is intended for events such as marriage, divorce, the death of a spouse, a drop in income, or an employer settlement payment. A voluntary stock sale does not qualify, which is one of several IRMAA traps described in a free Medicare guide.
Filing status changes the outcome. At $140,000, a joint filer is still well below the $218,000 joint threshold. The reverse is true for survivors: a widow filing as a single taxpayer after a spouse dies may face the $109,000 line on nearly the same household income.
Why the Type of Account Matters
Selling shares inside a traditional or Roth IRA does not trigger capital gains tax. Taxes usually apply when money is withdrawn from a traditional IRA. A $100,000 withdrawal from a pretax account would add the full amount to MAGI, which is more than the $80,000 brokerage gain. Qualified Roth withdrawals are tax-free and do not push someone into a higher Medicare bracket.
What to Review Before Selling
- Split the sale between December and January. If the cost basis is evenly spread across the shares, selling $50,000 in December 2026 creates a $40,000 gain and keeps 2026 MAGI at $100,000. Selling the other half in January 2027 creates the same result for 2027. Both years stay below the $109,000 threshold. At current rates, that avoids the $2,884.80 annual surcharge.
- Use losses in the same tax year. Capital losses offset gains dollar for dollar. If losses are greater than gains, he can generally deduct up to another $3,000 against other income. Just $3,000 of realized losses would reduce his MAGI to $137,000 and place him back in the first tier.
- Check the basis for each lot before choosing which shares to sell. Review Form 1099-B and your broker’s lot details. Shares purchased at higher prices create smaller gains for the same cash raised. Also total every other income source, including municipal bond interest, so you know your starting MAGI before making the trade.
Medicare counts the $80,000 taxable gain. The original $20,000 investment returns to him without increasing MAGI. Before the trade date locks in his premium year, he should compare the sale to the $109,000 and $137,000 lines.
More from Digilifetrends
Medicare Has Costs at Every Step — and You Can Remove a Retirement-Related Surcharge
Medicare is not free. For most enrollees, Part B alone is expected to cost $209.40 a month in 2027, and that is before adding drug coverage, deductibles, or any supplemental…
3 min read · Published 2026-11-29Retiring at 64 With $1.46 Million, He Faces Social Security Earnings Limits — But a First-Year Exception Protects $15,600 in Benefits
A man carefully reviews financial papers in his kitchen, a familiar scene for people dealing with unexpected bills. It highlights why every financial document should be checked…
4 min read · Published 2026-11-29At 78, After a Career in Construction, He May Need Nursing Home Care: How $700,000 Could Shrink Under Medicaid Rules, Leaving $162,660 for His Wife
Medicare only pays for limited short-term skilled care, so a couple with $700,000 could have to spend about $535,000 before Medicaid steps in, while preserving $162,660 for the…
5 min read · Published 2026-11-28