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

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 is a simple trick for avoiding capital gains tax? ›

An easy and impactful way to reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes at all on the assets in the account.

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 long to live in a house to avoid capital gains? ›

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. The seller must not have sold a home in the last two years and claimed the capital gains tax exclusion.

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.

Are there any loopholes for capital gains tax? ›

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 do I get zero capital gains tax? ›

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.

Do you pay capital gains if you reinvest in real estate? ›

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 pay capital gains after age 65? ›

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

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.

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.

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.

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

What Are the Two Rules of the Exclusion on Capital Gains for Homeowners? Here's the most important thing you need to know: To qualify for the $250,000/$500,000 home sale exclusion, you must (1) own and occupy the home as your principal residence (2) for at least two of the five years before you sell it.

Do I pay taxes to the IRS when I sell my house? ›

If you do not qualify for the exclusion or choose not to take the exclusion, you may owe tax on the gain. Your gain is usually the difference between what you paid for your home and the sale amount. Use Selling Your Home (IRS Publication 523) to: Determine if you have a gain or loss on the sale of your home.

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.

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.

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.

Top Articles
Latest Posts
Article information

Author: Greg Kuvalis

Last Updated:

Views: 5883

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Greg Kuvalis

Birthday: 1996-12-20

Address: 53157 Trantow Inlet, Townemouth, FL 92564-0267

Phone: +68218650356656

Job: IT Representative

Hobby: Knitting, Amateur radio, Skiing, Running, Mountain biking, Slacklining, Electronics

Introduction: My name is Greg Kuvalis, I am a witty, spotless, beautiful, charming, delightful, thankful, beautiful person who loves writing and wants to share my knowledge and understanding with you.