

Learn how investments are taxed across every account type, from capital gains and dividends to IRAs and 401(k)s. Includes 2025-2026 rates and examples.

Traditional IRA, Roth, 401(k), brokerage, pension, Social Security — each gets taxed differently in retirement. Here's the complete breakdown.

Learn exactly what taxes you owe on stocks when you sell, hold, or collect dividends. Includes 2025-2026 rates, worked examples, and the wash sale rule.

Founder of Arcanomy
Ph.D. engineer and MBA writing about wealth psychology, financial clarity, and why most money advice misses the point.
Subscribe for more insights, tips, and updates, straight to your inbox.
We respect your privacy and will never share your information.
A woman named Patricia inherited her mother's house in 2024. Her mother bought it in 1987 for $62,000. When her mother passed, the home was appraised at $485,000. Patricia sold it four months later for $492,000.
If Patricia had to use her mother's original purchase price as the cost basis, she'd owe tax on a $430,000 gain. At a 15% federal rate alone, that's $64,500. But because of a rule called the step-up in basis, her taxable gain was just $7,000 (the appreciation after her mother's death). Her federal tax bill: roughly $1,050.
The step-up in basis is one of the most valuable provisions in the entire tax code. It's also one of the most misunderstood.
The quick version: Inherited property gets its cost basis reset to fair market value at the date of death. You only pay capital gains tax on appreciation that occurs after you inherit. This rule alone saves American heirs an estimated $58 billion per year.
When someone dies, every capital asset they owned gets a new tax basis equal to its fair market value on the date of death. This is the step-up in basis, codified in IRC §1014.
The original purchase price? Irrelevant. The renovations from 1994? Don't matter anymore. Every dollar of appreciation during the deceased person's lifetime is erased for tax purposes.
This applies to stocks, bonds, real estate, business interests, and essentially every capital asset in the estate. The only things that don't get a step-up are retirement accounts like IRAs and 401(k)s, which have their own (less favorable) distribution rules.
The formula is the same as any capital gains calculation, but with a different starting point:
Sale Price − Stepped-Up Basis = Taxable Gain
Using Patricia's numbers:
| Element | Without Step-Up | With Step-Up |
|---|---|---|
| Original purchase price (1987) | $62,000 | N/A |
| Fair market value at death | N/A | $485,000 |
| Cost basis used | $62,000 | $485,000 |
| Sale price | $492,000 | $492,000 |
| Taxable gain | $430,000 | $7,000 |
| Federal tax at 15% | $64,500 | $1,050 |
| Tax savings from step-up | $63,450 |
Sixty-three thousand dollars Patricia didn't have to pay. Because of one rule. And Patricia's situation isn't unusual. The Peter G. Peterson Foundation estimates the step-up provision costs the federal government approximately $58 billion in foregone revenue annually.
There's another benefit most guides bury in fine print.
Inherited assets automatically qualify for long-term capital gains treatment, no matter how quickly you sell. Normally, you'd need to hold an asset more than one year for the lower long-term rates. But inherited property gets long-term status from day one. Patricia sold her mother's home after just four months. She still paid the 15% long-term rate instead of her ordinary income rate (which would have been 22% or higher).
This is a meaningful advantage if you inherit assets you want to sell immediately. There's no penalty for quick liquidation.
The step-up applies to both, but the practical details differ.
For publicly traded securities, establishing the death-date value is easy. Look up the closing price on the date of death. Your brokerage (Fidelity, Schwab, Vanguard) may even do this automatically and assign the new basis to inherited shares.
If an asset declines in value after the date of death, you can claim a capital loss when you sell. That loss offsets other gains, or up to $3,000 of ordinary income per year.
Real estate requires a professional appraisal dated to the day of death (or as close as possible). This appraisal becomes your proof of basis if the IRS ever asks questions, which they might, years later.
Keep the appraisal forever. Filing cabinet, safe deposit box, a cloud folder that you'll actually remember the password to. The IRS has no statute of limitations on proving your cost basis.
If you inherit property and plan to hold it for a while, document the condition and any improvements you make. New roof, updated HVAC, a kitchen remodel. All of those increase your basis above the stepped-up amount, reducing future taxable gain.
This detail matters enormously and almost nobody knows about it.
In community property states (Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, and Wisconsin), when one spouse dies, the surviving spouse gets a full step-up on the entire property, not just the deceased spouse's half.
In common law states (everywhere else), only the deceased spouse's share gets stepped up. The surviving spouse keeps their original basis on their half.
Example: A couple in California bought a home together for $200,000 in 1998. It's worth $900,000 when one spouse dies. In California, the surviving spouse's entire basis becomes $900,000. Sell for $920,000, and the gain is just $20,000.
In a common law state, the surviving spouse's basis would be $100,000 (their half of the original purchase) plus $450,000 (the stepped-up half). Total basis: $550,000. Sell for $920,000, and the gain is $370,000.
That's a $350,000 difference in taxable gain, purely based on geography. At a 15% federal rate, that's about $52,500 in extra tax.
Some assets follow different rules:
The gift-vs-inheritance distinction is critical. A parent who gives their child $500,000 in appreciated stock passes along their original $50,000 basis. The child sells and pays tax on $450,000. But if that parent holds the stock until death, the child inherits at $500,000 and pays zero if they sell immediately.
That's not a loophole. It's how the law works. But it means the timing of generosity has massive tax consequences.
The One Big Beautiful Bill Act increased the estate tax exemption to $15 million per individual ($30 million for married couples) for 2026. But the fundamental step-up in basis mechanism remains unchanged.
There have been repeated proposals to eliminate or modify the step-up. None have passed. As of early 2026, IRC §1014 is fully intact.
For broader context on how capital gains work, see our capital gains tax guide. If you're a retiree wondering about age-specific benefits, our article on what seniors actually owe on capital gains addresses that common question. And for a look at how your state adds to (or doesn't touch) the bill, see how your state taxes investment profits.