Cash-Out Refinancing and the 1031 Exchange
One of the most common questions from real estate investors: "Can I pull equity out through a cash-out refinance before I do the 1031 exchange?" The mechanics are possible. The timing risk is real. The post-exchange path is almost always cleaner. Here is what you need to know before you sign the loan papers.
Why Investors Want to Refinance Before the Exchange
A 1031 exchange requires you to reinvest all net proceeds — equity plus debt — into replacement property to achieve full tax deferral. For an investor sitting on $2M in equity, that means all $2M stays in real estate. You cannot pull any cash out at or during the exchange without triggering boot and the taxes that come with it.1
The idea that appeals to many investors is to do a cash-out refinance before the exchange. Borrow against the equity now, pocket the loan proceeds (which are not taxable since they are debt, not income), then complete the 1031 exchange with the remaining equity. On paper, this lets you access liquidity and still defer the embedded gain. In practice, the timing matters enormously.
Why the IRS Cares: The Step-Transaction Doctrine
The IRS does not administer 1031 exchange rules in isolation from the broader legal principles it uses to evaluate transactions. One of the most relevant is the step-transaction doctrine — a common-law principle that allows the IRS to collapse a series of formally separate steps into a single integrated transaction if those steps were planned together and executed as part of a unified scheme.2
Applied to a pre-exchange refinance, the argument goes like this:
- Step 1: Investor takes out a cash-out refinance, extracting $500K from the property.
- Step 2: Investor sells the property and completes a 1031 exchange.
- The IRS examines whether Step 1 and Step 2 are economically part of the same plan to sell and exchange the property — whether the refi proceeds are functionally equivalent to boot received at closing.
If the IRS collapses the steps, the $500K extracted in the refi could be treated as boot received in connection with the exchange — triggering tax at the rates that would otherwise apply to an exchange with that amount of boot: §1250 recapture at 25%, LTCG at 20%, and NIIT at 3.8%.
IRC §1031 itself does not prohibit pre-exchange refinancing. There is no statute or Treasury regulation with a bright-line rule. The risk is entirely fact-and-circumstances based — which is precisely what makes it difficult to plan around and why timing is the central variable.
What Determines the Risk Level
Tax practitioners and tax courts evaluate pre-exchange refinancing under several factors. None is automatically decisive, but together they shape how aggressive or conservative the position is.
| Factor | Lower risk | Higher risk |
|---|---|---|
| Time between refi and exchange | 12+ months before listing the property for sale | Refi within 6 months of sale or during the exchange window |
| Intent at time of refi | No documented sale plan; refi motivated by unrelated capital needs | Sale already contemplated or discussed with brokers at time of refi |
| Use of refi proceeds | Invested in unrelated assets, paid for business expenses | Held as cash or used to fund the replacement property acquisition |
| Lender type | Conventional institutional lender with standard underwriting | Lender connected to the buyer or exchange transaction |
| Exchange documentation | Refi closed well before QI engagement or exchange agreement | Refi and exchange agreement executed within the same window |
| Size of cash extracted relative to total equity | Modest portion of equity (e.g., refi to 60% LTV on a property at 30% LTV) | Large portion of equity, making deferral on remaining proceeds seem like the primary goal |
Practitioners commonly use a six-to-twelve-month buffer between a cash-out refinance and the first steps of a 1031 exchange (execution of a listing agreement or QI engagement) as a working rule of thumb. This is not a statutory safe harbor — the IRS has not published a bright-line rule — but it reflects the consensus view that increasing the time interval reduces the likelihood the IRS will attempt to collapse the steps under the step-transaction doctrine.3
The Safer Path: Refinance the Replacement Property After the Exchange
For most investors, a post-exchange cash-out refinance of the replacement property is the cleaner approach. The exchange closes. Title transfers to the replacement property. After the exchange is complete, the investor refinances the replacement property to extract equity.
This approach eliminates the step-transaction exposure because there is no refi-then-exchange sequence for the IRS to collapse. The exchange is already closed. The loan on the replacement property is new debt on a new asset, entered into after all exchange obligations have been satisfied.
The practical limitation: lenders typically require 6-to-12 months of seasoning before they will allow a cash-out refinance on a recently-acquired investment property, particularly at favorable loan-to-value ratios. Some non-QM lenders offer DSCR-based loans without a seasoning requirement, but typically at higher rates. This means the post-exchange refi path may require waiting — which works for investors with sufficient reserves but may not work for those who need the liquidity immediately at closing.
A Note on DSTs: Refinancing is Not an Option
If a Delaware Statutory Trust (DST) is your replacement property, pre-exchange refinancing is not a workaround for the DST liquidity problem. DSTs operate under seven structural restrictions — sometimes called the "Seven Deadly Sins" — that prohibit the trustee from obtaining new financing, renegotiating existing debt, or making capital calls on investors.4
A DST is a passive, fixed-structure vehicle. Once you are in a DST, you cannot refinance it to extract equity. If you need liquidity alongside a DST investment, you have two options: (1) take intentional boot at the time of the exchange by routing some cash to yourself rather than into the DST — paying tax on the boot — or (2) wait for the DST sponsor to complete a disposition event and distribute proceeds. DST holds typically run 5-10 years.
The UPREIT conversion path (§721 exchange into operating partnership units) does allow potential access to liquidity through unit redemptions or pledging OP units as collateral, but this is subject to lock-up periods and UPREIT-specific restrictions. See our UPREIT vs DST guide for details.
Worked Example: Three Scenarios
Consider an investor selling a commercial building:
- Sale price: $3,000,000
- Adjusted basis: $900,000
- Accumulated depreciation: $400,000 (unrecaptured §1250 gain)
- Existing mortgage: $1,000,000
- Net equity: $2,000,000
- Target: access $500,000 in cash while still deferring most or all tax
Scenario A — Refi 18 months before listing (lower risk): The investor does a cash-out refi 18 months before signing a listing agreement, borrowing $1.5M (50% LTV) and pocketing $500K in cash. The $500K is invested in a private equity fund unrelated to the real estate transaction. Eighteen months later, the investor sells and completes a 1031 exchange, reinvesting the remaining $1.5M equity into a $2.5M replacement property with $1M in new debt. Tax attorneys and CPA review the transaction and conclude the step-transaction risk is low given the timing gap and independent investment of refi proceeds.
Scenario B — Refi 60 days before QI engagement (higher risk): The investor contacts a broker about selling, then immediately does a cash-out refi on the same property, extracting $500K. Sixty days later, the investor executes an exchange agreement with a QI and lists the property. The IRS — if it examines the transaction — has a straightforward argument that the refi and exchange were part of an integrated plan. The investor's tax advisor flags this as a reportable position with meaningful audit risk and recommends the investor pay tax on $500K of boot rather than defend the integrated-transaction claim in court.
Scenario C — Post-exchange refi (cleanest): The investor completes the 1031 exchange as designed, reinvesting the full $2M in equity into a $3M replacement property financed with $1M in new debt. Eight months after closing, the investor qualifies for a DSCR loan and does a $500K cash-out refi on the replacement property. The exchange is unaffected; there is no step-transaction concern; the loan proceeds are not taxable. The cost is eight months of waiting.
- Scenario A — Full deferral on all gain (~$528K federal tax deferred); step-transaction risk is the trade-off.
- Scenario B — Partial deferral; if IRS prevails, $500K treated as boot triggers ~$148K in additional federal tax (§1250 recapture first, then LTCG + NIIT).
- Scenario C — Full deferral; no tax risk; cost is the 8-month wait for the refi.
What a Financial Advisor Models
The question an investor usually asks is: "Can I do this?" The question a financial advisor helps answer is: "Should I do this, given the full picture?"
A fee-only advisor who specializes in real estate liquidity events will model:
- The expected after-tax cost of taking intentional boot versus the risk of a challenged pre-exchange refi — and whether taking boot cleanly is cheaper than defending the position
- Whether the investor genuinely needs the liquidity, or whether the replacement property cash flow, existing assets, or a HELOC on another property makes the pre-exchange refi unnecessary
- The replacement property debt requirements — if the investor must replace $1.5M in debt to avoid mortgage boot, a DSCR on a lower-value replacement property may be harder to qualify for after the cash-out
- The timing of the post-exchange refi relative to lender seasoning requirements — whether Scenario C is achievable within the investor's liquidity timeline
- How the cash proceeds fit into the broader financial plan: taxable account investment, pre-payment of other debt, reserve account, or near-term expenditure
The step-transaction analysis also requires coordination with the investor's CPA and real estate attorney. The financial advisor's role is to frame the economic trade-off and bring the right professionals to the table before the loan papers are signed — not after.
Summary: Pre-Exchange vs Post-Exchange Refinancing
| Feature | Pre-exchange refi | Post-exchange refi |
|---|---|---|
| Step-transaction risk | Yes — fact-and-circumstances based; timing is critical | No — exchange already closed when refi occurs |
| IRS safe harbor | None — no statute or reg provides a bright line | No IRS scrutiny; exchange mechanics are complete |
| Liquidity timing | Proceeds available before the exchange closes | Depends on lender seasoning requirements (6–12 months typical) |
| Debt replacement impact | Increases existing debt on relinquished property; affects boot math if not replaced | Adds new debt to replacement property; no impact on exchange requirements |
| Works with DSTs? | Theoretically — investor takes boot instead of full DST investment | No — DSTs prohibit new financing once acquired |
| Professional review required? | Yes — CPA and tax attorney review before signing | Standard lender underwriting; no exchange-specific review needed |
| Best for | Investors with long time horizons who need liquidity well before the sale is contemplated | Investors who can wait 6–12 months post-closing or who have other near-term liquidity |
Sources
- IRC §1031, via law.cornell.edu — statutory text governing like-kind exchanges; §1031(b) addresses receipt of money or other property (boot) in otherwise qualifying exchanges and the recognition rules that apply.
- IRS Publication 544, Sales and Other Dispositions of Assets — IRS guidance on capital gains, like-kind exchanges, and the general framework the agency uses to evaluate related transactions, including integrated-transaction analysis.
- Treas. Reg. §1.1031(k)-1, via law.cornell.edu — the complete Treasury Regulations governing deferred like-kind exchanges under §1031, including identification and exchange period rules, qualified intermediary requirements, and the treatment of boot received. No provision prohibits pre-exchange refinancing, which is why the analysis rests on common-law step-transaction doctrine.
- Rev. Rul. 2004-86 — IRS ruling establishing that DST interests qualify as like-kind property for 1031 exchange purposes, subject to seven structural restrictions including the prohibition on new financing by the trustee.
Tax rates and exchange mechanics verified against 2026 IRS guidance. OBBBA (enacted July 2025) made no changes to §1031 exchange rules, like-kind property definitions, or boot recognition. The step-transaction doctrine analysis is fact-specific and this guide is educational only; consult a qualified tax attorney or CPA before executing any pre-exchange refinancing transaction. Lender seasoning requirements vary by institution and loan type.
Get matched with a specialist financial advisor
A fee-only financial advisor who understands 1031 exchanges can help you model the full picture: exchange boot math, pre- versus post-exchange refinancing timing, replacement property debt requirements, and how the liquidity fits your broader financial plan.