Step-Up in Basis for Inherited Stock: How It Works and the Real Tax Math

When you inherit stock, your cost basis isn't what the original owner paid for it, it's whatever that stock was worth on the day they died. That's called a step-up in basis, and it can erase decades of taxable gain in an instant. Inherit $200,000 worth of stock that your parent originally bought for $20,000, and your basis is $200,000, not $20,000. Sell it the next day at that same value and you owe federal capital gains tax on exactly $0, even though the stock itself gained $180,000 over your parent's lifetime.

What Is Step-Up in Basis, Exactly?

Step-up in basis is the tax rule under Internal Revenue Code Section 1014 that resets an inherited asset's cost basis to its fair market value on the date the owner died, instead of carrying over whatever the owner originally paid. Cost basis is the number the IRS uses to calculate your taxable gain when you eventually sell: gain equals sale price minus basis. For an asset someone has held for decades, the original purchase price can be a small fraction of what it's worth at death, so resetting that number to current value wipes out the gain that built up while the original owner was alive. The rule applies to stocks, mutual funds, real estate, and most other capital assets passed through an estate, whether or not the estate owes any estate tax.

How Much Does Step-Up in Basis Actually Save You? A Real Example

Say your grandmother bought 1,000 shares of a stock in 1995 for $8 a share, an $8,000 total investment. She holds it until she dies in 2026, by which point it's worth $212 a share, or $212,000. Without a step-up, you'd inherit her original $8,000 basis, and selling at $212,000 would trigger a $204,000 taxable gain. With the step-up, your basis becomes $212,000 the moment you inherit it. Sell immediately and your taxable gain is $0. Even if you hold it a few more years and it climbs to $230,000, you'd only owe tax on the $18,000 of growth that happened after you inherited it, not the $204,000 that happened before.

Run that $204,000 of erased gain through real 2026 capital gains brackets and the savings are concrete, not theoretical. At the 15% long-term rate that applies to most middle- and upper-middle-income sellers, that gain would have cost $30,600 in federal tax. For a higher earner paying the 20% top rate plus the 3.8% net investment income tax, it would have cost $48,552. The step-up doesn't just reduce that bill, it erases it completely.

Why Does Inheriting Stock Work So Differently Than Being Gifted It?

Because gifts made during someone's lifetime use a completely different rule: carryover basis. If your grandmother had instead gifted you those same 1,000 shares while she was alive, you'd have inherited her original $8,000 basis, not the current value, and you'd owe tax on the full gain whenever you eventually sold. The exact same $212,000 in stock is taxed in two completely different ways depending on whether it changes hands before death or after. That's a real factor in how our annual gift tax exclusion and lifetime exemption guide applies here: a highly appreciated asset is often one of the worst things to give away during life and one of the best things to pass on through an estate, precisely because of this basis difference.

What Counts as the "Date of Death" Value for Publicly Traded Stock?

For a stock that trades on a public exchange, the IRS generally uses the average of the highest and lowest trading prices on the date of death, not the closing price. If the owner died on a weekend or holiday when markets were closed, the rule typically averages the nearest trading days before and after. An estate's executor can also elect an alternate valuation date exactly six months after death instead, but only if using that later date lowers both the total value of the estate and the estate tax owed, and the election has to apply to every asset in the estate, not just the ones that happened to drop in value.

What Happens If the Stock Lost Value Before the Owner Died?

The same rule cuts the other way. If your uncle bought a stock at $40 a share and it was worth only $25 a share when he died, your inherited basis steps down to $25, not $40. His $15-per-share unrealized loss disappears permanently, it can't be claimed by him, his estate, or you. This is the one scenario where step-up in basis actually works against the family: an asset that's underwater is often better sold by the original owner while they're alive, so the loss can be used to offset other gains, rather than held until death, where the loss simply evaporates.

Does Step-Up in Basis Apply to Retirement Accounts Like a 401(k) or IRA?

No. Traditional IRAs, 401(k)s, and other tax-deferred retirement accounts never get a step-up in basis, because the money inside them was never taxed as a capital gain in the first place, it's taxed as ordinary income when withdrawn. An inherited IRA follows an entirely separate set of rules, most notably the 10-year distribution window that applies to most non-spouse beneficiaries. If you've inherited a retirement account rather than a taxable brokerage account, our breakdown of the inherited IRA 10-year rule covers what actually applies to you instead.

Does Step-Up in Basis Apply to Crypto?

Yes. The IRS treats cryptocurrency as property, not currency, which means inherited crypto gets the same Section 1014 step-up as inherited stock. If you inherit Bitcoin that your relative bought for $2,000 and it's worth $60,000 on the date they died, your basis is $60,000, and only growth after that date is taxable when you sell. The practical complication is valuation: unlike a listed stock with an official exchange price, you'll need a reasonable, documented fair market value as of the date of death, typically the price on a major exchange at that time, since there's no single official closing price the way there is for public equities.

Is Inherited Stock Always Treated as a Long-Term Holding?

Yes, regardless of how long you personally hold it before selling. Normally an asset has to be held more than one year to qualify for long-term capital gains rates instead of ordinary income rates. Inherited assets get an automatic exception: they're treated as long-term the moment you inherit them, even if you sell the next day. That matters because long-term rates top out at 20% federal (23.8% with the net investment income tax), while short-term gains are taxed as ordinary income, which can run as high as 37%.

What Should You Actually Do Before Selling Inherited Stock?

  • Document the date-of-death value immediately. Pull a brokerage statement or printed quote from the exact date, since you'll need it to establish your new basis, sometimes years later when you eventually sell.
  • Check whether Form 8971 applies to the estate. If the estate was large enough to file an estate tax return, the executor is required to report the exact basis the IRS expects beneficiaries to use, and using a different number on your own return can trigger a mismatch.
  • Don't assume a loss carries over. If the asset dropped in value before death, the loss is gone. There's no workaround after the fact, the only window to use it was before the original owner passed away.
  • Separate the step-up from any estate tax question. Step-up in basis applies whether or not the estate owes any federal estate tax at all. The $15 million 2026 lifetime exemption only matters for the (rare) estates large enough to owe estate tax; nearly everyone else still gets the full basis reset with zero estate tax involved.

Step-up in basis is one of the more consequential, and least understood, rules in the entire tax code, because it quietly determines whether inheriting an asset means inheriting a tax bill or inheriting a clean slate. If you're weighing how this fits with a broader giving or estate plan, our guide to the gift tax exclusion and lifetime exemption covers the lifetime-giving side of the same decision, and if the inherited asset is a retirement account rather than a brokerage account, the short-term vs. long-term capital gains breakdown explains the rate difference that kicks in once you do decide to sell.

—
Spicy Investing