Technology

How to calculate, pay, and reduce capital gains tax on real estate

2024-12-09 17:05
517 views
How to calculate, pay, and reduce capital gains tax on real estate

Personal Finance / Taxes How to calculate, pay, and reduce capital gains tax on real estate Aly J. Yale · Freelance writer Updated Sat, February 7, 2026 at 4:28 AM GMT+8 9 min read Getting a great pri...

How to calculate, pay, and reduce capital gains tax on real estate Aly J. Yale Aly J. Yale · Freelance writer Updated Sat, February 7, 2026 at 4:28 AM GMT+8 9 min read

Getting a great price for your home can feel like quite the win — but when it comes time to file taxes, you might feel differently.

That’s because you could owe capital gains taxes. This is a separate tax on profits made from certain investments, including real estate. And depending on how long you've owned the home and various other factors, these taxes can reach up to 20% of the profit from your sale, adding a hefty amount to your annual tax bill.

Fortunately, there are ways to reduce your capital gains taxes or even avoid them altogether. Are you planning to sell a home soon? Here’s what you can expect for capital gains taxes — and how to plan ahead.

Learn more How much does it cost to sell your house?

What is the capital gains tax on real estate?

A capital gain is a profit you make off an investment. All capital gains are taxed, but the type of tax (and amount) you’ll pay depends on how long you held the asset. If it was less than a year, the profits are treated like normal income and taxed at your ordinary tax rate. If you held the asset for more than a year, you’ll pay a specific capital gains tax.

We’ll go into these rates later on, but depending on your annual income, they can often be lower than your ordinary tax bracket.

Read more: What is taxable income?

When do you pay capital gains tax on real estate?

You’ll owe capital gains taxes when you sell a home for more than it cost you — and you’ve owned that home for more than one year. (According to the IRS, you can start counting from the day after you acquired the house until the day you sold it.)

The payment won’t actually come due until you file your tax returns the following year, though. So if you sold a home in 2025, you won’t pay the capital gains tax on those profits until you file your 2025 tax return in April of 2026. You’ll use a Schedule D form to report your capital gains when you do.

There are some scenarios when you may not owe capital gains taxes — for example, if you earn less than a certain income threshold. You also may qualify for a capital gains tax exclusion, which we’ll go into further down.

Learn more: Is now a good time to sell your house?

Up Next

How much is capital gains tax on real estate?

The cost of capital gains taxes depends on three main factors: How long you held the property before selling it, your total taxable income in the year you sold it, and how you file your taxes (e.g., filing as a single taxpayer versus jointly with your spouse).

Let’s look at all three factors:

  • Length of time holding the property: Capital gains are classified as either short-term or long-term. If you have an asset for over a year, the gain is long-term and taxed at the IRS’s capital gains tax rates (see table below). If it’s less than one year, it’s considered short-term capital gains and taxed based on your ordinary income tax bracket.

  • Taxable income: Capital gains tax rates vary by how much you make per year, with homeowners in lower annual income brackets paying 0% and those with higher incomes paying 15% to 20%.

  • Filing status: Income thresholds vary by filing status within each capital gains tax bracket. Single filers and married couples filing separately have the lowest income thresholds, while those married and filing jointly have the highest.

See the table below for a breakdown of what you’ll pay in capital gains taxes for the tax year 2025.

Keep in mind that tax laws change annually, so these brackets and tax rates could change for the 2026 tax year.

Learn more: How to choose the right federal tax filing status

Calculating your capital gains tax

You only owe capital gains taxes on the profits from your home sale. To calculate how much you owe, you’d first find your capital gains tax bracket on the above table. Then, you’d multiply that by your total profit.

For example, if you’re in the 15% bracket, bought your home for $550,000 over a year ago, and the sale price was $900,000, your capital gains taxes would look like this:

  • Total capital gain: $450,000 (900,000 - 550,000)

  • Total capital gains tax owed: $67,500 (450,000 x 0.15)

In the above example, you’d owe $67,500 in capital gains taxes.

Learn more: Can you get a tax break for selling your house at a loss?

How to avoid capital gains tax on real estate

Capital gains taxes may look pricey, but there are several ways to reduce them or even avoid paying them altogether. Here are some options.

Capital gains tax exclusion

When selling your house, the best way to avoid capital gains taxes is to use the IRS’ capital gains tax exclusion. This exempts you from paying capital gains taxes on up to $500,000 of capital gains on a home sale (if you’re married filing your taxes jointly) or $250,000 (for other taxpayers) — but only if you meet specific requirements.

To qualify, you must have owned and used the property as your residence for at least two years (24 total months) out of the last five years. Also, the sale must be of your “main home,” which the IRS says is the address you use for the U.S. Postal Service, on your voter registration card, on your tax returns, or on your driver’s license and car registration. You also must not have excluded the gain of another home sale within the last two years.

Note: There are quite a few special exceptions and rules regarding this exemption, so make sure you go through the IRS' step-by-step guide or speak with a tax advisor to determine if you qualify. It’s also possible to qualify for only a partial exclusion in some situations.

Read more: How soon after buying a home can you sell it?

Reduce your taxable income

If your income is below a certain threshold (see table above), you may fall into the 0% capital gains tax bracket, exempting you from paying capital gains taxes on any profit you earn from your home’s sale.

To do this, you can:

  • Max out your 401(k) contributions, as the earnings used toward these contributions won’t qualify as taxable income.

  • Make charitable donations, which are deductible up to a certain threshold.

  • Contribute to your health savings account (HSA) if you have one, as these contributions are also tax deductible.

  • Find additional tax deductions you may be eligible for.

Tax deductions reduce your taxable income, and many are available — including ones for mortgage interest, property taxes, and home office costs. Remember that taking these means itemizing your deductions, or writing off these costs one by one.

Taking the standard deduction (a single, lump-sum deduction) has typically offered the most annual savings for taxpayers, but with the 2025 increase for certain itemized deductions, including the state and local taxes deduction (SALT), the calculations could change for some households. Consult a tax professional to determine which method is best for your tax returns and learn about other tax deductions you might qualify for.

Dig deeper: Should you take the standard or itemized tax deduction?

Use a 1031 exchange

If you rent your property out or use it for business purposes, you have another option: a 1031 exchange. This is a type of swap in what the IRS calls “like-kind” properties and assets, allowing you to take one asset (or the proceeds from that asset’s sale) and then reinvest those into a similar asset within a certain time period, essentially deferring your capital gains taxes until later on. The 1031 is for business and investment properties, not primary residences.

If you opt for this strategy, make sure you consult a 1031 specialist, as they can be complicated transactions.

Get professional help

If you’re looking to minimize the taxes you pay on your upcoming home sale, speak to a local tax professional in your area. They can help you estimate what taxes you will owe and show you how to reduce or even eliminate them altogether.

Learn more: 8 tax deductions for homeowners

Capital gains on real estate FAQs

Do you pay capital gains for selling a house?

You might pay capital gains taxes when you sell a house, but it depends on your total annual income, tax filing status, and how long you owned the home. Many homeowners qualify for an exclusion that exempts them from some, or even all, of the capital gains taxes on their home sale.

How are capital gains taxes calculated on the sale of real estate?

Capital gains taxes are based on your income, tax filing status, sales profits, and the length of time you held the property. If you had the home for less than one year, your sale profits will be taxed at your ordinary tax rate.

How do you avoid capital gains on real estate?

To avoid paying capital gains taxes when selling real estate, you can use the capital gains tax exclusion (if eligible), sell the home through a like-kind 1031 exchange, or reduce your taxable income. If you make below a certain income, the capital gains tax rate is 0%.

How do you calculate capital gains tax on a property sale?

There can be some nuances, but generally speaking, you’ll take your sale proceeds and subtract the cost of your home. You’ll then multiply that number by your capital gains tax rate, which is determined by your household income and tax filing status.

Who is subject to the 15% capital gains tax?

You’ll be subject to a 15% capital gains tax if you make between $48,351 and $533,400 as a taxpayer filing solo; between $48,351 and $300,000 if you’re married and file your returns separately; between $96,701 and $600,050 if you’re married and file jointly; and between $64,751 and $566,700 if you file as a head of household.

This article was edited by Laura Grace Tarpley.

Read More

Property tax deductions have changed — here’s what you can write off today

Property tax deductions have changed — here’s what you can write off today

Property taxes are one of the many costs of homeownership that can be tax deductible. Learn if you’re eligible for this deduction and how much you can write off.

Are tips taxable? Here's how the new 'no tax on tips' deduction works.

Are tips taxable? Here's how the new 'no tax on tips' deduction works.

"No tax on tips" isn’t as simple as it sounds. Learn how the new deduction works, who qualifies, and how it affects your 2025 taxes.

Are HOA fees tax deductible? Sometimes — here's when.

Are HOA fees tax deductible? Sometimes — here's when.

Homeowners’ association fees usually are not tax deductible — but there are exceptions. Find out if you meet the requirements to deduct HOA fees from your taxes.

8 tax deductions for homeowners under the OBBB

8 tax deductions for homeowners under the OBBB

Homeowners face new tax rules in 2026 under the OBBB. Here's what's new, plus 8 deductions homeowners should know about.

Betting on the 2026 Super Bowl? Here are the taxes you might owe.

Betting on the 2026 Super Bowl? Here are the taxes you might owe.

If you’re betting on the Super Bowl, your wins and losses will have tax consequences. Here’s what to know.

Up Next