Skip to content
Home Blog Real Estate Business Management

10 Simple Ways To Minimize Or Avoid Capital Gains Taxes In Real Estate

G. Brian Davis
Updated: April 19, 2023 12 min read
10 Simple Ways To Minimize Or Avoid Capital Gains Taxes In Real Estate

The only two inevitable things in life are death and taxes, right? Well, sort of. Savvy real estate investors have more loopholes than most to reduce their tax burden. But you need to know what those real estate tax loopholes are if you want to take advantage of them. Capital gains tax is one thing that investors can benefit from knowing more about. Capital gains are the taxes you pay on the profit when you sell your home. There are ways around paying this tax and deferring it. This is in part due to some changes that were made when the Taxpayer Relief Act of 1997 was enacted.

This Act made it so that homeowners can exclude up to $500,000 from capital gains tax when they sell their homes. Before this, they had to purchase another home that was of equal or greater value to avoid paying capital gains on profits from selling a home.

Here’s exactly what you need to know about the capital gains tax on a home sale — and how to pay as little as possible.

What Is the Capital Gains Tax on Real Estate?

When you buy low and sell high for a profit, that profit is called capital gains. What you’re buying and selling doesn’t particularly matter; it could be stocks, real estate, vintage cars, or anything else. If you buy it for $100 and sell it for $150, you will owe taxes on the $50 profit, called the taxable gain. So when you earn a profit, you pay capital gains tax on real estate that you sell to make that profit.

Short-term vs. long-term capital gains taxes

If you own the asset for less than a year, that profit is taxed as ordinary income. Whatever your normal income tax rate is, that’s what you pay on those gains. This is referred to as a short-term capital gain.

But different tax rules apply if you own the asset for more than a year. Instead of being taxed at your normal income tax rate, these profits are taxed at the lower tax rate for long-term capital gains.

Here’s how the long-term capital gains tax brackets look for a single filer, compared to ordinary income taxes.

Single filerNormal income tax rateLong-term capital gains rate
Up to $9,70010%0%
$9,701 to $39,47512%0%
$39,476 to $84,20022%15%
$84,201 to $160,72524%15%
$160,726 to $204,10032%15%
$204,101 to $434,55035%15%
$434,551 to $510,30035%20%
$510,301 or more37%20%

That’s the first piece of good news: Long-term capital gains tax is significantly lower than normal income tax rates. But the news gets even better. As a real estate investor, you have some tricks up your sleeve to avoid paying even those lower long-term capital gains tax rates.

How Do Capital Gains Taxes Work With Real Estate? 

In a real estate transaction, you pay capital gains taxes on the difference between what you paid for your home and what you sell it for. Let’s say you purchased your home five years ago for $180,000. Now, you can sell your home for $240,000. That’s a potential profit of $60,000, which is the amount you’ll pay capital gains taxes on when you collect the money from the sale at closing.

When do you have to pay capital gains tax?

You don’t pay capital gains taxes on property until you sell it, so equity doesn’t factor into how capital gains taxes work. The capital gains will be due when you file taxes for the year in which you sell the home. 

The capital gains tax amount you pay is based on a variety of factors, including how long you own the home. You may have a chance to defer the capital gains tax when you sell a home, but you should talk to your tax adviser to find out what your options are and how they can benefit you.

How Much Is Capital Gains Tax?

The capital gains tax rate depends on your income tax bracket, how long you own the home, and whether the home was your main residence. Long-term capital gains are taxed at a lower rate, so the longer you hold the asset, the less you might pay in capital gains. If you live in the home for a specified time, you can also avoid paying capital gains tax. There’s no set amount you pay in capital gains since your rate is determined by your income tax bracket. 

What is the capital gains tax rate?

For the 2023 tax year, the long-term capital gains rate is either 0%, 15%, or 20% depending on your income and filing status. For example, a single person making up to $44,625 will pay 0% in capital gains tax. However, if their income goes above that amount up to $492,300, they jump to the 15% capital gains tax bracket. If they make anything over that, they’ll be taxed 20% on capital gains they earn.

Married couples filing jointly can make up to $89,250 and pay 0% on capital gains, while anything over $553,850 will put them in the 20% bracket for capital gains taxes. Someone filing as head of household can make up to $59,750 and still be in the 0% capital gains tax bracket. They pay 15% on capital gains as long as they don’t make more than $523,050, but if they go over that income, they will pay 20% capital gains tax.

Capital Gains Tax Exemptions for Real Estate 

Capital gains tax is assessed when an asset is sold for a profit, but the IRS does have an exception for real estate sales, known as the home sale gain exclusion. The exclusion says that when a primary residence is sold, as much as $250,000 in capital gains can be excluded from taxation.

The wording of the rule indicates that second homes don’t usually qualify for the capital gains exclusion, only primary residences. The only exception is if your second home has served as your primary residence for any two years out of the previous five years. You could have used it as an investment property for a portion of the five years and collected rent when you weren’t living there.

How to Avoid Paying Capital Gains Tax on Your Property 

Hate paying taxes? Us too. After all, it’s awfully hard to reach financial freedom at a young age if you lose 30% to 50% of your income to FICA taxes and federal, state, and local income taxes. Sure, you can use depreciation and recapture to defer and lower your taxes, but if you can avoid capital gains tax or reduce it, that’s something worth looking into.

Here are 10 ways to cut capital gains taxes — legally — as part of your tax toolkit.

1. Hold properties for at least a year

This one’s obvious, so let’s get it out of the way. If you own a property for less than a year and sell it for a profit, you pay a higher income tax rate. The lesson here is not to sell right away.

After renovating a property, keep it as a rental for a year. Your tenants can pay down the mortgage while the property (hopefully) appreciates.

Or, if you don’t want to risk tenants damaging your beautifully rehabbed home, buy a rental property with an existing tenant, leave them in there for a year, or wait until they move out, and then rehab and sell it.

2. Move in for two years

If you’ve lived in your home for at least two of the last five years, capital gains tax on the sale of your home is exempt up to $250,000 for single filers and $500,000 for married couples.

You could do a live-in flip, making repairs on the property over the course of two years, then upping the sale price and selling for a profit — a profit that you get to keep tax-free.

Or you can convert the home into a rental for a few years to gain even more appreciation before selling. Alternatively, you could reverse the order and move into your rental property for two years before selling.

As long as you’ve lived in it for two of the last five years, you can dodge the capital gains tax bullet. There are a few more intricate rules to pay attention to, however — read more from the IRS here about Section 121 exclusions.

3. Use a 1031 exchange

Another option offered by the IRS is “like-kind exchanges” per Section 1031 of the tax code. The short version is, you can take the proceeds from selling one property, use them to buy similar property and defer the capital gains taxes on the sold property. That requires a bit of unpacking to be useful for those who aren’t financial experts.

First, a “like-kind” property usually means a property used similarly. For example, you can sell a rental property and use the profits to buy another rental property. But you can’t use them to buy a Ferrari.

Second, there’s a time limit. Within 45 days of selling the original property, you have to “nominate”—identify to the IRS—the new replacement property you’ll be buying. Then, you have to actually buy it within a total of 180 days from when you sold the old property.

Finally, the word “defer” requires explanation, too. A 1031 exchange doesn’t mean you never have to pay taxes on your gains. When and if you ever sell the new property for a profit, you’ll owe capital gains taxes on it.

That is unless you do another 1031 exchange, in which case you can keep buying ever-larger and higher-yield investment properties and keep deferring capital gains taxes indefinitely. And you can do this all while living on a rental income.

4. Invest through a self-directed IRA

You can buy and sell properties within a self-directed IRA or Roth IRA and continually reinvest the proceeds. Of course, when you actually retire and go to pull that money out, you’ll owe taxes on the gains then — at least in the case of traditional IRAs. Withdrawals on Roth IRAs, however, are completely tax-free.

The downside is that there’s some work involved in setting up a self-directed IRA as well as some expenses. That’s on top of the work involved in buying, managing, and selling properties.

5. Keep records on capital improvements

When you make any capital improvements — upgrades that extend the lifespan of the property — they add to your cost basis for the property. For the non-accountants out there, your cost basis is how much you paid for the property (at least as far as Uncle Sam is concerned). If you buy a property for $100,000, your cost basis is $100,000, and that’s what’s used to determine your capital gains (unless you deduct for depreciation every year, but that’s a whole different conversation).

Let’s say you bought a property for $100,000 and sold it for $150,000. Normally you’d subtract the $100,000 cost basis from your $150,000 sales price to calculate a $50,000 capital gain. But what if you spent $15,000 on a new roof while you owned the property? That changes your cost basis from $100,000 to $115,000.

Now, instead of owing capital gains taxes on $50,000, you only owe it on $35,000 because the capital improvement to the investment property increased your cost basis. But only if you keep good records and remember to account for the improvement costs when you file your taxes.

6. Sell assets when your income falls

Over the last few years, you did pretty well for yourself. Then you got fired and spent six months finding a new job or starting a new business.

If you’re having a rough year income-wise, it’s a good time to sell a property because, at a lower income, you may well owe 0% in capital gains tax.

Specifically, if you’re single and your adjusted gross income is under $44,625, or married and your adjusted gross income is under $89,250, you don’t owe a cent in capital gains taxes.

Besides, if you’re that broke this year, you might need to save money on your taxes.

7. Reduce your taxable income

We would never suggest you take a pay cut just for tax reasons. But you can do other things to lower your adjusted gross income, such as contributing money to a tax-deferred account.

You should be contributing to your retirement accounts every year regardless, such as your IRA and ideally an employer-sponsored account like a 401(k), 403(b), or SIMPLE IRA. But you may be able to also lower your adjusted gross income by switching or contributing more to a health savings account — a great option for relatively healthy people.

You can also reduce your adjusted gross income through tax deductions, although itemizing is less common today, with the standard deduction at $12,200 for individuals and $24,400 for married couples.

Remember, if your adjusted gross income is under $44,625 for singles or $89,250 for those filing as married, you don’t owe capital gains taxes.

8. Harvest losses

Another option for offsetting income from capital gains is harvesting losses. Once again, don’t sell off stocks or other assets at a loss solely for tax reasons. But if you’ve been sitting on a loser stock for a while now, kicking yourself for buying it in the first place, and have been meaning to just cut your losses and move on, now might be the perfect time to do just that.

Say you realize a $10,000 loss on that loser stock by selling, and you realize a $50,000 gain after selling a rental property. The loss offsets your gain, so you now owe capital gains taxes on $40,000 instead of the full $50,000. Plus, you can take your proceeds from the loser stock and reinvest them in a more promising investment, whether it’s stocks, real estate, or your own business.

9. Gift properties to family members

Older property owners start thinking more about their estate planning and how to pass their assets on to their heirs with minimal taxes for both parties. One option is gifting properties directly to your children while you’re still alive. If they keep the property for the rental income, great. If they decide to sell it, they may be in a lower tax bracket and may owe no capital gains taxes.

Either way, you don’t pay the capital gains taxes.

But there’s a catch here. When you give a property to your children while you’re still alive, the cost basis passes to them. So, if you bought the property for $100,000, it’s now worth $150,000, and they sell it for a $50,000 profit, they owe capital gains taxes on that $50,000 gain because they inherited your cost basis.

Alternatively, if you pass it to them as part of your estate when you die, their cost basis resets to the market value at the time of your death, so that often makes more sense. If your children would like to live in the property for at least two years, that changes everything because they can then qualify for the personal residence exemption outlined above.

As a final thought, you can gift cash, stocks, or other assets beyond physical property. Every year, you can give a certain amount to your children tax-free. In 2023, it’s $17,000 per person.

10. Donate the property to charity

Feeling generous? If you’re reading this article, you are probably in the top 1% of income earners in the world. Don’t believe me? To be in the top 1% globally requires an annual income of $32,400, according to Global Rich List.

You’re doing a lot better than most people in this world. I don’t say it to make you feel guilty; wealth can be a wonderful thing. But at a certain point, it’s worth pausing to give something back to people who need it most.

And let’s be honest, you can redistribute your own wealth far more efficiently than the government can with your tax money. Instead of selling and paying capital gains taxes on your earnings, consider giving the property to a charitable organization. Not only do you avoid capital gains taxes, but you may be able to take a deduction from your ordinary income as well.

FAQs

These answers to frequently asked questions can help you get a better idea of what capital gains taxes are and whether you should worry about them:

What triggers capital gains tax on real estate?

When you sell a property, you have to pay capital gains tax on the profit from the sale. This means that if you bought a home for $100,000 and you sell it later for $200,000, you owe capital gains tax on the $100,000 difference between what you bought it for and the final sale price. You don’t pay capital gains until you sell the home, regardless of how much it goes up in value. So selling your home for a profit is the only thing that can trigger capital gains tax on real estate.

How long do you need to own a house before selling it to avoid capital gains?

One way around paying capital gains tax is to live in the home you are selling or own it for at least two out of the last five years. If you do, you can avoid paying capital gains taxes on up to $250,000 if you’re a single person or twice that amount for married couples filing jointly. In addition, long-term capital gains tax is for assets you’ve owned for at least a year. So to get the 0% rate for long-term capital gains tax, you have to own the house for a year or more and be in a certain income tax bracket before you sell it.

Can you avoid capital gains tax by buying another house?

Like-kind exchanges, or buying another house for one you plan to use for a similar reason to the one you sold, allows you to defer capital gains tax until you sell the new asset. To do this, you have to sell your first property and then put the profits from the sale immediately into the next property, or within at least 180 days. 

Using your profits this way can eliminate the need to pay capital gains tax right after you sell the home, but you won’t avoid paying capital gains taxes altogether. Instead, you’re just deferring the capital gains taxes, which will come out of the next home you sell unless you defer the capital gains tax again.

Do you pay capital gains tax if you lose money on a property sale?

You can’t be taxed on gains if you don’t make any, so you have to keep in mind that with capital gains tax, you’re paying taxes on the profits from selling a home. This means that if you buy a home for $100,000 and sell it for $80,000, there are no gains here to tax. You actually lost $20,000. This isn’t a good way to avoid paying taxes, but at least you know you aren’t down even more when you sell at a loss.

Note By BiggerPockets: These are opinions written by the author and do not necessarily represent the opinions of BiggerPockets.