What Happens Tax-Wise When You Sell an Inherited Investment?

Updated July 9, 2026 6 min read

Selling stock or fund shares that came from an inheritance works differently, tax-wise, than selling something bought and held for years — and the difference starts before the sale even happens.

The short answer

When an inherited investment is sold, the taxable gain or loss is generally measured against a “stepped-up” cost basis — typically the investment’s value on the date the original owner died — rather than what that person originally paid. The resulting gain or loss is also automatically treated as long-term, regardless of how long the heir personally held the shares before selling.

Where the basis actually comes from

Cost basis is the number used to measure gain or loss on a sale. For most inherited investments, the basis resets to the fair market value as of the date of death (or, in some cases, an alternate valuation date used for estate purposes), a concept generally referred to as a step-up in basis. That means appreciation that happened during the original owner’s lifetime typically never gets taxed to the person who inherits the asset — only appreciation, or decline, that happens after the date of death matters for the eventual sale.

Why the long-term treatment is automatic

Ordinarily, whether a gain is taxed at short-term or long-term rates depends on how long the seller personally held the investment. Inherited investments are an exception: the sale is treated as long-term no matter how quickly the heir sells after inheriting, even if that’s a matter of days. This removes one layer of timing pressure that applies to other investments, since there’s no need to wait out a holding period to access more favorable long-term treatment.

A simplified illustration

Suppose an investment was originally purchased for a modest amount decades ago and had grown substantially by the time the original owner passed away. The heir’s basis becomes that higher value at the date of death, not the original purchase price. If the heir sells shortly after for close to that same value, there may be little or no taxable gain at all, since most of the lifetime appreciation was erased for tax purposes by the step-up. If the shares continue to grow in value after the date of death and are sold later at a higher price, only that additional growth is taxed as a gain.

What can complicate the picture

The takeaway

The tax treatment of an inherited investment sale hinges on two mechanics working together: a basis reset to date-of-death value, and automatic long-term categorization regardless of actual holding period. Because valuing that basis correctly can require some documentation, keeping records of the date of death and the investment’s value around that time tends to make the eventual sale much easier to report accurately.