Taxes · Tax-aware investing
Step-up in basis: inherited stock, spouses and the exceptions
How section 1014 resets the basis of inherited stock, the spouse and community property rules, what gets no step-up, and $500,000 of stock sold, given or inherited.
On this page
- The rule and its dates
- Worked example: $500,000 of stock three ways
- Spouses: half, or all, of the step-up
- What gets no step-up
- Losses step down
- The one-year rule for deathbed gifts
- Estates that file a return: basis consistency
- Sold, given or inherited: compared
- How Finabase does it
- Frequently asked questions
- Summary
- Check your understanding
When someone dies, most of what they owned gets a new cost basis: its market value on the date of death. The gain that built up during their life is never taxed as income, to them or to the heirs. This rule, section 1014 of the Internal Revenue Code, is called the step-up in basis, and for a family holding shares bought decades ago it can be worth more than any other provision in the tax code. The glossary entry Step-up in basis defines it in a paragraph.
This page goes further, under US federal law for tax year 2026. It covers the alternate valuation date, why inherited shares are always long-term, how much of a couple's property is stepped up at the first death in a common-law state and in a community property state, the property that gets no step-up (retirement accounts, annuities, other income in respect of a decedent), the step-down for losses, the one-year rule that stops deathbed gifts from working, and the basis consistency rules for estates that file an estate tax return. A worked example puts numbers on $500,000 of stock with a $100,000 basis that is sold before death, given away during life, or inherited.
The examples are illustrations with invented people. Estate planning involves state law, family circumstances and the estate tax, and belongs with an estate attorney and a tax professional.
The rule and its dates
Section 1014(a) gives property acquired from a decedent a basis equal to:
- its fair market value on the date of death, or
- if the executor elects alternate valuation under §2032, its value six months after death (or on the date it was sold or distributed within those six months), or
- for farm or business real estate valued under §2032A, that special value.
Alternate valuation is an estate tax election. Section 2032(c) allows it only if it reduces both the gross estate and the estate tax, so it is available only to estates that owe estate tax and whose assets fell after death. When it is elected, every asset in the estate takes its alternate-date value as its basis.
For listed shares, "fair market value" on a date is set by the estate tax valuation rules, generally the mean of the day's highest and lowest selling prices (Treas. Reg. §20.2031-2(b)); the executor or the brokerage records it. The heir's records should show that value, not the price the decedent paid. Adjusted cost basis: splits, DRIPs, return of capital and spin-offs covers how basis changes afterward, for splits, reinvested dividends and return of capital.
Holding period. Publication 550 is direct: a sale of inherited property that is a capital asset is long-term "regardless of how long you held the property". Shares inherited on Monday and sold on Tuesday get long-term rates. The rules for every other case are in Holding period rules: counting days, tacking and special cases.
Worked example: $500,000 of stock three ways
An invented widow owns shares worth $500,000 that cost $100,000 long ago. Whoever sells them is a single filer with $80,000 of other taxable income in 2026. A $400,000 gain on top of that income is taxed at 15% (taxable income stays below the $545,500 top of the 15% rate) and, because modified AGI crosses $200,000, also bears the 3.8% Net investment income tax (NIIT): the 3.8% surtax in depth on part of it.
She sells before her death. Gain $400,000: income tax $60,000, NIIT $11,252 (3.8% of the $296,100 by which her modified AGI of $496,100, taxable income plus the $16,100 standard deduction, exceeds $200,000). Total $71,252, and her heirs inherit cash.
She gives the shares to her son, who sells them. Under §1015 he takes her $100,000 basis (see Gifting appreciated stock: charity, family and the 2026 rules). With the same $80,000 of other income, his tax is the same $71,252. A gift during life passes the gain on with the shares.
Her son inherits the shares. His basis is $500,000. Sold at that price: $0 of income tax. If he holds them and sells a year later for $520,000, he reports a $20,000 long-term gain: $3,000.
The $71,252 is not deferred to anyone. It is never collected.
Spouses: half, or all, of the step-up
Jointly held property in common-law states
Most married couples hold brokerage accounts as joint tenants with right of survivorship or as tenants by the entirety. Publication 551 calls this a qualified joint interest: when the first spouse dies, one-half of the value is included in the estate, whichever spouse paid for it. Only that half is stepped up. The survivor keeps the original basis in his or her own half.
Suppose the widow's shares had been held jointly with her husband, and he died first. The survivor's basis becomes $100,000 ÷ 2 + $500,000 ÷ 2 = $300,000. Selling at $500,000 then produces a $200,000 gain and, on the same assumptions, $33,652 of tax: $30,000 at 15% plus $3,652 of NIIT. At the second death, the whole account is stepped up again in the heirs' hands.
Joint owners who are not married are treated differently: the estate includes the share the decedent paid for, and that share is stepped up (Pub. 551's surviving-tenant example).
Community property: the double step-up
Under §1014(b)(6), the surviving spouse's half of community property also gets a new basis, as long as at least half of the community property was included in the decedent's gross estate. Both halves are stepped up at the first death. Publications 551 and 555 list the nine community property states: Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington and Wisconsin.
In the example, if the shares were community property, the survivor's basis would be the full $500,000 and a sale at that price would owe $0. Whether a given account is community or separate property is a question of state law and of how it was titled and funded, which is why it belongs with a lawyer in that state.
What gets no step-up
Retirement accounts and other income in respect of a decedent. Section 1014(c) excludes any right to receive income in respect of a decedent, income the decedent had earned or was owed but had not been taxed on (§691). A traditional IRA or 401(k) is the largest example: the money in it was never taxed, so the beneficiary pays ordinary income tax on withdrawals, at the beneficiary's rates. A $500,000 traditional IRA holding the same shares as the example gives the heir no $500,000 basis at all; every dollar withdrawn is income. The rules for when an inherited account must be emptied belong to Retirement accounts explained: 401(k), IRA, Roth and 2026 limits; they are not repeated here. Other examples in Publication 559 include unpaid salary, accrued interest and installment-sale payments.
Annuities. Section 1014(b)(9)(A) leaves out annuities described in section 72; the untaxed growth in a deferred annuity is taxed to the beneficiary as income.
Gifts made before death. Shares given away during life are not part of what the giver owns at death, so they keep the giver's basis in the recipient's hands, as in the worked example.
Losses step down
Section 1014 sets the basis at market value whether that is higher or lower than the decedent's cost. If the widow's shares had cost $100,000 and were worth $60,000 at her death, her son's basis would be $60,000. The $40,000 loss she had on paper is gone: she cannot claim it after death, and he cannot claim it at all. A loss that the owner realizes while alive offsets gains and up to $3,000 a year of other income; any net capital loss left unused on the final return cannot be carried to the estate or the heirs. The carryover rules are in Capital loss carryovers: netting, the $3,000 limit and the worksheet, and the value of realizing a loss in time is worked out in Tax-loss harvesting in practice: what a loss is worth and when.
The one-year rule for deathbed gifts
A child could try to give appreciated shares to a dying parent, inherit them back, and collect the step-up. Section 1014(e) closes that route. If appreciated property was given to the decedent within one year before death and passes back to the donor or the donor's spouse, the donor's basis is the decedent's adjusted basis immediately before death, which is the donor's own old basis. The step-up still applies if the property passes to someone else, such as a grandchild.
Estates that file a return: basis consistency
The estate tax is a separate tax from the income tax the step-up affects. The basic exclusion amount for 2026 is $15,000,000 per person, under the 2025 law, and it is indexed for inflation after that: $15,480,000 for 2027 (Rev. Proc. 2026-35). Estates below it owe no estate tax and in most cases file no return, but the heirs still receive the step-up: the two rules do not depend on each other.
For estates that do file Form 706, section 1014(f) ties the heirs' basis to the estate's values. For property whose inclusion increased the estate tax, an heir's basis may not exceed the value finally determined for the estate tax return. The executor reports those values to the IRS and to each beneficiary on Form 8971 and its Schedule A, due no later than 30 days after Form 706 is due or filed, whichever is earlier. The form is not required when Form 706 is filed only to elect portability of a deceased spouse's unused exclusion. An heir who later sells reports the basis shown on Schedule A.
Sold, given or inherited: compared
| Path (US federal, 2026) | Recipient's basis | Holding period | Gain to death taxed? |
|---|---|---|---|
| Owner sells before death | Not applicable (cash) | Owner's | Yes, at the owner's rates |
| Given during life (§1015) | Giver's basis; lower value for losses | Giver's, tacked on | Yes, when the recipient sells |
| Inherited (§1014) | Value at death or alternate date | Always long-term | No |
| Joint with spouse, common-law state | Half stepped up, half original | Long-term for inherited half | Half of it |
| Community property | Whole value at death | Long-term | No |
| Traditional IRA, 401(k), annuity | No step-up; withdrawals are ordinary income | Not relevant | Yes, as income |
| Worth less than cost at death | Steps down to value at death | Always long-term | Loss is lost |
How Finabase does it
A Finabase portfolio records the buys you enter and shows the cost and unrealized gain of each position, matching sales first in, first out. It does not know about deaths, gifts or estate valuations. For inherited shares, the cost to record is the value at death (or the alternate date, or the Schedule A value) reported by the executor or the brokerage, with the date of death as the purchase date; recording the decedent's original cost would overstate every later gain. Because the portfolio does not track holding periods, the always-long-term rule for inherited shares is something to apply yourself.
Frequently asked questions
Do you pay capital gains tax on inherited stock?
Only on the gain after the date of death. The basis is the value at death (or the alternate valuation date), so shares sold soon after for about that value produce little or no gain, and any gain is long-term.
Does a surviving spouse get a step-up in basis?
On the half included in the deceased spouse's estate, yes. For a married couple's jointly held account in a common-law state that is half the account. In Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington and Wisconsin, community property is stepped up in full, both halves.
Do inherited IRAs get a step-up in basis?
No. A traditional IRA or 401(k) is income in respect of a decedent, which section 1014(c) excludes. Withdrawals are taxed as ordinary income to the beneficiary.
Is it better to gift stock before death or leave it in an estate?
For income tax alone, the numbers above favor inheriting appreciated shares: a gift passes the old basis on, while inheritance resets it. Estate tax, the giver's needs, state law and family plans can outweigh that, and the choice belongs with an estate attorney and a tax professional.
What is the alternate valuation date?
Six months after death. The executor may elect it on the estate tax return only if it lowers both the gross estate and the estate tax, and then every asset takes its value on that date (or on the date it was sold or distributed within the six months) as its basis.
Summary
Section 1014 gives inherited property a basis equal to its market value at death, or six months later if the executor of a taxable estate elects alternate valuation, and inherited shares are always long-term. In the worked example, $500,000 of shares with a $100,000 basis cost $71,252 in 2026 federal tax when sold before death or given away and sold, $33,652 when held jointly with a spouse, because only half is stepped up, and nothing when inherited outright or held as community property in one of the nine community property states. Retirement accounts, annuities and other income in respect of a decedent get no step-up, losses step down and disappear, gifts to a decedent within a year of death come back with the old basis, and estates that file Form 706 must report values on Form 8971 that bind the heirs' basis. The $15,000,000 estate tax exclusion for 2026 means most estates owe no estate tax, but the step-up applies to all of them.
Check your understanding
5 questions on this lesson. Each answer comes with the reason, and nothing is scored.
A son inherits shares his father bought for $100,000, worth $500,000 at the date of death, and sells them two weeks later for $505,000. What does he report?
- A $405,000 long-term gain
- A $5,000 short-term gain
- A $5,000 long-term gain
Show the answer
C. A $5,000 long-term gain His basis is the $500,000 value at death (§1014), and inherited property is long-term however briefly the heir holds it (Pub. 550).
A married couple in a common-law state holds a $500,000 joint account with a $100,000 basis. One spouse dies. What is the survivor's basis?
- $500,000
- $300,000: half stepped up to $250,000 plus half of the original $100,000
- $100,000
Show the answer
B. $300,000: half stepped up to $250,000 plus half of the original $100,000 For a qualified joint interest only the half included in the decedent's estate is stepped up. In a community property state both halves would be.
Which of these gets no step-up in basis at death?
- Shares in a taxable brokerage account
- A traditional IRA
- Shares held as community property
Show the answer
B. A traditional IRA A traditional IRA is income in respect of a decedent, excluded by §1014(c). The beneficiary pays ordinary income tax on withdrawals.
A mother gives appreciated shares to her terminally ill father, who dies eight months later and leaves them back to her. What is her basis?
- The value at her father's death
- Her father's adjusted basis just before death, which is her own old basis
- Zero
Show the answer
B. Her father's adjusted basis just before death, which is her own old basis Section 1014(e) denies the step-up when appreciated property given to the decedent within one year of death passes back to the donor or the donor's spouse.
Shares that cost $100,000 are worth $60,000 when the owner dies. What happens to the $40,000 loss?
- The heir can claim it when selling
- It carries over to the estate
- It is lost: the basis steps down to $60,000
Show the answer
C. It is lost: the basis steps down to $60,000 Section 1014 uses the value at death whether it is higher or lower than cost. Only the owner could have realized the loss, by selling while alive.
Sources and further reading
- 26 U.S. Code §1014, Basis of property acquired from a decedent: (a), (b)(6), (b)(9)(A), (c), (e), (f) (Cornell LII, read 2026-11-18)
- 26 U.S. Code §2032, Alternate valuation (Cornell LII, read 2026-11-18)
- 26 U.S. Code §691, Recipients of income in respect of decedents (Cornell LII)
- IRS — Publication 551 (12-2025), Basis of Assets: Inherited Property, Community Property, Qualified Joint Interest, Property Held by Surviving Tenant
- IRS — Publication 555 (2025), Community Property: list of community property states
- IRS — Publication 550 (2025), Property Received as Inheritance: always long-term
- IRS — Publication 559 (2025), Survivors, Executors, and Administrators: income in respect of a decedent
- IRS — Instructions for Form 8971 and Schedule A (rev. 2025), Who Must File, When To File
- IRS — Rev. Proc. 2025-32 (tax year 2026: rate tables, capital gain thresholds, $15,000,000 basic exclusion amount)
- IRS — Rev. Proc. 2026-35 (tax year 2027: $15,480,000 basic exclusion amount)
- 26 CFR §20.2031-2(b), Valuation of stocks and bonds: mean of the highest and lowest selling prices (Cornell LII, read 2026-11-18)
- 26 U.S. Code §1411, Net investment income tax (Cornell LII)
