Tax Law for Selling Real Estate (2024)

If you live in a house for two of the previous five years, you owe little or no taxes on its sale. Knowing the tax laws can make a considerable difference in the tax picture when you sell a building, whether it’s your residence or a property that was previously your residence.

Tax Law for Selling Real Estate (1)

Betting on the house: Rules for property sales

Real estate agent Shelley Bridge vividly recalls how a love affair once cost a young man more than $20,000 in federal taxes.

The man, with Bridge’s help, had previously bought a house for around $200,000. Having fallen in love several years later, he moved in with his girlfriend and put his house up for rent.

Three years passed. He decided it was time to sell his house—now worth roughly $350,000—and contacted Bridge, owner of a Re/Max office in Denver. Knowing about his living arrangement, Bridge asked how long it had been since the house had been his primary residence. "Three years last month," came the answer. “Oh, you just missed the window,” Bridge informed him.

Because of his three-year absence, he would have to pay tax of more than $20,000 on the sale, because of the appreciated value of his home. Had he sold the house a month earlier, he would have only owed tax on the profit equal to the depreciation he deducted (or should have deducted) in the years in which he rented out the house.

Knowing the tax laws—in this case, that if you live in a house for two of the previous five years, you owe little or no taxes on its sale—can make a considerable difference in the tax picture when you sell a building, whether it’s your residence or property that was previously your residence.

The man in this example could have moved back into the house until he met the requirement and then sold it with a much smaller tax burden, but his girlfriend, now his wife, wasn’t up for it.

Although timing can affect the taxes you owe, taxes generally shouldn’t be a main consideration in selling real estate, said Ron Schumacher, a Denver accountant and tax preparer who also owns 12 commercial buildings and one residential rental property. "Taxes," Schumacher said, “are just part of the puzzle.”

“Most people can fit the requirements to exclude gains from taxable income,” says Mark Levine, director of the University of Denver’s Burns School of Real Estate and Construction Management.

Straight sales

The rules for the usual home sale transaction, a “straight” sale, are fairly straightforward, and most of the time a straight sale does not trigger taxes.

“Most people can fit the requirements to exclude gains from taxable income," said Mark Levine, director of the University of Denver’s Burns School of Real Estate and Construction Management. If you are single and have lived in a house for two of the previous five years, you typically owe no taxes if you make $250,000 or less in profit. For married couples filing jointly, if both of you have lived in the house for two of the previous five years, then the limit is $500,000 in profit.

For any profits that exceed this limit for your filing status, you will typically pay the capital gains tax rate, generally 0, 15, or 20 percent depending on your tax bracket. There are exceptions, though. For example, if you have to move because of a lost job or illness, you might not have to pay that tax, Levine said. If you lose money on the sale, the tax laws don’t help you.

If you bought at $500,000 and you sell for $400,000, Levine said, "the answer is ‘too bad’—you don’t get any tax benefit from that.”

If you sell property that is not your main home (including a second home) that you’ve held for more than a year, you must pay tax on any profit at the capital gains rate of up to 20 percent. It’s not technically a capital gain, Levine explained, but it’s treated as such. Profit from selling buildings held one year or less is taxed as ordinary income at your regular tax rate.

If you’ve depreciated the property, you might pay a different rate. For example, if you buy a rental house at $300,000, take depreciation deductions of $100,000 over the years, and then sell it for $320,000, your gain for taxes is $120,000. But you "recapture" and pay at a maximum 25 percent rate on the $100,000 of depreciation. The 20 percent maximum capital gains rate applies only to the $20,000 gain remaining, Levine said.

Real estate exchange

It’s possible to exchange your business property for another person’s business property and defer the tax liability, Levine noted. But the same isn’t true of residential buildings unless they are rental units.

If you bought your rental building for $400,000 and it increased in value to $500,000, you can trade it for another structure worth $500,000 and not pay taxes on the $100,000 profit at the time of the transfer. Taxes will be due, however, when the new building is sold if you don't do another exchange.

The exchange may only include “like” properties, Levine noted. If you traded your $500,000 property for one valued at $450,000 plus $50,000 in cash, you would owe taxes for that year on the $50,000.

Installment sale

You may sell a building and accept payment in installments, which can spread the tax liability over a number of years. If you agree on a down payment followed by monthly or annual payments, you’d pay taxes based on the percentage of your profit on each payment received during the year, but not the total gain. In the end, however, the total taxes you pay would likely be the same as if you had paid them all at once—barring future changes in the tax rate. You’ve delayed taxes rather than avoided them, Levine explained. You may also have paid those taxes at an average rate lower than the rate you would have paid if you had paid tax on the entire gain in the year of sale.

Your taxes are based on a ratio of the profit versus the sale price. For example, if you sell for $300,000 a building for which you paid $200,000, your gain is $100,000, or one-third of the sale price.

If your buyer puts down $50,000 and then pays $50,000 (plus interest) for five years, one-third of each payment of principal to you is subject to tax, as is all of the interest you receive.

What about state taxes?

Most state real estate tax laws follow the same basic rules as the federal tax code, said Dr. Levine. Still, there are some exceptions. So to get a complete tax picture, contact the tax department of the state where you own the property.

What is depreciation?

Depreciation is a deduction that is typically taken each year that represents a portion of the cost of the property spread over it useful life. You typically depreciate business property but not personal property so you wouldn't depreciate your home, but you would depreciate rental units and other commercial buildings, said Dr. Mark Levine.

The tax code sets a number of years of depreciation for various types of property—for example, 27 1/2 years for residential rental property and 39 years for an office building. You can depreciate your property by an equal proportion each year until, under tax laws, its value is zero at the end of the depreciation period.

This deduction reduces your income on your building, but you must recapture and pay tax on the depreciation that you have taken if you sell it at a profit, Levine said.

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.

Tax Law for Selling Real Estate (2024)

FAQs

Is there a way to avoid capital gains tax on the selling of a house? ›

Is there a way to avoid capital gains tax on the selling of a house? You will avoid capital gains tax if your profit on the sale is less than $250,000 (for single filers) or $500,000 (if you're married and filing jointly), provided it has been your primary residence for at least two of the past five years.

What are exceptions to the 2 year capital gains rule? ›

A change in the place of employment for you, your spouse, any co-owner of the property, or any other person who uses your home as their principal residence is always a valid excuse if the location of the new job is at least 50 miles further away from your old home.

How to prove 2 out of 5 year rule? ›

If you used and owned the property as your principal residence for an aggregated 2 years out of the 5-year period ending on the date of sale, you have met the ownership and use tests for the exclusion. This is true even though the property was used as rental property for the 3 years before the date of the sale.

How does IRS verify cost basis real estate? ›

Third Party Records. If you don't have necessary records, the IRS will look to third parties for confirmation of the asset's cost basis. This can include pulling documents from banks, lenders and sellers to confirm the value of a real estate transaction or a personal property sale.

How long do I have to buy another house to avoid capital gains? ›

Frequently Asked Questions about Capital Gains Tax

You might be able to defer capital gains by buying another home. As long as you sell your first investment property and apply your profits to the purchase of a new investment property within 180 days, you can defer taxes.

What is the 6 year rule for capital gains tax? ›

The capital gains tax property six-year rule allows you to treat your investment property as your main residence for tax purposes for up to six years while you are renting it out. This means you can rent it out for six years and still qualify for the main residence capital gains tax exemption when you sell it.

Are there any loopholes for capital gains tax? ›

Use a 1031 exchange for real estate

Internal Revenue Code section 1031 provides a way to defer the capital gains tax on the profit you make on the sale of a rental property by rolling the proceeds of the sale into a new property.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

How to avoid paying capital gains tax on inherited property? ›

Here are five ways to avoid paying capital gains tax on inherited property.
  1. Sell the inherited property quickly. ...
  2. Make the inherited property your primary residence. ...
  3. Rent the inherited property. ...
  4. Disclaim the inherited property. ...
  5. Deduct selling expenses from capital gains.

Do you have to pay capital gains if you reinvest in another house? ›

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

What is the IRS one time home sale exemption? ›

If you meet certain conditions, you may exclude the first $250,000 of gain from the sale of your home from your income and avoid paying taxes on it. The exclusion is increased to $500,000 for a married couple filing jointly. This publication also has worksheets for calculations relating to the sale of your home.

How to avoid depreciation recapture? ›

If it's important to you to avoid the depreciation recapture tax, there are several strategies you may want to adopt.
  1. Take advantage of IRS Section 121 exclusion. ...
  2. Conduct a 1031 exchange. ...
  3. Pass on the property to your heirs. ...
  4. Sell the property at a loss.
Sep 3, 2023

How does IRS know you sold property? ›

Reporting the Sale

Report the sale or exchange of your main home on Form 8949, Sale and Other Dispositions of Capital Assets, if: You have a gain and do not qualify to exclude all of it, You have a gain and choose not to exclude it, or. You received a Form 1099-S.

What happens if I sell a fully depreciated asset? ›

If it's fully depreciated, then your basis is zero and the entire sale amount (less sales expenses) will be your taxable gain. This is reported under the Sale of Business Assets section of TurboTax.

Does painting a house add to the cost basis? ›

Expenses to fix up a home for sale, such as a fresh coast of paint, cannot be deducted from the sales proceeds, nor can they be added to basis, says Gray. For rental properties, the cost basis rules are similar to those for residences.

What is the capital gain exemption? ›

The capital gains arising from such a transfer (sale) should be invested in a long-term specified asset within 6 months from the date of the transfer (sale). Such an investment can be redeemed only after 5 years. The maximum amount of exemption available is Rs. 50 lakh.

Can you deduct closing costs from capital gains? ›

In addition to the home's original purchase price, you can deduct some closing costs, sales costs and the property's tax basis from your taxable capital gains. Closing costs can include mortgage-related expenses. For example, if you had prepaid interest when you bought the house) and tax-related expenses.

Does selling an inherited house count as income? ›

If you sell inherited property, is it taxable? If you sell an inherited property in California, it's generally not taxable.

Top Articles
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 6145

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.