How is gain from the sale of my home taxed?

Get Legal Help Today

 Secured with SHA-256 Encryption

Jeffrey Johnson is a legal writer with a focus on personal injury. He has worked on personal injury and sovereign immunity litigation in addition to experience in family, estate, and criminal law. He earned a J.D. from the University of Baltimore and has worked in legal offices and non-profits in Maryland, Texas, and North Carolina. He has also earned an MFA in screenwriting from Chapman Univer...

Full Bio →

Written by

UPDATED: Jul 15, 2021

Advertiser Disclosure

It’s all about you. We want to help you make the right legal decisions.

We strive to help you make confident insurance and legal decisions. Finding trusted and reliable insurance quotes and legal advice should be easy. This doesn’t influence our content. Our opinions are our own.

Editorial Guidelines: We are a free online resource for anyone interested in learning more about legal topics and insurance. Our goal is to be an objective, third-party resource for everything legal and insurance related. We update our site regularly, and all content is reviewed by experts.

Taxpayers can exclude $250,000, or $500,000 for married taxpayers filing a joint tax return, as gain from the sale of a home. This exclusion can be used only once every two years. The home must have been their principal residence for two of the last five years, or they must have a legally valid reason for owning the home less than two years. Legally valid reasons can include divorce, job transfers, death of a spouse, or other non-voluntary reasons. Gain in excess of the exclusion amount is taxed as capital gains, with the most normal rate being 15%.

This deduction can only be used on a primary residence. The IRS defines a primary residence as a residence that you lived in for at least two years over the course of a five-year period. Included in determining where you “lived” is where you are registered to vote, where your car is registered, and your significant ties to the community. Therefore, it is rate to be able to claim a second home as a primary residence, even if you live in both homes fairly equally. However, it is possible to own two homes, and be able to sell both of them within a few years apart, and claim both as your primary residence.


John and Jane Smith live in Ohio from April 1st to October 1st every year, and live in Arizona from October 2nd to March 31st. They live in both homes for 6 months of the year but they are registered to vote and have their cars registered in Ohio so their home in Ohio is their primary residence. John and Jane are finding it costly to maintain both homes, and have decided that they want to remain permanently in Arizona, but want to downsize to something smaller there.

John and Jane can sell their primary residence in Ohio, and exclude $500,000 of capital gain from tax.  They can then live in their current Arizona home for 2 more years, and be eligible to sell that home and again exclude $500,000 of capital gain.

The “exclusion” is meant as a buffer for long-term homeowners who have a large increase in the value of their homes. Of course, if a taxpayer loses money on the sale of their home, even if it gained them cash, the exclusion would not apply because there would be no capital gain.

Get Legal Help Today

Find the right lawyer for your legal issue.

 Secured with SHA-256 Encryption