Can you use a 1031 exchange to pay off mortgage on the replacement property?

So I've been going back and forth on this for weeks. I sold a rental duplex and I'm in the middle of a 1031 exchange — identified the replacement property already. The replacement is priced higher than my relinquished property so I figured I'd be fine. But my CPA mentioned something about "boot" and now I'm worried. My question is: can you use a 1031 exchange to pay off mortgage on the replacement property with some of the exchange proceeds? Like, can the QI release funds at closing to pay down or pay off the existing mortgage on the new property? I've been reading around and I'm getting contradictory answers. Some people say it's fine if equity is reinvested, others say any cash that doesn't go into the replacement property's purchase price triggers boot. I don't want a surprise tax bill at the end of this.

35 comments

I went through a 1031 last year and my QI was very clear: proceeds from the sale have to go toward acquiring the replacement property, not toward paying off debt on it. Paying down a mortgage on the replacement with exchange funds is treated as cash boot — you receive that money outside the exchange, essentially. Boot is taxable to the extent of your realized gain. The IRS looks at what you paid for the replacement, not what net equity you ended up with.

Lena A.

Author

This is what I was afraid of. So even if I'm buying a more expensive property, using exchange funds to wipe out the mortgage on that property still triggers boot?

Acquisition step — yes, that's the issue. The exchange funds need to flow into the purchase price at closing, not toward retiring existing debt on a property you already own or are separately financing.

The rule that matters here is equity and debt replacement. To fully defer gain, you generally need to acquire replacement property of equal or greater value AND replace the net equity AND replace the debt. If you use proceeds to pay off a mortgage instead of purchasing, that cash is boot. I uploaded my exchange documents to taxr.ai and had Taxr pull out exactly where my numbers landed on boot exposure — it listed each line from my HUD-1 and flagged what the IRS would treat as taxable proceeds. Saved me from missing a small piece of mortgage boot going the other direction.

Lena A.

Author

How did you get the exchange documents into it? Just PDFs?

Identification step — yes, just PDFs of the settlement statements. It compared both closing disclosures side by side and highlighted the debt replacement gap I had.

People confuse two things here. There's mortgage boot on the relinquished side (debt you're relieved of) and cash boot on the replacement side. If you take exchange proceeds and pay off debt on the replacement instead of putting them into the purchase, that's cash boot. You can't offset cash boot with mortgage assumption — they're treated separately.

Wait, so you CAN'T net them against each other? I thought if you took on more debt on the replacement than you had on the relinquished property that offset things?

Debt side — taking on more debt on the replacement can offset relief of debt on the relinquished side. But cash boot and mortgage boot don't net against each other. Cash you pocket is taxable regardless of how the debt stacks up.

My QI told me the exchange funds have to go through the qualified intermediary and be applied directly to the acquisition price at closing. The moment funds are diverted to pay off an existing lien on the replacement property rather than toward the purchase price, the IRS considers that constructive receipt. Your realized gain flows through on Form 8824, and boot shows up there too. Worth reading the Form 8824 instructions carefully — they walk through how to calculate realized vs. recognized gain.

Lena A.

Author

I looked at Form 8824 and line 15 is where the boot gets recognized, right? Or is it split across multiple lines?

Form 8824 step — lines 12 through 23 build toward recognized gain. Line 15 is the boot received, line 20 is the lesser of gain realized on line 19 or boot on line 15, and line 23 is the recognized gain. Your taxable amount sits on line 23.

I ran into a similar situation and was really uncertain whether a partial payoff would ruin my whole exchange or just trigger tax on that portion. Turned out it's the latter — only the boot amount is taxable, not your whole gain. I had Taxr read through my QI's closing statement and my purchase agreement side by side and it drafted a summary worksheet showing my realized gain, the boot amount, and what line 23 on Form 8824 would likely show before I sat down with my CPA. That prep made the meeting a lot faster.

Lena A.

Author

That's really helpful. So partial boot doesn't blow up the whole exchange, just that portion gets taxed?

Partial situation — correct. The gain you defer is gain realized minus recognized gain. Only what's on line 23 gets taxed in the exchange year. The rest carries into your replacement property's basis.

One thing nobody's said clearly: "paying off the mortgage on the replacement property" can mean two different things. If the replacement already has a mortgage and you pay it off at closing as part of the purchase — that could be part of acquisition cost depending on how it's structured. If you close, take title, and THEN use exchange funds to pay off debt after closing, that's definitely boot. Talk to your QI about how the closing is structured before you commit.

Lena A.

Author

This is a genuinely useful distinction. My situation is the funds going to the QI would then be released to pay off the existing loan at closing. That still sounds like boot though.

Closing structure — if the funds go toward extinguishing a mortgage that isn't part of the purchase price calculation, yes, that reads as cash boot. How your HUD is drafted matters a lot here.

I'd also flag depreciation recapture as a separate concern when boot gets triggered. Even if the boot amount is small, the IRS taxes it first against any unrecaptured Section 1250 gain, which is taxed at a higher rate than long-term capital gain. So depending on how long you held the duplex and how much depreciation you took on Schedule E, the tax on even a modest boot amount could be higher than you expect.

Lena A.

Author

I hadn't thought about recapture stacking on top of the boot. How do I figure out how much Section 1250 gain I have?

Depreciation step — total accumulated depreciation taken on the property flows into the unrecaptured 1250 calculation. Your Schedule E history and Form 4562 from each year you owned it will show those numbers. Add them up.

The IRS page on Form 8824 at irs.gov/forms-pubs/about-form-8824 lays this out. Worth bookmarking. What it doesn't tell you in plain language is that "like-kind exchange" doesn't mean "whatever I do with the proceeds is fine as long as I buy something similar." The whole mechanism only defers gain because the investment stays continuous — the moment cash or debt relief exits the loop, that portion is recognized.

I helped a friend structure a 1031 and the QI was insistent that the proceeds never touch the taxpayer's hands OR go toward anything that reduces the net acquisition cost below what it would need to be to fully defer. Paying off a pre-existing mortgage on the replacement with exchange funds reduces the effective consideration flowing to the seller, which is what the IRS scrutinizes.

Does it matter whether the mortgage on the replacement is assumable or not? Like if you're assuming the seller's mortgage as part of the purchase price vs. the seller paying it off and you're just buying clear title?

Assumption step — if you assume the seller's existing mortgage as part of your acquisition, that debt counts toward your replacement property's total consideration. That's different from using exchange cash to retire debt post-closing.

Structure side — assumed debt on the replacement counts as part of your investment in the exchange. Cash used to pay off debt after the fact does not. The contract and closing disclosure language matters enormously.

My situation was slightly different — I had leftover exchange funds after closing and thought I could just apply them to the new property's mortgage payment to keep things clean. My QI told me any funds not applied at closing come back to me as taxable boot, period. No workaround.

Lena A.

Author

That's exactly what I was considering doing. So there's no way to redeploy leftover exchange funds without triggering tax on them?

Leftover funds step — the only clean exit is into the purchase price of a like-kind replacement. Anything else is boot. If you have leftover funds because you couldn't find enough replacement value, some people identify multiple properties upfront to avoid this.

If your gain is large and you're uncertain how boot changes your overall picture, this is genuinely worth a conversation with a CPA who handles real estate transactions regularly, not just a general preparer. The interaction between boot, depreciation recapture, your passive activity loss carryforwards from Schedule E, and your overall MAGI can make the tax cost of a small boot very different from what you'd expect from a simple rate calculation.

Lena A.

Author

I do have suspended passive losses on that duplex from prior years. Does boot income unlock those?

Passive loss step — disposition of a passive activity in a fully taxable exchange can release suspended losses, but a 1031 is not a fully taxable disposition. If you trigger partial boot, only a partial release may apply. This is exactly where a CPA who knows Form 8582 and 1031 rules together is worth the fee.

I realized I was confusing "replacement property value" with "equity in replacement property." The 1031 test is about total fair market value and total debt, not net equity. So buying a $500k property with $300k mortgage and $200k cash meets the value test if your relinquished property was also $500k — the mortgage counts. Paying off that $300k with exchange funds so you own it free and clear but only spent $200k in purchase price would not.

Worth noting: Publication 527 at irs.gov/forms-pubs/about-publication-527 covers rental property rules broadly but the exchange mechanics themselves live in Section 1031 and the Form 8824 instructions. The 1031 rules aren't in Pub 527 — just flagging that so you don't go looking there for the boot calculation.

Lena A.

Author

Good to know, I had been trying to find it in Pub 527 and couldn't. I'll go straight to the 8824 instructions.