Capital Gains Tax On Real Estate And Selling Your Home | Bankrate (2024)

Key takeaways

  • Capital gains tax is a levy imposed by the IRS on the profits made from selling an investment or asset, including real estate.
  • Primary residences have different capital gains guidelines than rental and investment properties do.
  • It's possible to lower the capital gains tax you owe by taking advantage of available deductions, exemptions and exclusions.

Naturally, you want to make a nice profit on your home when you sell it. But beware a bite in your earnings when tax day rolls around: the capital gains tax. If your home has substantially increased in value, you could be liable for a substantial sum when you pay your annual income tax.

Fortunately, there are ways to avoid or reduce the capital gains tax on a home sale to keep as much profit in your pocket as possible. Here’s everything you need to know.

What is the capital gains tax on real estate?

Key terms

Capital gains tax
A levy imposed by the IRS on profits made from the sale of an asset, such as stocks or real estate — that profit is considered taxable income.

Long-term capital gains
A tax on assets held for more than one year.

Property value
The amount a buyer is likely to pay for a real estate asset (i.e., property).

Broadly speaking, capital gains tax is the tax owed on the profit (aka, the capital gain) you make when you sell an investment or asset. It is calculated by subtracting the asset’s original cost or purchase price (the “tax basis”), plus any expenses incurred, from the final sale price.

Special rates apply for long-term capital gains on assets owned for over a year. The long-term capital gains tax rates are 15 percent, 20 percent and 28 percent (for certain special asset types, like small business stock collectibles), depending on your income.

Real estate, including residential real estate, counts as a taxable asset. Therefore, any financial gains from a home sale must be reported to the IRS: You calculate and pay any money due when filing your tax return for the year you sold the property.

While its rates are typically lower than ordinary income tax rates, the capital gains tax can still add up, especially on profits for big-ticket items like a home — the largest single asset many people will ever own. The capital gains tax on real estate directly ties into your property’s value and any increases in its value. If your home substantially appreciated after you bought it, and you realized that appreciation when you sold it, you could have a sizable, taxable gain.

How much is capital gains tax on a primary residence?

Calculating capital gains tax in real estate can be complex. The tax rate depends on several factors:

  • Your income tax bracket
  • Your marital status
  • How long you’ve owned the house
  • Whether the house was your primary residence, a secondary residence or an investment property

Keep in mind:The tax is only assessed on the profit itself. If you purchased a house five years ago for $250,000 and sold it today for $500,000, your profit would be $250,000. (Though there are deductions you could take that would effectively reduce your net profit.) You would need to report the home sale and potentially pay a capital gains tax on the $250,000 profit.

For the 2023 tax year, you are not subject to capital gains taxes if your taxable income is $44,625 or less ($89,250 if married and filing jointly). If it’s between $44,626 and $492,300 as a single filer, or between $89,251 and $553,850 if married and filing jointly, you would pay 15 percent on the $250,000 profit. Above those top amounts, the capital gains rate would be 20 percent.

However, the IRS gives home sellers multiple ways to avoid or reduce their capital gains taxes, principally if their property is a primary residence. You can exempt a certain amount of the profit — up to $250,000 or $500,000, depending on your filing status — from the tax if you meet certain conditions.

An ill-timed sale could result in a significant tax bill that could have otherwise been avoided.— Greg McBride, Bankrate Chief Financial Analyst

“Before selling your home, familiarize yourself with the capital gains tax exclusion rules and consult a tax advisor,” says Greg McBride, Bankrate’s chief financial analyst. “An ill-timed sale could result in a significant tax bill that could have otherwise been avoided. If the property has been your primary residence for less than 24 months, for example, you may decide to hold off until you’ve reached that threshold to avoid capital gains tax.”

If you sell a house or property in one year or less after owning it, the short-term capital gains is taxed as ordinary income, which could be as high as 37 percent. Long-term capital gains for properties you owned for over a year are taxed at 0 percent, 15 percent or 20 percent depending on your income tax bracket.

How much is capital gains tax on a rental property?

A rental property doesn’t have the same exclusions as a primary residence when it comes to capital gains taxes. You would have to pay a 25 percent depreciation recapture tax on the portion of your profit from previously claimed depreciation and 0, 15 or 20 percent in long-term capital gains taxes, depending on your income and filing status on the balance.

Suppose the property you bought for $250,000 and sold for $500,000 was a rental. If your profit included depreciation you claimed as a business expense, the IRS would levy a 25 percent depreciation recapture tax on that amount. Your profit balance would be taxed at a 0, 15 or 20 percent capital gains rate, depending on your income.

If you plan to sell a rental property you’ve owned for less than a year, try to stretch ownership out to at least 12 months, or your profit will be taxed as ordinary income. The IRS doesn’t have a ceiling for short-term capital gains taxes, and you may be hit with up to 37 percent tax.

How to avoid capital gains tax on a home sale

Capital gains taxes can greatly affect your bottom line. Fortunately, there are ways to reduce or avoid capital gains taxes on a home sale altogether. It depends on the property type and your filing status. The IRS offers a few scenarios to avoid capital gains taxes when selling your house.

Bankrate insight

When does capital gains tax not apply? If you have lived in a home as your primary residence for two out of the five years preceding the home's sale, the IRS lets you exempt $250,000 in profit, or $500,000 if married and filing jointly, from capital gains taxes. The two years do not necessarily need to be consecutive. If you become disabled, receive a job offer in a new area or are forced to sell your home before you have lived there two years, you may qualify for an exception to the two-out-of-five rule.

Avoiding capital gains tax on your primary residence

You can sell your primary residence and avoid paying capital gains taxes on the first $250,000 of your profits if your tax-filing status is single, and up to $500,000 if married and filing jointly. The exemption is only available once every two years. But it can, in effect, render the capital gains tax moot.

Let’s say a single filer bought a home for $250,000, lived in it for three years, and then sold it for $400,000. Their profit is $150,000. But that’s exempt from any capital gains tax because it’s under the $250,000 threshold allowed for gains.

Of course, there are conditions. To qualify as your primary residence, the IRS requires that you prove the property was your main home where you lived most of the time. You’ll need to show that you owned the home for at least two years and lived in the property as your primary residence for at least two of the five years immediately preceding the sale.

However, there is wiggle room in how the rules are interpreted. You don’t have to show you lived in the home the entire time you owned it or even consecutively for two years. You could, for example, purchase the house, live in it for 12 months, rent it out for a few years and then move in to establish primary residency for another 12 months. As long as you lived in the property as your primary residence for 24 months within the five years before the home’s sale, you can qualify for the capital gains tax exemption. And if you’re married and filing jointly, only one spouse needs to meet this requirement.

Avoiding capital gains tax on a rental or additional property

If you own an additional property that you plan to sell, you will need to plan to lower your tax liability. There are several ways to mitigate any capital gains tax:

Establish the rental as primary residence

You might find that an investment property you rent out and plan to sell has spiked in value. Moving into the rental for at least two years to convert it into a primary residence to avoid capital gains may be a good idea. However, you won’t be able to exclude the portion you depreciated while renting the property. You’ll lose primary residency status on your main home, too, but that can be regained later by moving back in after the sale of the rental property. If you don’t plan to sell the main home for at least two years, you can re-establish primary residency and qualify for the capital gains exclusion later.

1031 exchange

You can also take advantage of a 1031 exchange. Known as a like-kind exchange, it only works if you sell the investment property and use the proceeds to buy another similar property. If you keep putting the sale proceeds into another investment property, you can put off capital gains tax indefinitely.

Opportunity zones

The 2017 Tax Cuts and Jobs Act created opportunity zones — areas around the country identified as economically disadvantaged. If you choose to invest in a designated low-income community, you’ll get a step up in tax basis (your original cost) after the first five years. And any gains after 10 years will be tax-free.

Deduct expenses

If you still have capital gains after taking advantage of exemptions and exclusions, focus on lowering the amount of the taxable profit or gains. Some qualifying deductions include:

  • The cost of repairs to a home or investment property
  • Improvements and upgrades, such as adding a bedroom or renovating a kitchen
  • Losses in investment property income due to tenants unable to pay rent
  • Cost of legal, professional and advertising fees to evict a tenant or find a new one
  • Closing costs from the property sale

Remember to keep organized records and documents, including receipts, bills, invoices and credit card statements, to support your expense claims in case you’re audited.

FAQs

  • The capital gains tax rate on the sale of a primary residence can be as high as 20 percent of the profit on a home owned for more than a year, and as high as 37 percent on one owned for a year or less. If you own and live in the home for two out of the five years before the sale, you will likely be exempt from any capital gains taxes up to $250,000 in profit, or $500,000 if married and filing jointly.

  • 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. For investment properties, capital gains taxes can be deferred with a Section 1031 like-kind exchange, in which you use the profit from the sale of one investment property to buy another of equal or greater value.

Capital Gains Tax On Real Estate And Selling Your Home | Bankrate (2024)

FAQs

How to avoid capital gains tax on sale of home? ›

As long as you lived in the property as your primary residence for 24 months within the five years before the home's sale, you can qualify for the capital gains tax exemption.

How do you calculate capital gains tax on the sale of a home? ›

Capital gain calculation in four steps
  1. Determine your basis. ...
  2. Determine your realized amount. ...
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ...
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

Do I have to buy another house to avoid capital gains? ›

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.

Will most homeowners have to pay capital gains taxes when they sell their homes? ›

Home sales can be tax free as long as the condition of the sale meets certain criteria: The seller must have owned the home and used it as their principal residence for two out of the last five years (up to the date of closing). The two years do not have to be consecutive to qualify.

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.

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.

How much do you pay the IRS when you sell a house? ›

Short-term capital gains on real estate sold in a year or less are taxed at your ordinary income tax rate. Long-term capital gains on homes sold after a year of ownership are taxed at 0%, 15% or 20%.

Do I have to report the sale of my home to the IRS? ›

Reporting the sale

Additionally, you must report the sale of the home if you can't exclude all of your capital gain from income. Use Schedule D (Form 1040), Capital Gains and Losses and Form 8949, Sales and Other Dispositions of Capital Assets when required to report the home sale.

Is money from the sale of a house considered income? ›

It depends on how long you owned and lived in the home before the sale and how much profit you made. If you owned and lived in the place for two of the five years before the sale, then up to $250,000 of profit is tax-free. If you are married and file a joint return, the tax-free amount doubles to $500,000.

Do you pay capital gains after age 65? ›

Whether you're 65 or 95, seniors must pay capital gains tax where it's due.

How long do you have to buy another house to avoid capital gains in California? ›

Frequently Asked Questions about Capital Gains Tax

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 happens if you sell a house and don't buy another? ›

Also, the exclusion is up to $250,000 if you're a single homeowner and $500,000 if you're married and filing jointly. However, if you don't buy another house within a certain period, the exclusion is lost, and you'll be liable to pay the Capital Gains Tax.

What is a simple trick for avoiding capital gains tax on real estate investments? ›

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.

Do I have to pay capital gains tax immediately? ›

It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset. Working with a financial advisor can help optimize your investment portfolio to minimize capital gains tax.

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

Q: Can you avoid capital gains tax by buying another house? A: Yes, if you sell one investment property and then immediately buy another, you can avoid capital gains tax using the Section 121 exclusion. However, you must reinvest the sale proceeds into a new real estate property to qualify.

Can I reinvest capital gains to avoid taxes? ›

Reinvest in new property

The like-kind (aka "1031") exchange is a popular way to bypass capital gains taxes on investment property sales. With this transaction, you sell an investment property and buy another one of similar value. By doing so, you can defer owing capital gains taxes on the first property.

How long do you have to reinvest money after selling a house? ›

A: You can defer capital gains taxes by using a tax deferred exchange, which means that you reinvest the windfall from the sale into a replacement property. However, you need to act quickly. If you wait more than 180 days to reinvest, you will have to pay taxes on the proceeds.

Do you have to pay capital gains when you inherit a house? ›

You do not automatically pay taxes on any property that you inherit. If you sell, you owe capital gains taxes only on any gains that the asset made since you inherited it. You may want to talk to a professional advisor to make sure you plan your finances out correctly with the capital gains tax in mind.

What is the capital gains over 55 rule? ›

The over-55 home sale exemption was a tax law that provided homeowners over age 55 with a one-time capital gains exclusion. Individuals who met the requirements could exclude up to $125,000 of capital gains on the sale of their personal residences. The over-55 home sale exemption has not been in effect since 1997.

Top Articles
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 6272

Rating: 4.8 / 5 (58 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.