Imagine your parents bought a home in 1990 for $80,000. When they passed away, that same home was worth $400,000. You inherit it. A few months later, you sell it for $430,000.
How much do you owe the IRS?
If you know the rules, the answer might surprise you. Your taxable gain is only $30,000, not $350,000. At a 15% long-term rate, your federal tax bill is $4,500 instead of $52,500. That difference comes down to one rule: the stepped-up basis.
In this guide, I will walk you through how capital gains tax on inherited property works, the stepped-up basis rule, every legal strategy to lower what you owe, and the mistakes that cost heirs thousands of dollars every year.
What Is Capital Gains Tax on Inherited Property?
When you sell an inherited property for more than its value at the time of the original owner's death, the profit is called a capital gain and the IRS taxes it.
The good news is that your cost basis is stepped up to the fair market value on the date of death, wiping out all gains that built up during the previous owner's lifetime. Only appreciation after you inherit it is taxable.
Most inherited property automatically qualifies for long-term capital gains rates of 0%, 15%, or 20% depending on your income, regardless of how long you personally held it.
High earners should also factor in the 3.8% Net Investment Income Tax, which applies if your modified AGI exceeds $200,000 as a single filer or $250,000 for married couples filing jointly, pushing the effective federal rate to 23.8% in the top bracket.
Understanding the Stepped-Up Basis Rule
The stepped-up basis rule resets your cost basis to the fair market value of the inherited property on the date the original owner died.
This wipes out all the gains that built up during their lifetime. Only appreciation after you inherit it is taxable.
One exception exists: if the estate owes federal estate tax and the executor elects the alternate valuation date under IRC §2032, the basis is set to the value six months after death instead.
For married couples in the nine community property states, both halves of the property get a stepped-up basis when one spouse dies, not just the deceased spouse's share.
Couples outside those states need specific trust structures to get a similar result. To lock in your basis, get a formal appraisal from a licensed appraiser and keep it permanently. If the estate filed Form 706, the value on Schedule A of Form 8971 is the number you are required to use.
Eight Ways to Reduce or Avoid the Tax
There are eight legal strategies available to heirs. The right one depends on what type of property you inherited, how you plan to use it, and your income.
| Strategy | Tax Outcome | Complexity | Best For |
| Sell immediately | Little to no gain if sold quickly | Low | Heirs who want liquidity fast |
| Primary residence conversion | Up to $500,000 excluded (Section 121) | Medium | Heirs who need a home or can relocate |
| 1031 exchange | Gain deferred, not eliminated | High | Investment or rental property heirs |
| Gift to heirs | Shifts tax burden to recipient | Medium | Families where recipient is in a lower bracket |
| Irrevocable trust | May reduce estate tax; gain depends on trust type | High | Large estates with long-term planning needs |
| Charitable donation / CRT | Eliminates gain; deduction at FMV | Medium | Itemizers with appreciated property and charitable goals |
| Installment sale | Spreads gain across years | Medium | Heirs wanting income over time in lower brackets |
| Opportunity Zone investment | Defers gain; fund appreciation may be excluded at 10 years | High | Heirs with large gains willing to take investment risk |
1. Sell the Property Soon After Inheriting It
This is the simplest strategy. Because your basis is reset to the date-of-death value, selling quickly leaves very little time for the property to appreciate past that number.
If you sell within a few months, your taxable gain is often close to zero. Every month you hold the property, your potential gain grows and you are still paying maintenance, insurance, and property taxes.
This strategy works for any property type and requires no advance planning.
2. Move Into the Home and Use the Section 121 Exclusion
You must meet both the ownership test and the use test: owning and living in the home for at least 24 months within the 60-month window before the sale. The two years do not need to be consecutive, and you cannot have claimed this exclusion on another home sale within the prior two years.
For inherited property, you automatically satisfy the ownership test under IRC §121(d)(9), regardless of how long you personally held the home. But you must still meet the use test on your own.
You need to have actually lived in the home as your main residence for at least two years out of the five before the sale. Inheriting the home does not count as living in it.
One thing many heirs miss: if the property was a rental at any point after you inherited it, any depreciation claimed during that period does not qualify for the Section 121 exclusion.
That portion is taxed separately as unrecaptured Section 1250 gain at up to 25%.
3. Use a 1031 Exchange for Investment Property
A 1031 exchange lets you sell investment or business property and roll all the proceeds into a like-kind replacement property without paying capital gains tax immediately. The tax is deferred, not eliminated. This strategy does not apply to personal-use homes.
Two deadlines are firm with zero exceptions. You have 45 days from the sale date to identify a replacement property in writing, and 180 days to close on it.
Miss either date and the entire gain becomes taxable in the year of sale. Most investors use a qualified intermediary to hold the proceeds during the exchange, because touching the cash yourself disqualifies the transaction.
The long-term power here is that you can keep exchanging throughout your lifetime and pass the property to your heirs with a fresh stepped-up basis.
4. Gift the Property to Heirs in Lower Tax Brackets
Gifting inherited property does not trigger capital gains tax for you at the time of the gift. The recipient takes on your adjusted basis, which is the date-of-death value plus any improvements you made. When they sell, they pay tax on the gain calculated from that carryover basis.
One exception: if the recipient sells at a loss, their basis for calculating that loss is the lower of your adjusted basis or the fair market value at the time of the gift. This is the gift-basis loss rule under IRC §1015(a) and it can limit how much of a loss they can actually claim.
This strategy makes sense when the recipient is in a lower capital gains bracket. For a single filer with taxable income below $48,350 in 2025, the long-term capital gains rate is 0%, which can effectively eliminate the tax for your family.
Gifts above $19,000 per recipient in 2026 require you to file Form 709, though gift tax is rarely owed outright.
5. Use an Irrevocable Trust as Part of Your Estate Plan
An irrevocable trust is more useful for estate planning and asset protection than for directly eliminating capital gains tax.
Grantor trusts are transparent for income tax purposes, so gains are reported on your personal return. Non-grantor trusts are separate taxpayers but hit the highest brackets very quickly.
In 2025, the 20% capital gains rate for trusts kicks in above just $15,900 of taxable income, which is far lower than the threshold for individuals.
A trust sale can actually produce a higher tax rate than a personal sale. Where irrevocable trusts genuinely help is in protecting assets from creditors and reducing federal estate tax exposure on large estates.
These benefits require careful setup with an estate planning attorney.
6. Donate the Property or Set Up a Charitable Remainder Trust
Donating appreciated inherited property directly to a qualified 501(c)(3) charity eliminates the capital gain entirely. You get a charitable deduction equal to the fair market value at the time of donation.
This is the cleanest way to avoid the gain if you have philanthropic goals and do not need the sale proceeds.
A Charitable Remainder Trust works differently. You transfer the property into the trust, which sells it. The trust is generally exempt from paying capital gains tax on the sale, but the gain is not permanently eliminated.
It is allocated to you as income distributions arrive, taxed in a specific order under the four-tier accounting rules of IRC §664: ordinary income first, then capital gains, then other income, then return of principal.
You receive income payments for life, typically 5 to 7 percent annually, and when you pass away, the remainder goes to the charity you named.
The 30% AGI limit applies to donations of long-term appreciated property to public charities. For private foundations, the limit drops to 20%. Unused deductions carry forward for up to five additional tax years.
File Form 8283 for noncash gifts over $500 and attach a qualified appraisal for gifts over $5,000. The CRT itself also requires a separate appraisal to calculate your deduction amount.
7. Spread the Gain Through an Installment Sale
Instead of receiving the full sale price in one year, you structure the sale so the buyer pays over several years. You report and pay tax only on the portion of the gain you receive each year, which can keep you in a lower bracket.
One critical limitation applies if the property was ever used as a rental or in a business. Under IRC §453(i), depreciation recapture is taxable in full in the year of sale, not spread across installment payments.
Only the capital gain above the recapture amount can be spread. Get a tax professional to calculate the recapture portion before assuming the installment sale reduces your year-one bill.
The IRS also requires you to charge a minimum interest rate on installment sales. If you do not charge enough, the IRS will impute it. Use a real estate attorney to structure the agreement properly.
8. Consider Opportunity Zone Investments
If you reinvest the capital gains from a sale into a Qualified Opportunity Zone fund within 180 days, you can defer your original tax bill until the earliest of the date you sell the fund interest or December 31, 2026.
If you hold the fund investment for at least 10 years, you may be able to exclude any additional appreciation the fund generates from taxable income when you sell. This does not make your original gain tax-free.
Certain step-up benefits have also expired, so the rules are more limited than they once were. These funds carry real investment risk and most have minimum investment requirements of $25,000 to $100,000 or more.
Work with a tax advisor who specifically handles Opportunity Zone transactions before committing capital.
Which Strategy Is Right for Your Situation?
The right approach depends on what you inherited. For a primary residence, move in, meet the two-year use requirement, and sell using the Section 121 exclusion. If you cannot move in, sell quickly.
For rental property, a 1031 exchange is the natural fit, but account for depreciation recapture first. For vacant land or farmland, donate to a land trust to eliminate the gain, or use an installment sale.
Farmland may also qualify for special-use valuation under IRC §2032A, so verify the basis before assuming it equals full market value.
For commercial real estate, a 1031 exchange is usually the most efficient move, but factors in Section 1250 and Section 1245 recapture first.
When multiple heirs are involved, each co-owner can generally sell their own share independently, but some strategies require everyone to participate. If heirs cannot agree, any co-owner can petition for a partition action.
How to Calculate Your Capital Gains Tax
The stepped-up basis rule is one of the most valuable tax benefits available to people who inherit property.
Step 1: Determine your stepped-up basis.
Use the fair market value on the date of death from a licensed appraisal. If the estate filed Form 706, use the value on Schedule A of Form 8971. Add any capital improvements you made after inheriting.
Step 2: Calculate your net sale price.
Start with the gross sale price and subtract selling costs including commissions, closing fees, and attorney fees.
Step 3: Find your taxable gain.
Subtract your stepped-up basis from your net sale price. Example: $450,000 sale price minus $20,000 in selling costs equals $430,000. Subtract a $400,000 stepped-up basis. Your taxable gain is $30,000.
Step 4: Apply the right tax rate.
Long-term capital gains rates are 0%, 15%, or 20% based on your taxable income. Add 3.8% for NIIT if your modified AGI exceeds $200,000 single or $250,000 married filing jointly. Check your state rules as well.
What Counts as an Improvement to Your Basis?
Improvements you make after inheriting increase your basis and reduce your taxable gain.
Items that qualify include room additions, a new roof, HVAC replacement, kitchen or bathroom remodels, new windows, a new driveway, and any structural renovation.
Items that do not qualify include painting, fixing a leaky faucet, replacing broken fixtures, and routine maintenance. Keep receipts and invoices for every capital improvement.
IRS Forms You Need Before Selling
You will report the sale on Schedule D of your Form 1040, along with Form 8949. Per IRS Form 8949 instructions, inherited property is generally reported as long-term regardless of how long you personally held it.
Enter "INHERITED" in the date acquired column, but confirm against the current year's instructions before filing as the IRS has updated this guidance in past years.
Additional forms you may need:
- Form 6252 for installment sales
- Form 8824 for a 1031 exchange
- Schedule A of Form 8971 if the estate filed Form 706
- Form 4797 for depreciation recapture on business or rental property
- Form 8283 for noncash charitable donations over $500
- Form 709 if you gifted the property and the value exceeded $19,000
Inheritance Tax vs. Estate Tax vs. Capital Gains Tax
These three taxes are completely separate. Estate tax is paid by the deceased person's estate before assets are distributed. The federal exemption for 2026 is $15,000,000 per individual and $30,000,000 for married couples.
Twelve states and Washington D.C. also impose their own estate taxes.
Inheritance tax is a state-level tax paid by the beneficiary. The federal government does not have one.
As of 2026, only five states impose it: Kentucky, Maryland, Nebraska, New Jersey, and Pennsylvania. Maryland is the only state that imposes both. Rates and exemptions vary by state and by your relationship to the deceased.
Capital gains tax applies when you sell inherited property for more than your stepped-up basis, regardless of whether estate or inheritance taxes were involved. None of these three taxes cancels out the others.
Expert Tips to Keep More of What You Inherited
Get the date-of-death appraisal before you do anything else. It protects your entire basis calculation and costs far less than a disputed basis ever will.
- If you are married and in a community property state, make sure your assets are titled correctly to take full advantage of the stepped-up basis rules.
- Check your state's inheritance tax rules before assets are distributed, especially if the deceased lived in Kentucky, Maryland, Nebraska, New Jersey, or Pennsylvania.
- Do not treat the Section 121 exclusion as automatic. You must meet the use test on your own and must not have used it on another home in the prior two years.
- Model the installment sale before assuming a lump-sum sale is better. Spreading the gain across years can keep you in a lower bracket and away from NIIT.
- Work with a CPA or tax attorney on any property worth more than $300,000, any rental with prior depreciation, or any sale involving multiple heirs or a trust.
Conclusion
The stepped-up basis rule alone can save heirs tens of thousands of dollars if it is documented properly and used at the right time. Layer the right strategy on top of that and the savings grow further. Start with a proper appraisal.
Know your state's rules. Look at every strategy before choosing one. And put your plan in place before you list the property, not after.
Have questions about capital gains tax on inherited property? Drop them in the comments below.
Frequently Asked Questions
Do I have to pay capital gains tax on inherited property if I never sell it?
No. Capital gains tax only applies when you sell. Holding inherited property does not trigger any tax liability.
Can I inherit property and give it to someone else without paying capital gains tax?
Gifting the property does not trigger capital gains tax for you. The recipient takes on your adjusted basis and may owe tax when they sell. Gifts above $19,000 per recipient in 2026 require you to file Form 709, though gift tax is rarely owed outright.
What happens to capital gains tax if the inherited property has a mortgage on it?
The mortgage does not affect your capital gains tax calculation. Your taxable gain is still your net sale price minus your stepped-up basis. The mortgage is a separate financial obligation.
Is capital gains tax on inherited property different for non-U.S. citizens or foreign heirs?
Yes. Under FIRPTA, the buyer is typically required to withhold up to 15% of the gross sale price and send it to the IRS. The foreign heir then files a U.S. tax return to report the actual gain and any excess withholding is refunded. Work with a tax professional who handles international tax situations.
What if the property lost value after I inherited it?
If you sell for less than your stepped-up basis, you may have a deductible loss. Losses on personal-use property are not deductible. Losses on investment or rental property generally are. Keep your appraisal and sale records to document the loss.
What counts as a capital improvement versus a repair?
Capital improvements increase your basis and include structural additions, roof replacement, HVAC systems, remodels, and new windows. Routine repairs like painting, patching, or fixing plumbing do not. When in doubt, ask your accountant before the sale closes.











