Whether you owe taxes when you sell a house depends on several factors, including how long you owned the property, whether it was your primary residence or a rental, and how much it appreciated in value. Understanding taxes when you sell a house can help you avoid surprises and plan your next steps confidently.
This guide explains the most common tax scenarios homeowners in Arizona face when selling.
This article is for educational purposes only and does not replace professional tax advice.

Capital Gains Tax Explained
When you sell a home for more than you paid, the profit may be considered a capital gain, which can affect the taxes when you sell a house depending on your situation.
Gain is generally calculated as:
Sale Price – Adjusted Basis = Capital Gain
Your adjusted basis includes:
- Purchase price
- Certain improvements
- Minus depreciation (if applicable)
Primary Residence Tax Exclusion (Important Section)
Many homeowners qualify for a capital gains exclusion if the home was their primary residence.
Under current IRS rules:
- Single filers may exclude up to $250,000
- Married couples may exclude up to $500,000
To qualify, you must generally have:
- Owned the home for at least 2 years
- Lived in the home for at least 2 of the last 5 years
You can review official guidance in IRS Publication 523 (Selling Your Home)
This section alone boosts authority significantly.
When Taxes May Apply
You may owe taxes if:
- The gain exceeds the exclusion limit
- The property was a rental
- The property was held less than one year
- You previously claimed depreciation
For rental property tax details, see:
👉 Taxes for Selling a Rental House in Phoenix
Arizona State Tax Considerations
Arizona includes capital gains as part of state income tax.
You can review general guidance from the Arizona Department of Revenue
Because tax rules can change, consulting a qualified tax professional is recommended.
Frequently Asked Questions
Do most homeowners pay taxes when selling their house?
Many homeowners do not owe federal capital gains taxes if they qualify for the primary residence exclusion.
What if I sell my house at a loss?
If the home was your primary residence, losses are generally not deductible.
Do I pay taxes immediately at closing?
Taxes are typically handled when filing your annual income tax return, not directly at closing.
What if the house was a rental?
Rental properties are taxed differently and may involve depreciation recapture.