Selling a Rental or Investment Property: Taxes, 1031 Exchange, and Your Windfall Plan
Selling a rental or investment property creates a windfall that differs from almost every other liquidity event: there is no exclusion to shelter the gain, accumulated depreciation gets taxed at a rate above the capital gains rate, and the single most important decision — whether to do a 1031 exchange — must be made before closing, not after. This guide explains the tax mechanics, your three main deferral options, and what the first 90 days should look like.
Why this is different from selling your primary home
When you sell a primary residence you have owned and lived in for at least 2 of the last 5 years, the IRS allows you to exclude up to $250,000 of gain from income ($500,000 married filing jointly) under IRC §121. That exclusion does not apply to rental property, vacation homes used primarily as investments, commercial real estate, or land. Every dollar of gain on an investment property sale is taxable.
There is also a second tax that primary residence sellers rarely face at meaningful scale: depreciation recapture. If you have been deducting depreciation on a rental property — which you are legally required to do once you place the property in service — the IRS recaptures that benefit at a 25% rate when you sell, regardless of what ordinary capital gains rate you would otherwise pay.
Calculating your taxable gain: adjusted basis is the key number
Your taxable gain is not the sale price minus what you paid. It is the sale price minus your adjusted basis.
Adjusted basis = original purchase price + capital improvements − accumulated depreciation taken
Every year you have owned the rental property, the IRS has allowed you (and in some cases required you) to deduct depreciation — typically 1/27.5 of the building value per year for residential property, or 1/39 for commercial property under the straight-line method. Those deductions reduced your taxable income each year, but they also reduced your adjusted basis. When you sell, that basis reduction comes back as taxable gain.
Adjusted basis: $400,000 + $50,000 − $145,000 = $305,000
Total gain: $750,000 − $305,000 = $445,000
The depreciation recapture trap: §1250 gain at 25%
Of your $445,000 gain, $145,000 represents previously claimed depreciation deductions. The IRS recaptures that portion under IRC §1250 and taxes it at a maximum rate of 25% — not at your long-term capital gains rate, even if your capital gains rate would be lower.1
The remaining $300,000 — appreciation above your original adjusted basis — is taxed as long-term capital gains, assuming you have held the property for more than one year.
In the example above, the federal tax calculation might look like this (for a single filer with $600,000 of other income in 2026):
- §1250 recapture: $145,000 × 25% = $36,250
- Long-term capital gains: $300,000 × 20% = $60,000 (in the 20% LTCG bracket)
- Net Investment Income Tax (NIIT): $445,000 × 3.8% = $16,910
- Estimated federal tax on the gain: ~$113,160
Most sellers are surprised by the depreciation recapture piece. If you have been advised to "take depreciation every year for the tax benefit," that advice was correct — but it was a deferral, not an elimination. The 25% recapture tax is the cost of those earlier deductions, collected at sale.
2026 federal long-term capital gains rates
For gains above the §1250 recapture portion, long-term capital gains rates in 2026 are:2
- 0% — taxable income up to $49,450 (single) / $98,900 (MFJ)
- 15% — taxable income up to $545,500 (single) / $613,700 (MFJ)
- 20% — taxable income above those thresholds
In the year you sell an investment property, the gain itself is added to your total taxable income — which often pushes you into the 20% LTCG bracket even if your ordinary income alone would sit in the 15% bracket. Model your total income for the year before assuming a lower rate applies.
Net Investment Income Tax (NIIT): an additional 3.8%
Gain from the sale of investment property is "net investment income" under IRC §1411, subject to the 3.8% NIIT above $200,000 of MAGI for single filers and $250,000 for married filing jointly.3 This applies to both the §1250 recapture portion and the capital gains portion. For a seller in a high-income year, the effective federal rate on the gain is:
- §1250 recapture: 25% + 3.8% NIIT = 28.8%
- Long-term capital gain: 20% + 3.8% NIIT = 23.8%
Add state income tax in states that tax capital gains as ordinary income (California, New York, New Jersey, Oregon) and the combined marginal rate on the gain can exceed 35–40%.
IRMAA: the 2-year Medicare premium lookback
If you or your spouse are 63 or older and will be on Medicare within two years, your 2026 sale will directly set your 2028 Medicare Part B and D premiums. IRMAA surcharges in 2026 begin at $109,000 MAGI for single filers and $218,000 for MFJ — thresholds that a large investment property sale will far exceed.4
Surcharges can add $3,000–$10,000+ per year in Medicare premiums per person for the two years following a high-income event. A 1031 exchange that eliminates the recognized gain also eliminates the IRMAA trigger. For sellers within 10 years of Medicare, this is a real factor in the exchange vs. sell decision.
Option 1: §1031 like-kind exchange — defer 100% of the tax
A §1031 like-kind exchange allows you to defer all capital gains tax and all §1250 depreciation recapture by reinvesting the proceeds into a qualifying replacement property.5 The tax is deferred, not forgiven — the accumulated deferred gain transfers to the replacement property's basis and will be taxed when the replacement is eventually sold (or deferred again via another exchange).
The mechanics are strict. You cannot receive the proceeds at any point during the exchange:
Key 1031 rules
- Qualified Intermediary required. You must engage a QI before the sale closes. The QI holds the proceeds; if cash touches your hands first, the exchange is disqualified. This cannot be done retroactively after closing.
- 45-day identification window. You have 45 calendar days from the closing of the relinquished (sold) property to identify potential replacement properties in writing to the QI. Missing the deadline disqualifies the exchange, even by one day.
- 180-day closing window. You must close on the replacement property within 180 calendar days of the relinquished property's closing (or by the due date of your tax return, if earlier — which matters if the sale is late in the year).
- Equal-or-greater value and equity. To defer 100% of the gain, the replacement property must be of equal or greater value than the relinquished property, and you must reinvest all the net equity. Receiving any cash or net debt relief at closing creates "boot," which is taxable.
- Like-kind is broad for real property. "Like-kind" means real property to real property — a residential rental for commercial office space, raw land for an apartment building, or retail strip center for a warehouse are all qualifying exchanges. Foreign property does not qualify.
Option 2: Delaware Statutory Trust (DST) — passive 1031 replacement
A Delaware Statutory Trust is a fractional ownership structure that qualifies as replacement property in a §1031 exchange. DSTs allow you to complete a 1031 exchange without the management responsibilities of direct property ownership — no tenants, no maintenance, no lease renewals. The DST sponsor manages the property; investors receive a pro-rata share of income and proceeds at disposition.
DSTs are commonly used by sellers who want to exit active management (landlord fatigue), need to close a replacement property quickly within the 180-day window, or want to diversify across multiple properties or asset classes. The tradeoff: DST interests are illiquid, you have no control over property decisions, and fees can be substantial. Treat DSTs as a specialized tool — appropriate for some sellers, not a default 1031 solution for everyone.
Option 3: installment sale §453 — spread the ordinary capital gain (but not the recapture)
If you sell the property on an installment note — receiving payments over multiple years rather than a lump sum at closing — you can recognize the long-term capital gain portion (15% or 20% rate) proportionally as you receive principal payments, rather than all in the year of sale.6
There is a critical limitation: §1250 depreciation recapture gain is not deferrable via installment sale. Under IRC §453(i), the full recapture amount must be recognized as income in the year of sale regardless of when the payments arrive. Only the capital gain (appreciation above basis) can be spread over the installment period.
Installment sales are most useful when: the buyer does not have full purchase cash, you want to convert a lump-sum gain into a series of smaller annual income events to manage tax brackets or IRMAA exposure, or you are selling to a family member or key employee at a negotiated price. They are not useful for deferring the recapture tax — for that, a 1031 is the only federal mechanism.
State income taxes on investment property sales
State tax treatment of capital gains varies dramatically. Nine states have no income tax (Florida, Texas, Nevada, Washington, Alaska, Wyoming, South Dakota, New Hampshire, Tennessee), which eliminates state tax on the gain entirely. High-tax states tax capital gains as ordinary income:
- California: up to 13.3% (top ordinary rate)
- New Jersey: up to 10.75%
- Oregon: up to 9.9%
- New York: up to 10.9% state + NYC surcharge
- Minnesota: up to 9.85%
For a seller in California with $500,000 of investment property gain, the state tax alone can approach $65,000 — on top of federal taxes. The combined effective rate including NIIT can exceed 40%. A 1031 exchange defers both federal and California state tax simultaneously.
Also note: if you sell a property in one state while residing in another, you may owe income tax in both states (usually with a credit in your resident state for taxes paid to the source state). This arises commonly for vacation rental property or investment property held across state lines.
What to do with the proceeds if you choose to sell and pay the tax
Not every investment property sale should result in a 1031 exchange. Valid reasons to cash out and pay the tax include: you are exiting real estate entirely, the management burden outweighs the deferral benefit, you need the liquidity for another purpose, or the replacement market is unattractive. If you elect to pay the tax and receive the cash proceeds:
First-90-day framework for investment property sellers
- Calculate the tax reserve before anything else moves. Add up federal capital gains, §1250 recapture, NIIT, and estimated state tax. On a $500,000 gain, the combined bill can easily reach $150,000–$200,000. Park that amount in a segregated account — not the same account you use for spending decisions.
- Set estimated tax payments. If the sale closes in 2026, pay estimated taxes on the gain by the next quarterly deadline (September 15 or January 15 at the latest). The safe harbor is 110% of your prior year's tax liability if AGI exceeded $150,000 — or pay 90% of your 2026 liability. Missing estimates creates penalties on top of the tax.
- Park remaining proceeds in FDIC-safe, liquid accounts. Use Treasury bills, government money market funds, or FDIC-insured accounts to hold investable capital while the full plan is built. Don't start deploying to long-term investments until the tax and estate picture is clear.
- Run the IRMAA projection. If you are within 10 years of Medicare, model the 2028–2029 premium impact and decide whether Form SSA-44 (income-related Medicare adjustment appeal) is warranted for circumstances that won't repeat.
- Coordinate the estate plan. A large liquidity event is the right time to update beneficiary designations, review the will and trust structure, and consider the $15,000,000 federal estate exemption (permanent under OBBBA 2025).
Why this decision benefits from a fee-only advisor
The 1031-vs-sell decision involves tax projection, real estate market judgment, estate planning, investment policy, and IRMAA management simultaneously. Advisors who sell financial products or earn commissions have an incentive to push toward cashing out (so they can manage the proceeds) or toward DST structures (which often pay broker commissions). A fee-only advisor working on a flat or hourly basis has no product incentive — they model the actual net outcome of each path and help you decide.
The typical planning process for a large investment property sale includes: calculating the gain and tax; projecting the after-tax net for each scenario; evaluating 1031 markets (with the seller's real estate broker or QI); modeling IRMAA and Medicare premium impact; coordinating with the CPA on estimated taxes and safe harbors; and updating the investment policy statement for any new investable capital. That's a 4–8 hour planning engagement, not a product recommendation.
Back to homepage · Home sale proceeds · Windfall tax planning · Run the windfall calculator
Get matched with a specialist financial advisor
Tell us about your property sale — size of the gain, whether you're considering a 1031 exchange, and your timeline. We will match you with a fee-only advisor who can model the tax scenarios and coordinate the 1031 window if that's the right path.
Sources
- IRC §1250 and IRS Publication 544 — unrecaptured §1250 gain taxed at maximum 25% rate on sale of depreciable real property; basis reduced by depreciation allowed or allowable. IRS Publication 544
- IRS Rev. Proc. 2025-32 — 2026 long-term capital gains rates: 0% up to $49,450 (single) / $98,900 (MFJ); 15% up to $545,500 (single) / $613,700 (MFJ); 20% above those thresholds. IRS Rev. Proc. 2025-32
- IRC §1411 — 3.8% Net Investment Income Tax applies to net gain from sale of investment property above $200,000 MAGI (single) / $250,000 (MFJ). IRC §1411 via law.cornell.edu
- CMS 2026 Medicare Parts A & B Premiums and Deductibles — IRMAA surcharges begin at $109,000 MAGI (single) / $218,000 (MFJ); standard Part B premium $202.90/month. CMS 2026 fact sheet
- IRC §1031 and Treasury Reg. §1.1031(k)-1 — like-kind exchange rules; 45-day identification and 180-day closing deadlines; qualified intermediary requirement; boot taxability rules. IRC §1031 via law.cornell.edu
- IRC §453 and IRS Publication 537 — installment sale rules; IRC §453(i) requires §1250 depreciation recapture to be recognized in full in year of sale regardless of installment method. IRS Publication 537
Dollar thresholds and IRS values verified against 2026 sources. LTCG rates per IRS Rev. Proc. 2025-32. IRMAA thresholds per CMS 2026 fact sheet. §1250 recapture rate per IRC §1(h)(1)(E) (maximum 25%). NIIT threshold per IRC §1411. §1031 and §453 rules are statutory and do not change annually; verified against current IRC text.