What happens to my taxes the year I sell?
Short answer: A single large realisation year can push you into the top federal bracket, trigger the net investment income tax, create estimated payment obligations, expose you to state tax wherever you are resident, and raise Medicare premiums two years later through the income-related adjustment. Each is predictable and should be modelled before the sale closes.
Written and reviewed by Anthony Walsh, Selanis. Last reviewed 2026-10-06.
Why it works this way
The rate on the gain is only part of it. Additional surtaxes on investment income, the loss of deductions and credits that phase out at higher income, and state tax can together move the effective rate well above the headline capital gains figure.
Estimated payments catch people out. Large realised gains usually come without withholding, so the liability must be paid during the year rather than at filing, and underpayment penalties apply if it is not.
The Medicare consequence is delayed and therefore forgotten. Income-related premium adjustments are based on your return from two years earlier, so a sale at 63 shows up as higher premiums at 65 — a knowable, plannable cost.
The expensive mistake: Ignoring the state you are resident in at closing
State tax on a large gain can be one of the biggest single line items, and residency at the time of the sale is what determines it. Moving states around a sale is legitimate but must be genuine, well documented and planned far in advance with your attorney and CPA — attempted late, it usually fails.
What to do
- Model the full-year tax picture before closing — Federal, surtaxes, state, and the phase-outs — not just the capital gains rate.
- Schedule the estimated payments — Set the cash aside separately so market movements cannot affect your ability to pay.
- Pair the high year with the offsets — Charitable giving, loss harvesting and deferred income all belong in the same year as the gain.
Sources
- Questions and answers on the net investment income tax
- Estimated taxes
- Medicare costs — income-related premium adjustments