Tax Aspects of Home Ownership: Selling a Home

Though most home-sale profit is now tax-free, there are still steps you can take to maximize the tax benefits of selling your home. Learn how to figure your gain, factoring in your cost basis, home improvements and more.

TABLE OF CONTENTS

keys to home

Key Takeaways

Profit on home sale usually tax-free

Many home sellers don’t even have to report the transaction to the IRS. But if you’re one of the exceptions, knowing the rules about excluding the profit from your income can help you hold down your tax bill.

Do I have to pay taxes on the profit I made selling my home?

It depends on how long you owned and lived in the home before the sale and how much profit you made.

The law lets you "exclude" this profit from your taxable income. (If you sold for a loss, though, you can't take a deduction for that loss.)

How do I qualify for this tax break?

There are three tests you must meet in order to treat the gain from the sale of your main home as tax-free:

If you're married and want to use the $500,000 exclusion:

Special circumstances

Even if you don't meet all of these requirements, there are special rules that may allow you to claim either the full exclusion or a partial exclusion:

TurboTax Tip:

If you sell your house because of a change of employment, change of health, or other unforeseen circumstances, such as a divorce or multiple births from a single pregnancy, you may be able to treat part of your profit as tax-free even if you don't pass the two-out-of-five-years tests.

Members of the uniformed services, foreign service and intelligence agencies

You can choose to have the five-year-test period for ownership and use suspended for up to ten years during any period you or your spouse serve on "qualified official extended duty" as a member of the uniformed services, Foreign Service or the federal intelligence agencies. You are on qualified extended duty when, for more than 90 days or for an indefinite period, you are either:

This means that you may be able to meet the two-year use test even if, because of your service, you did not actually live in your home for at least the required two years during the five years prior to the sale.

How can I qualify for a reduced exclusion?

In certain cases, you can treat part of your profit as tax-free even if you don't pass the two-out-of-five-years tests. A reduced exclusion is available if you sell your house before passing those tests because of:

So, if you need to move to a bigger place to find room for the triplets, the law won't hold it against you.

Note: A reduced exclusion does NOT mean you can exclude only a portion of your profit. It means you get less than the full $250,000/$500,000 exclusion. For example, if a married couple owned and lived in their home for one year before selling it, they could exclude up to $250,000 of profit (one-half of the $500,000 because they owned and lived in the home for only one-half of the required two years).

Deciding whether to take the exclusion

Would it ever make sense to turn down the government's generosity and not claim the exclusion?

Although it's very unlikely, paying tax on a home sale can make sense if it preserves the exclusion to protect more profit on another home that you plan to sell within two years. Remember, although you can use the exclusion any number of times during your life, you can't use it more than once every two years.

Do I have to report the home sale on my return?

You generally need to report the sale of your home on your tax return if you received a Form 1099-S or if you do not meet the requirements for excluding the gain on the sale of your home. See: "Do I have to pay taxes on the profit I made selling my home?" above.

Form 1099-S: Proceeds from Real Estate Transactions is generally issued by the real estate closing agent—a title company, real estate broker or mortgage company.

To avoid getting this form (and having a copy sent to the IRS), you must give the agent some assurances at any time before February 15 of the year after the sale that all the profit on the sale is tax-free.

To do so, you must assure the agent that:

  1. You owned and used the residence as your principal residence for periods totaling at least two years during the five-year period ending on the date of the sale of the residence.
  2. You have not sold or exchanged another principal residence during the two-year period ending on the date of the sale or exchange of the residence.
  3. No portion of the residence was used for business or rental purposes by you or your spouse.
  4. At least one of the following three statements applies: (1) The sale price is $250,000 or less; (2) You are married, the sale price is $500,000 or less, and the gain on the sale is $250,000 or less; (3) You are married, the sale price is $500,000 or less, and:

Essentially, the IRS does not require the real estate agent who closes the deal to use Form 1099-S to report a home sale amounting to $250,000 or less ($500,000 or less for married couples filing jointly).

If you did receive a Form 1099-S, that means the IRS got a copy as well. That doesn't necessarily mean you owe tax on the sale, though.

Figuring gain on the sale of a home

You have a gain if you sell your house for more than it cost. Ah, but how do you calculate the real cost? For tax purposes, you need to pinpoint your adjusted basis to figure out whether or not you have gained or lost in the sale.

On the other hand, you need to subtract:

So, let's say you bought a house for $50,000 in 1993, sold it for $75,000 in 1996, and postponed the tax on the $25,000 profit by purchasing a new home for $110,000. The basis of the new home would be $85,000.

What is the original cost of my home?

The original cost of your home, for most people, is the amount you paid for it.

If you purchased your home from someone else, the price you paid is your purchase price (plus certain settlement and closing costs). Your closing statement should list all of these costs. Don't include:

If you built your home, your original cost is the cost of the land, plus, the amount it cost you to construct your home, including,

If you inherited your home, your basis in the home will be the number you use for "original cost."

What is the adjusted basis of my home?

The adjusted basis is simply the cost of your home adjusted for tax purposes by improvements you've made or deductions you've taken.

For example, if the original cost of the home was $100,000 and you added a $5,000 patio, your adjusted basis becomes $105,000. If you then took an $8,000 casualty loss deduction, your adjusted basis becomes $97,000.

Here's how you calculate the adjusted basis on a home:

Start with the purchase price of your home (as described above).

To that starting basis add:

From that upwardly adjusted basis, subtract:

The result of all these calculations is the adjusted basis that you will subtract from the selling price to determine your gain or loss. This adjusted basis is what's considered to be your cost of the home for tax purposes.

Basis when you inherit a home

If you inherited your home from your spouse in any year except 2010 and you lived in a community property state—Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington or Wisconsin—your basis will generally be the fair market value of the home at the time of your spouse's death.

If you lived somewhere other than a community property state, your basis for the inherited portion of the home in any year except 2010 will be the fair market value at your spouse's death multiplied by the percentage of the home your spouse owned.

If you inherited your home from someone other than your spouse in any year except 2010, your basis will generally be the fair market value of the home at the time the previous owner died.

Divorce and tax basis

If you received your home from your former spouse as part of a divorce after July 18, 1984, your tax basis generally will be the same as your basis as a couple at the time of the divorce. So,

If you divorced before July 19, 1984, your basis will generally be the fair market value at the time you received it.

Postponed gains under the old "rollover" rules

In the past, you may have put off paying the tax on a gain from the sale of a home, usually because you used the proceeds from the sale to buy another home. Under the old rules, this was referred to as "rolling over" gain from one home to the next.

You can no longer postpone gain on the sale of your personal residence. For sales after May 7, 1997:

To see how a rollover of gain prior to the change in the law can affect your profit, consider this example: Let's say you bought a house for $50,000 in 1993, sold it for $75,000 in 1996, and postponed the tax on the $25,000 profit by purchasing a new home for $110,000. Your basis on your new home would be $85,000.

Converting a second home to a primary residence

Although the rule that allows homeowners to take up to $500,000 of profit tax-free applies only to the sale of your principal residence, it has been possible to extend the tax break to a second home by converting it to your principal residence before you sell. Once you live in that home for two years, you have been able to exclude up to $500,000 of profit again. That way, savvy taxpayers can claim the exclusion on multiple homes.

Note: Congress has clamped down on this break for taxpayers who convert a second home into a principal residence after 2008.

So, if you are married filing jointly and have owned a vacation home for 18 years and make it your main residence for the two years before selling it, 90% of the gain is taxed (eighteen years of non-qualified second home use divided by 20 years of total ownership). The rest would qualify for the exclusion of up to $500,000.

For more information

For information on figuring out whether you have a gain or loss on the sale of your home, see IRS Tax Topic 703: Basis of Assets. For general information on the sale of your home, see IRS Publication 523: Selling Your Home, and Tax Topic 701: Sale of Your Home.

Let a local tax expert matched to your unique situation get your taxes done 100% right with TurboTax Live Full Service. Your expert can work with you in real time and maximize your deductions, finding every dollar you deserve, guaranteed.

You can also file taxes on your own with TurboTax Deluxe. We’ll search over 350 deductions and credits so you don’t miss a thing.