Skip to main content
Capital Gains TaxInherited PropertyTax StrategyEstate Planning

How to Avoid Capital Gains Tax on Inherited Property

The step-up in basis, the 2-year exclusion, and other legal strategies to reduce or eliminate capital gains when selling an inherited home.

Published 8 min read
HT Written by Homewise Team
JL Edited by Joshuan Le
How to Avoid Capital Gains Tax on Inherited Property

The Short Version

The step-up in basis rule already eliminates capital gains from all appreciation that occurred before you inherited the property. To reduce gains on appreciation that happens after you inherit, your main options are selling quickly near the appraised value, moving in for 2 years to qualify for the primary residence exclusion, and documenting every capital improvement. For more complex situations involving rental history or large post-inheritance gains, consult a CPA before you sell.

$250,000
Gain excluded if you live there 2+ years (single filer)
$500,000
Gain excluded if you live there 2+ years (married, jointly)
180 days
Deadline to close a 1031 exchange after the sale

The single most powerful strategy for avoiding capital gains tax on inherited property is one you do not have to apply for, set up, or pay a professional to activate. It happens automatically when someone inherits a home. It is called the step-up in basis, and it eliminates capital gains from all appreciation that accumulated during the original owner’s lifetime.

Most heirs do not realize that the hard work of tax minimization is already done by the time they receive the keys. What remains is understanding what happens to appreciation that occurs after inheritance and which legal strategies can reduce or eliminate that smaller remaining gain.

Start here: the step-up in basis does the heavy lifting

When you inherit a house, your cost basis for tax purposes is not what the original owner paid. It is the home’s fair market value on the date the owner died. This is the step-up in basis, and it is one of the most favorable provisions in the federal tax code.

What it erases: Every dollar of appreciation that occurred during the original owner’s lifetime. A home bought in 1988 for $90,000 and worth $450,000 at the date of death gives the heir a basis of $450,000, not $90,000. That $360,000 of lifetime appreciation is completely outside your capital gains calculation.

What it does not erase: Appreciation that occurs after you inherit. If you hold the home for 3 years and it grows from $450,000 to $510,000, that $60,000 of post-inheritance gain is taxable when you sell.

What you need to document it: A formal appraisal of the home’s fair market value on the date of death, conducted by a licensed appraiser. This is typically done as part of the estate administration process. Without it, your stepped-up basis is undocumented and potentially challengeable.

For a deeper explanation of how the step-up calculation works, see our post on capital gains tax on inherited property.

Strategy 1: Sell quickly, near the appraised value

The fastest and simplest way to minimize capital gains on an inherited home is to sell it shortly after inheriting, as close to the appraised fair market value as possible.

If you sell at exactly the appraised value, your gain is zero before selling costs. Subtract agent commissions, closing fees, and other costs of sale from your proceeds, and your net proceeds are typically below the stepped-up basis, which means no taxable gain and potentially a deductible loss.

Why this works: You are capturing the step-up benefit in its purest form. The clock on post-inheritance appreciation has barely started. The longer you hold, the more potential gain accumulates.

This is the primary reason many heirs, particularly those managing property from out of state or dealing with multiple co-heirs, choose to sell as quickly as possible rather than holding for the market to rise further.

Strategy 2: Live in the home for 2 years and claim the primary residence exclusion

If you can and want to move into the inherited home, the primary residence exclusion under Section 121 of the tax code can shelter a significant amount of additional gain.

Requirements (consult a CPA for full eligibility details):

  • The home must be your primary residence, not a vacation home or rental
  • You must live there for at least 24 months out of the 60 months before selling
  • You generally cannot have used this exclusion on another home in the previous 2 years

If you qualify, you can exclude from federal capital gains:

  • Up to $250,000 of gain if you file as a single taxpayer
  • Up to $500,000 of gain if you are married filing jointly

How this stacks with the step-up: The step-up already eliminated all pre-inheritance gains. The Section 121 exclusion then shields up to $250,000 or $500,000 of post-inheritance gains on top of that. Combined, the two provisions can protect a very large total amount from capital gains tax.

When this makes sense: If the inherited home is in a location where you can realistically live, the property is in livable condition, and you expect meaningful appreciation while you are there, this strategy can be highly effective.

When it does not work: If you cannot move in, if the home is a rental with depreciation history, or if multiple siblings own shares and disagree on occupancy.

Strategy 3: Add every capital improvement to your basis

Every dollar you spend on a legitimate capital improvement after inheriting raises your cost basis and reduces your eventual taxable gain dollar for dollar.

Capital improvements that qualify (keep receipts for all of them):

  • New roof or HVAC system replacement
  • Room additions or major structural work
  • Kitchen or bathroom remodels that add value
  • New windows, doors, or flooring throughout the home
  • Landscaping that significantly improves the property

Repairs and maintenance do not qualify:

  • Painting, patching, or minor touch-ups
  • Fixing a broken fixture
  • Routine cleaning or pest control

The practical impact: If you spend $25,000 on a kitchen renovation and $15,000 on a new roof while preparing an inherited home to sell, your basis increases by $40,000. That $40,000 directly reduces your taxable gain when you sell. Document everything from day one.

Strategy 4: Claim a loss if the value declined

If the home’s value declined between the date of death and the date you sell, you may have a deductible capital loss rather than a gain. This is uncommon in most recent markets, but it can occur in areas with declining values or for properties with significant deferred maintenance.

A capital loss on an inherited home can offset capital gains you have elsewhere in the same tax year. Rules and limitations apply, so work with a CPA to determine whether a loss is deductible in your situation and how to report it correctly.

Strategy 5: Use a 1031 exchange if the property was income-producing

If the inherited property was used as a rental or other investment property (and you intend to keep investing in real estate), a 1031 like-kind exchange may allow you to defer capital gains indefinitely by rolling the proceeds into another qualifying investment property.

Key rules of a 1031 exchange:

  • The property being sold and the replacement property must both be held for investment or business use, not personal use
  • You must identify the replacement property within 45 days of the sale
  • You must close on the replacement property within 180 days of the sale
  • Proceeds must flow through a qualified intermediary; you cannot receive the cash directly
  • The exchange defers the tax, it does not eliminate it permanently

Important limitation: A 1031 exchange does not apply to a primary residence. It is only for investment or income-producing properties. If the inherited home was your relative’s primary residence and was not rented, you cannot use this strategy.

This approach requires working with a qualified intermediary and a CPA well before you list the property. Do not attempt a 1031 exchange without professional guidance.

What will not help: common mistakes heirs make

Gifting the property before selling. If you transfer the home to a family member and then that person sells it, the recipient takes your basis, not a new stepped-up basis. Gifted property uses carryover basis, not step-up basis. The capital gain does not disappear; it transfers.

Waiting for values to rise without a plan. Holding the property for years while hoping for appreciation increases your post-inheritance gain without providing any additional basis protection. If you are going to hold, have a clear investment thesis and plan for the eventual tax impact.

Renting without understanding depreciation recapture. If you rent the inherited home and claim depreciation deductions, those deductions reduce your basis over time. When you eventually sell, the IRS recaptures that depreciation at a rate of up to 25%. Depreciation is often the right financial decision anyway, but understand the future tax consequence before you start.

Failing to get an appraisal at the date of death. Without a documented fair market value at the date of death, you have no defensible stepped-up basis. This is the most costly mistake to make and the hardest to fix retroactively.

A side-by-side comparison of strategies

StrategyWho it works forTax impactComplexity
Sell quickly near appraised valueMost heirs who want a fast exitGain often zero or minimalLow
Live in home 2 years (Section 121)Heirs who can and want to move inShelters up to $250k/$500k additional gainMedium
Track and add capital improvementsAny heir who makes renovationsReduces gain dollar for dollarLow (keep receipts)
Claim a loss on declined valueHeirs in soft markets or with distressed propertyOffsets other capital gainsMedium (requires CPA)
1031 exchangeHeirs with investment/rental property who want to reinvestDefers gain indefinitelyHigh (strict rules, intermediary required)

The role of the estate and the executor

Many of the tax advantages described here depend on decisions made at the estate level, not by individual heirs. The executor is responsible for:

  • Ordering a date-of-death appraisal to establish the stepped-up basis
  • Electing whether to use the date of death or the alternate valuation date (6 months later) if values declined
  • Filing the estate tax return if the estate is large enough to require one
  • Distributing the property with proper documentation of its value

If you are an heir rather than the executor, make sure the executor has done these things before you make any decisions about selling.

Getting help before you close

Every strategy described in this article has eligibility requirements, documentation needs, and potential pitfalls. The tax rules around inherited property are generally favorable, but applying them correctly requires knowing the exact stepped-up basis, your income level, your state’s rules, and the property’s history.

A CPA or estate attorney who handles real estate transactions should review your situation before you sign a listing agreement or accept any offer. Most consultations are inexpensive relative to the tax savings at stake.

If you want to sell quickly without repairs, commissions, or showings, cash home buyers can close in as little as 7 days after title clears. Use our net proceeds calculator to compare what you would net after taxes on a cash sale versus a traditional listing.

The bottom line

The step-up in basis already does most of the work. It erases all pre-inheritance appreciation automatically, which means heirs who sell quickly near the appraised value often owe nothing in capital gains. The remaining strategies, living in the home, documenting improvements, and in some cases using a 1031 exchange, address the smaller pool of post-inheritance gains.

The most important action you can take right now is to confirm that the estate has a documented date-of-death appraisal. Without that number, none of the strategies in this article can be applied correctly. From there, a CPA can tell you exactly what you owe and which approach saves you the most.

Ready to sell? Visit our inherited house page to learn how the process works, or get a no-obligation offer today.

FAQ

Frequently Asked Questions

How do I avoid capital gains tax on inherited property?
The biggest tool is the step-up in basis, which is automatic and requires no action from you. It resets your cost basis to the home's fair market value at the date of death, eliminating all pre-inheritance appreciation from your taxable gain. To avoid tax on post-inheritance gains, sell quickly near the appraised value, document capital improvements to increase your basis, or live in the home for 2 years to qualify for the primary residence exclusion. Consult a CPA before you close.
What is the 2-year rule for inherited property?
If you move into the inherited home and use it as your primary residence for at least 2 of the 5 years before selling, you may qualify for the primary residence exclusion under Section 121. Single filers can exclude up to $250,000 of gain; married couples filing jointly can exclude up to $500,000. This exclusion stacks on top of the step-up in basis and can shelter a large amount of appreciation. Eligibility has specific requirements, so verify with a CPA or estate attorney before relying on it.
What is the step-up in basis?
Step-up in basis is a federal tax provision that resets the cost basis of an inherited asset to its fair market value on the date the original owner died. This erases all pre-death appreciation from a capital gains calculation. If you inherited a home appraised at $380,000 and sell it for $385,000, your taxable gain is only $5,000 minus selling costs, not the full sale price. Get a formal appraisal done at the time of death so the basis is documented and defensible.
Do you pay capital gains when you sell an inherited property?
You only pay capital gains on appreciation that occurred after the date you inherited the property. The step-up in basis rule eliminates all pre-inheritance appreciation automatically. If you sell quickly and near the inherited value, your gain can be zero. If the home has risen in value since you inherited it and you do not qualify for the primary residence exclusion, you will owe tax on that difference at long-term capital gains rates of 0%, 15%, or 20% depending on your income.
Can you avoid capital gains by reinvesting the proceeds into another property?
Yes, in certain circumstances. A 1031 like-kind exchange allows you to defer capital gains by rolling proceeds from the sale of investment or rental property into another qualifying property. You must identify a replacement property within 45 days and close within 180 days after the sale. Primary residences do not qualify. The 1031 exchange defers the tax, it does not eliminate it permanently. This is a complex strategy with strict rules; consult a CPA or qualified intermediary before proceeding.

Sell an inherited house

Free cash offer · 24 hours · No fees

Get Offer