By G. Brian Davis
The Big Picture On How To Avoid Capital Gains Tax on Real Estate:
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.
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.
Not 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.
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.
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 2024:
Tax Rate | Single | Married Filing Jointly | Head of Household |
---|---|---|---|
10% | 0 – $11,600 | 0 – $23,200 | 0 – $16,550 |
12% | $11,600 – $47,150 | $23,200 – $94,300 | $16,550 – $63,100 |
22% | $47,150 – $100,525 | $94,300 – $201,050 | $63,100 – $100,500 |
24% | $100,525 – $191,950 | $201,050 – $383,900 | $100,500 – $191,950 |
32% | $191,950 – $243,725 | $383,900 – $487,450 | $191,950 – $243,700 |
35% | $243,725 – $609,350 | $487,450 – $731,200 | $243,700 – $609,350 |
37% | $609,350 and up | $731,200 and up | $609,350 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).
Capital Gains Tax Rate | Single | Married Filing Jointly | Head 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,000 | MAGI above $250,000 | MAGI above $200,000 |
Capital Gains Tax Rate | Single | Married Filing Jointly | Head of Household |
---|---|---|---|
0% | $0 to $47,025 | $0 to $94,050 | $0 to $63,000 |
15% | $47,026 to $518,900 | $94,051 to $583,750 | $59,751 – $523,050 |
20% | $518,901 and up | $583,751 and up | $551,351 and up |
Additional Net Investment Income Tax (NIIT) | |||
3.8% | MAGI above $200,000 | MAGI above $250,000 | MAGI 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.
The short version: homeowners get an exemption on capital gains tax (under some circumstances). 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?
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:
Speak to your tax advisor about estimated tax payments if you expect a large profit on the sale of a property.
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.
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.
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.
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!
The IRS lets you swap or exchange one investment property for another without paying capital gains on the one you sell. Known as a 1031 exchange, it allows you to keep buying ever-larger rental properties without paying any capital gains taxes along the way.
Here’s how the process goes:
Step | Action | Timeline | Key Points |
1. Consult Advisor | Consult tax advisor and Qualified Intermediary (QI). | Before starting | Understand 1031 rules and select a QI. |
2. Sell Property | Sell the current investment property. | Varies | Proceeds must go to the QI. |
3. Identify Property | Identify replacement properties. | Within 45 days | Up to three properties or any number if their combined value is within 200% of the sold property. |
4. Declare Intent | Declare intent for 1031 exchange in writing. | During property sale | Proper documentation is essential. |
5. Exchange Agreement | Sign exchange agreement with the QI. | Before closing replacement | Specify property exchange and fund transfer terms. |
6. Close Purchase | Purchase replacement property via QI. | Within 180 days | Title transfer must match the entity that sold the initial property. |
7. Report to IRS | Report exchange using IRS Form 8824. | By tax filing deadline | Detailed reporting required. |
8. Maintain Records | Keep transaction records and monitor requirements. | Ongoing | Ensure compliance and plan future exchanges if needed. |
It works like this.
You scrimp and save the minimum down payment for a rental property, buying a property for $100,000 and setting aside the cash flow for a few years. The property builds equity, appreciating in value to $120,000 even as you pay down the mortgage, and after a few years you’ve set aside more cash to boot.
You sell the property, and instead of paying capital gains taxes on the profits, you put them toward a down payment on a $200,000 multifamily rental.
A few years later you buy a $350,000 multifamily property, and a few years after that a $600,000 property, each of which produces more real estate cash flow than the last.
Eventually, you reach financial independence, with enough cash flow to live on — and you never had to pay a cent in real estate capital gains taxes.
We use QuickBooks daily in our rental property business!
It’s used to invoice tenants for their rent, track expenses by property and unit number, and our tax advisor can log on anytime to get information he needs for processing taxes or analyzing our data for goal setting meetings!
QuickBooks is the #1 accounting software for small businesses, and today you can take advantage of 30% off your first 6 months of QuickBooks Online using our exclusive Business Affiliate link.
Capital losses cancel out capital gains. So if you get hit with losses one year, that year makes a great time to sell your property so your losses offset your gains.
Imagine the stock market dips 10% and you sell off some stocks, hoping to avoid further losses from market correction or bear market. You take $20,000 in losses from selling those stocks.
Meanwhile you own a rental property that you’ve been meaning to sell. You decide to sell it now, knowing you can offset your capital gains on it with the losses you took on your stocks. You sell the property for a profit of $30,000, and you pay capital gains taxes on $10,000 after subtracting the $20,000 in losses from stocks.
Perhaps you even luck out with the timing, putting that $30,000 back into the stock market at its low point and riding the recovery upward.
When you invest in real estate syndications, you tend to show paper losses for the first few years. You can use those paper losses to offset other passive income and gains.
Why do syndications typically report losses on paper for the first few years, even as they pay you hefty distributions and cash flow? Because syndicators often perform a “cost segregation study” when they buy the property, to recategorize as much of the building as possible to other tax categories with shorter depreciation periods.
Of course, once the property sells and you get your big payday, you’ll owe both capital gains taxes and depreciation recapture. Which is precisely why it helps to keep investing in new real estate syndications every year, so you continue offsetting gains with paper losses from depreciation.
Hence the term “ladder” — the new syndication you buy this year helps offset taxable gains from the syndication you bought four years ago.
Sometimes, investors strategically sell for a loss, and use that loss to offset their capital gains. It’s called harvesting losses, and it makes sense when you have assets you don’t like or that underperform for you.
Say you bought a portfolio of five rental properties. You find yourself short on cash and want to raise a little capital by selling one, but don’t want to pay capital gains taxes on it.
One of the properties turned out to be a lemon, and has caused you nothing but headaches and negative cash flow. To offset the gains of selling a property with some equity, you decide to harvest some losses by getting rid of the lemon at the same time. It’s just costing you money anyway, so now makes a great time to sell it.
You sell both properties, and the loss from the lemon washes out the gains from a “good” property. You ditch the underperformer that was costing you money each month, and you avoid property gains taxes on the property you sold for a profit.
A more common example involves stocks. Say you buy a stock that consistently underperforms, and you have no reason to believe it will leap up in value in the future. Rather than letting your investing capital languish in the no-man’s-land of bad returns, you cut your losses by selling it, and put the money toward investments that will generate higher returns.
If the homeowner exemption leaves you still owing capital gains taxes, you could always just keep the property as a long-term rental. As long as the property cash flows well, there’s no reason to ever sell it!
Let it generate passive income for you, month after month, year after year. As a buy-and-hold property, you can keep depreciating it for accounting purposes even as it appreciates in value.
Before converting your home into a rental property, run the numbers through a rental cash flow calculator. You may find your money could perform better for you by buying a property specifically as a rental, or even in the stock market, rather than sitting tied up in your ex-home.
That goes doubly when you can avoid capital gains taxes on the first $250,000 or $500,000 in profits.
No one says you have to rent the property out to long-term tenants.
Run the numbers to calculate how it would perform as a vacation rental on Airbnb instead. You might just find it cash flows better.
Just watch out for local regulations designed to restrict short-term rentals — some cities effectively ban Airbnb rentals.
Uncle Sam isn’t the only one after your tax dollars. Most state governments actually take a harder stance than the IRS on capital gains from real estate, charging income taxes at the normal tax rate.
Nine states charge a lower long-term capital gains tax rate however, similar to the federal government: Arizona, Arkansas, Hawaii, Montana, New Mexico, North Dakota, South Carolina, Vermont, and Wisconsin.
Another seven states charge no income taxes at all: Alaska, Florida, Nevada, South Dakota, Texas, Washington, and Wyoming. Finally, New Hampshire and Tennessee don’t charge regular income taxes, but do tax investment income.
Consider moving to a state with a lower tax burden to keep more of your money where it belongs: in your own pocket.
You don’t have to sell your investment property in order to cash out its equity. Why not pull out the equity and keep the property to boot?
When you own a rental property free and clear, it does cash flow better. But you can still take out a rental property loan or a HELOC against your investment properties to access the equity, all while the property continues to appreciate in value and generate income for you each month.
Your tenants pay off your loan for you, and all the while you keep benefiting from cash flow, appreciation, and investment property tax advantages.
No one says you have to sell your property. Ever.
Why not keep it until the day you die, and pass the golden goose on to your heirs? It can keep generating passive income for them too.
And they probably won’t pay any inheritance taxes on your rental property either. Your heirs get a free pass on the first $13.61 million you leave them in tax year 2024, so unless you die with 30 properties, they probably won’t get hit with gnarly inheritance taxes.
Best of all, the cost basis resets upon your death. Again, cost basis is what you paid for the property plus any capital improvement costs, and it’s the “basis” on which any profits are taxed. When you die, it resets to the property value at the time of your death.
For instance, say you buy a property for $100,000, and over the next 30 years you put another $60,000 in capital improvements into it. Then you die and leave the property to your favorite child (we both know you have one).
At the time of your death, the property is worth $500,000. If your child were to sell the property, their cost basis for tax purposes would be $500,000 rather than the $160,000 in purchase price and improvement costs that you actually paid.
You avoid real estate capital gains tax entirely, your child avoids inheritance taxes, their cost basis resets so they wouldn’t owe capital gains taxes on all the equity you built, and they get an income-producing property. Win-win-win-win.
With a self-directed IRA, you get to invest in any assets you like, within a few constraints from the IRS. That makes self-directed IRAs a darling of real estate investors across the county.
And with a Roth IRA, of course, your assets grow tax-free so you don’t pay taxes on profits and returns.
Still, proceed with caution when it comes to self-directed IRAs. They come with setup and administration expenses, and add another layer of complications. Self-directed IRAs add particular challenges when you use real estate leverage to finance with a rental property loan.
Do your homework thoroughly, speak with your financial advisor, and consider leaving your IRA investments to stocks — real estate comes with plenty of its own cooked in tax advantages, after all.
You could leave your property to your children. Or you could tell the spoiled brats to go earn their own fortune, and give your property to charity instead.
Not only do you not have to pay real estate capital gains taxes, but you also get a juicy tax deduction. For your entire equity in it, based on the current market value of your property.
As a nonprofit organization, the charity doesn’t pay any capital taxes on the property either. Again, both you and the recipient win, and the only party losing out is the IRS.
Long-term capital gains don’t add on to your regular income or push you into a higher income tax bracket. Instead, the IRS calculates them on a totally separate schedule.
If you earn $50,000 in regular income in 2023 and another $20,000 in long-term capital gains, the IRS taxes you like this:
For your regular income taxes, you’d pay 10% on the first $11,600 you earned, 12% on the next $33,550, and 22% on the remaining $4,850.
Because you earned more than $47,025 in total income, you’d owe long-term capital gains tax at the 15% rate.
Still have questions? Here are a few common ones.
Yes, if you lived in the property as your primary residence for at least two of the last five years, you qualify for the homeowner exclusion (Section 121 exclusion). Single taxpayers are exempt from paying capital gains tax on the first $250,000 in gains, and married filers get the first $500,000 tax-free.
Yes. Unless you utilize one of the tax strategies above, that is.
No — capital gains tax applies to gains (profits). If you lose money on a bad investment, the loss can offset other investment gains. You may be able to offset up to $3,000 in active income as well (speak to an accountant!), and you can carry losses forward to future years as well.
Yes, and usually at the short-term capital gains rate, assuming they own the property for less than a year. If the renovation goes long, and they own the property for over one year, they owe capital gains taxes at the long-term tax rate.
You pay capital gains taxes on properties as part of your annual income tax return due on April 15.
If you do a 1031 exchange, also known as a like-kind exchange, to buy a new investment property after selling an old investment property, then you can defer capital gains taxes. When and if you ever sell the replacement property, you’ll owe capital gains taxes at that time, unless you do another like-kind exchange.
You don’t need to buy another property to qualify for the homeowner exclusion on your primary residence.
Yes, unless you do a 1031 exchange, which defers it until you sell the new replacement property.
When you own an investment property for decades, as so many buy-and-hold investors do, you can rack up some serious equity. Equity that the IRS would love to tax you on, when you go to sell.
As a quick note on depreciation, beware that you owe the IRS depreciation recapture regardless of whether you actually deduct for property depreciation while owning it. So make sure you take depreciation on your investment properties in every tax return!
Did you enjoy this article?
This is an example of what is included on our FREE weekly newsletter, Landlord Weekly.
Subscribers get access to our free forms, email templates, and guides! As well as…
▪️Landlord Tips ▪️ Early Access to Our Blogs ▪️ Landlord Specific Articles by Other Industry Pro’s ▪️ Podcast Links
To check out a sample of our newsletter, click one of the links below👇
By Ryan Squires When setting the rental rate for a rental property or looking…
October 29, 2024By Kathleen Williams Occupancy limit policies are crucial for managing apartments, whether located in adensely…
October 29, 2024