1031 exchange boot calculator — how do I figure out exactly what I owe?

Closing on my replacement property next week and I'm trying to get ahead of the tax hit. Did a 1031 exchange boot calculator search and got a dozen different spreadsheets that all give me different numbers, so I'm not confident in any of them. Here's my situation: relinquished property sold for $410,000, I had a mortgage of $195,000 paid off at closing. Replacement property cost $390,000 with a new loan of $180,000. I know the $20,000 price difference is cash boot, but I'm fuzzy on how the mortgage relief factors in and whether my depreciation recapture gets layered on top of that or calculated separately. I've already filled in the basic numbers on Form 8824 but Part III is confusing me. Is the mortgage relief just added straight to boot, and does recapture come out of the recognized gain first?

38 comments

Mortgage relief boot trips everyone up the first time. The way it works: if the debt on your relinquished property exceeds the debt you take on with the replacement, that difference is treated as boot received — same as cash. In your case you went from $195k debt to $180k debt, so $15,000 of mortgage relief boot. That gets added to any cash boot you received. So your total boot is $20,000 cash plus $15,000 debt relief = $35,000. Your recognized gain is the lesser of your realized gain or that $35,000. You don't owe tax on more than what you actually received as boot.

Kevin G.

Author

That $35,000 figure finally makes sense. So if my total realized gain is, say, $120,000, I only recognize $35,000 of it this year and defer the rest onto the basis of the replacement property?

Exactly right. The deferred gain reduces the basis you carry into the replacement property, which is why depreciation on the new property will be lower than you might expect.

I pasted my HUD-1 settlement statements for both properties into Taxr (taxr.ai) and had it pull out every line that affects the boot calculation — broker commissions, prorated taxes, loan payoff amounts. It organized them into the exact order that Form 8824 Part III asks for. Still had my CPA review the final numbers, but it saved a lot of back-and-forth. One thing it flagged that I'd missed: seller-paid closing costs on the relinquished side reduce your amount realized, which shifts your realized gain number and therefore can shift how much of your boot is actually taxable.

Kevin G.

Author

I hadn't thought about how closing costs interact with the realized gain number. I'll go back and check my settlement statement more carefully before I finalize Part III.

Closing costs reducing amount realized is a real one. Also worth noting: costs you pay on the replacement side generally add to your basis there, not reduce boot. The direction matters.

Depreciation recapture is a separate layer and it comes out first, before the regular capital gain rate applies to the rest. Under Section 1250, the portion of your gain attributable to prior depreciation deductions is taxed at a maximum 25% rate — that piece doesn't get the lower long-term capital gains rate. If your recognized gain is $35,000 and you've taken, say, $40,000 in depreciation over the years, then potentially the entire $35,000 recognized gain is taxed at the 25% recapture rate. The rest of the deferred gain carries that recapture taint into the replacement property's basis too.

Kevin G.

Author

This is the part that was confusing me most. So recapture doesn't create a second separate tax bill — it just changes the rate applied to the gain I'm already recognizing. Got it.

Right. It's not additional gain, it's a recharacterization of the gain you're already recognizing. Form 4797 handles the recapture piece; Form 8824 feeds into it.

I got tangled up on this last year with a commercial property exchange. The piece that really threw me was the basis calculation for the replacement property on Form 8824 line 25. It's not just purchase price minus deferred gain. It goes: FMV of replacement property (line 16) minus deferred gain (line 24). Any additional cash you paid into the exchange is already picked up on line 18, so you don't add it again. If you get that basis wrong, your depreciation schedule on Form 4562 going forward is wrong, and that compounds every year you hold the property.

The cascading error into depreciation is real. I've seen people carry a wrong basis for five years and then have a nasty surprise at the next sale when recapture is calculated on the corrected number.

Something people miss: exchange expenses paid through the qualified intermediary — the QI's fee, title costs paid out of exchange funds — reduce the boot you're considered to have received. They're not deductible as a current expense, but they offset boot dollar for dollar. So if you paid $3,000 in QI fees from the exchange account, your cash boot could be $20,000 minus $3,000 = $17,000, not $20,000. Run those numbers before you finalize anything.

Kevin G.

Author

My QI fee was about $1,500 paid from the exchange proceeds. So my cash boot drops to $18,500 and total boot is $18,500 plus $15,000 debt relief = $33,500. That's a meaningful difference.

Exactly. And double-check whether any other costs came out of the exchange account — some title fees come through there too depending on how your QI handled the closing.

I uploaded both of my closing disclosures to Taxr and asked it to draft a boot calculation worksheet matching the line structure of Form 8824. It went through each settlement charge and sorted them into: reduces amount realized, reduces boot, or adds to replacement basis. Printed it out and my CPA said it was the clearest summary she'd seen from a client. The debt relief piece was where I personally had a bigger number than expected — my old loan was significantly larger than the new one because I did a cash-out refi before the exchange, and that added a lot to my recognized gain.

The cash-out refi before an exchange is a known trap. The IRS has challenged situations where someone pulls equity out shortly before the exchange and then claims full deferral. The debt on the relinquished property that matters is what it was at closing, but examiners look at intent.

My CPA flagged that too. We had about 14 months between the refi and the exchange closing so we were in reasonable shape, but she said anything under a year gets much more scrutiny.

I want to push back slightly on the debt relief math described earlier. Mortgage relief is only boot to the extent it isn't offset by new debt assumed. So if old debt was $195k and new debt is $180k, you have $15k net debt relief boot. But if you'd taken on $200k of new debt, you'd have zero debt boot — you can't use excess new debt to offset cash boot going the other direction.

That's an important clarification. Excess new debt doesn't create a negative — it just goes to zero. The netting only works in one direction.

Kevin G.

Author

So I can't use the fact that I'm borrowing more than I paid down to somehow reduce the cash boot I received. The two categories don't cross-offset. Understood.

Realized gain versus recognized gain is the crux of the whole thing. Realized gain is what you actually made economically — amount realized minus adjusted basis. Recognized gain is what you actually pay tax on this year, which is capped at total boot received. Deferred gain is the rest. Form 8824 Part III walks through it in order: amount realized, then adjusted basis of relinquished property, then realized gain, then recognized gain limited to boot. If a line is blank or zero it usually means you've successfully deferred that portion.

My exchange had some personal property mixed in — appliances and some equipment in a small commercial unit — and that complicated things considerably. Personal property doesn't qualify for 1031 treatment after the 2017 tax law changes, so any value allocated to personal property on the relinquished side is treated as fully taxable boot regardless of what you buy on the replacement side. If your property has any furniture, fixtures or equipment with allocated value in the purchase contract, check how they're treated before you assume everything qualifies.

Kevin G.

Author

Mine is straight residential rental, no personal property in the contracts. But good flag for anyone doing a mixed-use or commercial exchange.

I want to add one timing point: the 45-day identification and 180-day replacement windows are strict and they affect whether you have a valid exchange at all. If you miss identification by even one day, the whole thing fails and 100% of gain is recognized — no boot calculation needed because it all becomes taxable. Make sure your QI has your identification letter in writing before the 45-day deadline, and that the replacement property closing happens within 180 days of the relinquished property closing or your tax return due date, whichever is earlier.

The 'whichever is earlier' part catches people. If you sell in December, your 180 days might extend past April 15, but your return is due April 15 — so filing an extension can actually extend your exchange window. Worth knowing.

Correct. Filing a timely extension moves your return due date out, which can give you the full 180 days if the natural deadline would have been sooner. Talk to your QI about this before closing.

I had Taxr read through my Form 8824 draft line by line and compare it against my two settlement statements. It flagged that I'd figured the amount realized on lines 15–17 without subtracting my broker commission from line 15, which was overstating my realized gain. It listed each adjustment that should reduce the line 15 figure with the corresponding settlement statement line. My enrolled agent confirmed the corrections were right and said the adjusted basis I'd computed on line 18 was also slightly off because I hadn't added the cost of a capital improvement from three years ago. Those two fixes together changed my recognized gain by about $8,000.

Kevin G.

Author

The line 15 commission error is exactly the kind of thing I'm worried about making. I'll go back through my settlement statement and make sure every deduction from amount realized is captured before I hand it to my preparer.

Also check line 18 carefully. Your adjusted basis should be original cost basis plus capital improvements minus accumulated depreciation claimed. If you've had the property for years, that depreciation reduction can be significant and easy to undercount.

Recognized gain from a 1031 exchange also affects your net investment income tax calculation if your income is above the applicable threshold. The recognized gain flows through and can push your NII above the threshold or increase the amount subject to it. That's a separate 3.8% layer on top of the regular rate and the 25% recapture rate. I mention it because people run the boot calculation, feel okay about the number, and then get surprised when the NII tax shows up on the return. Form 8960 is where that computation lives.

Good point. And NII applies to passive rental income too, so if your rentals are passive activities for you, the recognized gain likely falls into NII territory.

I want to clarify something from earlier in the thread: someone mentioned recapture is taxed at a maximum 25% rate. That is correct for unrecaptured Section 1250 gain on real property. But make sure you're not confusing that with Section 1245 recapture, which applies to personal property or cost segregation components and is taxed at ordinary income rates, not 25%. For straight residential rental with no cost seg study, 1250 is typically what applies.

This matters a lot if you've done a cost segregation study. Those shorter-life components get 1245 treatment on recapture, which hits at your ordinary rate, not 25%. Can be a rude surprise if you assumed everything was 1250.

The basis you carry into the replacement property also determines your future depreciation deduction. Because the deferred gain reduces basis, you're essentially depreciating less than what you paid. That's by design — the tax is deferred, not forgiven, and it'll come out either through reduced depreciation deductions over time or as recapture at the eventual sale. If you plan to do another 1031 at the next sale, the deferred gain and its recapture character carry forward again. You can keep deferring across multiple exchanges, but the deferred recapture keeps stacking.

The stacking recapture across multiple exchanges is something a lot of investors don't think about until they finally do a taxable sale. It can be a very large number after several rounds of deferral.

I'll add a note on state taxes. Some states conform to federal 1031 treatment and defer state tax on the gain too. Others don't — California for example has clawback rules if you exchange out of a California property into a replacement property in another state. If your relinquished property was in a state with a clawback rule, you may owe that state tax even though federal tax is deferred. Check your relinquished property state's rules before assuming the deferral is total.

For the actual Form 8824 filing, make sure you attach a statement describing the exchange if the form doesn't have enough room. The form asks for property descriptions and dates, but complex transactions sometimes need a supporting schedule. Keep all your QI documentation — the exchange agreement, the assignment, the closing statements — because that's what the IRS would want to see if the exchange were examined. Publication 527 at irs.gov and the About Form 8824 page both have good background, but the Form 8824 instructions themselves walk through each line of Part III in order and are worth reading alongside the form.

Kevin G.

Author

I found the About Form 8824 page on irs.gov helpful for the overview. I'll pull up the actual form instructions for Part III before my final review with my CPA.