Manufacturing plant exterior
Home  /  Insights  /  1031 Exchange
1031 Exchange

Can You Refinance Before or After a 1031 Exchange?

Refinancing is a way to pull tax-free cash out of real estate — but doing it right around a 1031 exchange carries timing and boot risk. This guide explains refinancing before the sale versus after the purchase, the cash-out boot risk, the step-transaction concerns, and the safer timing strategies for accessing cash without jeopardizing your exchange.

By Jerry Baker · May 4, 2026 · 16 min read

One of real estate's great advantages is that you can pull cash out of a property by refinancing without paying tax — a loan isn't taxable income. This makes refinancing an attractive way to access equity, and investors naturally wonder how it interacts with a 1031 exchange. Can you refinance the relinquished property before selling it to pull out cash, then still do the exchange? Can you refinance the replacement after buying it? The answers turn on timing and on the risk that the IRS recharacterizes the refinance as a disguised cash-out of the exchange — taxable boot. Refinancing too close to the exchange, especially before the sale, can draw step-transaction scrutiny, while refinancing the replacement well after the exchange is generally the safer path. This guide walks through the timing, the boot and step-transaction risks, and the strategies that let you access cash without jeopardizing the deferral.

Refinancing before the sale

Refinancing the relinquished property before you sell it — pulling cash out via a new larger loan shortly before the exchange — is the riskier of the two scenarios. The appeal is obvious: you'd access the cash tax-free (a loan isn't income), then do the exchange, seemingly getting both the cash and the deferral. But the IRS may view a refinance done in close proximity to the exchange as a disguised way of pulling exchange proceeds out tax-free, recharacterizing the cash you took as taxable boot under the step-transaction doctrine.

The concern is one of substance over form. If you refinance and pull out cash immediately before an exchange, the economic effect can look like taking cash out of the exchange — which would be boot — dressed up as a separate loan. The IRS and courts can collapse the refinance and the exchange into a single transaction if they appear to be steps in a unified plan to extract cash tax-free. The closer in time and the more clearly connected the refinance is to the exchange, the greater this risk.

This doesn't mean a pre-sale refinance always fails — a refinance done for a genuine, independent business purpose, well before the exchange was contemplated, stands on firmer ground. But a refinance done shortly before the sale, primarily to pull cash out ahead of the exchange, is genuinely risky and can result in the cash being taxed as boot. Because the risk turns on facts (timing, purpose, connection to the exchange), an investor contemplating a pre-sale refinance should get tax counsel's view before proceeding. The safer general rule is to avoid refinancing the relinquished property in close proximity to the exchange, and to access cash through the post-exchange route instead.

Refinancing after the purchase

Refinancing the replacement property after the exchange is complete is generally the safer way to pull cash out. Once you've acquired the replacement and the exchange is done, you own the property like any other, and you can refinance it to access equity tax-free, just as you could with any property you own. Because the exchange is already complete, a subsequent refinance of the replacement is less likely to be viewed as part of the exchange transaction.

The key is separation — in time and in substance — between the completed exchange and the refinance. A refinance done some time after the exchange, for its own purpose, is on much firmer ground than one done immediately as a pre-planned step. The more the refinance stands as an independent transaction (rather than an obvious pre-arranged step to extract the exchange's value), the lower the risk that it's recharacterized as boot. Waiting a reasonable period and treating the refinance as a separate decision strengthens the position.

That said, even a post-exchange refinance isn't entirely without nuance. A refinance of the replacement that's clearly pre-arranged as part of the exchange plan — agreed and lined up before the exchange, executed immediately after as a single integrated scheme — could still draw step-transaction scrutiny, though the risk is lower than for a pre-sale refinance. The cleanest approach is a genuine, independent refinance of the replacement, undertaken after the exchange for its own reasons, with reasonable separation in time. Done that way, the post-purchase refinance is the standard, lower-risk method for accessing cash from an exchanged property without creating boot.

Refinancing the replacement after the exchange is the safer path — a loan isn't taxable, so you access cash without boot, provided it's a genuine, separate transaction.

The cash-out boot risk

The core risk in refinancing around an exchange is that the cash you pull out is recharacterized as boot — taxable up to your gain. Boot is cash or non-like-kind value you receive in an exchange, and it's taxable. Normally, a refinance loan isn't boot because it's debt, not value received from the exchange. But if the IRS views a refinance as a device to extract exchange proceeds tax-free — particularly a pre-sale refinance closely tied to the exchange — it can treat the cash as boot, defeating the purpose of the maneuver and triggering tax.

The distinction the IRS draws is between genuine financing (not boot) and disguised receipt of exchange value (boot). A loan you take for real, independent reasons, secured by a property you own, is genuine financing. A refinance structured to pull cash out of the exchange — to get the deferral and the cash by routing the cash through a loan — risks being seen as disguised receipt. The timing, the purpose, and the connection to the exchange are what determine which side of this line a refinance falls on.

This boot risk is why timing is everything. A pre-sale refinance closely tied to the exchange is most exposed; a post-purchase refinance well-separated from the exchange is least exposed. The investor's goal is to access cash in a way the IRS won't recharacterize as boot, which means structuring the refinance as genuine, independent financing rather than an obvious step in extracting the exchange's value. When in doubt, the conservative path — refinancing the replacement after the exchange, with reasonable separation — keeps the cash as tax-free loan proceeds rather than taxable boot. Getting this wrong converts a clever cash-access strategy into an unexpected tax bill.

Step-transaction concerns

The legal doctrine underlying the refinance risk is the step-transaction doctrine, which lets the IRS collapse a series of formally separate steps into a single transaction if they're really components of one integrated plan. Applied to refinancing around an exchange, the doctrine asks whether the refinance and the exchange are genuinely separate transactions or steps in a unified scheme to extract cash tax-free while deferring gain. If they're one integrated plan, the IRS can treat the cash as boot.

The doctrine looks at factors like timing (how close the steps are), the parties' intent (was the refinance planned as part of the exchange?), and the interdependence of the steps (would each have happened independently?). A pre-sale refinance executed shortly before the exchange, clearly planned together with it, has the hallmarks of an integrated transaction — the steps are close in time, the intent connects them, and they appear interdependent. A post-exchange refinance done later for its own reasons has fewer of these hallmarks.

Avoiding step-transaction recharacterization means making the refinance genuinely independent of the exchange — separated in time, undertaken for its own purpose, and not pre-arranged as part of the exchange plan. The more the refinance can stand on its own as a separate decision, the less the step-transaction doctrine threatens it. This is why the safer strategies (below) emphasize separation and genuine independent purpose. The step-transaction doctrine is the reason timing and substance matter so much in refinancing around an exchange, and understanding it helps an investor structure cash access in a way that holds up.

Safer timing strategies

The safest strategy for accessing cash around an exchange is to refinance the replacement property after the exchange is complete, with reasonable separation in time, as a genuine independent transaction. This sidesteps the pre-sale refinance's heightened boot and step-transaction risk and treats the cash access as what it is — a tax-free loan against a property you own. For most investors who want both the deferral and some cash, this post-exchange refinance of the replacement is the recommended approach.

If you genuinely need cash and a refinance feels too risky, a deliberate partial exchange is an alternative. In a partial exchange, you intentionally take some cash as boot, paying tax on that portion while deferring the rest. This is cleaner than a risky refinance because it's transparent — you're knowingly recognizing some gain — rather than attempting to extract cash tax-free in a way the IRS might challenge. The trade-off is that the cash is taxed, whereas a successful post-exchange refinance accesses cash tax-free; but the partial exchange has no recharacterization risk.

If you must access cash before or around the exchange, the key safeguards are time and purpose: separate the refinance from the exchange as much as possible, document a genuine independent business reason for it, and get tax counsel's opinion on the specific facts. A refinance done well before the exchange was contemplated, for a real independent purpose, is far safer than one done shortly before the sale to extract cash. The overarching principle is that the cleaner the separation between the refinance and the exchange — in time, purpose, and planning — the lower the risk. When in doubt, favor the post-exchange refinance of the replacement or a transparent partial exchange, and involve your CPA and tax counsel before acting, because the boot and step-transaction stakes make this an area where professional guidance is well worth it.

Key Takeaways
  • Refinancing the relinquished property shortly before the sale risks the cash being recharacterized as taxable boot.
  • Refinancing the replacement after the exchange (with reasonable separation) is the safer way to access cash tax-free.
  • The step-transaction doctrine can collapse a refinance and exchange into one if they're an integrated plan to extract cash.
  • Safer strategies: post-exchange refinance of the replacement, a transparent partial exchange, or a well-separated independent refinance — with tax counsel's input.

Common refinance scenarios

Consider an investor who wants to do a 1031 but also needs $100,000 of cash. The risky approach would be to refinance the relinquished property for an extra $100,000 just before selling, then exchange — exposing the $100,000 to recharacterization as boot. The safer approaches: complete the exchange fully (deferring all the gain), then refinance the replacement property afterward to pull out the $100,000 tax-free; or do a deliberate partial exchange, taking $100,000 as boot and paying tax on it while deferring the rest. The post-exchange refinance accesses the cash tax-free; the partial exchange is transparent but taxed.

Another scenario: an investor has a property with an existing loan and refinanced it a year ago for ordinary reasons, then later decides to do an exchange. Here the prior refinance, done well before the exchange was contemplated for an independent purpose, is on firm ground — it's not connected to the exchange, so there's no step-transaction concern. The timing and independent purpose protect it. This illustrates that not every refinance near an exchange is problematic; it's the close-in-time, exchange-motivated refinance that carries the risk.

A third scenario involves the debt-replacement requirement. Refinancing also affects the debt that must be replaced in the exchange. If you refinance the relinquished property to increase its debt before selling, you'd need to replace that higher debt on the replacement to avoid mortgage boot — adding complexity. Conversely, the debt on the replacement (including any post-exchange refinance) interacts with the deferral math. These debt interactions are another reason to coordinate any refinance around an exchange with your CPA, who can model how the refinance affects both the boot risk and the debt-replacement requirement. The scenarios share a lesson: refinancing and exchanging can coexist, but the timing and structure must be handled carefully to preserve the deferral.

What the case law suggests

The refinance-around-an-exchange question has been litigated, and while the outcomes are fact-specific, they offer useful guidance. Courts have, in some cases, declined to treat a refinance as boot where the taxpayer had a genuine, independent purpose and the refinance wasn't merely a step in extracting the exchange's value. The presence of a real business reason for the borrowing, and meaningful separation from the exchange, have helped taxpayers in disputes — reinforcing that genuine financing isn't boot.

Conversely, the cases that have gone against taxpayers tend to involve refinances closely tied to the exchange, with little independent purpose, that look like devices to pull cash out tax-free. The pattern across the authority is consistent with the principles this guide describes: a refinance with a genuine, independent purpose, separated from the exchange, is on much firmer ground than one that's transparently an exchange-extraction maneuver. The facts — timing, purpose, interdependence — are what the courts weigh.

The practical lesson from the case law is not that pre-sale refinancing is categorically forbidden, but that it carries real risk that turns on the specific facts, and that the safer path is to avoid the close-in-time, exchange-motivated refinance. Because the outcomes depend on facts and the stakes are significant, this is precisely the kind of question where a tax adviser's opinion on your specific situation is valuable — they can assess where your facts fall relative to the cases and advise accordingly. The case law doesn't provide a bright line, but it confirms that genuine, independent, well-separated refinancing is defensible while exchange-driven cash extraction is not. That confirmation is what makes the post-exchange refinance and the transparent partial exchange the recommended safe harbors.

How Baker 1031 helps with refinance timing

Baker 1031 Investments helps investors who want both the deferral and access to cash navigate the refinance question — coordinating with your CPA and tax counsel to weigh a post-exchange refinance of the replacement, a deliberate partial exchange, or a well-separated independent refinance, and to avoid the pre-sale refinance's boot and step-transaction risk. We help you access cash in a way that preserves the deferral rather than jeopardizing it.

Where the exchange involves a DST or other security, those are offered through the broker-dealer, Aurora Securities, Inc. (member FINRA/SIPC), with any recommendation following a suitability review. The refinance and boot analysis is ultimately a tax matter for your CPA and counsel, with whom we coordinate — our role is to help you structure the exchange and any cash access so you get both the deferral and the cash you need, safely and transparently.

Frequently Asked Questions

Can I refinance before a 1031 exchange to pull out cash?

You can, but it's risky. Refinancing the relinquished property shortly before the sale to pull out cash can be recharacterized by the IRS as a disguised cash-out of the exchange — taxable boot — under the step-transaction doctrine. A refinance done well before the exchange for an independent purpose is safer, but a close-in-time, exchange-motivated refinance is exposed. Get tax counsel's view first.

Is refinancing after the exchange safer?

Yes — refinancing the replacement property after the exchange is complete is generally the safer way to access cash tax-free. The exchange is already done, so a subsequent refinance (with reasonable separation in time, as a genuine independent transaction) is less likely to be viewed as part of the exchange. It's the standard, lower-risk method for pulling cash from an exchanged property.

Why is a pre-sale refinance risky?

Because the IRS may view it as a device to extract exchange proceeds tax-free, recharacterizing the cash as taxable boot under the step-transaction doctrine. If the refinance and exchange look like steps in one integrated plan to get both the cash and the deferral, they can be collapsed into a single transaction, with the cash taxed. The closer and more connected the refinance, the greater the risk.

What is the step-transaction doctrine?

A legal doctrine letting the IRS collapse a series of formally separate steps into a single transaction if they're really components of one integrated plan. Applied to refinancing around an exchange, it asks whether the refinance and exchange are genuinely separate or steps in a unified scheme to extract cash tax-free. If integrated, the cash can be treated as boot.

Will a refinance always create boot?

No — a genuine, independent refinance for real reasons, secured by a property you own, is normal financing, not boot. The risk arises only when a refinance is structured as a device to pull cash out of the exchange, particularly a pre-sale refinance closely tied to it. Timing, purpose, and connection to the exchange determine whether a refinance is genuine financing or disguised boot.

How long should I wait to refinance after an exchange?

There's no bright-line period, but reasonable separation in time strengthens the position that the refinance is independent of the exchange. The cleaner the separation — and the more the refinance stands as a genuine, separate decision for its own purpose — the lower the recharacterization risk. Your tax counsel can advise on appropriate timing for your situation.

What's a safer alternative to a risky refinance?

A deliberate partial exchange, where you intentionally take some cash as boot and pay tax on that portion while deferring the rest. It's transparent — you knowingly recognize some gain — rather than attempting to extract cash tax-free in a way the IRS might challenge. The cash is taxed, but there's no recharacterization risk, unlike a risky pre-sale refinance.

Does a refinance affect the debt I must replace?

Yes. If you refinance the relinquished property to increase its debt before selling, you'd need to replace that higher debt on the replacement to avoid mortgage boot. The debt on the replacement (including any post-exchange refinance) also interacts with the deferral math. Coordinate any refinance with your CPA, who can model the effect on both boot risk and debt replacement.

Is a refinance done a year before the exchange a problem?

Generally no. A refinance done well before the exchange was contemplated, for an independent business purpose, is on firm ground — it's not connected to the exchange, so there's no step-transaction concern. The risk is specific to close-in-time, exchange-motivated refinances. A prior, independent refinance doesn't taint a later exchange.

Can I get both the deferral and cash from my property?

Yes, with the right structure. Complete the exchange fully (deferring all the gain), then refinance the replacement afterward to pull out cash tax-free; or do a deliberate partial exchange, taking cash as boot and paying tax on it while deferring the rest. The post-exchange refinance accesses cash tax-free; the partial exchange is transparent but taxed. Both are safer than a risky pre-sale refinance.

Should I get tax advice before refinancing around an exchange?

Yes — strongly. The boot and step-transaction risks turn on specific facts (timing, purpose, connection), and the stakes (taxing the cash you pulled out) are significant. Your CPA and tax counsel can assess your situation, recommend the safest structure, and document the refinance's independent purpose. This is an area where professional guidance is well worth the cost.

Why is refinancing real estate tax-free at all?

Because a loan isn't taxable income — you have to repay it, so receiving loan proceeds doesn't create a gain. This lets investors access equity from real estate without selling and triggering tax. The 1031 refinance question is about timing this tax-free borrowing around an exchange so the IRS doesn't recharacterize it as a taxable cash-out of the exchange (boot).

Has the refinance question been litigated?

Yes, and the outcomes are fact-specific. Courts have sometimes declined to treat a refinance as boot where the taxpayer had a genuine, independent purpose and meaningful separation from the exchange, while cases going against taxpayers involved refinances closely tied to the exchange with little independent purpose. The pattern reinforces that genuine, well-separated financing is defensible while exchange-driven extraction is not.

Is there a bright-line rule for refinancing around an exchange?

No — the case law doesn't provide a bright line; outcomes turn on the specific facts (timing, purpose, interdependence). That's why the safer path is to avoid the close-in-time, exchange-motivated refinance and favor the post-exchange refinance of the replacement or a transparent partial exchange. For borderline situations, a tax adviser's opinion on your specific facts is valuable given the stakes.

Glossary

Refinance
Replacing a property's existing loan with a new one, often to pull out cash tax-free.
Cash-Out Refinance
A refinance for more than the existing loan, putting cash in the owner's pocket.
Boot
Cash or non-like-kind value received in an exchange; taxable up to the gain.
Step-Transaction Doctrine
A doctrine collapsing separate steps into one transaction if they're an integrated plan.
Pre-Sale Refinance
Refinancing the relinquished property before selling; the riskier scenario for boot.
Post-Exchange Refinance
Refinancing the replacement after the exchange; the safer way to access cash.
Substance Over Form
The principle that tax treatment follows economic reality, not the form of a transaction.
Disguised Cash-Out
A refinance structured to extract exchange value tax-free, risking boot recharacterization.
Partial Exchange
An exchange intentionally taking some cash as taxable boot while deferring the rest.
Mortgage Boot
Taxable gain from not replacing debt paid off; affected by refinancing decisions.
Debt Replacement
Matching the debt paid off with new debt or cash, affected by a pre-sale refinance.
Independent Purpose
A genuine, separate reason for a refinance, supporting that it's not part of the exchange.
Interdependence
A step-transaction factor — whether the refinance and exchange would each happen alone.
Relinquished Property
The property sold in the exchange; refinancing it pre-sale carries risk.
Replacement Property
The property acquired in the exchange; refinancing it post-exchange is safer.
Tax-Free Loan Proceeds
Loan money received, not taxable because it must be repaid.

Sources & References

Disclosures

This article is published by Baker 1031 Investments, LLC for general educational purposes for accredited investors and is not an offer to sell or a solicitation of an offer to buy any security, nor is it tax, legal, accounting, or investment advice or a recommendation. Any securities offering is made solely through a sponsor’s private placement memorandum (PPM) following a suitability determination. Securities offered through Aurora Securities, Inc. (ASI), member FINRA / SIPC; Baker 1031 Investments is independent of ASI.

Oil & gas mineral and royalty interests and DST programs are speculative, illiquid securities sold only to verified accredited investors and involve substantial risk, including possible loss of principal, commodity-price and production-decline risk, lack of control, and the risk that an intended 1031 exchange fails to qualify for tax deferral. Whether a particular interest qualifies as like-kind real property is a fact-specific legal determination that varies by state and by the terms of the instrument. Tax results depend on your individual circumstances. Consult your own CPA and attorney before acting. Past performance does not guarantee future results.

1031 & DST insights for accredited investors, in your inbox.