I inherited stock. What is my basis, and when do I report the sale?
Your basis in each holding is generally its value on the date of death (or the alternate valuation date, if the estate elected it). You report the sale on your return for the year of the sale, with the proceeds minus your basis as the gain or loss. A gain or loss on inherited stock is long term, whether you sold it quickly or years later. If a broker statement shows the old owner's cost, your return should still use your inherited basis; how to show the difference is a question for the form instructions, which we did not read.
Sources
Authority, strongest first
- Code I.R.C. § 1014
- Code I.R.C. § 1223
- IRS publication IRS Pub. 559 (2025), Survivors, Executors, and Administrators
1014(a)(1)-(2); 1223(9) (a sale "within 1 year after the decedent's death" is treated as held more than a year); Publication 559 (p. 21, Holding period): "If you sell or dispose of inherited property that is a capital asset, the gain or loss is considered long term, regardless of how long you held the property." The instructions for Form 8949 and Form 1099-B were not read. Tax rates and the wash-sale rule are on our Capital Gains page.
I inherited a house. What do I owe when it's sold?
The gain is the sale price minus your basis, which for an inherited house is generally its value on the date of death, plus improvements you make and minus depreciation if it was rented. Whether the estate or the heirs report the sale depends on who legally owned the house when it was sold; title often passes straight to the heirs under state law. Our Selling Your Home page covers the exclusion, which for an inherited house applies only if you meet the ownership and use tests yourself.
Sources
Authority, strongest first
- Code I.R.C. § 1014
- Code I.R.C. § 121
- IRS publication IRS Pub. 559 (2025), Survivors, Executors, and Administrators
Publication 559 (p. 24, Gain (or loss) from sale of property and Sale of decedent's residence): the publication tells readers to look to local law for the legal owner; if an estate sells a home it holds as a capital asset, gain or loss is capital gain or loss, and if the home isn't held for business or investment use, a loss isn't deductible. Depreciation of inherited rental property uses MACRS (p. 21). Adjustments to basis after acquisition are not specific to inheritance; see the Capital Gains page.
Can I use the home-sale exclusion on an inherited house?
Only if you meet the tests yourself: you must have owned the house and used it as your main home for at least 2 of the 5 years before the sale. In our reading, a child or other heir can't add the person's years of owning and living there to their own; the one carry-over rule in the statute is for a deceased spouse. If the house was never your home, there is generally no exclusion, but the date-of-death basis often leaves little gain. Our Selling Your Home page has the tests.
Sources
Authority, strongest first
- Code I.R.C. § 121
121(d)(2) adds the period of ownership and use of "such deceased spouse" for an unmarried individual whose spouse is deceased on the date of sale; we found no similar rule for other heirs in the text we read (see the gaps list). The two-of-five-year tests are the library's home_sale_121.ownership_use_test_years.
What if the property was owned jointly?
For spouses who held property as tenants by the entirety, or as joint tenants with right of survivorship when they were the only joint tenants, half of its value is included in the estate when one dies, so the survivor gets a step-up on that half only. Other joint ownership depends on who paid for the property and how it was acquired; the part included in the estate is the part that gets the step-up.
Sources
What about property in a living trust, or a trust that can't be changed?
Property in a trust the person could revoke, or change, during life counts as acquired from the person, so it generally gets the date-of-death basis. Property in a trust that the person couldn't revoke and that isn't included in the person's estate is different: the IRS has ruled that assets in an irrevocable grantor trust that are not in the estate don't get a step-up. Whether a particular trust fits is a legal question. Property distributed to you from a non-grantor trust generally keeps the trust's basis.
Sources
Authority, strongest first
- Code I.R.C. § 1014
- Regulation Treas. Reg. § 1.1014-2(a)(5) and (b)(2)
- Revenue ruling Rev. Rul. 2023-2
- IRS publication IRS Pub. 551 (Rev. 12-2025), Basis of Assets
1014(b)(2) (revocable) and (b)(3) (power to alter, amend or terminate); Treas. Reg. 1.1014-2(a)(2) and (3). Publication 551 (pp. 16 to 17, Property Received from a Trust): a distribution from a grantor trust is treated as a transfer from the grantor or owner; from a non-grantor trust the basis is "generally the same as the trust's adjusted basis immediately before the distribution". Rev. Rul. 2023-2 (basis of assets in an irrevocable grantor trust not in the gross estate; see the gaps list) is read for this page.
How is an inherited IRA or retirement account taxed?
A traditional IRA is income in respect of a decedent: what you receive is taxable to you, except for any after-tax contributions the person made, and there is no step-up on the account. A surviving spouse can roll it over without current tax. Qualified Roth distributions are generally not taxed. How quickly the account has to be emptied is on our Retirement Withdrawals page and in our article on inherited IRAs.
Sources
Authority, strongest first
- Code I.R.C. § 691
- Regulation Treas. Reg. § 1.1014-10(a), (b), (c)(1)-(2)
- IRS publication IRS Pub. 559 (2025), Survivors, Executors, and Administrators
Publication 559 (pp. 16 to 17, 22 to 23): a lump-sum distribution from an inherited traditional IRA is taxable "as income in respect of a decedent up to the decedent's taxable balance"; a surviving spouse who properly rolls it over isn't currently taxed; a non-spouse beneficiary can use a direct trustee-to-trustee transfer from a deceased employee's plan to an inherited IRA; an inherited IRA can't receive a rollover. Treas. Reg. 1.1014-10(c)(2)(x)(F) excepts retirement plans expressed in dollars from the consistent basis rule.
How does my basis work when the estate gives me property?
If you receive a specific item the will names, your basis is generally its date-of-death value. If the estate distributes property to satisfy your right to income or a set dollar amount, your basis is the estate's basis just before the distribution, plus any gain, or minus any loss, the estate recognized on it.
Sources
Authority, strongest first
- Code I.R.C. § 1014
- IRS publication IRS Pub. 559 (2025), Survivors, Executors, and Administrators
Publication 559 (p. 21, Property distributed in kind): property distributed in kind "satisfies your right to receive another property or amount, such as the income of the estate or a specific dollar amount", and it excludes a specific bequest (unless it must be distributed in more than three installments) and real property whose title passes directly to you under local law. The estate's election to recognize gain or loss on distributions (the
section 643(e)(3) election) is on p. 25.
Section 643(e) itself was not read.