How to calculate cash boot and basis on Form 8824 for a 1031 exchange

Finally closing on my 1031 exchange next month and I'm already dreading the tax paperwork. I sold a rental duplex for $420,000 and I'm buying a replacement property for $390,000. I know the lower purchase price means I have cash boot and that some of my gain is going to be taxable, but I'm not sure how to work through the numbers on Form 8824. I found the form itself and filled in the property descriptions and dates, but Part III is where I get lost. Specifically how does boot flow through to the gain calculation, and does that change my carryover basis in the new property? I've done a straight exchange before where everything matched up and I never had to think about this.

39 comments

Part III of Form 8824 is where the actual math happens. Line 15 is cash received plus FMV of other property received, plus net liabilities you were relieved of, reduced by exchange expenses — that's your boot. Line 16 is your fair market value of the like-kind property received. Line 19 is your realized gain. Line 20 is the smaller of your realized gain or the boot (line 15). That amount goes to Schedule D or Form 4797 depending on what the relinquished property was. The rest of the gain is deferred.

Claire T.

Author

So on line 20, since my realized gain is probably larger than the boot amount, the taxable portion is capped at the boot? That's what I was hoping but wanted to confirm.

Yes, exactly. If realized gain exceeds boot, you only recognize up to the boot. If boot exceeds realized gain you only recognize up to the realized gain. Line 20 is literally the lesser of the two.

The carryover basis part trips a lot of people up. Your basis in the replacement property is not its FMV. Line 25 on Form 8824 gives you the adjusted basis: take the adjusted basis of the property you gave up, subtract any boot you received, then add any gain you recognized. That number becomes your starting depreciation basis for the new property, which is almost always lower than what you paid for it.

Claire T.

Author

That explains why my software was showing a weird low depreciation number. The basis carries over rather than resetting to the new purchase price.

Right, and that also means your depreciation on the new property continues from where the old basis left off, not from $390k. Worth double-checking your software is actually pulling from line 25 and not from the settlement statement.

I ran into almost the same situation last year — sold higher than I bought replacement and had to figure out the Part III lines myself. I uploaded my closing statements and my draft 8824 to taxr.ai and it walked through each line, flagged that I had the boot on line 15 understated because I hadn't included the loan I was relieved of, and listed what the corrected line 25 basis should be. Worth doing before you file because that relief-of-liability piece catches people.

Claire T.

Author

Wait, mortgage relief counts as boot too? I paid off a $95,000 loan on the relinquished property at closing. Does that entire amount get added to line 15?

Net mortgage boot is what matters. If you assumed debt on the replacement side it offsets. If you took on less debt than you shed, the difference is treated as cash boot received. The Form 8824 instructions walk through the netting.

Debt payoff at closing is boot even though it never feels like money in your pocket. Mortgage relief is treated as boot received and can push taxable gain up even when no actual cash changes hands. Net it against any new debt you're taking on first.

To confirm the depreciation recapture piece: when gain is recognized because of boot, the depreciation piece comes out first before the regular capital gain rate applies. Section 1245 personal property components are recaptured at ordinary rates, but a residential building depreciated straight-line generally has no Section 1250 ordinary recapture; that part is unrecaptured Section 1250 gain taxed at up to 25%. So if you have $30,000 of prior accumulated depreciation on the building and your taxable boot is $30,000 or more, all of it likely gets taxed at up to 25%. That's separate from the deferred gain.

How long did your exchange take to set up? I keep hearing the 45-day and 180-day windows matter for whether the exchange even qualifies.

Claire T.

Author

I identified replacement properties within 40 days of closing the sale so I'm fine there. Replacement property has to close within 180 days total from the relinquished sale date.

Good. If those windows aren't met the whole thing falls apart and you recognize all the gain. The Form 8824 instructions confirm it has to be a valid exchange before any of the deferral math applies.

One thing about line 16: use the FMV of the replacement property as established at closing, which is usually the purchase price in an arm's-length deal. Don't use your basis or the assessed value. FMV drives the whole calculation in Part III.

Claire T.

Author

My closing statement shows $390,000 as the agreed purchase price. That's what goes on line 16 then, since it's arm's-length?

Yes, that's the right number for an arm's-length transaction, and it goes on line 16, not line 15.

Don't forget to allocate your replacement property's basis between land and building before you start depreciating. Land still doesn't get depreciated. If your new property's purchase price is $390,000 and the contract or appraisal allocates $50,000 to land, your depreciable basis is your line 25 carryover number times the building's share of value ($340,000 of $390,000), not that number minus $50,000.

Claire T.

Author

Is there a standard way to allocate land vs building if the contract doesn't specify? County assessor ratios?

County assessor ratios are commonly used and defensible. An independent appraisal works too. Publication 527 on irs.gov addresses the allocation. What you want to avoid is allocating nothing to land.

I did a 1031 two years ago where I had both cash boot and mortgage relief boot. I gave Taxr my HUD-1s for both properties and the draft Form 8824 and it compared each line against the settlement figures, found that my QI had already netted down the mortgage relief incorrectly, and drafted a corrected line-by-line summary I could hand to my CPA. Saved a lot of back and forth. The mortgage netting rules are genuinely easy to get wrong.

Claire T.

Author

Did your CPA accept the corrected summary or want to redo the work from scratch?

Accepted it, just verified the closing statement figures matched. Having the numbers laid out line by line made the review fast.

Your Form 4797 or Schedule D treatment depends on how long you held the relinquished property and how it was used. A rental duplex held more than a year that qualifies as Section 1231 property goes on Form 4797 Part I. The recognized gain from boot flows there first, then recapture, then any Section 1231 gain might get capital rates depending on your other 1231 activity for the year.

Claire T.

Author

It was a rental for six years so definitely long-term. I wasn't sure if the boot gain would go to Schedule D or 4797.

Section 1231 property goes to Form 4797. Schedule D is for capital assets. Rental real property held for business use is 1231, not a capital asset, so the recognized boot gain lands on 4797 Part I, then flows to Schedule D from there after netting.

I had a complicated exchange last year where I also did a partial cash-out from the exchange proceeds. I fed the settlement statements and a draft 8824 into Taxr and it identified that the cash I pulled was increasing my line 15 boot and walking up my line 23 recognized gain — things I had already half-figured out but it laid the dependency chain out clearly so I could see exactly which line affected which. Really useful when multiple boot sources stack.

Claire T.

Author

Multiple boot sources stacking is exactly my situation — cash boot from price difference plus mortgage relief. Good to know there's a way to sanity-check that the lines are talking to each other correctly.

If your adjusted basis in the relinquished property was low after years of depreciation, your realized gain on line 19 could be much larger than the actual sale price difference. Run your adjusted basis number carefully — original cost basis minus all depreciation taken (or allowed, whichever is larger) since you placed it in service.

Claire T.

Author

Yes this is going to be my situation. Six years of depreciation on a duplex means the adjusted basis is well below what I originally paid for it.

Exactly. And the IRS uses allowed-or-allowable, so if you ever missed a depreciation deduction in a prior year, it still reduces your basis as if you had taken it. That can surprise people.

Not having actual or constructive receipt of the proceeds is required for the exchange to count, and a qualified intermediary holding them the entire time is the usual safe harbor. If you touched the money at any point between closings the exchange fails and all gain is recognized. Hopefully your QI documentation is clean.

Claire T.

Author

Yes, QI held everything. Closing on the replacement next week directly from the QI account.

The basis you calculate on line 25 also affects depreciation recapture when you eventually sell the replacement property. All the deferred gain from this exchange stacks and comes due at that sale unless you do another 1031. Your new lower basis means more recapture exposure down the road.

Worth saying plainly: if any of your numbers are large — like a six-figure deferred gain — having a CPA who does real estate review the completed Form 8824 before you file is worth the cost. The carryover basis affects every future depreciation deduction and the eventual sale. An enrolled agent with real estate experience works too.

Depreciation on the replacement property generally continues over the old property's remaining 27.5-year MACRS period for residential rental property, unless you elect to restart, and only any excess basis starts a new schedule, but from your carryover basis, not from the new purchase price. So your annual depreciation deduction will likely be smaller than if you had just bought the new property outright.

Claire T.

Author

That's the trade-off I guess — defer the gain now, take smaller depreciation going forward, and push the reckoning to a future sale or estate step-up.

Correct. Some people chain 1031 exchanges indefinitely and get the step-up at death. Others cash out eventually and pay the piper. Both are legitimate strategies, just different timing.

To summarize what the thread has established: realized gain on line 19, recognized gain (capped at total boot including cash and net mortgage relief on line 20) on line 23, that gain goes to Form 4797 for Section 1231 property, and carryover basis on line 25 is your starting point for the new property's depreciation schedule. That's the full loop.