News & Trending Tax News

10 Savvy (And Legal) Ways To Avoid Capital Gains Tax on Real Estate

Thoughtful planning can go a long way toward reducing what you owe to the government.

large suburban house with ‘for sale’ sign displayed outside
Updated Jan. 2, 2025
Fact checked

When you sell a property you own, the profit you earn is considered a capital gain. In some cases, you might have to pay taxes on this gain.

Although long-term capital gains — which involve owning something for more than a year — are taxed more favorably than standard income, they still amount to money out of your pocket. Depending on the situation, your tax bill can be substantial.

Luckily, you can employ some thoughtful strategies to lower your capital gains taxes. The following tax-savings options might help you eliminate some money stress.

Steal this billionaire wealth-building technique

The ultra-rich have also been investing in art from big names like Picasso and Bansky for centuries. And it's for a good reason: Contemporary art prices have outpaced the S&P 500 by 136% over the last 27 years.

A new company called Masterworks is now allowing everyday investors to get in on this type of previously-exclusive investment. You can buy a small slice of $1-$30 million paintings from iconic artists, all without needing any art expertise.

If you have at least $10k to invest and are ready to explore diversifying beyond stocks and bonds,see what Masterworks has on offer. (Hurry, they often sell out!)

What is capital gains tax?

Andrey Popov/Adobe Online Real Estate Location Search

When you sell an asset such as a piece of real estate, the profit you earn is a capital gain. In many cases, you have to pay a capital gains tax on this windfall. The rate of the tax varies based on both how long you held the asset and your income.

Short-term capital gains taxes apply to the profit from assets that you held for one year or less. If you held the asset for a year or less, the profit typically is taxed at the same rate as your ordinary income.

Long-term capital gain taxes apply to the profit from assets that you held for more than one year. Long-term capital gains are taxed more favorably. In most cases, you will pay either 0%, 15%, or 20% on the capital gain, with the percentage being determined by your taxable income for the year.

Here are some ways to avoid paying — or to at least reduce — capital gains tax on real estate.

Want to learn how to build wealth like the 1%? Sign up for Worthy to get ideas and advice delivered to your inbox.

Make sure your gain is under $250,000 or $500,000

Freedomz/Adobe customer shaking hands

If you are a single person who sells your primary residence, you may qualify to exclude up to $250,000 of that capital gain from your tax bill. For married couples filing jointly, the exclusion amount increases to $500,000.

In order to qualify for this tax break, you must have lived in the property as a primary residence for at least two of the previous five years.

Homeowners who sell their property and keep the capital gain under this threshold will not owe capital gains taxes.

Live in the house for 2 of the past 5 years

pikselstock/Adobe senior couple reviewing taxes using laptop

As we have mentioned, if you live in the house for at least two of the last five years, you might qualify for a capital gains tax exclusion.

So, let’s say you own a home before moving out and renting it for three years. In the fourth year, your tenant moves out and you move back in.

You have now lived in the home for two of the past five years and would qualify for the capital gains tax exclusion.

Resolve $10,000 or more of your debt

Credit card debt is suffocating. It constantly weighs on your mind and controls every choice you make. You can end up emotionally and even physically drained from it. And even though you make regular payments, it feels like you can never make any progress because of the interest.

National Debt Relief could help you resolve your credit card debt with an affordable plan that works for you. Just tell them your situation, then find out your debt relief options.1

How to get National Debt Relief to help you resolve your debt: Sign up for a free debt assessment here. (Do not skip this step!) By signing up for a free assessment, National Debt Relief can assist you in settling your debt, but only if you schedule the assessment.

Try it

Make sure you have not claimed the exclusion in recent years

N Lawrenson/peopleimages.com senior couple doing handshake

Homeowners who want to pursue the capital gains tax exclusion cannot do so if they already have claimed such an exclusion during the previous two years.

So, you will need to make it past the two-year mark before you can sell the home and use the capital gains tax home sale exclusion option again.

Move into a rental home you own for 2 years before selling

karagrubis/Adobe paper for rent sign

Here is another scenario: You buy a rental property and keep it occupied with tenants for 20 years. Then, you stop renting out the building and move into it yourself.

Once you have lived in the property for two years as your primary residence, you will qualify to shield as much as $500,000 in profit from capital gains taxes, depending on your tax-filing status.

Convert a vacation home into a primary home

desertsands/Adobe island with house

Just as you can move into a rental property for two years to qualify for the capital gains exclusion, you can do the same thing with a vacation home.

So, if you keep a primary home in the city and a vacation home at the lake — both for 10 years — you could sell the primary home and get the capital gains tax exclusion before moving into the lake home full time.

After a few years, you could then sell the lake home and also get a capital gains exclusion even if the home was not your primary residence for the majority of the time you owned it.

Inherit the home and get a ‘step up in basis’

InsideCreativeHouse/Adobe insurance agent

When you inherit a home, you’ll generally receive a “step up in basis.” This means that for tax purposes, the value of the home will be adjusted to its fair market value at the time of the inheritance. In essence, this wipes out the gain for tax purposes and starts you over at ground zero.

For example, let’s say your parents bought a home for $100,000 that appreciated to $700,000 at the time of the last parent’s death. If you inherit the property, you will receive a step up in basis to the fair market value of the home — in this case, $700,000.

If you turned around and immediately sold the home for $700,000, you would owe nothing in capital gains taxes. Without the step up in basis, you would have owed capital gains taxes on $600,000 worth of profit.

See if you qualify for the 'widowed taxpayer' break

InsideCreativeHouse/Adobe  freelancer businessman working from home

If you were recently widowed, you might still qualify for the capital gains tax exclusion of $500,000, which is generally available only to married couples filing jointly.

In order to qualify, you must sell your home within two years of your spouse’s death, remain unmarried and have lived in the property for at least two of the previous five years.

Rent out your vacation home

Framestock/Adobe  family gets out of the car,

If you have a second home, you could choose to rent it out to help cover expenses, including capital gains taxes.

Although this strategy won’t necessarily lower your capital gains taxes when you sell, the rental income you generate could help offset the cost of the capital gains taxes.

Earn cash back on everyday purchases with this rare account

Want to earn cash back on your everyday purchases without using a credit card? With the Discover®️ Cashback Debit Checking account (member FDIC), you can earn 1% cash back on up to $3,000 in debit card purchases each month!2

With no credit check to apply and no monthly fees to worry about, you can earn nearly passive income on purchases you’re making anyway — up to an extra $360 a year!

This rare checking account has other great perks too, like access to your paycheck up to 2 days early with Early Pay, no minimum deposit or monthly balance requirements, over 60K fee-free ATMs, and the ability to add cash to your account at Walmart stores nationwide.

Don’t leave money on the table — it only takes minutes to apply and it won’t impact your credit score.

Apply for a Discover Cashback Checking account today

Use a 1031 exchange to defer the tax

cherryandbees/Adobe elderly woman doing taxes

If you are an investor planning to reinvest the proceeds of the sale into a similar property, a 1031 exchange can help you defer the tax bill until later.

If you don’t follow the precise rules of a 1031 exchange to obtain a similar property, you might get stuck paying capital gains taxes. So, you might want to consult with a tax professional or other financial expert before pursuing this route.

See if a 'special situation' qualifies you for a break

Pcess609/Adobe man calculate domestic bills at home

A special situation, like a divorce or military transfer, could make you eligible to pay less on the capital gain generated from a home sale.

The details vary significantly based on your situation. So, consider talking with a tax professional if you want to find out if you qualify for one of these special situations — and the tax break.

Bottom line

Aldeca Productions/Adobe Hands with keys home background

Capital gains taxes can add up quickly. Fortunately, homeowners who know the rules can often map out a plan to avoid paying too much in such taxes.

As you build wealth, learning the rules of the tax code can help you make the most of your resources.

Lucrative, Flat-Rate Cash Rewards

5.0
info

Wells Fargo Active Cash® Card

Current Offer

$200 cash rewards bonus after spending $500 in purchases in the first 3 months

Annual Fee

$0

Rewards Rate

Earn unlimited 2% cash rewards on purchases

Benefits and Drawbacks
Card Details