Capital Gains When Selling A House In Washington

How capital gains are calculated when selling a house in Washington, why the answer differs for a primary residence versus a rental, and what to check first.

The tax owed on capital gains when selling a house depends almost entirely on how the house was used, not just how much it appreciated. A Spokane family selling the home they raised their kids in faces a very different calculation than an owner selling a house in Puyallup that spent the last six years as a rental, even if the sale prices and the appreciation are identical.

The Core Calculation Before Any Exclusion Applies

Every sale starts with the same basic math: sale price minus selling costs, minus adjusted basis, equals gain. Adjusted basis is the original purchase price plus the cost of qualifying capital improvements, such as a kitchen remodel or a new roof, minus any depreciation claimed if the house was ever used as a rental. Routine maintenance, like repainting or replacing a broken fixture, does not add to basis, which surprises some sellers who kept receipts for years of upkeep expecting it to reduce their tax bill.

Why Primary Residence Status Changes Everything

A house that has served as the owner's primary residence for at least two of the five years before sale may qualify for the Section 121 exclusion, which shelters up to 250,000 dollars of gain for a single filer or 500,000 dollars for a married couple filing jointly. A house that was never a primary residence, or that does not meet the ownership and use tests, gets no such shelter and the full gain is taxable, which is why the same appreciation can produce a five-figure tax bill for one seller and none at all for another.

Mixed-Use Houses Create The Most Confusion

Many Washington homeowners have a house that was a rental for part of its life and a personal residence for another part, or the reverse, a former primary residence converted to a rental before sale. These situations require allocating the gain between the periods of qualifying and non-qualifying use, and any depreciation claimed during a rental period is generally not eligible for the Section 121 exclusion even if the house later became the owner's primary residence again. Getting this allocation wrong is one of the more common and expensive mistakes sellers make without professional guidance.

When A House Sale Points Toward A 1031 Exchange Instead

If the house being sold has been held as a rental or other investment property rather than a primary residence, it generally does not qualify for the Section 121 exclusion, but it may be eligible for a 1031 exchange instead, deferring the entire gain, including depreciation recapture, by rolling proceeds into replacement property rather than paying tax at closing. This applies to a Bellingham owner selling a house that has been rented out for the past decade just as it applies to a small multifamily property, since a single-family rental qualifies as investment property under the same rules.

Owners who converted a former primary residence into a rental sometimes ask whether they can combine both benefits, and in limited circumstances a property that has been both a qualifying residence and later a qualifying rental can use the Section 121 exclusion on the personal-use portion of the gain and a 1031 exchange on the investment-use portion, under specific safe-harbor timing rules. Because this combination is one of the more technical areas of the code, it typically requires coordination between a tax advisor and a qualified intermediary well before the house goes under contract, rather than an attempt to sort it out after closing.

Common Questions

What is the biggest factor in how a house sale is taxed?

Whether the house qualifies as a primary residence under the ownership and use tests is usually the single biggest factor, since that status determines whether the Section 121 exclusion applies at all.

Does repainting or minor repairs increase the cost basis of a house?

No. Routine maintenance and repairs do not add to basis. Only capital improvements, such as a room addition or a major system replacement, increase adjusted basis.

Can a house that was rented out for several years still qualify for the primary residence exclusion?

It depends on whether the owner meets the two-out-of-five-year ownership and use test at the time of sale, and any depreciation claimed during the rental period is generally not covered by the exclusion even if it applies to the rest of the gain.

What happens if a house does not qualify for the Section 121 exclusion?

The full gain is taxable at applicable capital gains rates, though if the house was held as investment property, a 1031 exchange may be available to defer the tax instead.

Is it possible to combine the primary residence exclusion with a 1031 exchange on the same house?

In limited situations, a house that was both a qualifying residence and later a qualifying rental can use each provision on its respective portion of the gain, under specific safe-harbor rules that generally require advance planning.

Have a Washington exchange to plan?

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

Start Exchange Review
(206) 401-8523