Capital gains tax

How to Minimize Capital Gains Tax on the Sale of Real Estate

​Selling real estate is one of the most significant financial events a family can experience. Whether the property is a long-held investment, a business asset, or a vacation home, the proceeds can be substantial. What many sellers underestimate, however, is how much of that gain can be lost to taxes without proper planning.

Capital gains tax on real estate can reach 20 percent at the federal level for high earners, and that figure climbs further when depreciation recapture and state taxes are factored in. The good news is that the tax code provides several legitimate strategies to minimize that liability, but only for those who plan ahead.

How Capital Gains Tax Works on Real Estate

When a property is sold for more than its adjusted cost basis, the difference is a capital gain. The adjusted cost basis includes the original purchase price, plus the cost of capital improvements, minus any depreciation previously claimed. That final figure determines the taxable gain.

According to Bankrate, long-term capital gains on investment property held more than one year are taxed at preferential rates of 0, 15, or 20 percent depending on income. For high-net-worth sellers, the 20 percent rate typically applies. Properties held for one year or less are taxed at ordinary income rates, which can reach 37 percent.

Additionally, previously claimed depreciation is recaptured and taxed at a rate of up to 25 percent. For families with significant real estate holdings, that combination can represent a substantial tax event.

1. Hold the Property for More Than One Year

The simplest and most foundational strategy is also the most frequently overlooked: hold period management. Selling a property before the one-year mark triggers short-term capital gains treatment, meaning the gain is taxed as ordinary income. Waiting beyond that threshold qualifies the gain for long-term rates, which can be as much as 20 percentage points lower for high-income sellers.

Waiting a year to sell a property can qualify you for a capital gains tax.

2. Use a 1031 Exchange to Defer the Tax

A 1031 exchange, named after Section 1031 of the Internal Revenue Code, allows an investor to sell an investment property and reinvest the proceeds into a like-kind replacement property without triggering immediate capital gains tax. The tax is deferred, not eliminated, but the deferral can be rolled forward indefinitely through successive exchanges.

According to IPX1031's exchange rules guide, the exchange must follow two strict IRS deadlines: the replacement property must be identified within 45 days of the sale, and the transaction must be completed within 180 days. A qualified intermediary must hold the proceeds throughout. Missing either deadline disqualifies the exchange entirely and triggers full tax liability.

​For investors who miss a 1031 exchange deadline, cannot identify a suitable replacement property, or want greater flexibility than a like-kind exchange allows, a Deferred Sales Trust (DST) may provide an alternative strategy. A DST can allow the seller to spread out recognition of capital gains over time while potentially creating an income stream from the sale proceeds. Unlike a traditional 1031 exchange, the strategy does not require purchasing another investment property, which can appeal to sellers seeking to reduce active real estate management responsibilities while still pursuing tax deferral and income-planning objectives.

For investors who want to reposition their real estate portfolios without generating a large tax bill, the 1031 exchange remains one of the most powerful tools available. It is also a strategy that requires precise execution and advance planning, making professional guidance essential.

3. Invest in a Qualified Opportunity Zone

Qualified Opportunity Zones (QOZs) offer a separate avenue for deferring and potentially reducing capital gains taxes. Investors who reinvest realized gains into a Qualified Opportunity Fund (QOF) within 180 days can defer the original tax liability and, if the investment is held for at least ten years, pay zero tax on any appreciation earned within the fund.

The Opportunity Zone program was made permanent by the One Big Beautiful Bill Act, signed July 4, 2025. For families sitting on significant appreciated real estate, the combination of deferral and long-term appreciation exclusion can produce outcomes that far exceed what a standard sale would yield after taxes.

4. Time the Sale Around Income Planning

Capital gains tax rates are income-dependent. A seller who crosses an income threshold in the year of sale may be pushed into the 20 percent rate when the 15 percent rate would have applied with more careful timing. For families with variable income, such as business owners with fluctuating distributions or executives with deferred compensation, coordinating a real estate sale with a lower-income year can reduce the effective rate materially.

The Net Investment Income Tax (NIIT) adds another layer. High-income taxpayers owe an additional 3.8 percent surtax on net investment income, including capital gains, once modified adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples filing jointly. Planning around that threshold, through timing, income deferral, or loss harvesting, is part of a complete tax strategy for real estate sales.

5. Maximize Your Cost Basis Before Selling

Every dollar added to the adjusted cost basis is a dollar that reduces the taxable gain. Capital improvements, such as structural additions, system replacements, or significant renovations, increase basis when properly documented. Selling costs, including commissions and closing fees, also reduce the net gain recognized.

Improvements, when properly documented, can change your capital gains tax significantly.

Many sellers underestimate how much basis they have available, particularly on properties held for decades with intermittent improvements. A thorough basis analysis before listing a property often reveals deductions that change the tax picture meaningfully. Working with a tax advisor to reconstruct and document improvement costs before a sale is time well spent.

6. Plan the Exit as Part of Your Estate Strategy

For families with multigenerational wealth goals, the timing and structure of a real estate sale should be evaluated in the context of the broader estate plan. Assets held until death receive a stepped-up cost basis to fair market value, effectively eliminating the capital gains accumulated during the owner's lifetime. Heirs who inherit appreciated property and sell it immediately may owe little or no capital gains tax as a result.

That benefit must be weighed against other estate planning considerations, including estate tax exposure and the liquidity needs of heirs. In some cases, transferring property during life through gifting strategies or trust structures may produce better overall outcomes. In others, holding until death is the optimal path. The right answer depends on the full financial picture, not just the property in question.

Turning a Major Sale Into a Strategic Opportunity

A real estate sale does not have to mean a large tax bill. The strategies above, from exchange structures and opportunity zone investments to income timing and estate coordination, each offer real pathways to preserving more of what has been built. The key is engaging with these options well before the transaction closes, not after.

At Wealth Management Solutions, we work with families to ensure that major financial events like real estate sales are coordinated across investment strategy, tax planning, and estate structuring. Our approach is designed to turn complex transactions into well-planned outcomes that protect wealth and support long-term goals. Explore our wealth management services or contact us today to put that kind of planning to work before your next sale.


Advisory services provided by WMS-LLC, a dba of Balboa Wealth Partners, Inc, an Investment Advisor registered with the SEC. Advisory services are only offered to clients or prospective clients where Balboa Wealth Partners and its Investment Advisor Representatives are properly licensed or exempt from registration.

RELATED THOUGHTS

Financial fragmentation
Financial Planning

The Hidden Cost of Financial Fragmentation

Financial fragmentation can create costly gaps in wealth planning. Learn how coordinated oversight improves visibility, reduces conflicts, and supports better decisions.

ReimaginINg How Financial Advice and Services are Designed and Delivered

Scroll to Top