Tax Basics for Home Sellers: Capital Gains Exclusion Explained Simply

Tax Basics for Home Sellers: Capital Gains Exclusion Explained Simply

West USA Realty

Carl Chapman Realtor

March 23, 2026

Selling a home in Arizona? You might wonder, "Do I owe taxes on my profit?" The good news is the IRS offers a generous capital gains exclusion for the sale of your primary residence.

This guide breaks down the essentials in plain English for Arizona sellers. Before you list, explore our West USA Sellers Resource Hub for valuable tips on the selling process and timing, and monitor nearby comparable listings to inform your strategy.

Important Note: This article provides general information only. Consult a CPA or enrolled agent for personalized tax advice.

What’s the Capital Gains Exclusion?

If you sell your primary residence and meet IRS criteria, you can potentially exclude up to $250,000 of profit (or $500,000 for married couples filing jointly) from taxes.

The 2-Out-of-5 Test

To qualify, the IRS looks for two things during a 5-year period ending on the sale date:

  • Ownership: You owned the home for at least 2 years.
  • Use: You lived in it as your main home for at least 2 years.
    These don’t need to be continuous, but generally should be.

How Much Can I Exclude?

  • Up to $250,000 (or $500,000 for married couples filing jointly) of gain if you’re single or married filing separately in many cases.

Understanding "Gain"

Many sellers think taxes are based on the sale price. They’re not. Taxes are calculated from your gain, which is:

  • Gain = (Sale price – selling costs) – (Original purchase price + qualifying improvements + certain buying costs)

The IRS provides detailed instructions and worksheets in Publication 523 on this calculation.

A Simple Example

  • Purchase Price: $400,000
  • Qualifying Improvements: $60,000
  • Sale Price: $650,000
  • Selling Costs: $40,000

Estimated Gain:
$650,000 – $40,000 = $610,000

Adjusted Basis: $400,000 + $60,000 = $460,000

Taxable Gain: $610,000 – $460,000 = $150,000

If you qualify for the exclusion, this $150,000 gain may be entirely tax-free.

Qualifying Improvements vs. Repairs

  • Qualifying Improvements: Add value, extend life, or adapt your home to a new use (e.g., roof replacement, HVAC, room additions, kitchen remodels).
  • Repairs: Maintain the home’s condition but don’t increase its value (e.g., painting, fixing leaks, replacing broken windows).

Seller Tip: Start a "basis folder" now to keep track of your expenses for future reference.

The "Once Every Two Years" Rule

Even if you meet the ownership and use tests, the IRS allows the exclusion only if you haven’t used it on another home sale within the past two years.