Here is something that sounds too good to be true but isn't: borrowing money against your own property is not a taxable event. Take out a loan, receive the cash, owe no tax, because a loan is not income. That simple fact is why the cash-out refinance is one of the most useful tools for an investor who wants to free up equity without selling and without paying tax.
But the moment you try to combine a cash-out refinance with a 1031 exchange, timing becomes everything. Get it right and you access your equity cleanly. Get it wrong and the IRS reclassifies your loan proceeds as taxable boot. The difference between the two is mostly a matter of when you refinance.
The tempting move that gets people in trouble
Say you are about to sell a property in a 1031 exchange, and you would like to walk away with some cash in your pocket rather than roll every dollar into the replacement. Taking cash directly out of the sale is textbook boot, and everyone knows it. So the clever-sounding workaround is: refinance the property first, pull the equity out as a tax-free loan, and then sell what's left in a clean exchange. You got your cash, and the exchange looks fully deferred.
The IRS has seen this movie. When a refinance happens right before an exchange, the agency can apply the step-transaction doctrine, treating the refinance and the sale as two halves of a single plan and relating the cash-out proceeds back to the sale as boot. As a rule of thumb, a refinance within about six months of the exchange draws scrutiny, and the closer the two events sit, the harder the IRS looks. The whole thing can unwind, leaving you with a tax bill on money you thought you had extracted cleanly.
What actually makes a pre-exchange refinance defensible
The test the IRS applies is whether the refinance had an independent business purpose separate and distinct from the exchange. A refinance you did two years ago to fund a renovation, for reasons that had nothing to do with a sale you hadn't yet contemplated, is a genuinely separate transaction. A refinance you did three weeks before listing the property, for no reason anyone can articulate except pulling cash out ahead of the sale, is not. If you cannot point to a real, exchange-independent reason for the refinance, doing it right before the sale is playing with fire.
The cleaner path: refinance after you own the replacement
Here is the move we point clients toward when the goal is tax-free liquidity. Complete the exchange first. Roll your full equity into the replacement property, keep the deferral clean and unquestioned, and let the transaction close. Then, once you own the replacement outright and the exchange is finished, refinance it and pull your cash out.
At that point the logic is airtight: you are borrowing against a property you own, the loan proceeds are not income, and the exchange that preceded it was fully compliant with every dollar reinvested. The equity comes out tax-free, the same way it would on any property you have held for years. Even here, it is wise not to make the post-exchange refinance an obvious, pre-scripted step of the exchange itself. Letting the dust settle and having a clear purpose keeps the two transactions genuinely separate.
Don't confuse this with the debt-replacement rule
One quick point of confusion worth clearing up. The refinance question is about pulling cash out. It is different from the exchange's debt-replacement requirement, which is about putting enough debt (or cash) in to avoid mortgage boot, something we cover in our guide to boot. Both involve loans, but they solve opposite problems. Keeping them straight, and running the numbers on each, is part of what a clean exchange requires. Your CPA determines the treatment for your specific facts, and this is one worth confirming before you sign anything.
Frequently asked questions about refinancing and 1031 exchanges
Is a cash-out refinance taxable?
No. Loan proceeds are not income, so borrowing against your property, on its own, is not a taxable event. The complication arises only when a refinance is closely tied to a 1031 exchange.
Can I refinance my property right before a 1031 exchange?
You can, but it is risky. The IRS may apply the step-transaction doctrine and treat the cash you pulled out as taxable boot, especially if the refinance happens within roughly six months of the exchange and lacks an independent business purpose.
Is it safer to refinance before or after the exchange?
After. Once you own the replacement property and the exchange is complete, refinancing to access equity is generally clean, because you are simply borrowing against a property you own.
What is an "independent business purpose" for a refinance?
A genuine reason for the refinance unrelated to the exchange, such as funding improvements or consolidating debt, established on its own timeline. Without one, a pre-exchange cash-out is far more likely to be recharacterized as boot.
How long should I wait to refinance after an exchange?
There is no bright-line number, but letting the exchange fully close and not scripting the refinance as part of it is the prudent approach. Your CPA can advise on timing for your situation.
