How to Avoid Capital Gains Tax on Real Estate (2024)

How to Avoid Capital Gains Tax on Real Estate (1)

Home prices have nearly doubled in the last 10+ years – and that could mean you owe some serious taxes if you are selling your home. After bottoming out at around $259,000 in 2011, the average sale price of a house has marched steadily upward to more than $430,300 at the time of writing. This type of growth often leads to the sale of assets. Unfortunately, if you sell real estate for a profit you will owe capital gains taxes on the money. And, unlike the taxes held from wages, the IRS doesn’t take that money upfront. There are ways to make that hurt less though.

If you want help minimizing your tax bill from a home sale, consider working with a financial advisor.

What Are Capital Gains Taxes on Real Estate?

The capital gains tax is levied on any profits you make from selling an investment. This applies to most money that you make through buying and selling assets such as stocks, bonds and even real estate (such as your house). In the case of real estate, you would calculate your taxable profits as follows:

The price you sold the property for – The price you paid to buy the property = Taxable profits

So, for example, say you bought your home for $260,000 ten years ago. You sell it today for $450,000. You would owe capital gains taxes on $190,000 (the difference between your purchase price and your sale price).

Long-term capital gains, or gains on assets held for at least a year, are generally taxed at a much lower rate than earned income (money that you get from working). In 2024, for single/married filers the capital gains tax rates have been set at:

Filing Status0% Rate15% Rate20% Rate
Single$0 – $47,025$47,025 – $518,900Over $518,900
Married (filing jointly$0 – $94,050$94,050 – $583,750Over $583,750
Married (filing separately$0 – $47,025$47,025 – $291,850Over $291,850
Head of Household$0 – $63,000$63,000 – $551,350Over $551,350

For the 2023 tax year, the ranges were as follows:

Filing Status0% Rate15% Rate20% Rate
Single$0 – $44,625$44,625 – $492,300Over $492,300
Married (filing jointly$0 – $89,250$89,250 – $553,850Over $553,850
Married (filing separately$0 – $44,625$44,625 – $276,900Over $276,900
Head of Household$0 – $59,750$59,750 – $523,050Over $523,050

So, from our example above, say that you sold your house and made a $190,000 profit in 2023. Assuming that you’re single you would calculate capital gains taxes on this sale as follows:

  • $44,625 * 0 Percent = $0
  • ($190,000 – $44,625) = $145,375
  • $145,375 * 15 Percent = $21,806.25
  • $0 + $21,806.25 = $21,806.25

This is a simplified version of finding your capital gains tax burden, but the basics are there. You could owe $21,806.25 in taxes on this sale. This is a lot, even when you remember that you made $190,000 in profit with which to pay it. the IRS has carved out an exception to help homeowners with that problem.

The Capital Gains Exclusion

How to Avoid Capital Gains Tax on Real Estate (2)

If you profit from the sale of your home, you can exclude the first $250,000 of that profit from taxes, if you’re single. For married couples filing jointly, that number increases to $500,000. Critically, this exclusion applies to your gains, not the total sale. So from our example above, say you sold your home for $450,000 as a single person. Your profit from the sale came to $190,000. You could exclude that entire profit from your taxes and would owe nothing.

On the other hand, say you made a $280,000 profit off the sale. After the capital gains exclusion, you would owe taxes on the remaining $30,000. Which, since all of that would fall within the 0 percent capital gains tax bracket, again comes to $0 in taxes.

To qualify for this exclusion you must meet the ownership and use test. This means that you must have owned the house and used it as your main residence for at least two years out of the five years prior to its sale. This does not have to be continuous. You can live in the house periodically, so long as it comes to at least two years aggregate.

See IRS Publication 523 for a complete description of the exclusion test requirements. Members of the U.S. military, foreign service, Peace Corps and active intelligence can calculate their continuous use differently based on their deployment schedules.

Calculate Your Capital Gains Taxes Correctly

As we mentioned above, capital gains on the sale of a house are slightly more complicated than ordinary investment profits. 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. Sales costs generally apply to any money you spend selling the house. This includes broker’s fees, listing expenses, legal fees, advertising fees, money you spent making the house look more presentable for sale and other related costs.

The house’s tax basis is the cost of any major improvements you made to the property over the years. This is essentially any amount of money you spend on the physical structure that adds value to the home. It is reduced by any depreciation in that structure. For example, if you add a deck but then let it fall apart, although depreciation is an uncommon problem for actively inhabited houses.

So, for example, say that you are single and bought a house for $250,000. You sell it for $750,000. You have the following associated costs:

  • $40,000 in renovations to the kitchen and bathroom;
  • $35,000 in broker’s fees;
  • $2,500 spent on cleaning and staging for open houses;
  • $5,000 on lawyer’s fees and other associated closing costs.

You would calculate your taxable capital gains as follows:

  • $750,000 – ($250,000 + $40,000 + $35,000 + $2,500 + $5,000) = $417,500
  • $417,500 – $250,000 (the capital gains exclusion) = $167,500

You might owe taxes on $167,500.

Selling Your House in Less Than One Year Could Cost You

How to Avoid Capital Gains Tax on Real Estate (3)

If at all possible, do not sell your home in under a year.You must wait at least two years to sell your house in order to qualify for the capital gains exclusion. However, even if you don’t qualify for the exclusion you still can ordinarily pay the reduced tax rate levied on investment assets.

This reduced rate is what’s known as the long-term investment rate. It only applies to assets that you have held for more than a year. If you own your property for less than 12 months, you have to pay taxes on any profits at the ordinary income rate (that is, the rate at which the IRS taxes work and earned income). This can be significantly higher than the capital gains tax rate.

Bottom Line

The main way to reduce your capital gains taxes is by making sure you calculate all of the reductions that the IRS allows to your overall profits. After that, the capital gains exclusion will eliminate much of the money that most homeowners will make from their sales. If you’re not sure how to avoid as much tax as possible, it’s recommended that you work directly with a professional who has experience in real estate taxation.

Tips for Buying and Selling Real Estate

  • It’s great if you can make money off your home, but first and foremost this has to be a place to live. With SmartAsset’s Mortgage calculator you can figure out exactly what that new house will cost you, letting you make the right call for your budget and your future.
  • A financial advisor can help you with tax planning so you don’t overpay. Finding a financial advisor doesn’t have to be hard. SmartAsset’s free tool matches you with up to three vetted financial advisors who serve your area, and you can have a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.

Photo credit: ©iStock.com/LifestyleVisuals, ©iStock.com/fstop123, ©iStock.com/jhorrocks

How to Avoid Capital Gains Tax on Real Estate (2024)

FAQs

How to Avoid Capital Gains Tax on Real Estate? ›

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

How to avoid capital gains when selling a house? ›

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.

What can I offset against capital gains tax? ›

Allowable deductions for capital gains
  • The acquisition and creation of the asset concerned.
  • Where incurred as incidental costs of acquiring an asset.
  • For enhancement of the asset.
  • To establish, preserve or defend title to or rights over the asset.
  • They are incurred as the incidental costs of disposal of the asset.

Do I pay capital gains if I reinvest the proceeds from sale? ›

Do I Pay Capital Gains if I Reinvest the Proceeds From the Sale? While you'll still be obligated to pay capital gains after reinvesting proceeds from a sale, you can defer them. Reinvesting in a similar real estate investment property defers your earnings as well as your tax liabilities.

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.

How to pay zero taxes on capital gains? ›

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

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

You can sell your primary residence and be exempt from capital gains taxes on the first $250,000 if you are single and $500,000 if married filing jointly.

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.

What lowers 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.

What deductions can offset capital gains? ›

Types of Selling Expenses That Can Be Deducted From Home Sale Profit
  • advertising.
  • appraisal fees.
  • attorney fees.
  • closing fees.
  • document preparation fees.
  • escrow fees.
  • mortgage satisfaction fees.
  • notary fees.

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.

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 do I reinvest capital gains without paying 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 to avoid capital gains tax after selling investment property? ›

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.

How can I reduce capital gains when selling an investment property? ›

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 one way real estate investors can defer taxation of capital gains? ›

You can sell a property held for business or investment purposes and swap it for a new one that you purchase for the same purpose, allowing you to defer capital gains tax on the sale.

How can I avoid capital gains tax without a 1031 exchange? ›

Utilizing a Deferred Sales Trust, investors can defer capital gains taxes over time. Deferred Sales Trusts provide an alternative to 1031 exchanges for deferring capital gains taxes on appreciated assets.

How do I avoid capital gains tax on my investment account? ›

9 Ways to Avoid Capital Gains Taxes on Stocks
  1. Invest for the Long Term. ...
  2. Contribute to Your Retirement Accounts. ...
  3. Pick Your Cost Basis. ...
  4. Lower Your Tax Bracket. ...
  5. Harvest Losses to Offset Gains. ...
  6. Move to a Tax-Friendly State. ...
  7. Donate Stock to Charity. ...
  8. Invest in an Opportunity Zone.
Mar 6, 2024

Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 6355

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.