How to Avoid Capital Gains Tax on Inherited Property
Inheriting a house, a rental duplex, or a piece of raw land can feel like a financial windfall until you start thinking about what happens when you sell it. The good news is that the tax code already gives you a powerful head start. Thanks to a rule called the stepped up basis, most of the gain that built up while your parent, grandparent, or other relative owned the property is wiped out the moment you inherit it. But that reset only protects you from gain that happened before the date of death. Everything that happens afterward, from a rising market to rental income you collect while you decide what to do, is fair game for the IRS.
As of July 2026, the One Big Beautiful Bill Act has permanently raised the federal estate and gift tax exemption and made several other provisions permanent, which changes the planning picture for families passing down real estate and other appreciated assets. This guide walks through exactly how capital gains tax on inherited property works, five practical ways to reduce or avoid it, and the mistakes that cost heirs the most money. The IRS lays out the underlying rules for executors and heirs in IRS Publication 559, Survivors, Executors, and Administrators, and this guide translates those rules into a practical plan.
If your situation involves an S corporation, a family business, or other appreciated assets alongside the inherited property, it is worth reviewing this guide alongside your S corporation distributions versus W-2 salary strategy, since both affect your overall tax bracket for the year you sell. Many business owners who inherit a rental property or a second home are also running an S corporation, and stacking a large capital gain on top of business income in the same year can push you into a much higher bracket than expected.
What happens to the tax basis when you inherit property
Under Internal Revenue Code Section 1014, property you inherit does not carry over the original owner’s purchase price. Instead, your basis resets to the fair market value on the date of death, or on the alternate valuation date six months later if the estate elects it on Form 706. This is commonly called the stepped up basis, and it is one of the most valuable tax breaks available to heirs.
Here is what that looks like in practice. Suppose a parent bought a rental duplex decades ago for $180,000 and fully depreciated it over the years. At the time of death, the property is appraised at $760,000. The math works like this.
Gain eliminated by the step up
Fair market value at date of death $760,000
Minus original purchase price $180,000
= $580,000 in gain permanently eliminated
That $580,000 of appreciation, along with any depreciation the parent claimed over the years, disappears for tax purposes. Your new basis is simply $760,000. If you sell the property a year later for $780,000, your taxable gain is calculated fresh from your own stepped up number.
Taxable gain on sale
Sale price $780,000
Minus stepped up basis $760,000
= $20,000 taxable gain
Without the step up, the heir in this example would have owed capital gains tax on close to $600,000. With it, they owe tax on just $20,000. This is why getting a qualified appraisal near the date of death matters so much, and it is a step your tax advisor should help you document properly.
How capital gains tax on inherited property actually works
Once you understand the stepped up basis, the rest of the calculation follows the normal capital gains rules, with a few special wrinkles unique to inherited assets.
- Inherited property is automatically treated as a long term capital asset under IRC Section 1223, no matter how long you personally hold it before selling, so you never get pushed into higher short term ordinary income rates just because you sold quickly.
- Federal long term capital gains rates of 0%, 15%, or 20% apply based on your total taxable income for the year, which means the timing of your sale relative to your other income matters.
- The net investment income tax, an additional 3.8% surtax, applies once modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. These thresholds are not indexed for inflation, so more sellers get caught by this tax every year.
Because these thresholds stack on top of your regular income, the year you choose to sell inherited property is not just a market timing decision. It is a tax bracket decision. Selling in a year when your business income is lower, or spreading the sale across two tax years, can keep you out of the 20% bracket and the net investment income tax entirely.
On top of federal tax, most states add their own capital gains tax. California, for example, taxes capital gains as ordinary income with rates up to 13.3%, and it does not offer a separate reduced rate for long term gains the way the federal system does. That makes coordinated planning with a tax advisor especially important for families in higher tax states who inherit appreciated real estate.
Five strategies to reduce capital gains tax on inherited property
Sell soon after you inherit to lock in the stepped up basis
The closer your sale date is to the date of death, the less new appreciation you will owe tax on, since the stepped up basis only protects gain that occurred before inheritance. First, get a qualified appraisal at or near the date of death. Next, keep documentation of that value in your records, because the IRS can ask for it years later if you are audited on the sale.
Move into the home and use the Section 121 exclusion
If the inherited property is a house rather than a rental, you can convert it into your primary residence. Once you have owned and lived in it for at least two of the five years before selling, Section 121 lets you exclude up to $250,000 of gain if you are single, or $500,000 if you are married filing jointly. Combined with a stepped up basis, this can eliminate tax on both the original appreciation and a large chunk of what accrues after you inherit. The IRS explains the eligibility rules in IRS Publication 523.
Use a 1031 exchange if you keep it as a rental property
If you intend to hold the inherited property as a rental rather than sell it outright, a like kind exchange under Section 1031 lets you reinvest the proceeds into another investment property and defer the gain entirely. Since your basis is already stepped up, you are only deferring tax on appreciation that happens after inheritance, which is often a manageable number. The rules and identification deadlines are outlined in the IRS like kind exchanges guidance.
Disclaim your share if a co-heir is better positioned
When multiple siblings or family members inherit a property together, it sometimes makes sense for one heir to file a qualified disclaimer under IRC Section 2518 within nine months of the date of death. Doing this lets your share pass directly to the next heir in line, meaning you never took ownership and never trigger a taxable event. This strategy works well when one heir is in a much lower tax bracket or wants to hold the property long term while another wants cash immediately.
Spread the gain with an installment sale
If you wait long enough that meaningful appreciation builds up after you inherit, you do not have to recognize the entire gain in one tax year. Seller financing the sale to your buyer lets you report the gain proportionally as payments come in over several years, which can keep you out of the higher capital gains brackets and reduce or eliminate the net investment income tax in any single year. The mechanics are covered in IRS Publication 537 on installment sales.
Special situations that change the numbers
Not every inherited property situation follows the simple example above. The following circumstances come up often enough with BorisMTax clients that they deserve their own explanation.
- Community property states, including California, allow a full double step up in basis on both halves of jointly owned community property when one spouse dies, not just the deceased spouse’s half as in common law states. This is a significant advantage under IRC Section 1014(b)(6) that many surviving spouses never claim because their accountant did not flag it.
- Surviving spouses can elect portability of a deceased spouse’s unused federal estate tax exemption by filing Form 706, which matters more now that the One Big Beautiful Bill Act made the higher exemption amount permanent starting in 2026.
- When multiple heirs inherit fractional interests in the same property, each person’s stepped up basis is calculated proportionally to their ownership share, so records should clearly show who owns what percentage before any partial sale.
- Inherited property located in another state, or overseas, can trigger separate state estate tax or foreign reporting obligations that are entirely independent of the federal step up rules, so do not assume one filing covers everything.
How to report the sale of inherited property
When you eventually sell inherited property, the transaction is reported on Form 8949 and carried over to Schedule D of your Form 1040. You will list your stepped up basis, the sale price, and the resulting gain or loss, and because inherited property is always treated as long term, it is reported in the long term section regardless of how briefly you owned it. If you also own an S corporation and use strategies like the Augusta rule for S corporation owners to shift income around your business and personal return, your accountant should coordinate both filings in the same year, since a large capital gain can affect the numbers behind several other strategies at once.
Common mistakes people make with inherited property
- Assuming that any sale of inherited property is automatically tax free simply because it was inherited rather than purchased.
- Skipping a professional appraisal near the date of death, which leaves no evidence to support the stepped up basis if the IRS questions the sale later.
- Forgetting about the net investment income tax, which can add an unexpected 3.8% on top of the capital gains rate.
- Selling immediately without comparing a 1031 exchange, the Section 121 exclusion, or an installment sale, any of which might have saved substantially more in tax.
- Confusing inherited property rules with gifted property rules. Property you receive as a gift during someone’s lifetime keeps the giver’s original basis under Section 1015, with no step up at all, which is a very different result from inheriting the same asset after death.
Work with a tax advisor before you sell inherited property
At BorisMTax, we’re experts at helping business owners and families calculate stepped up basis correctly, coordinate 1031 exchanges and installment sales, and plan around the estate and gift tax changes from the One Big Beautiful Bill Act. Inherited property is often the single largest asset in a family’s estate, and a small mistake in how the sale is structured can cost tens of thousands of dollars in avoidable tax. Our tax advisor team reviews your specific numbers, your other income for the year, and your long term goals before recommending a path forward. Schedule your free tax strategy call today and make sure you keep what you inherited.
Frequently asked questions
Q: Do I have to pay capital gains tax when I inherit a house?
A: In most cases, no tax is due at the moment you inherit the property. The stepped up basis rule resets your cost basis to fair market value on the date of death, so capital gains tax generally applies only to appreciation that happens after you inherit, not the gain that built up during the original owner’s lifetime.
Q: How is capital gains tax calculated on inherited property that I later sell?
A: You subtract your stepped up basis, the fair market value on the date of death, from your eventual sale price. For example, a property worth $760,000 at death that sells two years later for $800,000 produces a taxable gain of $40,000, calculated as $800,000 minus $760,000, not the full appreciation since the original owner purchased it decades earlier.
Q: Does the step up in basis apply to inherited rental property?
A: Yes. The step up applies to rental property, land, and most other capital assets, and it also wipes out any depreciation recapture the original owner would have owed, since the accumulated depreciation resets along with the basis. This is one of the more overlooked benefits of inheriting investment property.
Q: What is the difference between inherited and gifted property?
A: Gifted property keeps the giver’s original purchase price under Section 1015, known as a carryover basis, while inherited property receives a full step up to fair market value at death. This means the same house can produce a very different tax bill depending on whether it was given during someone’s lifetime or passed down after death, which is why timing transfers matters.