Capital Gains Tax on Property Sold Out of State: What You Actually Owe
Selling out-of-state investment property triggers capital gains tax in at least two jurisdictions simultaneously: the state where the property sits and, potentially, your home state. For high-net-worth sellers, the combined federal and state tax stack can reach 37% or more on a single transaction before any planning. Understanding exactly how that stack is built is the starting point for keeping more of the proceeds.
Which State Collects Capital Gains Tax When You Sell Real Estate Out of State
The short answer: both states may have a claim, but they claim different things.
Real property gains are sourced to the state where the property is physically located. That state taxes the gain regardless of where you live. If you are a Florida resident selling a rental property in California, California taxes the gain as if you were a California resident, because the asset is California-sourced income.
Your home state then layers its own tax on top, but with an important offset. Most states that impose an income tax allow a resident credit for taxes paid to another state. According to the Journal of Financial Planning's analysis of multi-state taxation, this credit is limited to the lesser of the tax paid to the source state or the home state's tax on the same income. The credit prevents true double taxation in most cases, but it does not always eliminate the gap entirely.
The practical result: if you live in a state with a higher tax rate than the property state, you will owe the difference to your home state after the credit. If you live in a no-income-tax state like Florida or Texas, you owe nothing additional at home, but you still owe the property state's full rate.
Nine states impose no broad-based individual income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming, according to the Tax Foundation's 2024 state income tax rate data. Residents of these states face only the property state's tax plus federal, which is a meaningful structural advantage for multi-property portfolios.
Understanding your non-resident capital gains tax obligations before closing is not optional. Several states require withholding at closing regardless of your actual liability, and missing that requirement creates compliance problems that outlast the transaction.
The Full Federal Tax Stack on Out-of-State Investment Property
The headline long-term capital gains rate of 15% or 20% is not the number that matters. The number that matters is your combined federal effective rate after layering in the Net Investment Income Tax and depreciation recapture.
For 2024, per IRS Topic No. 409, the 20% long-term federal capital gains rate applies to taxable income exceeding $583,750 for married filing jointly. The 15% rate applies between $94,050 and $583,750. Most FatFIRE-level sellers land in the 20% bracket on a large real estate gain.
The IRS then adds the 3.8% Net Investment Income Tax under IRC Section 1411 on the lesser of net investment income or the amount by which modified adjusted gross income exceeds $250,000 for married filers. On a $2M gain, that threshold is crossed immediately, meaning the effective federal rate on long-term gains is 23.8% before depreciation recapture enters the calculation.
Depreciation recapture is where the math gets worse. Under IRS Publication 544, unrecaptured Section 1250 gain (the accumulated depreciation on real property) is taxed at a maximum federal rate of 25%, separate from the standard long-term capital gains rate. IRS Publication 946 requires residential rental property to be depreciated over 27.5 years using the straight-line method, and all accumulated depreciation is subject to recapture upon sale regardless of which state the property is located in.
Worked example: A married couple selling a rental property purchased for $800,000 in 2014 for $2.8M in 2024. Accumulated depreciation over 10 years on a $700,000 depreciable basis (land excluded) at 27.5-year straight-line: approximately $254,545. Their federal tax stack looks like this:
| Tax Component | Rate | Taxable Amount | Tax Owed |
|---|---|---|---|
| Long-term capital gains (net of recapture) | 20% | $1,745,455 | $349,091 |
| Depreciation recapture (Section 1250) | 25% | $254,545 | $63,636 |
| Net Investment Income Tax | 3.8% | $2,000,000 | $76,000 |
| Total Federal Tax | $488,727 |
That is a 24.4% effective federal rate on the $2M gain, before a single dollar of state tax. Add California's rate of up to 13.3% and the combined bill approaches 37%.
Capital Gains Tax Rates for Nonresident Property Sellers: State-by-State
State tax treatment of nonresident real estate gains varies substantially. California taxes capital gains as ordinary income at rates up to 13.3% and applies this to all real property located within the state regardless of the seller's residency, per the California Franchise Tax Board. New York's combined state and city rate can reach 12.7% for New York City residents, though nonresidents owe only state tax on New York-sourced gains.
The table below covers states with significant real estate transaction volume and the rates nonresident sellers face.
| State | Capital Gains Tax Treatment | Top Rate (Nonresident) | Notes |
|---|---|---|---|
| California | Taxed as ordinary income | 13.3% | Mandatory 3.33% withholding on gross sale price at closing |
| New York | Taxed as ordinary income | 10.9% | Nonresident withholding required; NYC tax does not apply to nonresidents |
| Hawaii | Taxed as ordinary income | 11.0% | Highest top rate for most nonresidents |
| Oregon | Taxed as ordinary income | 9.9% | No sales tax, but high income tax rate |
| Minnesota | Taxed as ordinary income | 9.85% | Nonresident return required |
| Colorado | Separate capital gains deduction available | 4.4% | See Colorado's non-resident capital gains tax rules for deduction details |
| Massachusetts | Separate short/long-term rates | 5.0% (long-term) | See Massachusetts capital gains tax for non-residents |
| Arizona | Taxed as ordinary income | 2.5% | Flat rate post-2023 reform |
| Florida | No state income tax | 0% | Source state only; no home-state tax for FL residents |
| Texas | No state income tax | 0% | Source state only; no home-state tax for TX residents |
| Nevada | No state income tax | 0% | Source state only |
| Washington | Capital gains tax on gains over $250K | 7.0% | Applies to WA residents; real property generally exempt |
For capital gains tax on non-primary residences, the primary residence exclusion under IRS Publication 523 ($250,000 single, $500,000 married filing jointly) does not apply. Investment properties, vacation homes, and rental properties receive no federal exclusion, and most states follow the same rule.
How California's Withholding Requirement Creates a Cash Flow Problem
California's mandatory nonresident withholding rule catches high-net-worth sellers off guard more than almost any other state-specific requirement. The California Franchise Tax Board requires withholding at 3.33% of the gross sale price, not the gain, at close of escrow.
On a $2M California property sale, that is $66,600 withheld at closing regardless of your actual gain or tax liability. If you purchased the property for $1.8M and your actual gain is $200,000, your California tax at the 13.3% top rate is $26,600. The state holds $40,000 of your money until you file a nonresident California return and claim the refund.
That refund process takes months. For a seller who planned to deploy those proceeds into a 1031 exchange replacement property, the timing mismatch creates a real problem. The 45-day identification window and 180-day closing window under Section 1031 do not pause while California processes your refund.
The practical fix: work with a California-licensed tax professional before closing to determine whether you qualify for a withholding reduction or waiver. California allows sellers to request a reduced withholding amount if the standard 3.33% exceeds the actual estimated tax liability, but the request must be submitted and approved before closing.
How Depreciation Recapture Affects Capital Gains Tax on Out-of-State Rental Property
Depreciation recapture is the tax issue most commonly underestimated by sellers of rental properties. Every year you owned and depreciated a rental property, you reduced your taxable income. When you sell, the IRS recaptures that benefit at a rate of up to 25% on the accumulated depreciation, separate from the capital gains rate on the remaining appreciation.
The recapture applies regardless of whether you actually claimed the depreciation deductions. If you were entitled to depreciate the property and did not, the IRS still calculates recapture as if you had. This is a common and expensive surprise for sellers who inherited rental properties or acquired them through 1031 exchanges and did not track the depreciation history carefully.
For capital gains tax implications for vacation homes that were converted to rentals, the depreciation period starts from the date the property was placed in service as a rental, not the original purchase date. If you rented a beach house for five years before selling, you have five years of depreciation to recapture.
The recapture is sourced to the same state as the property. If you own a rental in Oregon and have $150,000 of accumulated depreciation, Oregon taxes that $150,000 as ordinary income at its top rate of 9.9%, in addition to California's (or your home state's) treatment of the same income after the resident credit.
For sellers with multiple rental properties, the interaction between recapture, the 25% federal rate, and state ordinary income rates can push the effective rate on the recapture portion well above 35% combined. This is the calculation that makes installment sales and 1031 exchanges worth modeling carefully before any large disposition.
Can a 1031 Exchange Defer Capital Gains Tax on Property Sold Out of State
A properly structured Section 1031 like-kind exchange defers federal capital gains tax and, in most states, state capital gains tax by reinvesting proceeds into a qualifying replacement property. The IRS requires identification of the replacement property within 45 days of closing and completion of the exchange within 180 days.
The deferral is real and substantial. On a $2M gain with a 23.8% combined federal rate, a 1031 exchange preserves approximately $476,000 of capital that would otherwise go to the IRS, allowing full reinvestment into the replacement property.
However, California's treatment of 1031 exchanges is a specific and underappreciated risk. California requires taxpayers who complete a 1031 exchange out of California (selling California property and buying replacement property in another state) to file an annual information return, FTB Form 3840, tracking the deferred gain. When the replacement property is eventually sold, California asserts the right to tax the deferred gain even if the taxpayer is no longer a California resident at that time.
This clawback provision means that a California-to-Nevada 1031 exchange does not fully eliminate California's tax claim. It defers it. Sellers who plan to relocate to a no-income-tax state and assume the 1031 exchange resolves their California exposure are working with an incomplete picture.
For calculating capital gains on real estate sales involving multiple prior exchanges, the basis tracking becomes complex. Each exchange carries forward the adjusted basis of the relinquished property, which can result in a very low basis (and very large gain) on the eventual sale of a property that has been exchanged multiple times.
The 1031 exchange remains the most powerful single deferral tool available for investment real estate. It works best when the seller intends to continue holding real estate indefinitely or has a clear succession plan for the portfolio.
Installment Sales: An Underused Strategy for Large Out-of-State Property Gains
For sellers who do not want to reinvest in replacement property but also do not want to absorb a $400,000+ federal tax bill in a single year, installment sales under IRC Section 453 offer a legitimate rate-reduction and deferral strategy that most sellers never model.
An installment sale spreads gain recognition across multiple tax years by receiving payment over time rather than in a lump sum at closing. The seller reports gain proportionally as payments are received. The practical benefit: by keeping annual recognized gain below the 20% federal capital gains threshold ($583,750 for married filing jointly in 2024) and the $250,000 NIIT threshold, a seller can reduce the effective federal rate on a substantial portion of the gain from 23.8% to 15%.
For a $3M property with $2M of gain, structuring the sale as a 7-year installment with roughly $285,000 of gain recognized annually keeps a married couple below both the 20% bracket and the NIIT threshold in each year, assuming no other significant income. The difference between 15% and 23.8% on $2M of gain is $176,000 in federal tax savings.
The tradeoffs are real. The seller carries credit risk on the buyer's future payments. Interest must be charged at the IRS's applicable federal rate or imputed interest rules apply. Depreciation recapture is recognized in full in the year of sale regardless of the installment structure, which eliminates the rate benefit on that portion. And if the buyer defaults, the seller faces a repossession with its own tax consequences.
Installment sales work best when the buyer is creditworthy, the gain is large relative to the recapture amount, and the seller has other income sources that are manageable year to year. They should be modeled alongside 1031 exchanges for any disposition above $1M in gain.
Does Changing State Residency Before the Sale Reduce Capital Gains Tax
Residency change is a legitimate tax planning strategy, but its effect on out-of-state property gains is more limited than many sellers expect.
Real property gains are sourced to the state where the property is located. That state taxes the gain regardless of where the seller lives. Changing domicile from California to Nevada before selling a California rental property does not eliminate California's tax on the gain. California still taxes the gain at up to 13.3% because the property is California-sourced income.
What residency change does eliminate is the home-state layer of tax. A California resident selling Nevada investment property owes California tax on the Nevada gain. A Nevada resident selling the same property does not. For sellers with investment properties in no-income-tax states, establishing residency in a no-income-tax state before the sale eliminates the home-state tax entirely.
The residency change must be genuine and defensible. California in particular is aggressive about auditing high-net-worth individuals who claim to have changed domicile shortly before a large income event. The standard factors (driver's license, voter registration, time spent in each state, location of primary relationships and business activities) all matter, and California has the resources to challenge changes that appear tax-motivated.
For sellers considering this strategy, the planning horizon matters. A residency change executed 12 to 18 months before the sale, with consistent supporting documentation, is substantially more defensible than one executed 60 days before closing. The tax savings on a $2M California gain can exceed $260,000, which makes the planning investment worthwhile for large transactions.
Reporting Requirements: Federal and State Filing Obligations
All capital asset sales, including real estate, must be reported on IRS Form 8949 and Schedule D, per the IRS Form 8949 and Schedule D instructions. Form 8949 captures the detail: acquisition date, sale date, proceeds, cost basis, and adjustments. Schedule D aggregates the totals and applies the appropriate rate based on holding period.
The holding period distinction matters more than most sellers realize. Short-term gains (property held one year or less) are taxed as ordinary income, which for high-income sellers means the 37% federal rate. Long-term gains receive the preferential 0%, 15%, or 20% rate. For a seller in the top bracket, the difference between short-term and long-term treatment on a $1M gain is $170,000 in federal tax.
State filing requirements vary and are non-negotiable. Most states where you own investment property require a nonresident return even if you owe no tax after credits. California requires nonresident sellers to file a return and reconcile the withholding collected at closing. Failure to file creates a liability that compounds with penalties and interest.
For capital gains tax considerations for co-owned properties, each owner reports their proportionate share of the gain on their own return. If co-owners are residents of different states, each owner may face different state tax obligations on the same property sale.
Keep complete records: the original purchase agreement, closing disclosure, all improvement receipts, depreciation schedules, and the sale closing disclosure. The IRS has three years from the filing date to audit a return in most cases, but that window extends to six years if the IRS believes income was understated by more than 25%. For a large real estate gain, the documentation should be retained indefinitely.
Tax-Efficient Alternatives to an Outright Sale
An outright sale is not always the most efficient exit for appreciated real estate. Several alternatives deserve analysis before closing.
Charitable Remainder Trusts (CRTs): Contributing appreciated property to a CRT allows the trust to sell the property without immediately recognizing capital gains. The seller receives an income stream for a term of years or life, a partial charitable deduction, and removes the asset from the taxable estate. The tradeoff is irrevocability and the eventual transfer of the remainder to charity.
Opportunity Zone Funds: Gains from any asset sale can be deferred and partially excluded by reinvesting in a Qualified Opportunity Zone Fund within 180 days of the sale. The deferral runs through 2026, and gains on the opportunity zone investment itself are excluded if held 10 years. This is not a replacement for a 1031 exchange on real property (which preserves basis), but it is a viable option for sellers who want to exit real estate entirely.
Gifting and estate planning: For sellers with estate planning objectives, tax-efficient strategies for transferring property before sale can shift the gain to lower-bracket family members or remove it from the estate entirely. The stepped-up basis rules under IRC Section 1014 mean that heirs who inherit appreciated property receive a new basis equal to the fair market value at death, eliminating the embedded capital gain. For a property with $2M of unrealized gain, holding until death rather than selling can eliminate the entire capital gains liability.
Installment sales to family members: Selling appreciated property to a family trust or family member on an installment basis at the applicable federal rate can spread gain recognition while keeping the economic benefit within the family. This strategy requires careful structuring to avoid related-party installment sale rules under IRC Section 453(e).
The right structure depends on the seller's liquidity needs, estate planning goals, charitable intent, and timeline. None of these alternatives should be selected without modeling the after-tax outcomes against a straightforward sale.
Practical Steps Before Closing an Out-of-State Property Sale
The tax planning for an out-of-state property sale should begin at least six months before the anticipated closing date. The decisions made in that window determine the tax outcome. Decisions made after closing do not.
Step 1: Reconstruct the full cost basis. Pull the original closing disclosure, all capital improvement receipts, and the depreciation schedule from every year the property was in service. The adjusted basis determines the gain. Errors in basis calculation are the most common and most expensive mistakes in real estate tax reporting.
Step 2: Model the full tax stack. Calculate federal capital gains tax (at 15% or 20%), NIIT (3.8%), depreciation recapture (up to 25%), and state tax for both the property state and your home state. Apply the resident credit to determine net state liability. This number is your baseline.
Step 3: Compare deferral strategies. Run a 1031 exchange scenario, an installment sale scenario, and an outright sale scenario side by side. Include the time value of deferred tax, the reinvestment return assumptions, and the eventual exit tax on the replacement property.
Step 4: Address state-specific withholding. If the property is in California or another state with mandatory nonresident withholding, determine your estimated actual liability and file for a withholding reduction before closing if the standard rate overstates your obligation.
Step 5: Confirm filing requirements in both states. Identify every state where you will need to file a return, the forms required, and the deadlines. Some states have nonresident return deadlines that differ from the federal April 15 date.
For Vermont's capital gains tax framework and other states with unique rules, confirm the current rates and filing requirements with a state-licensed tax professional, not a general reference source. State tax laws change frequently and the stakes on a large transaction are too high for outdated information.
References
- Internal Revenue Service -- "Publication 523: Selling Your Home" (2023)
- Internal Revenue Service -- "Publication 544: Sales and Other Dispositions of Assets" (2023)
- Internal Revenue Service -- "Topic No. 409: Capital Gains and Losses" (2024)
- Internal Revenue Service -- "IRC Section 1411: Net Investment Income Tax"
- Internal Revenue Service -- "Publication 946: How to Depreciate Property" (2023)
- Internal Revenue Service -- "IRC Section 1031: Like-Kind Exchanges"
- Internal Revenue Service -- "Form 8949 and Schedule D Instructions" (2023)
- California Franchise Tax Board -- "Capital Gains and Losses: California Instructions for Schedule D" (2023)
- Tax Foundation -- "State Individual Income Tax Rates and Brackets" (2024)
- Journal of Financial Planning -- "Multi-State Taxation of Real Estate Gains: Residency, Sourcing, and Credit Allocation"
