How To Avoid Capital Gains Tax On Real Estate

A plain-language look at how Washington property owners can legally reduce or defer capital gains tax on real estate, from basis planning to a 1031 exchange.

Every owner of appreciated real estate in Washington eventually asks the same question: how do you avoid capital gains tax on real estate without simply handing a large share of the sale proceeds to the IRS. The honest answer is that outright avoidance is rare. What exists instead is a set of legal strategies that reduce, offset, or defer the tax, and choosing the right one depends on whether the property is a rental, a second home, or a primary residence, and on how long the owner plans to stay invested in real estate afterward.

What Actually Creates The Tax Bill

Capital gains tax on a real estate sale is calculated on the difference between the adjusted basis, generally the original purchase price plus qualifying improvements minus any depreciation claimed, and the net sale price after closing costs. For a rental property held more than a year, the gain above the depreciation already taken is typically taxed at long-term federal capital gains rates, while the portion tied to depreciation is taxed separately as recapture at a higher fixed rate. A common mistake is assuming the entire gain is taxed at one flat rate; in practice, a rental sale usually blends two different rates on two different pieces of the same number.

Washington's Excise Tax Does Not Reach Real Estate Gains

Washington has no state income tax, and the state's separate capital gains excise tax, which applies to gains from stocks, bonds, and certain other long-term assets above an annually adjusted threshold, specifically exempts gains from the direct sale of real estate. Owners in Seattle, Spokane, or Vancouver selling investment property are still exposed to federal capital gains and depreciation recapture, but they are not layering a Washington-specific real estate gains tax on top of it, which is a meaningfully different situation than owners face in several neighboring states.

Legal Ways To Reduce Or Offset The Gain

Several approaches reduce the taxable gain or the rate applied to it rather than eliminating the tax entirely:

  • Increasing basis with documented capital improvements made over the ownership period, not routine repairs
  • Timing the sale to a year with lower ordinary income, since some capital gains brackets are income-dependent
  • Harvesting capital losses from other investments in the same tax year to offset the real estate gain
  • Installment sale treatment, spreading the gain and the tax across the years payments are received
  • Structuring a 1031 exchange to defer both the capital gains and the depreciation recapture into a replacement property

Where A 1031 Exchange Fits Into The Decision

For owners of investment or business-use real estate, a 1031 exchange is generally the most complete deferral tool available, because it postpones both the capital gains tax and the depreciation recapture, not just one or the other, by rolling the full net proceeds into a replacement property of like kind. It is not a permanent elimination of the tax; the deferred gain carries forward into the new property's basis and would be recognized on a future taxable sale, unless the investor exchanges again or holds until death, when a stepped-up basis can erase the deferred liability for heirs. A Tacoma landlord exiting a small multifamily building, or a Spokane owner selling a retail strip, would use the same 45-day identification and 180-day closing structure to move proceeds into replacement property anywhere in the country, not only within Washington.

The exchange only works for property held for investment or business use, so a primary residence generally does not qualify on its own, though a property that has served both purposes, a former rental later converted to a personal residence, or the reverse, can sometimes combine 1031 treatment with the separate primary-residence exclusion under specific safe-harbor rules. Because the mechanics are unforgiving on timing, owners considering this route typically start lining up a qualified intermediary and a rough replacement strategy before the relinquished property even goes under contract, rather than after closing.

Common Questions

Is there a legal way to avoid capital gains tax on real estate entirely?

Complete avoidance is uncommon outside of specific situations, such as a primary residence sale within the exclusion limits or a property held until death with a stepped-up basis. Most other strategies defer or reduce the tax rather than eliminate it.

Does Washington State tax real estate capital gains?

Washington has no state income tax, and its separate capital gains excise tax specifically excludes gains from the sale of real estate, so real estate sellers are generally dealing only with federal capital gains and depreciation recapture.

How is depreciation recapture different from capital gains tax?

Depreciation recapture taxes the portion of the gain tied to depreciation already claimed on the property, generally at a higher fixed rate than long-term capital gains, and it is calculated separately even though both amounts are due with the same tax return.

Can a 1031 exchange be used on a primary residence?

Generally no, because 1031 exchanges require the property to have been held for investment or business use. A primary residence has its own separate tax exclusion instead, though mixed-use properties can sometimes qualify for a blend of the two.

What is the difference between reducing a gain and deferring it?

Reducing a gain, such as adding documented improvements to basis, permanently lowers the taxable amount. Deferring a gain, as with a 1031 exchange, postpones the tax into a future sale rather than eliminating it.

Have a Washington exchange to plan?

Share the dates, property details, and open questions for your exchange.

Start Exchange Review
(206) 401-8523