12 Proven Ways to Reduce Capital Gains Tax on Real Estate
%20(52).png)
Selling a property at a profit feels great, until you realize the IRS wants 15% to 20% of your gain, plus state taxes on top. For a $200,000 profit, that's $30,000 or more heading straight to the government.
The tax code offers legitimate ways to reduce, defer, or even eliminate that bill entirely. This guide covers 12 proven strategies ranging from simple timing decisions to sophisticated trust structures, along with how to choose the right approach for your situation.
What is capital gains tax on real estate
To avoid or reduce capital gains tax on real estate, you can sell your primary residence after living in it for at least two of the last five years to exclude up to $250,000 in profit ($500,000 for married couples filing jointly). Investors often use a 1031 exchange to defer taxes by reinvesting proceeds into a similar property, while others offset gains with capital losses, deduct home improvement costs, or utilize opportunity zones.
Capital gains tax is the tax you owe on the profit from selling a property for more than you paid. If you bought a rental property for $300,000 and sold it for $500,000, your capital gain is $200,000βand the IRS wants a piece of that.
This tax applies to primary residences, rental properties, vacation homes, and investment real estate. One important distinction: tax avoidance through legal strategies is perfectly fine, while tax evasion is illegal. Everything covered here falls into the legal category.
When do you pay capital gains tax on real estate
The tax kicks in when you sell the property, transfer ownership, or conduct certain types of exchanges. You owe the tax in the year of the sale, and it gets reported on that year's tax return.
Short-term vs long-term capital gains rates
How long you hold a property makes a big difference in your tax bill.
- Short-term capital gains: Properties held one year or less are taxed at your ordinary income rate, which can reach 37% at the federal level.
- Long-term capital gains: Properties held more than one year qualify for preferential rates of 0%, 15%, or 20% depending on your income.
The difference between ordinary income rates and long-term rates can save you tens of thousands of dollars on a single sale.
How to calculate your capital gain on real estate
The formula is simple: Sale Price minus Cost Basis equals Capital Gain.
Your cost basis is more than just the purchase price. It includes closing costs from when you bought the property, plus any capital improvements you made over the years. However, depreciation you claimed on rental property reduces your cost basis, which increases your taxable gain.
Here's what affects your cost basis:
- Increases: Original purchase price, closing costs, capital improvements like a new roof or kitchen renovation
- Decreases: Depreciation claimed on rental property
Every documented dollar of improvement reduces your eventual tax bill, so keeping detailed records matters.
12 proven strategies to avoid capital gains tax on real estate
Some of these approaches are simple timing decisions, while others involve sophisticated trust structures. The right choice depends on your situation, timeline, and goals.
1. Primary residence capital gains exclusion
The Section 121 exclusion is the most common way homeowners avoid taxes on a home sale. If you owned and lived in your home for at least two of the last five years, you can exclude up to $250,000 of gain as a single filer or $500,000 for married couples filing jointly.
You don't have to buy another home to claim this exclusion. And if you didn't meet the full two-year requirement but sold due to a job relocation, health issues, or divorce, you might qualify for a partial exclusion.
2. 1031 like-kind exchange
A 1031 exchange allows investment property owners to defer capital gains by reinvesting the proceeds into a similar property. The key word is "defer", you're postponing the tax, not eliminating it.
The rules are strict. You have 45 days to identify replacement properties, a deadline that saw a 9% failure rate in 2025, and 180 days to close. A qualified intermediary holds the funds during the exchange, and you can't touch the money yourself. This approach does not apply to primary residences, only investment or business property.
3. Increase your cost basis with capital improvements
Every dollar spent on capital improvements reduces your taxable gain. A new HVAC system, bathroom remodel, or finished basement all count.
The distinction between improvements and repairs matters. Replacing a broken window is a repair. Installing new energy-efficient windows throughout the house is an improvement. Repairs maintain the property; improvements add value or extend its life. Keep receipts and contractor invoices for everything.
4. Tax loss harvesting to offset gains
If you sold other investments at a loss, stocks, mutual funds, or other properties, you can use those losses to offset your real estate gains dollar-for-dollar. This works across asset classes.
Losses exceeding your gains can offset up to $3,000 of ordinary income annually, with remaining losses carrying forward to future years.
5. Hold property for long-term capital gains treatment
Waiting to sell until you've held the property for more than one year can cut your tax rate significantly. The difference between ordinary income rates (up to 37%) and long-term capital gains rates (0%, 15%, or 20%) is substantial.
This is often the easiest approach to implement, it just requires patience.
6. Qualified opportunity zone fund investment
Qualified Opportunity Zones offer a powerful combination of benefits. By reinvesting capital gains into a QOZ fund within 180 days of the sale, you can defer the original gain until 2026 and potentially eliminate tax on any new appreciation if you hold the investment for at least 10 years.
7. Delaware statutory trust exchange
A Delaware Statutory Trust (DST) allows you to complete a 1031 exchange by acquiring fractional ownership of institutional-grade real estate. This is particularly useful for investors who want to exit active property management while still deferring taxes.
You're essentially trading your rental headaches for passive ownership in larger, professionally managed properties.
8. Charitable remainder trust
A Charitable Remainder Trust (CRT) is an irrevocable trust where you transfer appreciated property, sell it tax-free within the trust, and receive an income stream for life or a term of years. The remainder goes to your chosen charity.
This approach is complex but powerful for large gains, especially when you want both income and a charitable impact.
9. Donate appreciated property to charity
Donating real estate directly to a qualified charity avoids capital gains entirely. You may also receive a charitable deduction for the property's fair market value, subject to AGI limitations.
This is simpler than a CRT for those who don't need an income stream and want to support a cause they care about.
10. Gift real estate to family members
Gifting property transfers your cost basis to the recipient, called a "carryover basis." This can be advantageous if the recipient is in a lower tax bracket and plans to sell.
Be aware of gift tax implications. The annual exclusion is $19,000 per recipient for 2025 and 2026, though larger gifts count against your lifetime exemption.
11. Stepped-up basis through inheritance planning
When you inherit property, your cost basis "steps up" to the fair market value at the date of the original owner's death. This can eliminate decades of accumulated gains, a principle central to the buy, borrow, die strategy.
This is an estate planning approach rather than an immediate solution, but it's worth considering if you're thinking about transferring property to the next generation.
12. Installment sale with seller financing
An installment sale spreads the recognition of your gain over multiple years by receiving payments over time. This can help you remain in lower tax brackets each year rather than recognizing a large gain all at once.
β
One-time capital gains exemption for seniors
There is no special one-time exemption specifically for seniors. This is a common misconception that persists from pre-1997 tax law.
What seniors actually qualify for
Seniors use the same Section 121 exclusion as everyone else, the $250,000/$500,000 exclusion for primary residences. Before 1997, there was a one-time exclusion for those 55 and older, which may be the source of ongoing confusion.
Additional strategies for retiring property owners
Seniors often benefit more from inheritance planning (stepped-up basis for heirs), installment sales (to spread income in retirement), or charitable approaches if they're philanthropically inclined. These align well with retirement income planning.
How to choose the right capital gains tax strategy
The best approach depends on your property type, timeline, financial goals, and tolerance for complexity.
Strategies for primary residence sellers
The Section 121 exclusion is your primary tool. Focus on documenting improvements to maximize your cost basis. This is the most straightforward scenario for most homeowners.
Strategies for rental property investors
1031 exchanges, DSTs, and installment sales are the main options. Remember that depreciation recapture is an additional consideration beyond capital gains, it's taxed at a flat 25% rate.
Working with a CPA who understands real estate can help you navigate the complexities and identify the optimal approach for your situation.
Strategies for high-net-worth real estate owners
CRTs, opportunity zones, and estate planning for a stepped-up basis offer the most sophisticated options. High-net-worth owners benefit most from proactive, year-round tax planning rather than scrambling before a sale.
Build a proactive real estate tax strategy with Anomaly
The best capital gains approaches require advance planning, not last-minute scrambling before a sale. Timing matters, and many of these options have strict deadlines and documentation requirements.
At Anomaly, we work with real estate investors year-round on approaches like cost segregation studies and achieving Real Estate Professional Status (REPS), which can unlock additional tax benefits beyond capital gains planning.
Tip: If you're considering selling investment property in the next 12-24 months, now is the time to start planning. Many approaches require setup well before the sale date.
FAQs about how to avoid capital gains tax on real estate
What is the capital gains loophole in real estate?
The term "loophole" typically refers to the 1031 exchange, which allows investment property owners to defer capital gains indefinitely by continually reinvesting in like-kind properties. Some investors use a lazy 1031 strategy throughout their lifetime and pass properties to heirs with a stepped-up basis.
Who qualifies for 0% capital gains tax rate?
Taxpayers in the lowest income tax brackets may qualify for a 0% long-term capital gains rate. For 2026, this applies to single filers with taxable income up to $49,450 and jointly up to $98,900.
Can I avoid capital gains tax by reinvesting in another property?
This is only possible through a 1031 exchange for investment property. Simply buying another home with the proceeds from selling your primary residence does not defer or avoid capital gains tax, though you may still qualify for the Section 121 exclusion.
Do I have to pay capital gains tax if I sell my house and buy another?
If you meet the Section 121 requirements for your primary residence, you can exclude gains regardless of whether you buy another home. For investment properties, a 1031 exchange requires purchasing a replacement property to defer taxes.
How long do I need to live in a house to avoid capital gains tax?
You can qualify for the Section 121 exclusion by owning and using the home as your primary residence for at least two of the five years before the sale. The two years don't have to be consecutive.
Is there a way to avoid depreciation recapture on rental property?
Depreciation recapture is taxed separately from capital gains at a flat 25% rate and cannot be avoided with a primary residence exclusion. However, a 1031 exchange can defer both capital gains and depreciation recapture into the replacement property.
β
Interested in Working with us?
Our engagements are relationship based, combining initial strategy, implementation and ongoing support. We work with our clients throughout the year to help them transform their business. Please answer the questions on the following page so we can determine if we are a mutual fit.