Capital gains and IRMAA: the two-year echo
A capital gain is taxed once, in the year you sell. For IRMAA it echoes: the same gain quietly sets a higher Medicare premium two years later. Here is the cliff maths — and a worked example showing why splitting one sale across two Decembers can save thousands.
Start with the part nobody warns you about: for IRMAA, there is no gentle treatment of capital gains. The preferential tax rate on long-term gains lowers your tax bill, but the full amount of the gain still sits inside your Adjusted Gross Income — and MAGI is built from AGI. A $90,000 gain adds $90,000 to the income figure Medicare reads, whether it came from shares, a rental property or a business. And because of the two-year lookback, a gain taken in 2025 is read by Social Security when it sets your 2027 premium — long after the tax on it has been paid and forgotten.
The cliff maths
IRMAA tiers are cliffs, not slopes: cross a line by $1 and you buy the whole next tier for twelve months. On the 2027 table for a single filer, a MAGI of exactly $141,000 is Tier 1 — an extra $1,189.20 for the year. A MAGI of $141,001 is Tier 2 — an extra $2,989.20. That single dollar costs $1,800.00. It is the most expensive dollar in the retirement tax system, and capital gains are the income most likely to push you over an edge by accident, because they arrive in large, lumpy amounts.
One sale, or two? A worked example
Consider a single retiree whose ordinary income — pension, Social Security, interest — gives a MAGI of $95,000 a year, safely under the first line. She holds investments with $90,000 of built-up gains that she wants to realise. Using the 2027 tiers, here are her two routes:
| Route | MAGI in the gain year | Tier (2027) | Extra premium for the year |
|---|---|---|---|
| Sell everything in one year | $185,000 | Tier 3 | $4,788.00 |
| Sell $45,000 this year, $45,000 next | $140,000 | Tier 1 | $1,189.20 |
Single filer, 2027 CMS table. Splitting saves $3,598.80 in the first premium year alone — and the second $45,000 lands in a different tax year, where it is judged fresh against that year’s own income.
Nothing about the investments changed. The same shares were sold for the same total gain. The only difference was which side of a December 31 each half of the sale fell on.
Gains stack on top of everything else
One more piece of the mechanics, because it decides real cases: a gain is never judged alone. Your tier is set by your total MAGI, so a gain lands on top of whatever your pension, Social Security, withdrawals and interest already add up to. Dividends count too, including qualified dividends — they are part of adjusted gross income. A single retiree with an ordinary MAGI of $120,000 is already in Tier 1 for 2027, paying an extra $1,189.20. Add a modest $25,000 gain — a car-sized sale, not a fortune — and the total becomes $145,000: over the $141,000 line, Tier 2, an extra $2,989.20. The gain itself did not change; the stack it landed on did. This is why the dangerous year is so often the year several things begin at once — RMDs starting, a pension topping up, and a sale on top — and why the check belongs in November, when the year’s stack is nearly complete but still adjustable.
Ways to soften a gain year
- Split the sale across tax years, as above — the single most reliable technique when you control the timing.
- Harvest losses in the same year. Realised losses offset realised gains dollar for dollar, shrinking the spike itself.
- Sell in a low-income year — after retirement, before RMDs begin, or in a year a spouse has stopped working. The same gain may cross no line at all.
- Consider an installment sale for property or a business, which spreads the gain across the years you are paid.
- Watch for gains you did not choose. Mutual funds in taxable accounts distribute capital gains each December whether you sold anything or not; they count toward MAGI just the same.
One balance to keep: the surcharge is one year per gain year, and it is usually far smaller than the gain itself. If selling is right — to diversify, to fund care, to simplify — sell. Just choose the year, and the size of each piece, with your headroom in front of you. The IRMAA calculator’s “extra income” box exists for exactly this test: enter a planned gain and watch the tier move before you commit.
Educational only: this guide explains how gains interact with Medicare premiums; it is not financial, tax or Medicare advice, and it does not cover the income-tax side of any sale. For a large gain, get advice on your own figures before the sale, not after.