Blog · Selling a Home

Capital gains when you sell: what is taxed in Arizona

The federal home-sale exclusion, the 2-of-5-year test, how your gain is actually figured, and what Arizona does with it. Written for sellers who want the tax question answered before they list.

Andrew Texidor, Realtor and founder of Clearly Sold By Andrew Texidor Realtor · Founder, Clearly Sold Updated November 24, 2026
A sunlit single-family stucco home in a Phoenix-area desert neighborhood with saguaros in the front yard
Most Arizona sellers owe no capital gains tax on a primary home, but the rules reward planning. Photo: Clearly Sold.

The direct answer

In most cases, selling your primary home in Arizona triggers no capital gains tax at all. Federal law lets you exclude up to $250,000 of gain if you file single, or up to $500,000 if you file married jointly, as long as you owned and lived in the home for at least 2 of the 5 years before the sale. Arizona conforms to that federal exclusion, so excluded gain is not taxed by the state either. You owe tax only when your gain exceeds the exclusion, when you do not meet the ownership and use test, or when you have already used the exclusion within the past 2 years. The tax question, in other words, is mostly a planning question: know your basis, keep your improvement records, and confirm the current-year rules before you price the home.

Key takeaways

  • Under federal law, most sellers of a primary home owe no capital gains tax: you can exclude up to $250,000 of gain if single and up to $500,000 if married filing jointly, as long as you owned and lived in the home for at least 2 of the 5 years before the sale.
  • The exclusion applies to gain, not to the sale price. Gain is what is left after your selling expenses and your adjusted basis, which includes what you paid plus qualifying improvements.
  • Arizona conforms to the federal exclusion, so gain that is excluded federally is not taxed by Arizona either. Gain beyond the exclusion is what either state could tax.
  • If you miss the 2-of-5-year test, a partial exclusion may still apply when the sale was driven by a job change, a health problem, or unforeseen circumstances.
  • Your gain is your number to prepare for: purchase records, improvement receipts, and a current-year confirmation with a CPA are the practical work that makes the tax question predictable.

What is capital gains tax, and when does it touch a home sale?

Capital gains tax is a tax on the profit you realize when you sell something for more than it cost you. For a home, the profit is the difference between what you net from the sale and what you have invested in the property, called your adjusted basis. The IRS taxes that profit only if it exceeds the exclusion you qualify for, and Arizona, which computes its individual income tax from your federal adjusted gross income, generally follows the same result.

Two facts shape almost every seller's answer. First, the exclusion is generous: most people who have lived in their home for a couple of years have gain well under the limit, which means no tax. Second, a loss on selling your home is not deductible, so the tax conversation only runs one way. The useful question is not "will I owe?" but "how do I know whether I qualify, and how do I figure my gain?"

The primary-home exclusion: $250,000 or $500,000, and the 2-of-5 test

The exclusion comes from Internal Revenue Code Section 121, and it turns on three simple rules. The first is the amount: up to $250,000 of gain is excluded for a single filer (or married filing separately), and up to $500,000 for a married couple filing jointly. The second is the test: during the 5 years ending on the sale date, you must have owned the home for at least 2 years and used it as your main home for at least 2 years. The two years do not have to be consecutive, and the ownership and use periods do not have to overlap. The third is the rhythm: you can use the exclusion only once every 2 years, with no lifetime limit.

You generally qualify when

  • You owned and lived in the home as your main residence for at least 2 of the last 5 years.
  • Your gain fits within the $250,000 or $500,000 limit for your filing status.
  • You have not excluded gain on another home within the past 2 years.

The answer can be more complex when

  • You rented the home out or stopped living in it before the sale.
  • You owned the home less than 2 years, or moved out more than 3 years ago.
  • You claimed depreciation on the property for a business or rental use.
  • The home is held in a trust or estate, or you inherited it.

Members of the military, the Foreign Service, and the intelligence community get a special break: the 5-year period can be suspended for up to 10 years during qualified official extended duty, which can keep the exclusion available for a home they had to leave for service. If any of the complex cases apply to you, the reduced-exclusion rules and a tax professional are the right next step.

How to figure your gain: sale price, selling expenses, and your basis

Your gain is not the sale price, and it is not your equity. It is a math problem with three parts. Start with the sale price, subtract your selling expenses (listing commissions, title and escrow fees, recording costs, and any concessions you pay for the buyer), and you have your amount realized. Then subtract your adjusted basis: what you paid for the home, plus purchase closing costs, plus the cost of qualifying improvements, minus any depreciation you claimed. What is left is your gain, and that is the number the exclusion applies to.

The distinction that catches people is repairs versus improvements. Repairs, like patching a roof leak or repainting a room, keep the home in its current condition and generally do not raise your basis. Improvements, like adding a bedroom, replacing the air-conditioning system, or installing a new water heater, add to the value or prolong the life of the home and generally do raise it. A home remodeled over 15 years can have a basis tens of thousands of dollars higher than the original purchase price, and every dollar of that basis is a dollar of gain you do not pay tax on.

A desk with file folders, a calculator, a pen, and a house key next to a settlement document in warm window light
Purchase records and improvement receipts are the raw material of an accurate basis. Photo: Clearly Sold.

A worked example, clearly labeled

Hypothetical example. A married couple bought their Goodyear home in 2017 for $315,000 and paid $6,000 in purchase closing costs, putting their starting basis at $321,000. Over the years they added a patio cover and replaced the water heater and the air-conditioning condenser, about $19,000 of qualifying improvements, which raises their adjusted basis to $340,000. They sell in late 2026 for $525,000. Selling expenses, including the listing commission, title, escrow, recording, and a small seller concession, come to $38,000. Their amount realized is $487,000, and their gain is $147,000.

They owned and lived in the home for nine years, well past the 2-of-5 test, and their $147,000 gain is far below the $500,000 exclusion for married filing jointly. They owe no federal capital gains tax, and because the gain is excluded from federal adjusted gross income, Arizona does not tax it either. At closing they sign the principal-residence certification, and no Form 1099-S is issued.

Now change one fact: the couple is transferred for work after living in the home only 14 months, and the new job is more than 50 miles farther from their old home. They still get a reduced exclusion, prorated by time: 14 months out of 24, applied to the $500,000 limit, gives them about $291,000 of exclusion room, which still covers their $147,000 gain. Had their gain exceeded the reduced amount, only the excess would be taxable. That is the reduced-exclusion rule working as designed, and it is why a job-driven move rarely turns into a tax bill.

When you do owe: reduced exclusions, taxable gain, and the 2026 federal rates

A taxable gain shows up in three situations: your gain exceeds the exclusion, you miss the 2-of-5 test with no qualifying reason, or you used the exclusion within the past 2 years. For 2026, federal long-term capital gains are taxed at 0% up to $49,450 of taxable income for single filers and $98,900 for married filing jointly, 15% above that up to $545,500 single and $613,700 married, and 20% above those top thresholds. Higher earners may also owe the 3.8% Net Investment Income Tax on top, which applies once modified adjusted gross income passes $200,000 for single filers or $250,000 for married filing jointly, for a combined top federal rate of 23.8%.

The reduced exclusion matters here because it is often the difference between owing nothing and owing a lot. It is available when the primary reason for the sale is a change in place of employment, a health problem, or unforeseen circumstances, and it is prorated based on how long you owned and used the home (or how long since your last exclusion). The facts of your situation, documented in writing, decide whether it applies. This is a place where a tax professional earns their fee, because the details of each exception have their own tests.

Arizona's side: a flat 2.5% rate, no separate home-sale tax

Arizona has no separate tax on selling a home, and it imposes no real estate transfer tax, so the sale itself does not generate a state tax bill just for being a sale. The individual income tax picture starts from your federal adjusted gross income. A gain that the federal rules exclude under Section 121 never enters your Arizona income, so it is not taxed by the state. That is the outcome for the vast majority of primary-home sellers.

If part of your gain is taxable after the federal exclusion, Arizona treats it as capital gain income subject to the state's flat 2.5% individual income tax rate, and Arizona law provides a subtraction for a portion of net long-term capital gains under A.R.S. Section 43-1022, which reduces the amount of that gain Arizona taxes. The exact treatment has changed by tax year, and lawmakers regularly propose further changes, so the current-year mechanics are worth confirming with a CPA or the Arizona Department of Revenue before you rely on any single number. The point for planning is simple: Arizona is a low-rate, federal-conforming state, and for most homeowners the federal exclusion is the whole story.

Form 1099-S and the seller certification

When a home sells, the settlement agent is generally required to report the gross proceeds to the IRS on Form 1099-S. The exception is the seller certification: if you certify in writing that the home was your principal residence and that the full amount of your gain is excludable under the federal rules, the settlement agent does not have to file or furnish the form. When a home has more than one owner, each owner signs a certification. If any owner does not provide one, the settlement agent reports the sale on Form 1099-S regardless of the price.

Receiving a 1099-S is not itself a tax bill, and neither is the absence of one a guarantee that you owe nothing. The form simply reports the transaction to the IRS. What decides your tax is whether you qualify for the exclusion and how you figure your gain, which is why your records and your conversations with a CPA matter more than the paperwork at the closing table. Ask your closer up front whether a certification will be used, and keep a copy with your tax records either way.

Planning ahead: the records and the conversations that matter

Before you list

  • Gather the purchase closing statement and your original purchase price.
  • Collect receipts for major improvements; they raise your basis.
  • Confirm you meet the 2-of-5 test, or which reduced exclusion may apply.
  • Run an estimated net-proceeds picture that includes your likely costs.

At and after closing

  • Keep the closing statement and any 1099-S in your tax records.
  • Ask your CPA whether the gain is reportable and how it fits your return.
  • Keep the improvement receipts with the property records for future reference.
  • Confirm any estimated payments needed if a taxable gain is expected.

The best time to sort all of this out is before you price the home, not at the closing table. An accurate net-proceeds estimate is built from the same ingredients as your tax picture: the likely sale price, the transaction costs, and your basis. When those are on one page, both the offer you accept and the tax you expect line up with the numbers.

How technology helps you see the whole picture before you sell

This is the kind of question where consumer-first technology earns its place: the tax rules are public and stable, and the right tools make them understandable instead of intimidating. At Clearly Sold, brokered by HomeSmart, we use technology to lay the full cost and timing picture out in plain terms, from an estimated net-proceeds breakdown that includes title, escrow, and recording costs, to the market analysis that frames what your home is likely to sell for, so you can bring a real number, not a guess, to the conversation with your CPA.

None of that replaces professional judgment, and a tax question deserves a tax professional's answer. What the tools do is make the decision yours: you see the costs, you understand the tradeoffs, and you choose the strategy that fits your goals. As an AI Certified Agent, Andrew uses technology to make information more accessible and more comparable, and pairs it with more than 25 years of experience so the final call is informed, not automated. Real Estate, Clearly.

Where do you go from here?

Know your basis

Pull the purchase closing statement and the improvement receipts together before you start the pricing conversation.

Confirm with a CPA

The 2-of-5 test, the reduced exclusion, and Arizona's current treatment are worth a professional confirmation for your exact facts.

Plan the whole sale

Use a current market analysis and a full net-proceeds estimate together, so price, costs, and timing are on one page.

Frequently asked questions

Do I have to pay capital gains tax when I sell my primary home in Arizona?

Usually not. If you owned and used the home as your primary residence for at least 2 of the 5 years before the sale, and your gain is within the exclusion limits, the gain is excluded from federal income, and Arizona conforms to that exclusion, so it is not taxed by the state either. You can owe tax when your gain exceeds the exclusion, when you do not meet the ownership and use test, or when you have already used the exclusion within the past 2 years. Every situation is individual, so confirm yours with a tax professional.

How much gain can I exclude, and how often?

Up to $250,000 of gain if you file single or married separately, and up to $500,000 if you file married jointly. You can use the exclusion only once every 2 years, but there is no lifetime cap, so a couple who qualifies can exclude gain on a new primary home every 2 years for as long as they meet the test.

What is my 'basis,' and why does it matter?

Basis is roughly what you have invested in the home: what you paid for it, plus purchase closing costs and the cost of qualifying improvements, minus any depreciation you claimed if the home was used for business or rental. When you sell, your gain is your sale price minus your selling expenses minus your adjusted basis. A higher basis means a lower gain, which is why keeping improvement receipts matters.

What happens if I do not meet the 2-of-5-year test?

You may still qualify for a reduced exclusion if the primary reason for the sale was a change in place of employment, a health problem, or unforeseen circumstances. The reduced amount is a fraction of the full exclusion based on how long you owned and used the home. If no partial exclusion applies, the gain is taxable, and the 2026 federal long-term capital gains rates are 0%, 15%, or 20% depending on your taxable income, with a possible 3.8% Net Investment Income Tax on top for higher earners.

Will I receive a Form 1099-S when I sell?

In many Arizona sales, no. The settlement agent does not have to issue Form 1099-S when the seller certifies in writing that the home was their principal residence and that the full amount of the gain is excludable under the federal rules. Each owner signs the certification. If a seller does not provide it, the settlement agent reports the sale on Form 1099-S regardless of the price. Ask your closer which path applies to your sale.

Sources and further reading

Tax law changes frequently, and your result depends on your exact ownership history, filing status, and records. The figures here reflect the federal rules as published for 2026 and Arizona's general treatment as of this writing. This article is educational and is not tax advice; confirm your gain, your exclusion, and the current-year Arizona treatment with a CPA or other qualified tax professional before you rely on any detail.

Related resources

Educational note: this article explains how capital gains tax generally works for Arizona primary-home sellers under the rules published for 2026. It is not tax advice, a guarantee of any exclusion or liability, or a promise about any sale outcome. Your gain, basis, and filing situation are individual, and Arizona's capital gain treatment can change by tax year. Confirm your specific situation with a qualified tax professional before you rely on any single detail.

Next step

Know what your home sale really nets you

We can walk you through the full picture before you list: estimated net proceeds, the transaction costs, and the tax questions to confirm with your CPA. The goal is a number you can plan around, not a surprise at closing.

Phone
623-400-5957