The three tests for full deferral
A 1031 exchange lets you sell real estate held for investment or business use and buy other investment or business real estate without paying tax on the gain now. The tax is deferred, not forgiven: the gain carries over into the new property’s basis. Since 2018 only real property qualifies, but nearly any kind counts as like-kind to any other. An apartment building can be exchanged for a warehouse, or a retail strip for land.
Deferring all of the gain comes down to three numbers:
Equity reinvested = all of the net cash from the sale
New debt + cash you add ≥ debt paid off at the sale
Miss one and the shortfall is boot, which is taxable up to the amount of your gain. The calculator runs all three tests at once and shows the loan the purchase needs once your exchange equity is in.
Cash boot and mortgage boot
- Cash boot is sale money you end up with instead of reinvesting it. That includes cash you take at closing and exchange funds left over because the new property cost less than you had to spend.
- Mortgage boot is debt relief you don’t replace. If you paid off a $1,200,000 loan when you sold and the new property carries an $820,000 loan with no cash added, the $380,000 difference is mortgage boot.
The two don’t offset each other evenly. Cash you put in from outside the exchange counts against mortgage boot. A bigger loan on the new property does not cancel cash you kept, because you would just be swapping a tax-free loan for taxable cash.
Worked example
An owner sells a building for $3,000,000. Selling and exchange costs are 4% (an example), so the net sale price is $2,880,000. The $1,200,000 loan is paid off at closing, which leaves $1,680,000 of equity with the qualified intermediary. These are the calculator’s default numbers:
- Buying a $4,000,000 property with all $1,680,000 reinvested needs a $2,320,000 loan, 58.0% of the price. The price is above $2,880,000, all equity goes back in, and the new loan is bigger than the old one, so there is no boot.
- Keeping $200,000 of the proceeds means the loan has to grow to $2,520,000 to close the same purchase, and the $200,000 is cash boot all the same. With an adjusted basis of $1,100,000, the gain is $1,780,000. $200,000 of it becomes taxable and $1,580,000 stays deferred.
- Trading down to $2,500,000 leaves $380,000 of boot, the gap between the $2,880,000 net sale and the new price. The owner’s own cash doesn’t fix this: adding $380,000 shrinks the loan to $440,000, and the boot is still $380,000.
- Buying at exactly $2,880,000, the net sale price, needs a $1,200,000 loan, the same as the old one, and defers the whole gain.
If the new building has $300,000 of net operating income and the $2,320,000 loan is at an example 7.25% over 25 years, debt service is $201,229 a year, a DSCR of 1.49x. Add the property’s NOI and a quoted rate in the optional fields to run that check on your own deal.
Replacing the debt
The debt rule catches owners who plan to buy the next property with less leverage. Once all the equity goes back in, the loan you need is the replacement price minus that equity and any cash you add. Buy at or above the net sale price and the new loan plus your added cash will always match or beat the loan you paid off. Mortgage boot shows up when the price falls short, and that is why paying cash doesn’t rescue a trade-down: less debt plus more cash still adds up to the lower price.
The practical question is whether a lender will make the loan you need. Commercial purchase loans are usually limited to 65–80% of value and to what the property’s income supports. A loan at 1.25x DSCR on the new building may come out lower than the debt you need. Check it with the loan amount calculator or the DSCR calculator before you identify a property. If the loan comes up short, the gap has to be covered with cash, or it becomes boot.
Deadlines and the loan timeline
- 45 days from the sale to identify replacement properties in writing. You can name up to three properties, or more if their total value is no more than 200% of what you sold.
- 180 days from the sale to close on the replacement, or your tax return due date for that year if it comes first. Extensions on your return can preserve the full 180 days.
- The sale money has to stay with a qualified intermediary. If you receive or control it, it is taxable.
- The buyer of the replacement property, and so the borrower, generally has to be the same taxpayer that sold.
Commercial loans take weeks: appraisal, environmental and property condition reports, title and lender underwriting. A loan that starts late can push the closing past day 180. Getting a purchase quote before the 45-day list is due tells you what you can actually close on.
Common ways an exchange creates boot
- Buying for less than the net sale price, then holding the leftover exchange funds
- Taking cash at the sale closing, even briefly, instead of leaving it with the intermediary
- Planning to borrow less on the new property and making up the difference with exchange cash you keep
- Paying loan costs, such as origination fees, appraisal or lender legal, out of exchange funds; these are often treated as taxable boot
- Prorated rents and security deposits credited to you at the sale closing
The calculator uses the standard netting rules in simplified form. Part of any taxable gain can be depreciation recapture, which is taxed differently from capital gain, and state rules vary. Run the numbers here to size the loan and spot boot, then confirm the plan with your qualified intermediary and tax advisor. For a property you plan to keep instead of exchanging, the cash-out refinance calculator shows how much equity a new loan could release.