Skip to Main Content

Start Of Main Content

Wise planning for selling your home

Be proactive and understand how taxes and capital gains may be impacted when selling a home.

Woman in her kitchen considers capital gains on her home sale.

Are you thinking about selling your home?

As you consider your options, make sure you include the tax implications in your evaluation process. If the sale of your house results in a capital gain (the excess of the amount realized over the adjusted basis of the property), you may be subject to a capital gains tax when you file taxes.

What are the criteria for excluding the capital gain from your taxable income?

Generally, if you meet certain criteria, you may qualify to exclude all or part of any capital gain on the sale of your home when you file your taxes. Here are a few things to consider: 

  • If you qualify for the exclusion of gain, you may exclude up to the first $250,000 of gain ($500,000 if married filing jointly) from the sale of a home from your taxable income.
  • Generally, you must have owned and used the home as your main residence and lived in the property for at least 24 months during the previous 5-years leading up to the date of sale.
    • The 24 months do not need to be continuous or in a single block of time.
    • Only one spouse has to meet the ownership requirement.

To mitigate tax consequences, you should consider if you meet the requirements of the exclusion, including if you pass both the "ownership" and "use" tests before you sell your home. If you currently do not pass one or both of the tests, you may want to consider delaying the sale of your home until you do. For additional information, see IRS Tax Publication 523, "Selling Your Home," to determine the maximum dollar limit you can exclude and for additional rules, explanations, examples and worksheets.

Neither State Farm® nor its agents provide tax or legal advice.

The information in this article was obtained from various sources not associated with State Farm® (including State Farm Mutual Automobile Insurance Company and its subsidiaries and affiliates). While we believe it to be reliable and accurate, we do not warrant the accuracy or reliability of the information. State Farm is not responsible for, and does not endorse or approve, either implicitly or explicitly, the content of any third party sites that might be hyperlinked from this page. The information is not intended to replace manuals, instructions or information provided by a manufacturer or the advice of a qualified professional, or to affect coverage under any applicable insurance policy. State Farm makes no guarantees of results from use of this information.


Select a product to start a quote.




844-373-0003

Also Important

5 Ways to Protect Your Vacant House After Moving

5 Ways to Protect Your Vacant House After Moving

Keep your vacant home from falling victim to the elements, system failure, or burglary.

Must-Dos When Preparing to Sell Home

Must-Dos When Preparing to Sell Home

Getting ready to sell your home? These little improvement projects could give you big returns.

Related Articles

Home a Sorry Sight? Try These 7 Curb Appeal Fixes

Home a Sorry Sight? Try These 7 Curb Appeal Fixes

Homeowners, take heed: What to update, highlight, and hide for maximum appeal.

You Get What You Give

You Get What You Give

Be the change you want to see in your new community.

Do You Need a Real Estate Agent to Buy a Home

Do You Need a Real Estate Agent to Buy a Home

The answer for both buyers and sellers is more complicated than a simple yes or no. These five questions can help you sort out the decision.