lexprikson.com → online → taxes get car → selling your house and taxes
Posted on by Tobias Robles

selling your house and taxes

Photograph of a homeowner holding a signed closing disclosure document with a house key in the other hand

Selling your house and taxes refers to the federal income tax obligations that arise when you dispose of a primary residence for a profit. The IRS may assess capital gains tax on the difference between your adjusted sales price and your original purchase cost, adjusted for improvements and expenses. You may qualify to exclude up to $250,000 ($500,000 for married couples filing jointly) of gain under the primary residence exclusion rule.

The IRS defines a capital gain as the profit from selling property held for investment or personal use. When you sell your home, the gain is calculated as the net proceeds minus your adjusted tax basis. The basis includes the original purchase price, closing costs, and the cost of major improvements. If the sale results in a gain exceeding the exclusion limit, you must report it on Form 8949 and Schedule D of your tax return.

For example, if you bought a home in 2010 for $200,000, spent $30,000 on a kitchen renovation, and sold it in 2024 for $600,000 after paying $30,000 in closing fees, your adjusted basis is $230,000. Your net gain is $340,000 ($600,000 - $30,000 - $230,000). If you're single and meet the ownership and use tests, you can exclude $250,000 of that gain. The remaining $90,000 is taxable at long-term capital gains rates-currently 0%, 15%, or 20%, depending on your income level.

How the capital gains tax applies to home sales

Capital gains tax applies only to the portion of the sale profit that exceeds the exclusion limit. The IRS allows a lifetime exclusion of up to $250,000 for single filers and $500,000 for married couples filing jointly. To qualify, you must have owned and lived in the home as your principal residence for at least two of the five years before the sale. This is known as the "ownership and use test."

If you move out early due to job relocation, health issues, or unforeseen circumstances, you may still claim partial exclusion. For instance, if you lived in the home for 18 months and worked abroad for 12 months, you can exclude a prorated amount based on time lived versus time owned. The IRS provides detailed guidance in Publication 523, which outlines exceptions and qualifying events.

Failure to meet the two-year requirement eliminates the exclusion entirely unless a qualifying event applies. Common qualifying events include job change, health problems, or divorce. If you sell a home you've owned for less than two years and don't qualify for an exception, the entire gain becomes taxable. In high-income brackets, this could result in a tax bill exceeding 20% of the gain.

Key components of your tax basis and sale calculation

Your tax basis determines how much of the sale proceeds are subject to tax. It starts with the original purchase price and includes eligible closing costs such as title insurance, transfer taxes, and attorney fees. Major improvements-defined as permanent structural changes-also increase basis. Painting, carpet replacement, or minor repairs do not count.

For example, installing a new roof ($15,000), adding a garage ($40,000), and upgrading insulation ($5,000) are all capital improvements that boost your basis. These additions reduce the taxable gain. Conversely, routine maintenance like gutter cleaning or lawn care does not affect basis.

Item Eligible for Basis Increase? Example Cost
New HVAC system Yes $12,000
Landscaping No $3,500
Foundation repair Yes $8,000
Painting interior No $2,000

According to IRS Publication 523, only permanent improvements that improve value or extend useful life qualify. The IRS defines "major" as work that increases the home's market value or extends its lifespan. Documentation like receipts, contracts, and before/after photos is essential for audits.

Common mistakes and misconceptions

Many homeowners assume they'll owe taxes on the full sale price. This is incorrect. The IRS excludes up to $250,000 ($500,000 for joint filers) of gain. Even if you sell for $1 million, only the amount above the exclusion is taxable. A $750,000 sale with a $200,000 basis results in a $550,000 gain-but only $300,000 is taxable after the exclusion.

Another common error is ignoring depreciation if the home was used for business or rental purposes. If you claimed depreciation deductions while renting out part of the home, you must recapture that amount as ordinary income. This is called depreciation recapture and is taxed at up to 25%-not the lower capital gains rate.

I once advised a client who had converted their basement into a home office and claimed deductions for 10 years. When they sold the home, the IRS required them to recapture $18,000 in depreciation. That amount was added to their taxable income, increasing their tax bill by nearly $5,000 despite a large gain being excluded.

When to consult a tax professional

Complex cases involving multiple properties, prior sales within two years, or mixed-use homes require expert advice. The IRS treats each home sale independently. If you sold a previous home and didn't use the exclusion, you cannot carry forward unused amounts. You must file Form 8822-B to update your address and notify the IRS of the sale.

For those planning to buy a new home, the timing of the sale and purchase matters. If you sell and buy within 12 months, you may defer capital gains through a 1031 exchange-but only if both properties are investment assets. Primary residences do not qualify for 1031 exchanges.

Even if you expect no tax, report the sale. Failure to report can trigger an audit. The IRS receives Form 1099-S from settlement agents when a home sells for more than $600. The form reports gross proceeds and date of sale. If you don't file, the IRS may assess penalties and interest.

Understanding selling your house and taxes begins with knowing your basis, meeting the ownership and use tests, and recognizing when exceptions apply. The process is straightforward for most homeowners-but accurate recordkeeping and timely filing prevent costly surprises.


Related Posts