Selling a rental property triggers a web of tax issues—adjusted basis, depreciation recapture, long‑term capital gains, state tax, and the need to adjust estimated taxes or withholding. This guide walks you, step by step, through the decisions and calculations landlords should make before, at, and after a sale in 2026. It emphasizes concrete actions you can take to preserve deductions and credits, avoid an unexpected tax bill, and position the sale to fit your filing status and tax‑bracket objectives.

Quick roadmap: what this guide covers

  • How to compute adjusted basis and the realized gain
  • How depreciation recapture, capital gains and NIIT interact
  • Deferral and smoothing options (1031, installment, Opportunity Funds)
  • How filing status and tax bracket affect the after‑tax outcome
  • How to estimate and make estimated‑tax payments to avoid penalties
  • Forms, recordkeeping and a pre‑sale checklist

Step 1 — Assemble the numbers: compute adjusted basis and realized gain

Before you consider strategies, calculate the tax plumbing.

  1. Start with your acquisition cost (purchase price) plus capital improvements (not repairs). Gather receipts and closing statements.
  2. Subtract cumulative allowable depreciation taken while the property was a rental (including bonus or Section 179 if applicable) to get your adjusted basis.
  3. From the sale proceeds, subtract selling costs (broker commissions, title fees, transfer taxes) to get adjusted sales proceeds.
  4. Realized gain = adjusted sales proceeds − adjusted basis.

Example (simple): Sale price $600,000 − selling costs $30,000 = $570,000 adjusted proceeds. If your adjusted basis is $300,000, realized gain = $270,000.

Step 2 — Break the gain into tax buckets

Not all of that $270,000 is taxed the same way. Separate the gain into at least three parts:

  • Depreciation recapture (unrecaptured Section 1250 on real property): the portion equal to cumulative depreciation is typically taxed at a maximum 25% rate.
  • Long‑term capital gain: the remainder of the gain, subject to preferential capital‑gains rates (0/15/20% scale depending on taxable income and filing status).
  • Potential Net Investment Income Tax (NIIT): an extra 3.8% may apply to net investment income if your modified adjusted gross income exceeds applicable thresholds.

Using the example: if cumulative depreciation is $80,000, that $80,000 is recapture (taxed at up to 25%), and the remaining $190,000 is long‑term capital gain.

Step 3 — Consider how filing status and tax bracket change the outcome

Whether you file single, head‑of‑household, married filing jointly, or married filing separately affects which capital‑gains bracket you fall into and whether the NIIT thresholds apply. Two practical implications:

  • If you can control the timing of recognition (see deferred options below), shifting some income into a year when your taxable income is lower can reduce or eliminate the 20% capital‑gains tier and even reach the 0% bracket for part of the gain.
  • Married filing jointly generally provides wider bracket bands for the 0/15/20% capital‑gains tiers than single filers—so filing status matters when gains are near a threshold.

Action item: model the sale on a worksheet for your most likely filing status(es) to see whether shifting months or years changes which tax brackets apply to the capital gain.

Step 4 — Evaluate deferral and smoothing strategies

If the upfront tax bill is undesirable, consider these well‑established options. Each has strict rules—run the numbers and talk to your tax advisor.

1031 exchange (like‑kind, real property only)

  • Defers recognition of gain if you reinvest proceeds into qualifying real property. Strict timing: identify replacement property within 45 days, close within 180 days.
  • For 1031 you must follow identification rules strictly; document the exchange with a qualified intermediary and file Form 8824.
  • Useful for active real‑estate investors wanting to preserve buying power.

Installment sale

  • Spreads gain over multiple years as buyers pay you. Reported on Form 6252.
  • Works well when the buyer finances part of the purchase or for seller‑financed deals. Interest income may increase total taxable income, so model the net‑present‑value tradeoff.
  • Depreciation recapture is generally recognized in the year of sale (can’t always be spread), so the installment method may only defer the non‑recapture portion.

Opportunity Fund (QOF) deferral

  • Reinvest gain into a qualified opportunity fund within 180 days to defer tax on the gain, subject to QOF rules and timelines.
  • Potential step‑up in basis for deferred gain if funds are held long enough; this is complex and requires strict compliance.

Convert to primary residence (Section 121) — limited cases

  • If you convert the rental to your principal residence and meet the residency tests (generally two of five years), you may exclude up to $250,000 ($500,000 MFJ) of gain under Section 121.
  • Depreciation taken after 2008 is not excludable and is subject to recapture—so conversion is not a silver bullet. Confirm interaction with depreciation recapture rules before relying on this strategy.

Step 5 — Maximize deductions and credits at sale

  • Ensure all allowable selling expenses are captured on the settlement statement: broker commissions, legal fees, title and escrow costs reduce recognized gain.
  • Include recent capital improvements in basis: document permits, invoices and bank records to raise basis and shrink gain.
  • Investigate state-level credits (historical rehab credits, energy credits) that might apply to your property before sale—these are rare but valuable.
  • Use capital loss carryforwards, if any, to offset capital gains at federal level. State rules may differ.

Step 6 — Adjust estimated taxes and withholding to avoid penalties

Large gains can create a surprise estimated‑tax obligation. Take these steps:

  1. Compute a preliminary tax estimate for the year: include projected ordinary income, the recapture portion, long‑term capital gains and any NIIT exposure.
  2. Use the safe harbors—generally paying the smaller of 90% of the current year’s tax or 100% of prior year tax (often 110% for higher‑income taxpayers)—to avoid underpayment penalties. Confirm current thresholds with your advisor or the IRS.
  3. If you receive a large, taxable lump sum at closing, consider increasing withholding on a wage earner’s Form W‑4 (withholding is treated as paid evenly through the year) or make an immediate estimated tax payment with Form 1040‑ES.
  4. If you use an installment sale, estimate cash collections and pay estimated taxes as amounts are received; attach Form 6252 information when you file.

Example: Using the earlier numeric example, if your additional federal tax (recapture + capital gains + NIIT) is roughly $60,000, splitting that into four quarterly estimated payments or increasing withholding to cover the shortfall can prevent a penalty.

Step 7 — Reporting and forms to expect

  • Form 4797 — Gains from sales of business property and depreciation recapture are often reported here (then flow to Schedule D).
  • Form 8949 and Schedule D — Reporting capital gain details (adjustments, codes, and net gain).
  • Form 6252 — Use for installment sale reporting if applicable.
  • Form 8824 — Report like‑kind exchanges (1031).
  • Form 1040‑ES — Quarterly estimated tax vouchers (or pay electronically via EFTPS/IRS Direct Pay).

Step 8 — Practical pre‑sale and closing checklist

  1. Run the sell/no‑sell scenario modeling: compute taxable gain, taxes payable, and after‑tax proceeds under alternative timing and deferral options.
  2. Collect and organize documentation for basis (purchase HUD‑1/closing statements, capital improvement invoices, depreciation schedules).
  3. Confirm cost segregation and depreciation schedules with your accountant—additional acceleration or missed deductions can change recapture amounts.
  4. Decide on 1031 vs. cash sale early—if 1031, retain a qualified intermediary before closing.
  5. Plan estimated tax payments: calculate and schedule Form 1040‑ES payments or increase withholding in the payor’s W‑4.
  6. At closing, obtain a complete settlement statement and copy of deed. Ensure the buyer’s and escrow’s information is correct for Form 1099‑S reporting.
  7. After sale, reconcile final numbers and file the proper forms; keep records for at least seven years for depreciation and basis questions.

State and local considerations

State tax treatment of capital gains, depreciation recapture and credits varies widely. Some states tax capital gains as ordinary income; others have no income tax at all. Also check whether your state offers specific credits or imposes local transfer taxes that affect net proceeds. If you changed residency during the year, allocate gain to the appropriate tax year and jurisdiction based on residency rules.

When to call a professional

If your sale involves any of the following, engage a CPA or tax attorney early:

  • Plans to use 1031 exchanges or Opportunity Funds
  • Large accumulated depreciation or complex cost segregation
  • Possible interaction with Section 121 (conversion to primary residence)
  • Installment sales with third‑party finance or unusual buyer arrangements
  • Significant state nexus or multiple‑state filings

Final practical tips

  • Model multiple scenarios: cash sale now, installment over years, and deferred exchange—compare after‑tax proceeds, not just pre‑tax.
  • Document everything that increases basis; even small capital improvements add up.
  • Don’t overlook the interaction with deductions and credits elsewhere on your return—itemized deductions, business losses, and prior‑year credits can affect taxable income and which capital‑gains bracket applies.
  • Act early. Timing, forms and a qualified intermediary (for 1031) require lead time—you can’t retroactively elect a 1031 after closing.

Selling a rental in 2026 requires coordinating tax calculations, cash‑flow needs and timing. With clear bookkeeping, early modeling of alternatives, and timely adjustments to estimated taxes or withholding, you can control the tax outcome and preserve the greatest possible net proceeds. Use this guide as the framework for planning, and consult your tax advisor for application to your facts and current law.