Capital Gains After a Spouse's Death: Basis Rules
The survivor's guide to capital gains: which assets step up, IRAs that do not, filing status changes, and the two-year home exclusion window.

Capital Gains After a Spouse's Death: The Direct Answer
Losing a spouse triggers tax mechanics that almost nobody plans for in advance. Joint assets get their basis reset, retirement accounts never do, and your filing status changes as well. The inherited investments guide extends the rules to jointly held accounts.
A limited window lets a surviving spouse claim the full home sale exclusion after the death. This guide covers every rule you need before selling any appreciated asset.
Timing here matters just as much as the basis numbers themselves.
The costliest mistake is selling any asset before its date-of-death value has been documented. That missed basis turns straight into taxable gain on the eventual sale.
Brokers will not correct the basis on the inherited half automatically. Custodians only fix their records when you send them the paperwork. Survivors who gather valuations before selling routinely save tens of thousands in tax.
How the Step-Up Works for Surviving Spouses
Section 1014 gives inherited assets a brand-new basis set at the date-of-death value.
The original purchase price disappears from the calculation entirely, permanently shielding that built-in gain from tax. The deceased spouse's share of jointly owned property gets that same reset.
How the surviving spouse's half of those assets gets treated depends entirely on state law. In common-law states, the survivor's half stays at its original cost basis permanently.
That old figure can hide a large untaxed gain in a long-held brokerage account.
In community property states, both halves reset at the first death. This double reset is the famous community property advantage.
Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, and Wisconsin operate those regimes.
That double reset gets its own deep dive in our community property guide. The gap separating those two regimes can climb past six figures on a sizable inherited portfolio.
Nine states make this distinction worth real money.
| Asset situation | Common-law state | Community property state |
|---|---|---|
| joint brokerage account | half steps up | everything steps up |
| sole-name account of the deceased | fully steps up | fully steps up |
| survivor's own separate account | no step-up | steps up if community |
Worked Example: One Portfolio, Two Different Bases
Picture a joint portfolio purchased at $100,000 and valued at $600,000 on the date of death. The numbers stay simple so the state comparison stands out.
A common-law state gives its reset to just the deceased's share of the account. The survivor's half keeps its old, lower basis untouched.
The survivor ends up with $350,000 of new basis across the account. Here is how that new figure breaks down.
That total combines the $300,000 stepped-up half with $50,000 of remaining original basis. The math matters because every basis dollar directly cuts future tax.
A community property state instead resets the entire portfolio to $600,000. That gives the survivor $250,000 of extra basis over the common-law outcome.
Same portfolio, same day, and two very different tax positions for the surviving household.
Each dollar of that extra basis permanently erases a dollar of future capital gain. Few planning moves in taxation erase tax liability that reliably.
Our inherited property guide extends these rules to other heirs.
Retirement Accounts Refuse to Step Up
Traditional IRA and 401(k) money never receives any step-up treatment. The growth inside those accounts has not been taxed yet.
Every dollar the survivor withdraws comes out as fully taxable ordinary income. That makes these accounts the expensive exception to the step-up rule.
The tax code has a name for this money: income in respect of a decedent. That label matters because it changes how each withdrawal gets taxed.
Survivors who treat an inherited IRA like a brokerage account overpay immediately. There is no capital gain rate break anywhere in the math.
Surviving spouses get a rollover option that non-spouse heirs never receive. That spousal treatment is one of the kindest rules in the code.
You can roll the deceased's IRA directly into your own account name. The transfer happens quietly between the two financial firms once requested.
The rolled-over account then follows your own age-based distribution schedule. That flexibility lets younger survivors wait out high-income years.
Roth IRAs were already tax-free, so death changes nothing for them. The surviving spouse keeps that same tax-free treatment going forward.
Required minimum distributions continue on a set schedule after the death. Which table applies depends on whether you already rolled the account over.
Our RMD guide explains the distribution timing rules completely.
Coordinate withdrawals with the new single filing status to stay inside better brackets. Small timing choices each year compound into real savings.
Our withdrawal order guide sequences the whole account picture.
The Filing Status Timeline After the Death
The year of death still allows a joint return covering the entire year. Both spouses' income and deductions combine on that return one final time. That single rule often saves thousands at higher household income levels.
Two additional years of qualifying widow(er) status may follow after that. That status requires a dependent child and keeps the joint-style brackets alive. Those two years can be the cheapest possible window for realizing large gains.
After the widow(er) years end, single or head-of-household status takes over the return. Bracket thresholds shrink, and the 0 percent long-term gain band narrows noticeably. The table below shows exactly how much planning room disappears at that point.
Planning gains around this timeline saves meaningful federal tax every single year. Those savings grow as the brackets keep narrowing later on. The filing status comparison guide on this site ranks every available status in one place.
| Year | Available status | Bracket effect |
|---|---|---|
| year of death | married filing jointly | full joint brackets |
| two years after | qualifying widow(er) | joint-style brackets continue |
| later years | single or head of household | narrower thresholds apply |
The Home Sale Exclusion Window for Survivors
Section 121 lets a surviving spouse leave $500,000 of gain completely untaxed on the couple's return. A few specific conditions have to hold, though.
The sale must close within two years of the date of death. That deadline runs from the death itself, not from any listing date.
The survivor still has to meet the ownership and use tests personally. The property also must have served as the couple's main home.
The deceased's use period counts toward the two-of-five-years requirement. That deemed occupancy makes the test far easier for longtime owners.
Missing the two-year window cuts the exclusion down to $250,000 immediately. Half the shelter still leaves plenty of exposure on expensive properties. A home with a large gain can trigger real tax after that deadline.
Our Section 121 guide explains the tests completely. The IRS home sale publication documents the survivor rules officially.
Basis documentation matters doubly whenever the exclusion cannot cover the whole gain. Federal and state tax collectors both feed directly off that documented value.
Accurate date-of-death values reduce the gain before any exclusion gets applied. Getting that valuation right shrinks the taxable gain the IRS actually sees. Our documents checklist assembles the complete paper trail.
The Documentation Survivors Should Gather First
Brokerage date-of-death statements anchor the step-up for each affected account. That one document settles most basis questions before they start.
Request them in writing during estate administration, not years afterward. Records get much harder to reconstruct once the estate closes.
The estate may elect alternate valuation six months after the death. Executors pick it when investments declined between death and that date.
That elected value then becomes the basis for the inherited assets. Every later sale report should trace back to that same figure.
- Request date-of-death statements for every brokerage and bank account.
- Confirm whether the estate elected the six-month alternate valuation.
- Obtain professional appraisals for real estate and business interests.
- Document the community property character of accounts in the nine states.
- Give brokers written notice of the corrected basis on each inherited lot.
Brokers frequently carry the old basis forward without any correction. Their systems wait for written notice from you.
Survivors who skip this step overpay on every future sale. The IRS has no way to know the true basis otherwise.
Our basis methods guide covers the correction paperwork. The survivors and executors publication anchors the federal process.
What Steps Up and What Does Not
The table below sorts every common asset type by its death treatment. The pattern behind it is simpler than the grid looks.
Review each row against your own household balance sheet that year. Anything missing from the grid deserves a conversation with a tax pro.
| Asset | Steps up? | Notes for survivors |
|---|---|---|
| taxable brokerage shares | yes, on the inherited share | doubled in community states |
| primary residence | yes, on the inherited share | exclusion window applies |
| traditional IRA or 401(k) | no, never | distributions stay taxable |
| Roth IRA | no step-up needed | already tax-free inside |
| annuities | no | gain stays ordinary income |
| cash and savings bonds | income accrued at death | special elections exist |
Annuities surprise families because the deferred gain stays fully taxable. Death does not trigger a step-up on annuity contracts.
The beneficiary owes ordinary income on the gain portion of every payout. Only the part representing return of principal escapes that treatment.
Step-up planning never rescues deferred annuity money at death across the whole holding period. Families holding large deferred annuity contracts should model the after-tax inheritance early. That after-tax number can look very different from the carrier's statement value.
Savings bonds carry accrued interest that the estate can elect to report. Reporting it all at once ends the accrual question permanently.
That election taxes the deceased's share on the final return. The year-of-death joint return frequently sits in a friendlier bracket.
Survivors then start clean, owing tax only on post-death interest. That split keeps the survivor's future bond income simple to track.
Without the election, the survivor inherits the entire accumulated interest bill later. All of it lands as ordinary income on whatever return absorbs it.
Planning the Selling Timeline After a Death
Survivors rarely need to sell everything immediately, despite the pressure they feel. Nothing in the code forces a rushed liquidation of the portfolio.
The step-up basis makes early sales cheap on appreciated positions. The gain inside those positions largely disappeared at the reset.
The two-year home exclusion window adds urgency for exactly one asset. The house deserves a decision long before the other holdings do.
Everything else can follow a deliberate multi-year selling plan. Spreading sales across years keeps more of each gain in lower brackets.
Consider selling appreciated positions that carry only small gains after the step-up. Those sales add little tax while clearing the portfolio clutter.
Positions with large embedded gains already collected their step-up benefit at death. Their old cost basis is gone, so waiting adds nothing further.
Loss positions harvested before death simply vanish at the reset. That surprise catches plenty of families during their first post-death sale. Our harvesting guide explains the year-end interactions.
Income Planning Around the New Single Status
The survivor alone now decides when to sell and when to wait. One signature moves assets that used to require two.
Realizing gains during the joint-status years uses the wider brackets fully. Every year spent in those brackets is a year of cheap gains.
Waiting until single status arrives shrinks every threshold noticeably. Those tighter brackets arrive whether or not you feel prepared.
The three-year wide-bracket window deserves a deliberate multi-year projection. Map each year's planned sales against that fading window.
Charitable giving converts appreciated shares into deductions at the same time. You avoid the gain and usually claim a fair market value deduction. Our donation guide covers the mechanics for appreciated stock.
Donor-advised funds let survivors bunch several years of giving into one year. A single funded DAF can supply charitable checks for years afterward. Our DAF guide explains that structure completely.
A Survivor's First-Year Tax Checklist
Work through these steps during the first year after the death. Waiting past that first year closes some doors for good.
Each item protects basis, brackets, or the exclusion window. None of these tasks requires an accountant on retainer.
- Collect date-of-death statements and correct every brokerage basis record.
- Determine whether community property rules double the step-up in your state.
- Map the filing status timeline through the qualifying widow(er) years.
- Roll the deceased's traditional IRA into your own account if desired.
- Calendar the two-year home sale deadline before relying on the full exclusion.
The basis of assets publication supports the step-up rules used here. Survivors who complete this checklist pay only the tax they genuinely owe. The proof lives in the records you gathered along the way.
The families who skip it fund the IRS with money the law never required. An hour with a tax professional during administration repays itself for decades afterward.
Wasim Akram
Wasim researches and writes every article on TaxGainsCalc, covering capital gains tax for everyday investors. Every figure is checked against primary IRS sources before it goes live.


