Capital Gains Tax on Real Estate: 2026 Rates, Rules and Ways to Defer It

Capital Gains Tax on Real Estate: 2026 Rates, Rules and Ways to Defer It
Capital Gains Tax on Real Estate: 2026 Rates, Rules and Ways to Defer It
Dec 04, 2026

Short answer: When you sell real estate for more than your adjusted basis, the profit is a capital gain. If you owned the property for more than one year, federal long-term rates of 0%, 15% or 20% apply, and for tax year 2026 the 20% rate starts above $613,700 of taxable income for married couples filing jointly and $545,500 for single filers. On rental and commercial property, the part of the gain that comes from depreciation is taxed at up to 25%, and higher earners may also owe the 3.8% net investment income tax. Homeowners can often exclude up to $250,000 of gain ($500,000 for joint filers), heirs generally receive a stepped-up basis, and investors can defer the tax with tools such as 1031 exchanges.

This guide covers federal rules for tax year 2026, as of December 2026.

How capital gains tax on real estate works

Your taxable gain is the amount realized minus your adjusted basis.

  • Amount realized is the sale price minus selling costs such as commissions, title fees and transfer taxes.
  • Basis usually starts with what you paid, including certain closing costs.
  • Adjusted basis is that starting basis plus capital improvements, such as a new roof, an addition or a major system upgrade with a useful life of more than one year. It is reduced by depreciation and certain other items, such as casualty losses.

Depreciation is the adjustment investors most often forget. The IRS reduces basis by depreciation "allowed or allowable," so depreciation you could have claimed lowers your basis even if you never claimed it. Ordinary repairs don't add to basis. Keep records of your purchase, improvements and depreciation.

Short-term vs long-term capital gains

  • Short-term: you owned the property for one year or less. The gain is taxed at your ordinary income tax rates, which run up to 37% for 2026.
  • Long-term: you owned it for more than one year. The gain qualifies for the lower long-term rates.

The holding period starts the day after you acquire the property and includes the day you sell. Special rules apply to inherited and gifted property, covered below.

2026 long-term capital gains tax rates

The rate depends on your taxable income, including the gain. The gain sits on top of your other income, so a large sale can push part of it into a higher rate.

Long-term capital gains rates for tax year 2026 (returns filed in 2027)

RateSingleMarried filing jointlyMarried filing separatelyHead of household
0%Up to $49,450Up to $98,900Up to $49,450Up to $66,200
15%$49,451 to $545,500$98,901 to $613,700$49,451 to $306,850$66,201 to $579,600
20%Over $545,500Over $613,700Over $306,850Over $579,600

Source: IRS Revenue Procedure 2025-32, section 4.03. Amounts are taxable income. Depreciation on buildings and short-term gains are taxed differently, as explained below.

Planning a 1031 exchange?

Create a free USA REIT Markets account to see 1031 and commercial real estate opportunities, or talk to our team about your timeline and replacement property options.

Capital gains tax on rental and investment property

Rental buildings are usually depreciated over 27.5 years (residential) or 39 years (nonresidential). When you sell, the gain is split:

  1. Unrecaptured Section 1250 gain. The part of your gain equal to the straight-line depreciation you took (or could have taken) on the building. It is taxed at a federal rate of up to 25%.
  2. Remaining long-term capital gain. Any gain above that amount, taxed at 0%, 15% or 20%.

Rental property is generally Section 1231 property. A net Section 1231 gain for the year is generally long-term capital gain, and a net loss is generally ordinary. The exception: a net gain is ordinary income to the extent of net Section 1231 losses deducted in the previous five years.

Most buildings placed in service after 1986 use straight-line depreciation, so they usually have no ordinary-income recapture. Personal property and some components identified in a cost segregation study are different: depreciation on those items is generally recaptured as ordinary income. Our guide to depreciation recapture and 1031 exchanges covers these rules in depth.

The 3.8% net investment income tax

The net investment income tax (NIIT) is an extra 3.8% tax on net investment income, which includes rents and gains from selling investment real estate. It applies to the smaller of your net investment income or the amount by which your modified adjusted gross income (MAGI) exceeds:

  • $250,000 for married filing jointly or a qualifying surviving spouse
  • $200,000 for single or head of household
  • $125,000 for married filing separately

These thresholds are set in the statute and are not indexed for inflation, so they are the same in 2026 as when the tax began in 2013. The NIIT doesn't apply to gain you exclude when you sell your home. It also generally doesn't apply to gain on property held in a trade or business that isn't a passive activity. Whether a rental qualifies for that exception depends on your facts.

State taxes on real estate gains

Most states with an income tax also tax capital gains, often at the same rates as other income; a few have no broad personal income tax. State exchange rules vary too. See our guides to 1031 exchanges in California and 1031 exchanges in New York.

Worked example: selling a rental property

This example is hypothetical and illustrative only. It shows federal tax arithmetic, not a prediction.

A married couple filing jointly bought a rental property years ago for $600,000. They later spent $50,000 on improvements. Over the years they took $160,000 of straight-line depreciation on the building and improvements. In 2026 they sell for $1,000,000 and pay $60,000 in selling costs. Their other taxable income is $500,000 of wages. Assume no other investment income, no prior Section 1231 losses and no state tax.

LineAmount
Sale price$1,000,000
Minus selling costs($60,000)
Amount realized$940,000
Purchase price plus improvements ($600,000 + $50,000)$650,000
Minus depreciation($160,000)
Adjusted basis$490,000
Total gain ($940,000 - $490,000)$450,000
Unrecaptured Section 1250 gain (equal to depreciation)$160,000
Remaining long-term capital gain$290,000

Their ordinary rate on the depreciation part would be above 25%, so the 25% cap applies. Their taxable income is well above $613,700, so the rest is taxed at 20%. With MAGI far above $250,000, the NIIT applies to the full $450,000.

Tax itemCalculationApproximate federal tax
Unrecaptured Section 1250 gain$160,000 x 25%$40,000
Long-term capital gain$290,000 x 20%$58,000
Net investment income tax$450,000 x 3.8%$17,100
Total$115,100

If the couple instead completed a fully deferred 1031 exchange, none of this would be taxed in 2026. The deferred gain would carry over into the replacement property's basis.

Selling your home: the Section 121 exclusion

If you sell your main home, you may be able to exclude up to $250,000 of gain, or $500,000 for married couples filing jointly. In general:

  • Ownership test: you owned the home for at least two of the five years before the sale.
  • Use test: you lived in it as your main home for at least two of those five years. For the $500,000 exclusion, either spouse can meet the ownership test, but both must meet the use test.
  • Once every two years: you generally can't have excluded gain on another home sale in the two years before.

A reduced exclusion may be available if you sell early because of a job change, health or certain unforeseeable events. Depreciation claimed after May 6, 1997, for example for a home office or a period of renting, can't be excluded. Gain tied to periods after 2008 when the home wasn't your main home may not qualify either. A home acquired in a 1031 exchange must be held five years before the exclusion can apply; see our guide to the 1031 exchange 5-year and 2-year rules.

For example, a married couple who bought their home for $400,000 and sell it for a $1,100,000 amount realized has a $700,000 gain. If they meet the tests, they exclude $500,000 and report $200,000 as long-term capital gain. A loss on the sale of a personal home isn't deductible.

Inherited property and the step-up in basis

When you inherit property, your basis is generally its fair market value on the date of the owner's death under Section 1014. This is the step-up in basis. Appreciation during the owner's lifetime is generally not subject to income tax, and for rental property, the depreciation recapture doesn't carry over either.

Inherited property is also treated as held for more than one year, so any gain is long-term even if you sell soon after.

Two related rules:

  • Alternate valuation date. If an estate tax return is filed, the executor can elect to value the estate six months after death (or on the date of sale or distribution, if earlier). The election is allowed only if it lowers both the value of the gross estate and the estate tax. If it's made, that value becomes the heir's basis.
  • Community property. In community property states, the surviving spouse's half of community property can also be stepped up, if at least half of the property was included in the deceased spouse's estate.

Estate tax is separate. For 2026, the federal basic exclusion amount is $15,000,000 per person, so most estates owe no federal estate tax.

Worked example: inherited property capital gains

This example is hypothetical and illustrative only.

A mother bought a house decades ago for $150,000 and added $50,000 of improvements, for a basis of $200,000. It is worth $700,000 when she dies in 2026. Her daughter inherits it, never lives in it, and sells it eight months later for $760,000, paying $40,000 in selling costs.

With step-up (inherited)Without step-up (gifted during life)
Amount realized ($760,000 - $40,000)$720,000$720,000
Daughter's basis$700,000$200,000
Taxable gain$20,000$520,000
Long-term?Yes, automaticallyYes, the mother's holding period carries over

The step-up removes $500,000 of gain from income tax in this example.

Gifted property: carryover basis

A gift made during the giver's lifetime generally keeps the giver's adjusted basis, increased by part of any gift tax paid, and your holding period includes the giver's. If the property was worth less than the giver's basis when given, your basis for figuring a loss is that lower value. As the example above shows, a gift passes the built-up gain to the recipient.

Ways to defer or reduce capital gains tax on real estate

People often search for how to avoid capital gains tax on real estate. In practice, most lawful strategies defer the tax rather than eliminate it, and each has rules, costs and risks. These are the main ones.

1031 exchanges

A 1031 exchange lets you sell real property held for business or investment and buy like-kind real property without recognizing gain. You must identify replacement property within 45 days and close within 180 days (or by your return due date, if earlier). Property held mainly for resale, such as a flip, doesn't qualify, and cash or debt relief you keep can be taxed. Start with what a 1031 exchange is, then read the 1031 rules guide and our guide to 1031 exchanges for rental property.

Delaware statutory trusts

An interest in a properly structured Delaware statutory trust (DST) can qualify as like-kind replacement property under IRS Revenue Ruling 2004-86. Some investors use DSTs to keep deferring gain without managing a building. DSTs are generally available only to accredited investors, are illiquid, and involve risks including loss of principal. See our DST investments guide.

721 exchanges

Under Section 721, property (often a DST interest) can be contributed to a REIT's operating partnership for partnership units, generally without recognizing gain. The units aren't real property, so further 1031 exchanges usually end there, and converting or selling the units is generally taxable. Read the 721 exchange guide.

Qualified opportunity funds

You can invest a capital gain from any asset in a qualified opportunity fund (QOF) within 180 days. Gains deferred under the original rules are taxed on December 31, 2026, if not sold earlier. Under the 2025 tax law (Public Law 119-21), amounts invested after December 31, 2026, are deferred until the earlier of a sale or five years, get a 10% basis increase after five years (30% for a qualified rural opportunity fund), and can qualify for tax-free growth on the QOF investment after 10 years. Check the latest IRS transition guidance. See our opportunity zone funds guide.

Installment sales

If you sell property and receive at least one payment after the year of sale, the installment method under Section 453 generally lets you report the gain as you collect payments. Any depreciation recapture taxed as ordinary income is still reported in the year of sale. Dealer sales don't qualify, special interest rules can apply to large installment obligations, and you take on the buyer's credit risk.

Harvesting losses

Capital losses offset capital gains. If losses exceed gains, up to $3,000 a year ($1,500 if married filing separately) can offset other income, and the rest carries forward. Suspended passive losses from a rental property are generally freed up when you sell your entire interest in a fully taxable sale to an unrelated buyer.

Holding for more than a year

Selling after one year instead of before can move a gain from ordinary rates of up to 37% to long-term rates of up to 20%. A sale in a lower-income year may also mean a lower rate.

Charitable remainder trusts

You can give appreciated property to an irrevocable charitable remainder trust, which generally isn't taxed when it sells. It pays you 5% to 50% of its value each year, for life or up to 20 years, and at least 10% of the starting value must go to charity. Your payments are taxable, so the gain is spread out, not erased.

How to report a real estate sale

At a high level:

  • Form 8949 and Schedule D (Form 1040): sales of capital assets, such as investment land or a home sale with gain you can't fully exclude or for which you received Form 1099-S.
  • Form 4797: sales of business property, including rental property, and depreciation recapture. Net Section 1231 gain then flows to Schedule D.
  • Form 8824: like-kind exchanges. See our Form 8824 guide.
  • Form 6252: installment sales.

The Schedule D instructions include the worksheet for unrecaptured Section 1250 gain.

FAQ

How much is capital gains tax on real estate in 2026?

If you held the property more than a year, federal rates are 0%, 15% or 20%, depending on taxable income. Depreciation on rental property is taxed at up to 25%, and the 3.8% NIIT may also apply. Short-term gains are taxed at ordinary rates.

What is the long-term capital gains tax rate on real estate?

For 2026, 0% up to $98,900 of taxable income, 15% up to $613,700, and 20% above that for married couples filing jointly. For single filers the breakpoints are $49,450 and $545,500.

How is capital gains tax on rental property different?

Rental property is depreciated, so part of the gain is unrecaptured Section 1250 gain, taxed at up to 25%. Rents and gains are also investment income for the NIIT.

What is a step-up in basis?

When you inherit property, your basis is generally its fair market value at the owner's death. Gain that built up during their lifetime is generally not taxed as income.

Do you pay capital gains tax on inherited property?

Only on gain above the stepped-up basis. If you sell soon after inheriting, that gain is often small, and it is always treated as long-term.

How can I avoid capital gains tax on real estate?

Some gain can be excluded, such as up to $250,000 or $500,000 on a main home, or wiped out by the step-up at death. Investment property tools such as 1031 exchanges, opportunity funds and installment sales mainly defer the tax.

Is a gifted property's basis stepped up?

No. Gifts made during life generally keep the giver's basis, so the recipient may owe tax on the giver's built-up gain when they sell.

Next steps

Estimate the tax you could defer with the 1031 exchange calculator, and see 1031 exchange opportunities on our 1031 exchange page. Questions about exchange opportunities on USA REIT? Talk to our team. Before you sell, ask a qualified tax adviser to run the numbers for your situation.

This article is for general information only and is not tax, legal or investment advice. Tax laws change, and how they apply depends on your facts. Talk to a qualified tax adviser before selling property or completing an exchange. USA REIT is an online marketplace for US commercial real estate offerings. Certain securities-related activities are conducted through Mallory Capital Group, LLC, member FINRA/SIPC. Some offerings are available only to accredited investors. Private real estate investments, including DSTs, are speculative, illiquid and may result in the loss of your entire investment.

Related guides