Understanding Capital Gains on Your Home Sale

Dated: December 29 2025

Views: 50

Selling your home can be a significant financial event and it's important to understand how capital gains taxes may apply. Fortunately, U.S. tax law offers generous exclusions for homeowners under certain conditions, and with proper recordkeeping, many can reduce or eliminate their tax burden altogether.

Here's what every homeowner should know about capital gains, exclusions, and the importance of documenting improvements.

What Are Capital Gains?

Capital gain is the profit you make from selling your home. It's calculated as the difference between your adjusted cost basis and the sale price (minus allowable selling costs, such as real estate commissions).

Sale Price ... (Purchase Price + Capital Improvements + Selling Costs) = Capital Gain

Capital Gains Exclusion for Your Primary Residence

Under IRS rules, if the home you're selling is your primary residence, you may be eligible to exclude a portion of the capital gain from taxation.  If the home you're selling is your primary residence, you may be able to exclude up to $250,000 in capital gains if you're single, or up to $500,000 if you're married and file jointly.

To qualify, you must have owned and lived in the home for at least two of the five years before the sale, and you must not have used this exclusion on another property in the past two years. This exclusion can make a significant difference in the net proceeds from your sale.

Example: A married couple sells their home for $800,000. They bought it for $400,000 and made $50,000 in qualifying improvements. After deducting $30,000 in selling expenses, their gain is $320,000. Since that's under the $500,000 exclusion, they owe no capital gains tax.

Why Tracking Home Improvements Matters

Your cost basis isn't just the purchase price; it includes the cost of capital improvements made to the home. These improvements can reduce your taxable gain by increasing your basis.

Capital improvements are upgrades that either add value to the home, prolong its useful life, or adapt it to new uses.  It is only necessary to meet one of these requirements.

Examples of improvements that increase your basis:

  • Adding a room or garage
  • Installing a new roof or HVAC system
  • Remodeling a kitchen or bathroom
  • Replacing windows or flooring
  • Building a deck or finishing a basement

Routine maintenance and repairs, such as painting, fixing a leaky faucet, or patching a roof, do not qualify. They may be necessary, but they don't add to your basis.

Pro Tip: Keep a Home File

Keeping a folder or digital record that includes purchase documents, receipts for improvements, contractor invoices, permits and plans, and records of major appliance installations can be valuable for proof in case of an audit.  Photos before and after can also be helpful.

This documentation can make a significant difference when it's time to sell and report your capital gain.  For more information, contact your tax professional and download IRS Publication 530.

In Summary

  • Capital gains are based on your sale price minus your adjusted cost basis.
  • Homeowners may exclude up to $250,000 (single) or $500,000 (married) in gains on their primary residence.
  • Documenting improvements is essential to reduce your potential tax bill.
  • Only capital improvements, not maintenance, add to your cost basis.

By understanding these rules and keeping good records, you can make the most of the tax advantages of homeownership and retain more of your equity when you sell.  Download our Homeowners Tax Guide.

Blog author image

Clinton Hanks

I grew up right here in Redwood Valley and I live just a few miles from the house I grew up in. That’s not a marketing point—it’s just context for what came next. My path included 5 years as a....

Latest Blog Posts

Real Data Beats National Headlines: What’s Your Property Doing Right Now?

National real estate headlines and online Zillow estimates don't know what's actually happening on the ground here in Mendocino, Western Lake, or Northern Sonoma counties. They don't know your well

Read More

The Debt Headlines Are Missing the Real Story

Every time rates or prices come up in the news, someone frames it as homeowners being in trouble. Too much mortgage debt. Too much exposure. On the surface, that story sounds reasonable.The numbers

Read More

Smart Ways Homeowners Are Using Their Equity

Homeowners are sitting on more equity than at almost any point in history. CoreLogic puts the average mortgaged homeowner at over $300,000 in equity, and collectively, Americans are holding

Read More

Could Co-Ownership Help You Stop Renting Sooner?

Let’s be real for a second: between sky-high prices, interest rates that won't take a hint, and the daunting pile of cash needed for a down payment, buying a home right now feels a bit like

Read More