Advertiser Disclosure

advertising disclaimer
Skip to main content
Single Family Home With Sold Sign Out Front

A Home Seller's Guide to Capital Gains Tax Exemptions


Mar 27, 2020 by Matt Frankel, CFP

In most cases, if you sell an asset at a profit, you'll have to pay capital gains tax, unless you qualify for one of the few capital gains tax exemptions that exist in the U.S. tax code. And if you own your home for a relatively long time, there's a good chance that you'll end up selling it for significantly more than you paid for it.

This is certainly a good thing, but what does it mean for taxes? Here's a rundown of how capital gains tax works, why home sellers might be able to avoid paying them, and how to crunch the numbers when it comes time to sell your home.

How to avoid capital gains tax on a home sale

The reality is that most people don't pay capital gains tax when they sell a home they live in. To understand why, and whether you will have to pay capital gains tax, there are three things you need to do:

  • Understand how capital gains work.
  • Know how to calculate your capital gain.
  • Determine whether you qualify for the home sale gain exclusion.

How does capital gains tax work?

A capital gain occurs when you sell an asset for more than you paid for it. For example, if you buy some stock for $2,000 and sell it for $3,000, you'd have a $1,000 capital gain.

The Internal Revenue Service (IRS) treats capital gains differently than income you earn from a job or business, and that's where the idea of capital gains tax comes in. In simple terms, capital gains tax can be assessed on the portion of an asset sale that represents profit.

An important point before we go any further -- you don't ever have to pay capital gains tax on an asset until you sell it. Even if your stock investments gain millions of dollars in market value, you won't pay a penny in tax until you decide to sell.

Capital gains are classified into one of two categories for tax purposes:

  • A long-term capital gain occurs when you sell an asset you've owned for more than a year. As you can imagine, most home sales fall into this category.
  • On the other hand, if you sell an asset you've owned for a year or less and make a profit, you have a short-term capital gain.

Capital gains tax rates

Short-term gains are taxed according to your marginal tax rate, or tax bracket. Long-term gains are taxed at lower rates, which depend on your income.

For 2020, here are the three long-term capital gains tax brackets: Remember that these ranges are based on your taxable income, not your total income for the year:

Long-Term Capital Gains Tax Rate Single Filers Married Filing Jointly Heads of Household Married Filing Separately
0% $0 - $40,000 $0 - $80,000 $0 - $53,600 $0 - $40,000
15% $40,001 - $441,450 $80,001 - $496,050 $53,601 - $469,050 $40,001 - $248,300
20% Over $441,450 Over $496,050 Over $469,050 Over $248,300

Data Source: IRS.

For example, if you are single, have taxable income of $50,000, and have a $25,000 long-term capital gain, it will be taxed at a 15% rate.

In addition, there's a 3.8% net investment income tax that applies to certain high-income households, regardless of whether gains are short- or long-term in nature.

How much will your capital gain be?

If you paid $100,000 for your home 20 years ago and sell it for $300,000, you have a $200,000 capital gain, right? Well, not exactly.

One important point to know is that capital gains aren't simply based on the difference between the price you paid and the sale price. It is the difference between your cost basis and your net proceeds. This complicates matters a bit -- but in a good way. So, let's take a look at both of these concepts.

Know your cost basis

Think of cost basis as your "all-in" cost of acquiring an asset, not just the purchase price. In real estate, there are two big considerations here:

Acquisition costs

Did you pay transfer taxes, legal fees, survey fees, or any other costs related to the purchase of your home? These add to your cost basis. Keep in mind that any mortgage-related expenses like origination charges don't count, nor do prepaid insurance or property taxes.

Capital improvements

If you spent money on improving your home, you can add these expenses to your cost basis as well. They must be value-adding improvements, not just standard maintenance or repair costs. If you spent $30,000 renovating your kitchen, for example, that would be included in your cost basis. Other common capital improvements that you can include in your cost basis are additions, major landscaping projects, a new roof, siding, floor replacements, and HVAC replacements.

How much did you really make when you sold your home?

Your net sales proceeds refer to the amount of money you sell your home for, minus any transaction-related costs, such as real estate commissions. With the industry standard selling commission about 6% of the sale price (3% each to the buyer's agent and listing agent), this can make a big difference when calculating your capital gain.

Other things that reduce your net selling price can include any legal fees you pay, as well as any costs of advertising your home for sale.

Putting it all together

Let's say that you bought your house for $100,000 many years ago and paid $2,000 in other transaction-related costs. About 10 years ago, you spent $30,000 to renovate your kitchen, and five years ago, you spent $25,000 to build an addition. Adding these up gives you a cost basis of $157,000.

Now, let's say that you agree to sell your house for $300,000. You pay real estate commissions and other selling-related expenses of $20,000. This gives you a net sale price of $280,000. Subtracting your cost basis shows a capital gain of $123,000 -- certainly a lot of money, but much less than the $200,000 difference between the purchase price and sale price.

Note that calculating your cost basis and net selling price can be quite complex, and the IRS tends to take a closer look at returns with home sale-related capital gains, so it's a good idea to seek guidance from an experienced tax professional when the time comes.

The home sale gain exclusion: How it works

Now that you know how to figure out your capital gain, the next step is to figure out whether any of it is taxable.

There are very few capital gains tax exclusions, but the IRS does have one such loophole for some home sellers -- specifically, those who sell their primary residence. This is known as the home sale gain exclusion and allows as much as $250,000 in capital gains to be excluded from taxation for single individuals, or as much as $500,000 for married couples who file joint tax returns.

In order to be able to use the exclusion, you must:

  • Own the home for at least two of the five years preceding the sale.
  • Use the home as your primary residence for two of the five years preceding the sale.
  • Not have used the exclusion for another home sale within two years preceding the sale.

This means that if you're married and sell your home for a net profit of $500,000, as long as you meet the qualifications outlined above, the IRS can't touch a penny.

An example of calculating capital gains tax (or lack thereof)

Let's look at an example of how this might work from start to finish.

Here's the scenario. You're a married couple who expects $120,000 in taxable income for 2020. You bought your house five years ago for $500,000 and paid $10,000 in closing expenses. You also spent $25,000 to renovate your master bathroom shortly after the sale. Since purchasing the home five years ago, you've lived in it year-round as your primary residence.

During those five years, your real estate market has exploded in value. You accept an offer to sell your house for $1,200,000. You pay $50,000 in real estate commissions and other transaction costs necessary to complete the sale.

You sold your home for net proceeds of $1,150,000, and you had a cost basis of $535,000, giving you a long-term capital gain of $615,000. However, since the home met the qualifications for the home sale gain exclusion, $500,000 of your gain is exempt from capital gains taxes -- only $115,000 of the sale proceeds will be taxable.

Referring to the capital gains tax brackets chart earlier, we see that a married couple with $120,000 in taxable income would be in the 15% bracket. Applying a 15% capital gains tax rate to the $115,000 of taxable gains gives a capital gains tax of $17,250.

When is capital gains tax on a home sale due?

If you end up owing capital gains tax on a home sale, it is due with the tax return that coincides with the calendar year of the home sale. In other words, if you sold your home on February 1, 2020, you'd owe any capital gains tax by the 2020 tax return due date of April 15, 2021.

The Millionacres bottom line

After reading through this, you can probably guess that the majority of people who sell their primary homes don't end up paying any capital gains tax unless they sell their home at a big profit. By understanding how capital gains taxes work and why home sellers can be exempt from their gains, you'll know what to expect when you sell your home.

The "Unfair Advantages" of Real Estate Just Got a Whole Lot Better

Investing in real estate has always been one of the most effective paths to financial independnece. That's because it offers incredible returns and even more incredible tax breaks.

These benefits weren't enough for Uncle Sam, though, as a new tax loophole now allows those prudent investors who act today to lock in decades of tax-free returns. We've put together a comprehensive tax guide that details how you can benefit from this once-in-a-generation investment opportunity. Simply click here to get your free copy.

The Motley Fool has a disclosure policy.