Capital Gains Tax on Real Estate – And 14 Ways to Avoid It (2024)

When you sell a property for a profit, you owe capital gains taxes on it. Maybe. Sometimes. If you don’t know how to avoid real estate capital taxes.

Because real estate investments come with a slew of tax advantages. While you own the property as a rental, you can take nearly two dozen landlord tax deductions. And when it comes time to sell, you can reduce or avoid capital gains taxes on real estate through another half dozen options.

Start thinking about your real estate exit strategies now, long before you’re actually ready to sell. By positioning yourself early, you can dodge the bullet of capital gains taxes on investment properties altogether.

Key Takeaways:

    • The IRS taxes your profits on real estate and other investments as capital gains.
    • The tax rate on capital gains is lower than regular income — if you owned the investment for at least a year.
    • Real estate investors have many options to reduce, defer, or avoid capital gains taxes.

In This Article:

What Are Capital Gains Taxes on Real Estate?

The IRS requires you to pay taxes on your profits when you buy low and sell high. Capital gains taxes apply whether you earn a profit buying and selling stocks, collectibles, or anything else of value — including real estate.

Uncle Sam calculates your capital gain by subtracting your cost basis (the amount you paid) from the sale price, minus any expenses such as Realtor fees. As with all income and profits, you must report these gains to the IRS.

You can sometimes increase your cost basis to lower your capital gains. For example, you can add some purchase closing costs to your cost basis. Likewise, you can add the cost of property improvements to lift your cost basis and reduce your taxable gain.

Nt all capital gains are treated equally. Capital gain taxes depend on how long you owned the asset, whether you lived in the property as your primary residence, and any adjustments you can make to your cost basis. Homeowners get a special exemption from capital gains taxes, up to $250,000 per spouse (more on that shortly).

Lower capital gains taxes apply to assets you owned for at least a year, referred to as long-term capital gains.

How Much Is Capital Gains Tax in Real Estate?

If you own an asset for less than a year, you’ll owe short-term capital gains tax on it. The IRS taxes these short-term profits at the regular income tax bracket rates. For example, if you pay taxes at the 24% tax bracket, you’ll owe Uncle Sam 24% of your short-term capital gains from that year.

If you hold an asset longer than a year, the IRS taxes your gains at a lower tax rate. Expect to pay 0-20% (exact tax tables below).

Another crucial difference between how capital gains are taxed versus ordinary income: you don’t pay different tax rates for different income segments. If your total taxable income is above the threshold for paying 15% capital gains tax, all of your capital gains are taxed at 15%.

For example, say you earned $150,000 last year, of which $50,000 were long-term capital gains. You pay 15% of the total capital gains, rather than paying 0% on one portion and 15% on another (the way that ordinary income tax brackets work. You’d pay a total capital gains tax bill of $7,500 for the year.

Short-Term vs. Long-Term Capital Gains

Before diving into individual strategies to avoid real estate capital gains taxes, you first need a baseline understanding of short-term versus long-term capital gains.

If you own an asset — any asset — for less than a year and then sell it for a profit, the IRS classifies that profit as a short-term capital gain, taxed at your regular income tax rates. For example, say you flip a house and earn a $50,000 profit on top of your $85,000 salary. As a single person, you would pay taxes on that extra $50,000 in income at the 24% federal tax rate.

Regular income tax rates, and therefore short-term capital gains tax rates, read as follows in 2023:

Tax RateSingleMarried Filing JointlyHead of Household
10%$0 – $11,000$0 – $22,000$0 – $15,700
12%$11,001 – $44,725
$22,001 – $89,450
$15,701 – $59,850
22%$44,726 – $95,375
$89,451 – $190,750
$59,851 – $95,350
24%$95,376 – $182,100
$190,751 – $364,200
$95,351 – $182,100
32%$182,101 – $231,250
$364,201 – $462,500
$182,101 – $231,250
35%$231,251 – $578,125
$462,501 – $693,750
$231,251 – $578,100
37%$578,126 and up
$693,751 and up$578,101 and up

But when you own an asset for more than a year and sell it for a profit, the IRS classifies that income as a long-term capital gain. Instead of taxing it at your regular income tax rate, they tax it at the lower long-term capital gains tax rate (15% for most Americans).

Here are the long-term capital gains tax brackets for tax year 2022:

Capital Gains Tax RateSingleMarried Filing JointlyHead of Household
0%$0 – $47,025$0 – $94,050$0 – $63,000
15%$47,026– $518,900$94,051 – $583,750$63,001 – $551,350
20%518,901 and up$583,751 and up$551,351 and up
Additional Net Investment Income Tax
3.8%MAGI above $200,000MAGI above $250,000MAGI above $200,000

And the long-term capital gains brackets for 2023:

Capital Gains Tax RateSingleMarried Filing JointlyHead of Household
0%$0 – $44,625$0 – $89,250$0 – $59,750
15%$44,626 – $492,300$89,251 – $553,850$59,751 – $523,050
20%$492,301 and up$553,851 and up$523,051 and up
Additional Net Investment Income Tax (NIIT)
3.8%MAGI above $200,000MAGI above $250,000MAGI above $200,000

The easiest way to lower your capital gains taxes is simply to own the asset, whether real estate or stocks, for at least a year.

Capital Gains Tax on Home Sales vs. Rental Properties

The short version: homeowners get an exemption on capital gains tax (under some circ*mstances). Landlords don’t.

Single homeowners can avoid capital gains tax on the first $250,000 of profits; married homeowners can dodge capital gains tax on up to $500,000. They must have lived in the property for at least two of the last five years however. That means second homes or vacation homes don’t qualify (more on the Section 121 exclusion below). House hackers who live in a property with up to four units, or a single-family property with an accessory dwelling unit, do qualify for the exclusion.

Real estate investors don’t get this homeowner exclusion for capital gains tax. So how can they avoid capital taxes on real estate?

When Do You Pay Capital Gains Tax on a Home Sale?

You typically pay capital gains taxes on sold properties along with the rest of your tax return on April 15.

However the IRS may hit you with a penalty if you owe a large capital gains tax bill and fail to make estimated tax payments throughout the same tax year. Specifically, the IRS says “Generally, you must make estimated tax payments for the current tax year if both of the following apply:

    • You expect to owe at least $1,000 in tax for the current tax year after subtracting your withholding and refundable credits, and
    • You expect your withholding and refundable credits to be less than the smaller of:
      • 90% of the tax to be shown on your current year’s tax return, or
      • 100% of the tax shown on your prior year’s tax return. (Your prior year’s tax return must cover all 12 months.)”

Speak to your tax advisor about estimated tax payments if you expect a large profit on the sale of a property.

How to Avoid Capital Gains Tax on Real Estate

No one wants to pay more taxes than they have to. But as a real estate investor, you have far more options than the average American to lower your taxes, at least on the profits from your investment properties.

Beyond owning the property for at least a year, try the following tax tactics to reduce or eliminate your real estate capital gains taxes entirely.

1. Avoid Capital Gains Tax on Your Primary Residence

When you sell a property that you’ve lived in for at least two of the last five years, you qualify for the homeowner exemption (also known as the Section 121 exclusion) for real estate capital gains taxes.

Single homeowners pay no capital gains taxes on the first $250,000 in profits from the sale of their home. Married homeowners filing jointly pay no taxes on their first $500,000 in profits.

You don’t have to live in the property for the last two years, either. Any two of the last five years qualifies you for the homeowner exclusion.

Consider doing a live-in flip, where you live in the property for two years as you renovate it, then sell it for a profit. It makes for a fun way to house hack, if you’re handy and enjoy fixing up old homes.

Alternatively, you could house hack a multifamily property, then either sell it after two years or keep it as a rental. Either way, you get to live for free and pay no real estate capital gains taxes! Toy around with our house hacking calculator to plug in any property’s cash flow numbers.

You can use the homeowner exemption repeatedly, moving as frequently as every two years and avoiding capital gains taxes. But you can’t use it twice within a two-year period.

2. Check If You Qualify for Other Homeowner Exceptions

Had to move in under two years? You may still qualify for a partial exemption from capital gains taxes on your primary residence.

The IRS offers several exceptions for homeowners who were forced to move, whether for a change of job, health issue, or other unforeseeable events. If you lived in the property for less than two years and were forced to move, speak with your accountant about any partial capital gains exemptions you might qualify for.

3. Raise Your Cost Basis by Documenting Expenses

Here’s a quick terminology lesson for non-accountants: your cost basis is what you paid for a property or other asset, including renovation costs.

Say you buy a property for $100,000, put $40,000 of repairs into it, then sell it for $200,000. You’d calculate your profit by subtracting your $140,000 cost basis from your $200,000 sales price, for a taxable profit of $60,000. (In the real world you’d have all kinds of other deductible expenses, such as the real estate agent’s commission, but they distract from the point at hand so we’re ignoring them.)

It’s easy enough to keep your receipts, invoices, and contracts when you’re flipping a house over the course of a few months. But what about when you own a rental property for 30 years? All those receipts, invoices, and contracts tend to get lost over the years, but they can help lower your capital gains tax bill when it comes time to sell.

The cost of every “capital improvement” you make to the property can add to your cost basis, reducing your taxable gains. Returning to the example above, you buy a rental property for $100,000, and over the next 30 years you pay $500 here and $1,500 there in capital improvements such as new windows, roof repairs, kitchen updates, landscaping, new driveways, and so forth. It adds up to $40,000 in total capital improvements, but it’s spread out over 30 years.

When you sell the property for $200,000, you can raise your cost basis by that $40,000 and pay capital gains on $60,000 rather than $100,000 — but only if you kept all those receipts and invoices. Save digital copies of all cost documents in a folder specifically for that property that you can pull up when it comes time to sell. It can save you tens of thousands of dollars in taxes!

Capital Gains Tax on Real Estate – And 14 Ways to Avoid It (2024)

FAQs

Capital Gains Tax on Real Estate – And 14 Ways to Avoid It? ›

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

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

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

Is there a capital gains loophole for real estate? ›

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.

How to avoid capital gains when selling a house? ›

Yes. 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.

What are the two rules of exclusion on capital gains for homeowners? ›

Sale of your principal residence. We conform to the IRS rules and allow you to exclude, up to a certain amount, the gain you make on the sale of your home. You may take an exclusion if you owned and used the home for at least 2 out of 5 years. In addition, you may only have one home at a time.

Are there any loopholes for capital gains tax? ›

There are a few ways to lower the capital gains tax bill you pay on profits from the sale of stock. You can claim your fees as a tax deduction, use tax-loss harvesting, or invest in tax-advantaged retirement accounts.

At what age do you not pay capital gains? ›

Whether you're 65 or 95, seniors must pay capital gains tax where it's due. This can be on the sale of real estate or other investments that have increased in value over their original purchase price, which is known as the “tax basis.”

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.

Do you have to pay capital gains after age 70 if you? ›

As of 2022, for a single filer aged 65 or older, if their total income is less than $40,000 (or $80,000 for couples), they don't owe any long-term capital gains tax. On the higher end, if a senior's income surpasses $441,450 (or $496,600 for couples), they'd be in the 20% long-term capital gains tax bracket.

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.

What improvements are allowed to offset capital gains? ›

Capital improvements vs. routine repairs
ImprovementDoes it qualify for a deduction?
Building a fence to enclose the yardYes
Adding an additional bedroomYes
Fixing or replacing the roofYes
Installing central air or an HVAC systemYes
9 more rows

How to offset capital gains tax? ›

To limit capital gains taxes, you can invest for the long-term, use tax-advantaged retirement accounts, and offset capital gains with capital losses.

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.

Who is exempt from capital gains tax? ›

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $44,625 for single and married filing separately; $89,250 for married filing jointly and qualifying surviving spouse; and. $59,750 for head of household.

What is the 121 reduced gain exclusion loophole? ›

Section 121 of the Internal Revenue Code, which is often referred to as the 121 exclusion, generally allows homeowners to sell real property held (owned) and used (lived in) as their primary residence and exclude from their taxable income up to $250,000 in capital gains per homeowner, and up to $500,000 in capital ...

Does a widow have to pay capital gains tax? ›

Widows get a $500k exclusion

Many widows downsize their homes after the death of a spouse in favor of a smaller abode or to move closer to family. If your spouse dies, you get to claim $500k exclusion on the capital gain from a house sale, if you lived in the house for two of the last five years.

How to avoid capital gains tax on investments? ›

How to Minimize or Avoid Capital Gains Tax
  1. Invest for the Long Term. You will pay the lowest capital gains tax rate if you find great companies and hold their stock long-term. ...
  2. Take Advantage of Tax-Deferred Retirement Plans. ...
  3. Use Capital Losses to Offset Gains. ...
  4. Watch Your Holding Periods. ...
  5. Pick Your Cost Basis.

What is the 2 out of 5 year rule? ›

When selling a primary residence property, capital gains from the sale can be deducted from the seller's owed taxes if the seller has lived in the property themselves for at least 2 of the previous 5 years leading up to the sale. That is the 2-out-of-5-years rule, in short.

Can I sell stock and reinvest without paying capital gains? ›

With some investments, you can reinvest proceeds to avoid capital gains, but for stock owned in regular taxable accounts, no such provision applies, and you'll pay capital gains taxes according to how long you held your investment.

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 6055

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.