If you have sold a rental property, cashed out of an appreciated stock position, or are about to flip a house in the desert, you are probably asking the same question thousands of Arizona taxpayers ask every spring: what is the best way to avoid capital gains tax in Arizona? The honest answer is that there is no single magic bullet. Instead, there is a stack of legal, IRS-approved strategies that, when combined correctly, can reduce or even eliminate the tax bite on a profitable sale. This guide walks through each one in plain English, with real dollar figures, so you can see exactly how Arizona residents keep more of what they earn.
This information is current as of 10/3/2026. Tax laws change frequently. Verify updates with the IRS or Arizona Department of Revenue if reading this later.
Quick Answer
The best way to avoid capital gains tax in Arizona is to combine federal strategies, such as holding assets longer than one year, harvesting losses, using the Section 121 home sale exclusion, and deferring gains through a 1031 exchange or Qualified Opportunity Zone, with an understanding that Arizona taxes capital gains as ordinary income at a flat 2.5 percent state rate. There is no separate lower Arizona capital gains rate, so most of your real savings comes from smart federal planning layered on top of Arizona’s flat tax.
How Capital Gains Are Actually Taxed in Arizona
Before you can avoid a tax, you need to understand how it works. A capital gain (in plain English: the profit you make when you sell something for more than you paid) gets taxed at two levels for Arizona residents: the federal level and the state level.
At the federal level, the IRS splits gains into two buckets. Short-term gains apply to assets held one year or less and are taxed at your ordinary income rate, which can run as high as 37 percent. Long-term gains apply to assets held longer than one year and enjoy preferential rates of 0, 15, or 20 percent depending on your taxable income. For a deeper look at how the IRS handles these, see IRS Topic No. 409, Capital Gains and Losses.
At the state level, Arizona is refreshingly simple. Since the 2022 tax year, Arizona has used a flat individual income tax rate of 2.5 percent, and capital gains are folded into ordinary income. That means whether you earn a dollar from wages or from selling Bitcoin, Arizona taxes it the same way. If you are selling appreciated real estate or securities, you can run the numbers through a capital gains tax calculator to estimate the combined federal and state hit before you pull the trigger.
Key Takeaway: Arizona does not offer a reduced capital gains rate, so most meaningful tax savings come from federal strategies applied on top of Arizona’s flat 2.5 percent rate.
What Is the Best Way to Avoid Capital Gains Tax in Arizona Using the Home Sale Exclusion?
For homeowners, the single most powerful tool is the Section 121 exclusion. If you have owned and lived in your primary residence for at least two of the five years before the sale, you can exclude up to $250,000 of gain if you are single and up to $500,000 if you are married filing jointly.
Let’s put real numbers on this. Imagine a Phoenix couple who bought a home in 2012 for $320,000 and sells it in 2026 for $780,000. That is a $460,000 gain. Because they are married and meet the two-year test, the entire $460,000 is excluded from both federal and Arizona tax. Without this exclusion, they could have faced roughly $69,000 in federal long-term gains tax at 15 percent plus another $11,500 in Arizona tax. That is more than $80,000 saved with one rule.
Do You Qualify for the Home Sale Exclusion?
Yes, if you meet these requirements:
- You owned the home for at least two of the last five years
- You lived in it as your main residence for at least two of the last five years
- You have not used the exclusion on another home sale in the past two years
Partial exclusions are available if you sold early due to a job change, health issue, or other qualifying unforeseen circumstance. Read the specifics in IRS Topic No. 701, Sale of Your Home.
KDA Case Study: Arizona Real Estate Investor Defers $142,000 in Gains
A client we will call Marcus is a 48-year-old real estate investor based in Scottsdale. He owned a small apartment building he had purchased for $610,000 and could now sell for $920,000, a gain of $310,000 after accounting for depreciation recapture and selling costs. Marcus assumed he would simply owe the tax and move on, planning to roll the cash into a larger property. The problem was that paying the tax first would leave him with far less capital to reinvest.
When Marcus came to KDA, our team structured a 1031 like-kind exchange. By identifying a replacement property within 45 days and closing within 180 days, Marcus deferred approximately $142,000 in combined federal capital gains, depreciation recapture, and Arizona state tax. Instead of handing that money to the IRS and the state, he used the full proceeds as a down payment on a larger commercial property, increasing his monthly cash flow by roughly $4,100. He paid KDA a planning and coordination fee of $4,500, which produced an effective first-year return of more than 31 times his investment when measured against the tax he deferred.
Ready to see how we can help you? Explore more success stories on our case studies page to discover proven strategies that have saved our clients thousands in taxes.
Deferring Gains With a 1031 Exchange
For real estate investors, a 1031 exchange is often the crown jewel of capital gains planning. Named after Section 1031 of the tax code, it lets you defer tax on the sale of investment or business property by rolling the proceeds into a “like-kind” replacement property.
Step-by-Step: How a 1031 Exchange Works
- Sell your investment property and have the proceeds held by a qualified intermediary, never by you directly
- Identify replacement property within 45 days of the sale closing, in writing
- Close on the replacement property within 180 days of the original sale
- Match or exceed the value and debt of the property you sold to defer 100 percent of the gain
A 1031 exchange does not erase your tax permanently; it defers it. But many investors keep rolling gains forward for decades, and if they hold the final property until death, their heirs receive a stepped-up basis that can wipe out the deferred gain entirely. Our team regularly helps real estate investors coordinate these exchanges so the tight deadlines never get missed.
Common Mistake: Touching the sale proceeds, even for a day, blows up the exchange. The money must flow through a qualified intermediary from start to finish.
Harvesting Losses to Offset Gains
Tax-loss harvesting is one of the most underused strategies by everyday investors. The idea is simple: sell losing investments to generate capital losses that offset your capital gains, dollar for dollar.
Say you have a $40,000 long-term gain from selling Apple stock, but you are also sitting on a crypto position that is down $25,000. If you sell the losing position, you offset $25,000 of your gain and only pay tax on the remaining $15,000. At the 15 percent federal rate plus 2.5 percent Arizona rate, that single move saves you roughly $4,375.
If your losses exceed your gains, you can deduct up to $3,000 against ordinary income each year and carry the rest forward indefinitely. Just watch the wash-sale rule, which disallows the loss if you buy the same or a substantially identical security within 30 days. The IRS explains this in IRS Publication 550, Investment Income and Expenses.
Timing Your Sale to Hit the 0 Percent Bracket
Here is a strategy most people never consider: in certain years, your long-term capital gains rate can be zero. For the 2026 tax year, married couples with taxable income under roughly $96,700 pay 0 percent on long-term gains. Singles enjoy the same 0 percent rate below approximately $48,350.
Consider a recently retired Tucson couple living on $70,000 of Social Security and modest withdrawals. They want to sell appreciated stock with a $20,000 gain. Because their taxable income stays under the threshold even after adding the gain, they pay zero federal tax on it and only the 2.5 percent Arizona rate, or $500. Careful income timing, such as selling in a low-income year or spreading sales across multiple years, can convert a six-figure gain into a nearly tax-free event.
Should You Time Your Sale for the 0 Percent Bracket?
Yes, if:
- Your taxable income is near or below the 0 percent threshold
- You have flexibility over when to sell
- You can spread sales across multiple tax years
No, if:
- Your income is consistently in a high bracket
- You need the full proceeds immediately
- Selling would push you into a higher bracket and trigger other phase-outs
Qualified Opportunity Zones in Arizona
Arizona has dozens of designated Qualified Opportunity Zones, from parts of Phoenix and Tucson to rural communities. By reinvesting a capital gain into a Qualified Opportunity Fund within 180 days, you can defer the original gain and, if you hold the investment for at least ten years, pay zero tax on the appreciation of the new investment.
Imagine selling stock for a $200,000 gain and rolling it into an Opportunity Fund that develops property in a Phoenix zone. You defer the original $200,000 gain, and if the fund grows to $500,000 over the next decade, the $300,000 of growth is completely tax-free. This strategy carries real risk and illiquidity, so it is best suited to investors who can afford to lock up capital. Learn the mechanics from the IRS Opportunity Zones overview.
Using Retirement and Charitable Vehicles
Two often-overlooked strategies deserve attention. First, holding appreciating assets inside a tax-advantaged account such as a Roth IRA means gains are never taxed, provided you follow the distribution rules. If you are still building wealth, modeling your contributions with a retirement savings calculator can show how much tax-free growth compounds over time.
Second, donating appreciated assets directly to charity avoids capital gains entirely while giving you a charitable deduction for the full fair market value. If you donate $50,000 of stock you originally bought for $10,000, you skip tax on the $40,000 gain and can deduct the full $50,000, subject to income limits. Pairing this with a donor-advised fund gives you flexibility over when the money actually reaches charities.
Special Situations and Edge Cases
Capital gains planning gets complicated fast when life does not fit the textbook. Here are a few scenarios Arizona taxpayers frequently encounter.
Inherited Property
When you inherit property, you receive a stepped-up basis equal to the fair market value on the date of death. If you sell shortly after inheriting, there may be little or no gain to tax. A home your parents bought for $90,000 that is worth $600,000 at their passing gives you a basis of $600,000, so selling for $610,000 produces only a $10,000 gain.
Depreciation Recapture on Rentals
If you sell a rental property, the depreciation you claimed over the years gets “recaptured” and taxed at up to 25 percent federally. This is why a 1031 exchange is so valuable for landlords, since it defers both the gain and the recapture. Our real estate tax preparation team handles these calculations constantly.
Part-Year Arizona Residents
If you moved to or from Arizona during the year, only the portion of your gain attributable to your Arizona residency period is taxed by the state. Clean documentation of your move date and the asset’s holding period is essential here.
Common Mistakes That Cost Arizona Taxpayers Thousands
- Selling one day too early. Holding an asset for 366 days instead of 365 flips a short-term gain into a long-term gain and can cut your federal rate in half.
- Ignoring the wash-sale rule. Buying back a security too soon after harvesting a loss erases the tax benefit.
- Missing 1031 deadlines. The 45-day identification and 180-day closing windows are absolute, with no extensions for most taxpayers.
- Forgetting to track basis improvements. Capital improvements on a home add to your basis and shrink your taxable gain, but only if you kept the receipts.
Ready to Reduce Your Tax Bill?
KDA Inc. specializes in strategic tax planning for business owners, S Corps, LLCs, and high-net-worth individuals. Book a personalized consultation and walk away with a clear plan.
Frequently Asked Questions
Does Arizona have a separate capital gains tax rate?
No. Arizona taxes capital gains as ordinary income at its flat 2.5 percent rate. There is no preferential long-term rate at the state level, so your biggest savings come from federal planning.
Can I avoid capital gains tax on my Arizona home sale entirely?
Often yes. If you meet the Section 121 ownership and use tests, you can exclude up to $250,000 of gain as a single filer or $500,000 as a married couple, which eliminates both federal and Arizona tax on that amount.
How long do I have to hold an asset for the lower long-term rate?
You must hold it for more than one year, meaning at least 366 days, to qualify for long-term capital gains treatment at the federal level.
Is a 1031 exchange worth it for a small rental property?
It can be, especially when depreciation recapture is involved. The deferral of combined gain and recapture often far exceeds the cost of a qualified intermediary and professional coordination.
What happens if I reinvest my gain into an Opportunity Zone?
You defer the original gain and, if you hold the Opportunity Fund investment for at least ten years, you pay zero federal tax on the new appreciation.
Do crypto gains count as capital gains in Arizona?
Yes. The IRS treats cryptocurrency as property, so selling it for a profit creates a capital gain taxed federally and at Arizona’s 2.5 percent rate.
Book Your Capital Gains Strategy Session
If you are staring down a large gain from selling property, stock, or a business, the difference between a reactive sale and a carefully planned one can be tens of thousands of dollars. Our team builds custom capital gains strategies for Arizona investors, homeowners, and business owners that stack every available deferral and exclusion. Click here to book your consultation now and keep more of your hard-earned profit.