Whether you inherit a house or stock or receive it as a gift can change the tax on selling it by thousands of dollars, because the two follow different basis rules.
What is a step-up in basis?
Basis is the amount the IRS lets you subtract from a sale price to figure your taxable gain. When you inherit property, your basis is generally its fair market value on the date the owner died, not what they paid. That reset is called a step-up in basis, and it can erase decades of untaxed growth.
This guide is for anyone who has inherited, or expects to inherit, a home, investments or other property, and for families comparing a gift during life with an inheritance later. It explains the inheritance and gift rules from IRS Publication 551, how married couples and joint owners are treated, and seven worked examples with the math shown. The examples use made-up numbers and a 15% long-term capital gains rate for simplicity. Your actual rate depends on your income, so check the current thresholds on irs.gov.
Why basis matters when you sell
Your taxable gain is what you receive from a sale minus your basis. A higher basis means a smaller gain and less tax. The IRS Topic 409 explains that if you hold an asset for more than one year before you dispose of it, your gain or loss is generally long-term, while net short-term gains are taxed as ordinary income at graduated rates. Long-term gains are taxed at 0%, 15% or 20%, depending on taxable income.
Property you didn't buy is different. Publication 551, Basis of Assets notes that you can't determine your basis in some assets by cost, including property you receive as a gift or inheritance. That's where the two rules below come in.
The inheritance rule: basis resets at death
For inherited property, Publication 551 lists the basis as the fair market value of the property at the date of the individual's death, with a few alternatives. The main one is the alternate valuation date. The IRS gifts and inheritances FAQ explains that this later valuation can be used only if the executor files an estate tax return (Form 706) and elects it.
When an estate tax return is filed, there's a consistency rule as well. Publication 544 says you use a basis consistent with the final estate tax value of the property to determine your initial basis. In practice, that means the value the estate reported is your starting point, and penalties can apply for reporting a different one.
There's also a timing rule that helps heirs. According to the IRS Instructions for Form 8949, if you dispose of property you acquired by inheritance, you generally report it as a long-term gain or loss regardless of how long you held it. So selling an inherited asset a few weeks after the funeral still usually qualifies for long-term rates.
One exception to know about: different rules can apply if you or your spouse gave the property to the person who died within one year before their death. The IRS FAQ flags this case, and Publication 551 explains it.
The gift rule: you keep the giver's basis
Gifts during life work very differently. Publication 551 says that when the property's fair market value at the time of the gift is equal to or more than the donor's adjusted basis, your basis is the donor's adjusted basis at the time you received the gift. In other words, you inherit their original purchase price along with all the built-in gain.
If the donor paid gift tax, your basis may go up by part of that tax. For gifts after 1976, the increase is the part of the gift tax paid that is due to the net increase in value of the gift. Many gifts never trigger gift tax, so this adjustment often doesn't apply.
When the gift is worth less than the donor's basis, a "dual basis" rule kicks in. Your basis for figuring a gain is the donor's adjusted basis, your basis for figuring a loss is the fair market value when you received the gift, and if you sell for a price between those two numbers, you have neither gain nor loss.
Worked examples: inherited vs. gifted
Example 1: Inherited stock. Rosa's father bought shares for $20,000. They were worth $100,000 on the day he died. Rosa's basis is $100,000. Three months later she sells for $103,000. Her gain is $103,000 − $100,000 = $3,000, and it's treated as long-term. At a 15% rate, the tax is $3,000 × 0.15 = $450.
Example 2: The same stock as a gift. Suppose instead her father gave Rosa the shares while he was alive, when they were worth $100,000. Her basis is his $20,000. If she sells for $103,000, her gain is $83,000. At 15%, that's $12,450 in tax, which is $12,000 more than in Example 1 for the same shares and the same sale price.
Example 3: Selling an inherited house. Marcus inherits his aunt's house, valued at $400,000 on the date of her death by an appraisal. He sells it for $430,000 and pays $20,000 in selling costs, such as agent commissions, which reduce what he receives to $410,000. His gain is $410,000 − $400,000 = $10,000. At 15%, the tax is $1,500. His aunt paid $90,000 for the house decades ago, but that number doesn't matter to Marcus's tax.
Example 4: Gifted stock that has dropped. Jordan's grandmother paid $10,000 for shares that were worth $8,000 when she gave them to Jordan. Jordan's basis for a gain is $10,000, and for a loss it's $8,000.
- If Jordan sells for $7,000, the loss is $8,000 − $7,000 = $1,000.
- If Jordan sells for $12,000, the gain is $12,000 − $10,000 = $2,000.
- If Jordan sells for $9,000, which is between $8,000 and $10,000, there is neither gain nor loss.
The grandmother's $2,000 paper loss doesn't transfer to Jordan as a deduction. That's one reason some families look at whether a person could sell a losing investment and claim the loss themselves before giving the cash instead.
Married couples and joint owners
How property is titled between spouses changes how much of it gets a new basis.
In community property states, Publication 551 says the basis of community property for the surviving spouse can be the total value of the community property, even the part belonging to the surviving spouse, as long as at least half the value of the community interest is includible in the decedent's gross estate. Both halves can step up.
For a qualified joint interest, which Publication 551 defines as property held by a married couple as tenants by the entirety, or as joint tenants with right of survivorship if the couple are the only joint tenants, one-half of the value is included in the decedent's gross estate. Only that half gets a new basis. The survivor keeps their own original basis in their half and adds the basis of the half they inherited.
Example 5: Community property. A couple bought a home for $200,000. It's worth $600,000 when one spouse dies, and the rules above are met. The surviving spouse's basis in the whole home becomes $600,000. If the survivor sells for $610,000, the gain is $10,000.
Example 6: Joint tenancy between spouses. Same home, same numbers, but held as joint tenants with right of survivorship in a state without community property. The survivor's own half keeps its original basis of $100,000. The inherited half takes its date-of-death value, $300,000. The total basis is $400,000, so a sale at $610,000 produces a $210,000 gain before any other rules that might reduce it. The difference between Examples 5 and 6 comes entirely from how the home was owned.
Example 7: Inheriting a share. Three siblings inherit a vacation cabin worth $300,000 at their mother's death. Each sibling's basis in their one-third share is $100,000. If they sell the cabin for $330,000, each sibling's share of the sale is $110,000, for a $10,000 gain each, before selling costs.
What doesn't get a step-up
The step-up rule covers property such as stocks, mutual fund shares and real estate. Retirement accounts like traditional IRAs work differently. Under IRS rules, distributions from a traditional IRA are generally taxable in the year you receive them, and that includes withdrawals by beneficiaries of pre-tax money. Inherited IRAs also come with their own deadlines for emptying the account, which Publication 590-B explains.
A step-by-step checklist after you inherit
These steps help you lock in the right basis before you sell anything you received.
- Find out whether the estate filed Form 706. If it did, ask the executor for the value reported for each asset you received.
- Document the date-of-death value. For investments, ask the brokerage for a statement as of that date; for real estate, an appraisal is common.
- Confirm the brokerage updated the cost basis on any account transferred to you, and correct it if it still shows the original purchase price.
- Keep records of improvements you make to inherited real estate, since they can add to your basis.
- When you sell, keep closing statements showing selling costs.
- Report the sale on Form 8949 as long-term, following the form's instructions for inherited property.
- If the asset is a gift instead, ask the giver for their purchase records and any gift tax return before you sell.
Common mistakes to avoid
The most expensive mistake is using the wrong basis. Heirs sometimes report a parent's original purchase price, which can overstate the gain by tens of thousands of dollars, while people who receive gifts sometimes use the current value, which understates it.
Another mistake is losing the paperwork. Years later, a date-of-death appraisal or statement can be hard to recreate, so save it with the estate records.
People also assume every inherited account works the same way. A brokerage account and a traditional IRA left by the same parent are taxed very differently.
Finally, families sometimes overlook how titling affects a surviving spouse. As Examples 5 and 6 show, the same house can carry very different basis depending on how it was owned.
What to do next
If you've recently inherited property, gather the date-of-death values and estate paperwork now, while the executor and records are easy to reach. If your family is weighing a lifetime gift against leaving assets in an estate, Examples 1 and 2 show why the basis rules belong in that conversation. Our guides to what to do with an inheritance and gifting strategies for families cover the broader planning picture, and an estate attorney or tax professional can apply the rules to your state and your documents.
Frequently asked questions
Do I pay capital gains tax on an inherited house?
Only on any gain above your basis, which is generally the home's fair market value on the date of death. If you sell for about that value after selling costs, there may be little or no taxable gain.
Is inherited stock always long-term?
Generally, yes. The IRS Form 8949 instructions say to report a disposition of inherited property as long-term regardless of how long you held it.
What is my basis in stock someone gave me?
Generally the giver's adjusted basis, possibly increased by part of any gift tax paid. If the stock was worth less than their basis when you received it, a different basis is used for figuring a loss.
Sources
- Internal Revenue Service, Publication 551, Basis of Assets
- Internal Revenue Service, Gifts & inheritances FAQ
- Internal Revenue Service, Publication 544, Sales and Other Dispositions of Assets
- Internal Revenue Service, Instructions for Form 8949
- Internal Revenue Service, Topic no. 409, Capital gains and losses
- Internal Revenue Service, Publication 590-B, Distributions from Individual Retirement Arrangements (IRAs)
Content on The Evergreen Edit is for educational and informational purposes only and is not individualized financial, investment, tax or legal advice. Learn more.
Compound growth estimate
Estimated total
$17,175
Your contributions
$13,000
This is an estimate, not a prediction. Monthly compounding; taxes, fees and inflation are excluded.
This article is for educational purposes only and isn't personalized financial, tax or legal advice. Consider talking with a qualified professional about your situation.

Kiara Miller — Founder & Editor
Kiara Miller is the founder and editor of The Evergreen Edit. He has been doing independent finance research for two decades, is a tax preparer, and reviews every article before it's published.
More about Kiara →Get smarter about your money.
Join readers who get money stories on their chosen topics, daily or as new articles post.




