Aerial view of a garden-style apartment complex

Guides · Apartment exchange

A $3M Apartment Sale With a $1.2M Loan: Full Exchange Math

A hypothetical $3 million apartment sale with a $1.2 million payoff: the value, cash and debt targets for full deferral, and three replacement structures compared.

By Breakwater Exchange · Reviewed by our 1031 advisory team · Last reviewed

The short answer

To defer all the tax on a $3,000,000 apartment sale with $150,000 of selling costs and a $1,200,000 loan payoff, you need replacement property worth at least $2,850,000, all $1,650,000 of net cash reinvested, and at least $1,200,000 of new debt or added cash of your own. Miss the debt target with an all-cash purchase of $1,650,000 and the $1,200,000 shortfall is taxed as boot, about $370,600 in the hypothetical below. One apartment building, a smaller building plus outside cash, or a mix of DST interests with their own loans can all hit the targets; the exchange equation explains the three tests.

At a glance

Value targetReplacement worth at least the amount realized, net of exchange expenses
Cash targetEvery dollar the intermediary holds goes into the replacement
Debt targetNew debt or added cash at least equal to the loan paid off
Netting ruleCash you add offsets debt relief; new debt never offsets cash you keep
IdentificationThree properties of any value, or any number up to 200% of the value sold
DST debtYour share of a DST's loan counts as debt on the replacement
Deadlines45 days to identify, 180 days or the return due date to close

Start with three numbers from the settlement statement: amount realized, net cash and debt paid off

Hypothetical: you sell an apartment building for $3,000,000, pay $150,000 in commissions and closing costs, and pay off a $1,200,000 mortgage. The amount realized is $2,850,000, and $1,650,000 goes to the qualified intermediary. You bought the property in 2012 for $1,600,000 and have taken $500,000 of depreciation, so adjusted basis is $1,100,000 and the gain is $1,750,000.

The loan payoff is part of the amount realized even though you never see the money. The Form 8824 instructions count liabilities assumed by the buyer, net of liabilities you take on and cash you pay, as boot, and reduce that figure by exchange expenses.

Selling outright, a couple filing jointly with $450,000 of other taxable income would owe $125,000 on the $500,000 depreciation layer at 25%, $250,000 at 20% on the remaining $1,250,000, $66,500 of net investment income tax and, at a hypothetical 5% state rate, $87,500 more. That is $529,000, leaving $1,121,000 of the $1,650,000.

Full deferral means hitting the value, cash and debt targets together

Section 1031(b) taxes any money or other property you receive, and Reg. section 1.1031(d)-2 treats the $1,200,000 of debt relief as money received unless it is offset. Its examples show that consideration you give in cash or new liabilities offsets debt relief, while new liabilities never offset cash you receive.

That produces three targets for this sale. Buy at least $2,850,000 of replacement property. Reinvest all $1,650,000. Take on at least $1,200,000 of new debt, or bring outside cash for any part of it you do not borrow. You can borrow more than $1,200,000; you cannot borrow less without adding cash.

Under Reg. section 1.1031(k)-1(c)(4) you may identify three properties of any value, or any number whose total value does not exceed 200% of what you sold, here $6,000,000. How many properties you can identify covers the third, 95%, rule.

Three replacement structures compared, with the tax each one leaves

Structure A, one larger building: buy a $3,000,000 apartment property with the $1,650,000 and a $1,350,000 loan. All three targets are met and nothing is taxed. Under section 1031(d) the basis is $1,100,000 plus the $150,000 of excess financing, $1,250,000, which is the $3,000,000 price less the $1,750,000 deferred gain.

Structure B, a smaller building bought for cash: buy a $1,650,000 property with no loan. The value and debt targets are missed by $1,200,000, so $1,200,000 of gain is recognized. The first $500,000 is taxed at 25%, the next $700,000 at 20%, with net investment income tax and the hypothetical state tax: about $370,600, which has to come from savings because the cash is in the property. Adding $1,200,000 of your own money to buy a $2,850,000 building cures it, because cash paid offsets debt relief, as replace the mortgage or add cash explains.

Structure C, DST interests: put $800,000 into a debt-free DST and $850,000 into a DST with a hypothetical 60% loan-to-value. The second interest carries $1,275,000 of allocated debt on $2,125,000 of property. Together you hold $2,925,000 of property and $1,275,000 of debt, so all three targets are met. Rev. Rul. 2004-86 treats a DST interest as an interest in real property, and whether a DST loan counts as replacement debt covers the debt question. Run your own numbers with your CPA.

  • A, one $3,000,000 building, $1,350,000 loan: $0 tax, basis $1,250,000.
  • B, one $1,650,000 building, no loan: about $370,600 tax on $1,200,000 of boot.
  • B with $1,200,000 added cash, $2,850,000 building: $0 tax.
  • C, two DSTs, $2,925,000 of property and $1,275,000 of debt: $0 tax.

The right structure depends on whether you want to keep managing, keep the leverage, or neither

Structure A keeps you an active landlord with a larger loan, and its depreciation restarts on the $150,000 of excess basis. It also concentrates the whole $1,650,000 in one building and one market. Exchanging an apartment building covers buyer pools and recapture specific to multifamily.

Depreciation follows the basis, not the price. In Structure A, Reg. section 1.168(i)-6 keeps the building share of the carried-over basis on the old building's remaining 27.5-year schedule and starts a new schedule only for the excess basis created by the larger loan. In Structure C, each trust reports your share of its property so that your CPA can apply the same split; depreciating the replacement shows the arithmetic. A buyer paying cash for a $3,000,000 building would depreciate far more, which is part of the deferred tax's price.

Structure B suits an owner who wants to be debt-free and has the outside cash to fill the gap. Without that cash, it is the most expensive outcome on this page.

Structure C suits an owner who wants out of management but needs replacement debt to defer the tax. A DST's loan is placed by the sponsor, so you take on no personal loan application, but the trust cannot refinance or raise new capital, and its interests are illiquid. Many owners also split the money between a direct building and a DST, which splitting an exchange between a DST and direct property walks through.

Related questions

Do I have to reinvest the full $3,000,000 sale price?

No. You need replacement property worth at least the amount realized after exchange expenses, $2,850,000 here. Commissions and closing costs reduce what you must buy.

Can I use more cash and a smaller loan on the replacement?

Yes. Cash you add offsets the debt you paid off, so a $2,850,000 building bought with $1,650,000 of exchange money, $500,000 of your own cash and a $700,000 loan defers everything.

Can I buy a cheaper building and keep the difference?

You can, but the difference is boot, taxed first at up to 25% as unrecaptured section 1250 gain. The tax on $150,000 of boot works a smaller version.

Does my share of a DST's mortgage really count as replacement debt?

Offering documents allocate the trust's loan among investors, and a DST interest is treated as an interest in the real estate under Rev. Rul. 2004-86. Confirm the allocated debt figure in the offering before you rely on it.

Where does the $1,200,000 payoff show on Form 8824?

It is part of net liabilities assumed by the other party on line 15, reduced by any liabilities you assume and cash you pay on the replacement side.

Sources

Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.

  1. 26 U.S.C. section 1031, like-kind exchanges
  2. Reg. section 1.1031(d)-2, treatment of assumption of liabilities
  3. Reg. section 1.1031(k)-1, deferred exchanges
  4. IRS, Instructions for Form 8824, Like-Kind Exchanges
  5. Reg. section 1.168(i)-6, like-kind exchanges and involuntary conversions
  6. 26 U.S.C. section 1, including 1(h) capital gains rates
  7. IRS, Rev. Proc. 2025-32 (2026 inflation-adjusted amounts)
  8. 26 U.S.C. section 1411, net investment income tax
  9. IRS, Rev. Rul. 2004-86 (Delaware statutory trusts and section 1031)

Map your three targets before day 45

Send us the settlement figures and we will show which replacement mixes, including DST interests with allocated debt, meet the value, cash and debt targets.

Free 1031 proposal

Access Investment Offerings Other Brokers Can’t Provide

Breakwater Exchange’s expert guidance helps you maximize returns while minimizing tax exposure, so you can invest with clarity and confidence.

years of experience
20+
in DST transactions
$1B+
states licensed
50
vetted national sponsors
8

Tell us about your exchange

Share the basics and an advisor will reach out with next steps.

Are you an accredited investor?

Generally, net worth over $1 million excluding your primary residence, or income over $200,000 ($300,000 with a spouse) in each of the last two years.

No obligation. A Breakwater Exchange advisor reviews every request personally.

Get My Free ProposalFree ProposalBook a Free ConsultationFree Consultation