Skip to Main Content

When your home value goes through the roof, you may end up with capital gains when you sell. Here are tips to limit tax liability.

Most homeowners aim for a substantial increase in home value--and many are achieving it when they sell their primary home. But that increase can come with a thorny issue: capital gains tax when they file their tax returns after selling. If you’re in that situation or anticipating it, you can take advantage of a number of strategies to pay lower capital gains tax on real estate.

Understanding the Capital Gains Problem
Many homeowners who purchased their homes long ago have seen huge gains in the value of their residences. When they ultimately sell their houses, the gain may extend beyond the federal tax law's maximum exclusion amounts on capital gains of $250,000 for single filers and $500,000 for married couples. That can leave the sellers on the hook for a large capital gains tax on the sale.

“The problem is that in 1997, when the maximum exclusion levels were added to the tax code, they were not indexed to inflation,” says Evan Liddiard, CPA, director of federal tax policy for the National Association of REALTORS. So, the amounts we see today are still the same as they were in 1997, when these were big numbers and virtually no one went over them. Today, because of inflation, a $250,000 or $500,000 gains of much more than $250,000 or $500,000 are not uncommon, so many people go over, especially in higher-priced markets.”

Take the Tests to See if You Qualify for Exclusions
To qualify for the exclusions, you must satisfy tests that you’ve lived in your house for at least two of the last five years and have owned it for at least two of the last five years. If you don’t meet these requirements and haven’t yet sold your home, you might consider delaying a home sale until you’ve satisfied the necessary use and ownership tests.

If you rent out your primary residence for a period before a sale, however, you may lose a portion or all of the exclusion. That’s because the property would be considered a rental property for tax purposes.

How Cost Basis Factors into Capital Gains Tax
You can think of the cost basis in real estate as the total cost of buying the property. Consider it as a baseline, says Quicken Loans: When you sell the property, the cost basis is subtracted from the net sales price to determine capital gains tax liability. That’s why you should document the cost basis of your home over time.

To calculate the cost basis of their homes, owners typically start with the purchase price. The cost basis rarely stays the same over time, and once it’s changed, it becomes the adjusted basis. Several factors can increase or decrease the adjusted basis.

Increases in adjusted basis can result from:

  • The cost of additions and improvements to the house
  • Money spent to restore the property after damages or loss
  • Legal fees incurred in relation to the property

Decreases in adjusted basis can result from:

  • Receipt of insurance payments due to a casualty loss or theft
  • Tax credits for home energy improvements

If you sold your primary home last year, there’s little you can do to avoid capital gains tax liability when you file taxes this April, Liddiard says. "If [a homeowner] sold their house and had a gain over the exclusion amount, they’re going to pay taxes. If they have some capital losses pending, these might offset the gains if they took the losses in the same year. But most people are not walking around with huge unrealized capital losses.”

Capital Gains Tax Strategies for Those Planning to Sell in 2024
If you’re planning to sell your home in 2024 and believe you may have a large enough gain to trigger a capital gains liability, you can consider these three strategies:

Tax Loss Harvesting
This involves the sale of securities at a loss to offset capital gains taxes owed on profits. Of course, any harvested losses from previous years that have not been offset by gains will be applied against the current year's gain. This highlights the importance of regular tax-loss harvesting in your after-tax nonretirement investment accounts throughout the year.

Contribution to a Traditional IRA
Another option would be to contribute to a traditional IRA to reduce taxable income, subject to contribution limits and deductibility phaseouts. If an individual is part of a high-deductible health care plan, contributing to their health savings account would also reduce taxable income.

Donation to a Qualified Charitable Organization
Charitably inclined individuals might consider donating cash or appreciated property to a qualified charitable organization, potentially providing a tax deduction to help offset that tax year’s taxable income. Deductibility depends on the type of charity and is also subject to a percentage of the taxpayer’s adjusted gross income. Any unused charitable contributions can be carried forward for five years. Unfortunately, many taxpayers are forced to bite the bullet if they have not utilized any of these strategies in a timely fashion.

Also in 2024, the IRS increased the standard deduction by $1,500, to $29,200, for married couples filing jointly, plus $1,550 for each spouse 65 and older. The standard deduction is now $14,600 for single filers and $16,550 for singles 65 and older.

Remember, the next time you're in the market to buy or sell a home contact a REALTOR member of the ____________ Board of REALTORS.