Guides

How to Avoid Capital Gains Tax on Inherited Property (2026)

By Sameer Ahmed, Registered Property Tax Consultant10 min read
Historic two-story family home in Galveston, Texas behind an iron fence and magnolia trees

Here's what most articles on this topic bury: if you inherit a property and sell it soon after, you probably owe little or no capital gains tax at all. Not because of a clever loophole, but because of a rule built into the tax code called the stepped-up basis. Decades of appreciation that happened during the original owner's lifetime are erased for tax purposes the moment you inherit.

So why do so many pages warn you about a "massive capital gains tax" on your inheritance? Partly confusion between three different taxes, and partly because fear gets clicks. The truth is more reassuring, but there are real situations where tax is owed, and a few common mistakes that can create a six-figure tax bill out of nothing. This guide explains exactly when capital gains tax applies to inherited property, when it doesn't, and the legitimate strategies for minimizing whatever remains.

First, Untangle the Three Taxes People Confuse

When people worry about "taxes on inheritance," they're usually blending three separate things:

  • Inheritance tax. A state tax paid by the person receiving assets. There is no federal inheritance tax, and only a handful of states impose one, generally sparing spouses and often children.
  • Estate tax. A federal tax paid by the estate before assets are distributed. In 2026, the federal exemption is $15 million per person ($30 million for married couples), made permanent by the One Big Beautiful Bill Act. Fewer than 1% of estates owe it. If the estate you're inheriting from is under $15 million, this tax is simply not your problem.
  • Capital gains tax. The one this article is about. It's not triggered by inheriting. It only matters if and when you sell the property, and even then, only on gain above your stepped-up basis.

Receiving an inheritance is not taxable income. The IRS says so directly in its Gifts and Inheritances FAQ. (While we're clearing up federal tax myths: there is no federal property tax either. Property tax bills on the home you inherit come only from local governments.)

Internal Revenue Service headquarters building on Constitution Avenue in Washington, D.C.

The Stepped-Up Basis: Why Most Heirs Owe Little or Nothing

Under Internal Revenue Code Section 1014, when you inherit property, your cost basis "steps up" to the property's fair market value on the date of the owner's death. All appreciation before that date disappears for capital gains purposes, permanently, for everyone. The IRS explains the basis rules for inherited property in Topic 703, Basis of Assets.

A concrete example:

  • Your mother bought her house in 1990 for $120,000
  • She passes away in 2026 when the house is worth $500,000
  • Your basis is $500,000, not $120,000
  • You sell three months later for $505,000, paying $30,000 in realtor commissions and closing costs

Your taxable gain is $505,000 minus $30,000 in selling costs minus your $500,000 basis, which is negative $25,000. Not only do you owe no capital gains tax, you may have a deductible capital loss. The $380,000 of appreciation during your mother's lifetime is never taxed as capital gains, to anyone, ever.

Two more built-in advantages:

  • Inherited property is automatically long-term. Even if you sell the day after inheriting, any gain is taxed at long-term capital gains rates (0%, 15%, or 20% depending on your income), never at higher short-term ordinary rates.
  • The 0% bracket is real. For 2026, taxpayers with modest taxable income pay a 0% federal rate on long-term gains. A retiree or lower-income heir with a small gain may owe nothing even on post-death appreciation.

When You DO Owe Capital Gains Tax on Inherited Property

Capital gains tax enters the picture only in these situations:

  • You hold the property and it appreciates after the date of death. Inherit at $500,000, sell five years later for $650,000, and roughly $150,000 (less selling costs and improvements) is taxable long-term gain.
  • You rent it out and take depreciation. Depreciation reduces your basis and gets recaptured at up to 25% when you sell.
  • The property was gifted to you before death instead of inherited. This is the big trap covered below; gifts carry over the original owner's low basis.
  • The property was held in certain irrevocable trusts. Assets excluded from the taxable estate may not receive a step-up (the IRS confirmed this for some irrevocable grantor trusts in Revenue Ruling 2023-2). If a trust is involved, get professional advice before assuming a step-up.

7 Legitimate Ways to Avoid or Minimize the Tax

1. Sell soon after inheriting

The simplest strategy. Near the date of death, sale price and stepped-up basis are nearly identical, so gain is minimal and selling costs often wipe it out entirely. There's no required holding period to benefit from the step-up.

2. Get a date-of-death appraisal, immediately

Your stepped-up basis is only as strong as your proof of it. Order a professional appraisal valuing the property as of the date of death (a retroactive appraisal is fine if time has passed). Without documentation, the IRS can challenge your basis years later. This single document is the cheapest tax insurance in this entire article.

3. Move in and use the home sale exclusion

If you make the inherited house your primary residence for at least two of the five years before selling, Section 121 lets you exclude up to $250,000 of gain ($500,000 if married filing jointly) on top of your stepped-up basis. This shelters substantial post-death appreciation for heirs who actually want to live in the home.

4. Use a 1031 exchange for investment property

If you rent the property out and later want to sell, a 1031 like-kind exchange lets you roll the proceeds into another investment property and defer the gain indefinitely. Combined with holding until your own death (giving your heirs their own step-up), deferred can become never-taxed.

5. Harvest losses to offset the gain

Capital losses from other investments offset capital gains dollar for dollar. If you're sitting on losing positions, selling them in the same tax year as the property sale can zero out the taxable gain.

6. Time the sale against your income

Because long-term rates are 0%, 15%, or 20% based on your taxable income, selling in a lower-income year (retirement, a sabbatical, a business-loss year) can drop the rate on your gain, sometimes to zero.

7. Deduct everything you're entitled to

Selling costs (commissions, title fees, legal fees) reduce your gain, and so do capital improvements you make after inheriting. Keep every receipt between the date of death and the sale.

The Mistakes That Create a Tax Bill Out of Nothing

These are where families actually lose money, and where "helpful" planning backfires:

Mistake 1: Parents gifting the house before death. A gift during life carries over the parent's original basis. The $120,000 basis from 1990 becomes the child's basis, and a later sale at $500,000 triggers tax on $380,000 of gain that inheritance would have erased. If the goal is passing the home to kids, inheriting is almost always dramatically better than receiving it as a gift. Families do this constantly, often to "avoid probate," and it's frequently a six-figure error.

Mistake 2: Adding a child to the deed. Same problem in disguise. Adding a child as co-owner during life is a partial gift with carryover basis on that share, and it can also expose the home to the child's creditors and complicate Medicaid planning. A transfer-on-death deed or living trust passes the home at death with a full step-up and no probate, achieving the goal without the tax damage.

Mistake 3: Skipping the appraisal. No documented date-of-death value means no defensible basis. Heirs who sell years later without one end up estimating, and estimates lose audits.

Mistake 4: Assuming trust assets get a step-up. Revocable living trust assets generally do. Assets in irrevocable trusts structured outside the taxable estate may not. Anyone with a trust-heavy estate plan drafted years ago should have it reviewed; plans built to dodge estate tax that no longer applies (with a $15 million exemption) may be silently costing heirs the step-up. Our guide to the tax implications of transferring property into a trust covers the revocable vs. irrevocable divide in full.

Mistake 5: Confusing the taxes. Heirs sometimes pre-emptively sell assets or decline inheritances fearing a tax that doesn't apply to them. Before making any move, identify which of the three taxes, if any, is actually in play.

Quick Reference: What's Taxed and What Isn't

ScenarioCapital Gains Tax Owed?
Inheriting a property (any value)No. Inheriting is not a taxable event
Selling immediately at date-of-death valueLittle to none; selling costs often create a loss
Selling later, after post-death appreciationYes, on the gain above stepped-up basis, at long-term rates
Selling after living in it 2+ yearsGain above basis reduced by $250K/$500K exclusion
Property received as a lifetime gift, then soldYes, on gain above the original owner's old basis
Rental use, then saleGain above basis plus depreciation recapture

Frequently Asked Questions

Do you pay capital gains tax on inherited property?

Not for inheriting it. Capital gains tax applies only if you sell the property for more than its stepped-up basis, which is the fair market value on the date of the previous owner's death. Heirs who sell shortly after inheriting typically owe little or no capital gains tax because the sale price and the stepped-up basis are nearly the same.

What is the stepped-up basis on inherited property?

Under IRC Section 1014, an heir's cost basis in inherited property is reset to the property's fair market value at the owner's date of death. All appreciation during the deceased's lifetime is permanently excluded from capital gains tax. For example, a home bought for $120,000 and worth $500,000 at death gives the heir a $500,000 basis.

How long do I have to sell an inherited house to avoid capital gains tax?

There's no deadline. The step-up applies regardless of when you sell. Selling sooner simply means less time for new appreciation to accumulate above your stepped-up basis, so quick sales usually produce little or no taxable gain. Gain that does accrue is taxed at long-term rates no matter how briefly you held the property.

Is it better to inherit a house or receive it as a gift?

For taxes, inheriting is almost always better. Inherited property gets a stepped-up basis to date-of-death value, while gifted property carries over the giver's original basis, preserving all the built-in gain. Parents who deed a home to children during life can unintentionally create a large capital gains bill that inheritance would have eliminated.

Do I pay capital gains if I live in the inherited house?

If you make it your primary residence for at least two of the five years before selling, you can exclude up to $250,000 of gain ($500,000 for married couples filing jointly) under Section 121, on top of your stepped-up basis. Between the two rules, most owner-occupant heirs owe nothing when they eventually sell.

What taxes do apply when you inherit property?

Possibly none. The federal estate tax only affects estates above $15 million in 2026 and is paid by the estate, not you. A few states levy inheritance taxes, usually exempting close family. Ongoing property taxes become your responsibility once you own the home, and capital gains tax applies only to post-death appreciation when you sell.

The Bottom Line

The honest answer to "how do I avoid capital gains tax on inherited property" is that the tax code already did most of the work through the stepped-up basis. Your job is to not undo it: document the date-of-death value with an appraisal, don't accept the property as a lifetime gift when you could inherit it, and if you hold the property, use the residence exclusion, 1031 exchanges, or income timing to manage whatever post-death gain accumulates. The heirs who get hurt aren't the ones who missed a loophole; they're the ones whose families "planned ahead" with a gift deed, or who couldn't prove their basis when the IRS asked.

Once you do inherit, remember the property comes with obligations too: property taxes are due from day one, and if you pay by mail, recent USPS postmark changes can make an on-time payment legally late. And if the county's assessment of your new property looks inflated, you have the right to challenge it; our guide to commercial property tax appeals explains how the appeal process works.

This article is general information about federal tax rules, not tax or legal advice. State taxes, trusts, and unusual situations change the analysis; consult a CPA or estate attorney for your specific circumstances.

Photos: Grover-Chambers House, Galveston by Jim Evans via Wikimedia Commons, CC BY-SA 4.0, cropped. IRS Building by Cliff via Wikimedia Commons, CC BY 2.0, cropped.

See what a protest could save you.

Search your address and get a free savings estimate in under a minute. No savings, no charge.