Drag the sliders. Watch where the money goes. No math degree needed.
Rentals and syndications throw off paper losses you usually cannot use. They pile up. Sell the building in a taxable sale and they unlock. Here is the part nobody expects: the tax law takes them off your salary first, taxed up to 37%, while the gain keeps its low 15 to 20% rate. You trade a 20% tax for a 37% savings.
For your CPA: §469(g)(1)(A) frees the sold activity's suspended losses as nonpassive in a fully taxable sale to an unrelated buyer. §1(h) taxes at preferential rates the lesser of net capital gain or taxable income, so an allowed loss displaces ordinary income from the top. California taxes gain and salary alike, so the swap is federal only. Unrecaptured §1250 gain (up to 25%) narrows it.
Taxes climb in steps. One giant year shoves the whole gain into the top step. Spread it over years and each slice lands on a lower step. Whether that is worth it depends on how much else you earn and where you live.
For your CPA: 2026 federal brackets (Rev. Proc. 2025-32), 3.8% net investment income tax from $250,000 / $200,000 of MAGI (not indexed), California 2026 schedules plus the 1% surcharge over $1M. Gain only; the note's interest is ordinary income each year and is not in these totals. §453(i) recapture is taxed in the year of sale; §453A interest charge on notes over $5M; §453(e) related-party resale rule.
Think of stuck losses as water behind a dam. A sale opens the gate. Cash at closing opens it once. But the rentals you keep keep pouring new losses in every year, and those can only be used against passive income, like the gain from your sale. An installment sale opens the gate a little every year, so the new water keeps draining too.
For your CPA: Gain on a passive rental is passive income (Temp. Reg. §1.469-2T(c)(2)(i)(A)), so it absorbs losses from rentals you keep. On the installment method the sold activity's own gain absorbs its own suspended losses first; only an overall loss is freed in the ratio of gain recognized to gross profit (§469(g)(3); Form 8582 instructions). Kept-rental losses here meet only sale gain; their own rent and the $25,000 allowance are ignored. Federal + 3.8% + selected state; interest on the note is portfolio income and cannot use these losses.
In a 1031, any cash you take out is called boot and it is taxable. A full 1031 frees none of your stuck losses. But boot gain is passive income, so your stuck losses can soak it up. Take boot up to the size of your losses and the cash comes out with little or no tax on the gain. Go past that line and you pay. Spread the boot over years and new losses soak up each year's slice too.
For your CPA: §1031(b) recognizes gain to the lesser of boot or realized gain; a 1031 is not a fully taxable disposition, so it frees no suspended losses (§469(g)(1)(A)), but recognized boot gain is passive income the carried losses absorb. Boot on the installment method via §453(f)(6). Debt relief is boot unless replaced (Reg. §1.1031(d)-2). The losses here are treated as one bank available to the boot gain; new losses from the replacement are ignored. Interest on the boot note is ordinary income and not in these totals.