Selling a primary residence can create unexpected tax exposure, particularly when a property has appreciated significantly over time. At Stone Oak Wealth Management, we regularly guide families through the capital gains implications of a home sale so they can make informed decisions before listing.

Understanding exclusion limits, cost basis adjustments, and long-term planning considerations in advance can help prevent avoidable tax surprises and ensure the transaction aligns with your broader financial strategy.

Planning Snapshot

If you’re thinking about selling your home, the tax question usually comes down to three things:

  1. Capital gains exclusion
  2. Cost basis
  3. Timing of the sale

Most homeowners owe zero capital gains tax if their profit stays within the exclusion.

The surprises happen when long-held homes, major appreciation, or life changes push profits above that limit.

At Stone Oak Wealth Management, we help families confirm the exclusion, document improvements that increase basis, and coordinate the home sale with the rest of their financial plan before they list.

Key Terms Glossary
  • Capital gain = your profit after selling costs and your adjusted basis.
  • Exclusion = the amount of profit that may be tax-free if you meet the rules.
  • Cost basis = what you paid plus qualifying improvements (minus certain adjustments).
  • Inherited home “step-up” = basis is often reset to the value at time of death, reducing taxable gain.

Understanding the Capital Gains Exclusion

The Taxpayer Relief Act of 1997 provided homeowners who sell their principal residence an exclusion from capital gains taxes of $250,000 for single filers and $500,000 for joint filers. At that time, the average price of a new home was about $145,000, so this exclusion seemed generous and allowed more Americans to move freely from one home to another.1 Unfortunately, the exclusion was not indexed to inflation, and what seemed generous in 1997 can be restrictive only two decades later.

Wealth Stewardship Alert

Will Outpaced Exclusion Limits or Unverified Cost Basis Friction Fractures Your Real Estate Liquidity?

Selling a highly appreciated primary residence without rigorous cost basis tracking frequently exposes multi-generational wealth to unmitigated federal capital gains taxes. At Stone Oak Wealth Management, we utilize our proprietary Wealth Framework to verify historical property adjustments, optimize asset liquidation timing, and seamlessly transition home equity into diversified portfolio streams.

Capital gains taxes apply to the profit from selling a home, so they may be of special concern — and potential surprise — for older homeowners who bought their homes many years ago and might yield well over $500,000 in profits if they sell. In some areas of the country, a home bought for $100,000 in the 1980s could sell for $1 million or more today.2 At a federal tax rate of 15% or 20% (depending on income) plus state taxes in some states, capital gains taxes can take a big bite out of profits when selling a home. Fortunately, there are some things you can do to help reduce the taxes.

Qualifying for exclusion

In order to qualify for the full exclusion, you or your spouse must own the home for at least two years during the five-year period prior to the home sale. You AND your spouse (if filing jointly) must live in the home for at least two years during the same period. The exclusion can only be claimed once every two years. There are a number of exceptions, including rules related to divorce, death, and military service. If you do not qualify for the full exclusion, you may qualify for a partial exclusion if the main reason for the home sale was a change in workplace location, a health issue, or an unforeseeable event.

How Cost Basis Impacts Your Tax Liability

Increasing basis for lower taxes

The capital gain (or loss) in selling a home is determined through a two-part calculation. First, the selling price is reduced by direct selling costs, including certain fees and closing costs, real estate commissions, and certain costs that the seller pays for the buyer. (The amount of any mortgage pay-off is not relevant for determining capital gains.) This yields the amount realized, which is then reduced by the adjusted basis.

The basis of your home is the amount you paid for it, including certain costs related to the purchase, plus the costs of improvements that are still part of your home at the date of sale. In general, qualified improvements include new construction or remodeling, such as a room addition or major kitchen remodel, as well as repair-type work that is done as part of a larger project. For example, replacing a broken window would not increase your basis, but replacing the window as part of a project that includes replacing all windows in your house would be eligible. This basis is adjusted by adding certain payments, deductions, and credits such as tax deductions and insurance payments for casualty losses, tax credits for energy improvements, and depreciation for business use of the home. (See hypothetical example below.)

Hypothetical Example

Pete and Joanne purchased their home for $100,000 in 1985 and sold it for $800,000 in 2024. This is how their capital gains might be calculated.

selling homes capital gains chart

This hypothetical example of mathematical principles is for illustration purposes only.
Actual results will vary.

Selling an Inherited Property

Inheriting a home

Upon the death of a homeowner, the basis of the home is stepped up (increased) to the value at the time of death, which means that the heirs will only be liable for future gains. In community property states, this usually also applies to a surviving spouse. In other states, the basis for the surviving spouse is typically increased by half the value at the time of death (i.e., the value of the deceased spouse’s share).

Planning Before You List Your Home

Determining the capital gain on a home sale is complex, so be sure to consult your tax professional. For more information, see IRS Publication 523 Selling Your Home.

Before You List… A Simple Checklist
  • Estimate your gain: expected sale price minus selling costs minus adjusted basis.
  • Confirm whether you qualify for the full exclusion (or partial exclusion).
  • Gather documentation for major improvements (roof, remodel, additions, window projects, etc.).
  • If it’s inherited, confirm the stepped-up basis and how the property is titled.
  • Decide how the proceeds will be used: next home, debt payoff, investments, giving, legacy planning.
  • Coordinate timing with your broader tax and financial plan before you sign listing paperwork.

Frequently Asked Questions

Do I have to pay capital gains tax when I sell my primary residence?

Many homeowners qualify for a capital gains exclusion if they meet ownership and use requirements. However, the amount of tax owed depends on your total gain, your filing status, and your individual tax situation. Reviewing these factors before listing can help avoid unexpected outcomes.

How long must I live in my home to qualify for the exclusion?

In general, homeowners must meet certain ownership and occupancy requirements within a specified time frame to qualify for the full exclusion. Life events such as job relocation or health changes may affect eligibility. Understanding the timing rules is an important part of advance planning.

What counts toward my cost basis when selling a home?

Your cost basis typically includes the original purchase price plus certain qualifying improvements made over time. Accurate documentation of renovations and capital upgrades can help reduce taxable gain. Clarifying your adjusted basis before selling can meaningfully affect planning decisions.

What happens if my gain exceeds the exclusion limits?

If the gain on the sale of your home exceeds the available exclusion, the excess amount may be subject to capital gains tax. Planning considerations may involve timing, income coordination, and how proceeds fit within your broader financial plan.

Does an inherited home receive a stepped-up basis?

In many cases, inherited property receives a stepped-up basis to its fair market value at the time of inheritance. This adjustment can significantly affect the taxable gain if the property is later sold. Confirming basis details with a qualified tax professional is an important step before listing.


Sources: Broadridge Investment Management Solutions

Stone Oak Wealth is regulated by the SEC as a registered investment adviser. Please see visit Legal Disclosures for additional advertising disclosures.

Stone Oak Wealth Management does not provide tax advice and a qualified tax accountant should be consulted.

1) U.S. Census Bureau, retrieved from FRED, Federal Reserve Bank of St. Louis, 2024
2) CNN, January 29, 2024