mobile domain:mobile.usaa.com
Skip to Content

Understanding the capital gains tax on home sales

Understand how selling your home impacts your taxes and learn about the capital gains tax exclusion.

Article: 2 minutes

Updated: October 14, 2026 Published: May 6, 2015

By: USAA Reviewed by: Editorial contributors

Summary

You can potentially exclude up to $250,000 (single filers) or $500,000 (joint filers) of profit from the sale of your home from capital gains tax, provided you meet specific IRS requirements. To qualify, you generally must have owned and lived in the home for at least two of the five years prior to the sale, though various exceptions and complexities exist that may necessitate professional tax advice.

Key takeaways

  • To qualify for the full capital gains tax exclusion on the sale of a primary residence, taxpayers must meet ownership and use tests, generally requiring possession and residency for at least two years within the five years preceding the sale, and must not have claimed this exclusion on another home sale within the last two years.
  • While single filers can exclude up to $250,000 and married couples filing jointly up to $500,000 of profit from their main home's sale, specific circumstances like military service or renting out the property can affect eligibility or the exclusion amount.
  • Navigating the nuances of home sale tax implications can be complex, and seeking professional tax assistance or using tax preparation software is advisable to ensure correct application of the rules.

Congratulations! You sold your house at a nice profit.

But will the tax man take a big chunk of it? It often depends on the capital gains tax exclusion Opens in a New Window.‍ ‍

The IRS allows you to earn a substantial profit on the sale of your main home without having to pay taxes on it. Single filers can generally exclude up to $250,000 of home-sale gains from taxes, and those married and filing jointly can generally exclude as much as $500,000 under special rules.

To qualify for the maximum exclusions, the following must be true (though the first two don't have to occur at the same time):

1. You meet the ownership test.

You must own the property for at least two years — not necessarily continuous — during the five-year period ending on the date of the sale. (If you’re married and filing jointly, only one spouse has to meet the ownership test.)

2. You meet the use test.

You must live in the home as your main residence for at least two years — not necessarily continuous — during the five-year period ending on the date of the sale. (If you’re married and filing jointly, both spouses must meet the use test.)

3. You haven't excluded a gain recently.

During the two-year period ending on the date of the sale, you (and your spouse) didn't exclude a gain from the sale of another home.

These are the basic requirements, but several variables could impact if or how you can claim the exclusion.

For example, members of the military may be able to suspend the five-year period for ownership and use in certain situations. And taxpayers who don't fully meet the ownership and use tests still may be able to exclude a smaller amount of gain. And if you rented out the house, the rules get more complicated.

The number of potential nuances to the tax implications of home sales can be overwhelming, and you might still be confused even after paging through “Selling Your Home,” IRS Publication 523 Opens in a New Window.‍ ‍ That's why it's wise to get professional tax help or use tax preparation software.

Explore our Tax Center

Get access to tax forms, documents, guides and more. Plus, USAA Perks® offers a discount on tax preparation services from TurboTax®.

Learn moreabout USAA’s Tax Center

Related articles

What does homeowners insurance not cover?

Article: 5 minutes

Read article: What does homeowners insurance not cover?

Why home worth matters: Understanding your home's value

Article: 3 minutes

Read article: Why home worth matters: Understanding your home's value

Estate planning: Executor's guide for selling a loved one's home

Article: 11 minutes

Read article: Estate planning: Executor's guide for selling a loved one's home

The USAA Advice Center provides general advice, tools and resources to guide your journey. Content may mention products, features or services that USAA Federal Savings Bank does not offer. The information contained is provided for informational purposes only and is not intended to represent any endorsement, expressed or implied, by USAA or any affiliates. All information provided is subject to change without notice.

Related footnotes:

  1. You are leaving USAA and being directed to a third party site that is not maintained, owned or operated by USAA. USAA does not control and is not responsible for the site content or the privacy or security practices of third parties. You should read the third party's privacy and security policies and site terms, as their practices may differ from those of USAA.

Related footnotes:

  1. Membership eligibility and product restrictions apply and are subject to change.

  2. Home loans subject to credit and property approval.

  3. The contents of this document are not intended to be, and are not, legal or tax advice. The applicable tax law is complex, the penalties for non-compliance are severe, and the applicable tax law of your state may differ from federal tax law. Therefore, you should consult your tax and legal advisers regarding your specific situation.

  4. Visit http://turbotax.intuit.com/lp/yoy/guarantees.jsp[Opens in a New Window] for TurboTax product guarantees and other important information. Limited time offer for TurboTax 2025. Actual prices are determined at the time of print or e-file and are subject to change without notice. Terms, conditions, features, availability, pricing, fees, service and support options subject to change without notice. Intuit, TurboTax and TurboTax Online, among others, are registered trademarks and/or service marks of Intuit Inc. in the United States and other countries.

  5. The USAA Perks program is provided through USAA Alliance Services LLC, a wholly owned subsidiary of USAA. USAA Alliance Services contracts with companies not affiliated with USAA to offer their products and services to members and customers. USAA Alliance Services receives compensation from these companies based on the sale of these products or services. When you purchase a product or service from one of these companies, that company is responsible for protecting your data and its processes and procedures may differ from those of USAA. These companies have sole financial responsibility for their products and services.

7159995