Three federal structures let you defer capital gains taxes when you invest in real estate: 1031 like-kind exchanges, Qualified Opportunity Zone funds, and self-directed IRAs. Each keeps your full capital working instead of sending a share to the IRS at the moment of sale, and each carries its own deadlines, forms, and disqualifying missteps. With one narrow exception inside the Opportunity Zone program, these are tax-deferred real estate investment strategies, not tax-free ones. The bill still comes; you just get to choose when.
1031 Like-Kind Exchanges
Under Internal Revenue Code Section 1031, you can sell an investment or business property and roll the proceeds into another real property of “like kind” without recognizing gain on the sale.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment The like-kind test is broader than most people expect. Any real property held for business or investment purposes generally qualifies, regardless of type. An apartment complex can be exchanged for a strip mall, a warehouse for raw land, a single rental house for a multi-unit building. What matters is how you use the property, not what it looks like.2Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips
Two categories fall outside the statute. Property held primarily for resale — a house you flipped and mean to sell immediately — doesn’t qualify.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment Your personal residence also doesn’t, since it isn’t held for investment or business use. A narrow workaround exists under Revenue Procedure 2008-16: you can convert a personal-use property into an investment property by renting it at fair market value for at least 14 days in each of the two years before the exchange, while limiting your personal use to no more than 14 days or 10 percent of the rental period per year.
The 45-Day and 180-Day Deadlines
A 1031 exchange rarely involves a direct swap between two owners. In practice, you sell your property to a buyer, purchase a replacement from a different seller, and a qualified intermediary holds the proceeds in between. If you touch the money at any point, the IRS treats you as having received it and the entire gain becomes taxable.3Internal Revenue Service. Revenue Procedure 2003-39 Your own attorney, CPA, or anyone who has acted as your agent within the prior two years is disqualified from serving as the intermediary.
Two hard deadlines govern the exchange. You have 45 calendar days after closing on the sale of your old property to identify potential replacement properties in writing. You then have 180 calendar days from that same sale date to close on one or more of the identified properties.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment Both are absolute. Missing either by a single day kills the deferral and the entire gain becomes taxable at your applicable capital gains rate.
Most exchangers work under the three-property rule during the 45-day window, identifying up to three properties of any value. A 200-percent rule allows more properties if their combined fair market value stays under twice the sale price of what you sold, but the simpler cap tends to leave more flexibility when a deal falls through.
What if the replacement you want appears before your current property has sold? A reverse exchange lets you acquire the replacement first, with an Exchange Accommodation Titleholder taking title to the “parked” property through a single-member LLC. Revenue Procedure 2000-37 provides a safe harbor and requires completion within 180 days of the titleholder acquiring the parked property.4Internal Revenue Service. Revenue Procedure 2000-37 The 45-day identification requirement still applies, and the structure costs more than a standard forward exchange.
Boot, Basis Carryover, and Depreciation Recapture
A 1031 exchange doesn’t have to be all or nothing. Anything you receive in the exchange that isn’t like-kind real property is called “boot” and it’s taxable. Boot commonly shows up as cash you take out of the deal, debt relief when your new mortgage is smaller than the one you paid off, or personal property included in the transaction. Receiving boot doesn’t wreck the exchange; it just creates a partially taxable exchange where you owe capital gains tax on the boot amount, up to your total realized gain.
Your basis in the replacement property carries over from the old property rather than resetting to the purchase price. Say you bought a rental years ago for $200,000, claimed $50,000 in depreciation, and exchanged into a $500,000 property with no boot. Your basis in the new property is $150,000, not $500,000. That built-in gain follows you through every successive exchange. This is the fundamental tradeoff of deferral: you keep all your capital working now, but you’re accumulating a larger taxable gain that eventually comes due.
When you finally sell without rolling into another exchange, the IRS doesn’t tax the whole gain at one rate. The portion attributable to depreciation you previously claimed (or could have claimed) gets taxed at a maximum federal rate of 25 percent as unrecaptured Section 1250 gain.5Office of the Law Revision Counsel. 26 U.S.C. 1250 – Gain From Dispositions of Certain Depreciable Realty The remaining gain is taxed at regular long-term capital gains rates, which for 2026 are 0 percent, 15 percent, or 20 percent depending on income. High earners also face the 3.8 percent net investment income tax on top.
Here is what catches people off guard. Under IRC Section 1016, the IRS reduces your basis by the depreciation that was “allowed or allowable,” whichever is greater. If you owned a rental for ten years and never claimed a single depreciation deduction, the IRS still treats your basis as if you had. You’ll owe recapture tax on phantom deductions you never took. Claim the depreciation every year; you’re going to pay the recapture either way.
A properly structured 1031 exchange defers both the capital gains tax and the depreciation recapture. The recapture obligation rolls into the replacement property along with your basis. The moment you sell without exchanging, every dollar of accumulated depreciation across every prior exchange comes due at once.
Qualified Opportunity Zone Funds
Opportunity Zones deliver a different kind of deferral, and for patient investors they offer something no other structure does: a permanent exclusion of gain on the appreciation of the new investment. The program was created under IRC Section 1400Z-2 and was recently overhauled by P.L. 119-21.6Office of the Law Revision Counsel. 26 U.S.C. 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones You defer a capital gain by investing it in a Qualified Opportunity Fund within 180 days of the sale that generated the gain. The fund itself must be organized as a corporation or partnership and hold at least 90 percent of its assets in qualified zone property.
Under the revised rules, your deferred gain must be recognized on the earlier of the date you sell the fund investment or five years after the investment was made. Hold the fund investment for at least five years and you receive a 10 percent step-up in basis on the original deferred gain, reducing what you owe when recognition hits. Funds that focus predominantly on rural Opportunity Zones get an enhanced 30 percent step-up.7U.S. Department of the Treasury. New Guidance Unlocks Economic Opportunity for Overlooked Communities
The real prize is at ten years. If you hold the fund investment for at least ten years, you can elect to increase the basis of that investment to its fair market value when you sell it. Any appreciation in the fund’s value across those ten years is permanently tax-free.8Internal Revenue Service. Invest in a Qualified Opportunity Fund The exclusion applies to the growth on the new investment, not the original deferred gain, which still gets recognized under the five-year rule.
For existing buildings inside a zone, the fund must substantially improve the property after purchase. The test requires the fund to spend more on improvements than the adjusted basis of the building (land excluded) within any 30-month period after acquisition.9Office of the Law Revision Counsel. 26 U.S.C. 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones For rural Opportunity Zones the threshold drops to 50 percent of the building’s adjusted basis. Vacant land that’s never had a building on it doesn’t face this test at all.
The original zone designations were set to expire, but P.L. 119-21 created new 10-year designation cycles. A new nomination period opens on July 1, 2026, with the next round of Qualified Opportunity Zones taking effect on January 1, 2027.7U.S. Department of the Treasury. New Guidance Unlocks Economic Opportunity for Overlooked Communities The law also tightened eligibility by changing the definition of “low-income community” and eliminating the rule that let tracts merely adjacent to low-income areas qualify. Before committing to a specific deal, verify the census tract will be included in the new designations.
Self-Directed IRAs Holding Real Estate
A self-directed IRA lets you hold investment real estate directly inside a retirement account, with rental income and appreciation growing tax-deferred in a traditional IRA or tax-free in a Roth. The legal framework sits in IRC Section 408, which governs IRA structure, and IRC Section 4975, which defines the transactions and people that are off-limits.10Office of the Law Revision Counsel. 26 U.S. Code 408 – Individual Retirement Accounts The rules are unforgiving.
The IRS defines a broad list of “disqualified persons” who cannot transact with your IRA in any way. That list includes you, your spouse, your parents, grandparents, children, grandchildren, and the spouses of all those relatives. It also includes any fiduciary or service provider to the account, and any entity where disqualified persons hold a 50-percent-or-greater ownership stake.11Office of the Law Revision Counsel. 26 U.S.C. 4975 – Tax on Prohibited Transactions None of them can live in the property, manage it, perform repairs on it, or benefit from it in any way before the IRA distributes it to you in retirement.
All rent must flow directly into the IRA. All expenses, including property taxes, insurance, maintenance, and management fees, must be paid from IRA funds. You cannot chip in personal money to cover a roof repair or pay the property tax bill from your checking account. If you do, the IRS treats it as a prohibited transaction and the account stops being an IRA as of January 1 of that tax year. The entire balance is treated as a taxable distribution.10Office of the Law Revision Counsel. 26 U.S. Code 408 – Individual Retirement Accounts If you’re under 59½, you’ll also owe a 10 percent early withdrawal penalty on top of the income tax.
If the IRA doesn’t have enough cash to buy a property outright, it can borrow, but only through a non-recourse loan. Non-recourse means the lender’s sole remedy in default is to seize the property; the lender cannot come after the IRA’s other assets or after you personally. A standard recourse mortgage creates a prohibited transaction because it effectively extends your personal credit to benefit the IRA.
Leverage brings a second cost: unrelated debt-financed income tax. When an IRA uses borrowed money to buy real estate, the portion of rental income and eventual sale proceeds attributable to the debt-financed percentage is taxable inside the IRA. If the IRA puts up 60 percent of the purchase price and borrows 40 percent, roughly 40 percent of the net rental income and capital gains may be taxable. The IRA files Form 990-T and pays the tax whenever gross unrelated business income reaches $1,000 or more in a year.12Internal Revenue Service. Instructions for Form 990-T The advantage of holding property in an IRA doesn’t disappear; it shrinks proportionally to the leverage used.
Reporting Forms and Documentation
Each strategy has its own paperwork, and getting the paperwork wrong can cost you the deferral.
- For a 1031 exchange, report the transaction on IRS Form 8824, filed with your return for the year of the exchange. The form asks for descriptions of both properties, dates of identification and closing, and the calculation showing gain deferred or recognized.13Internal Revenue Service. Instructions for Form 8824
- For a Qualified Opportunity Fund, the fund files Form 8996 to certify it meets the 90-percent asset test. Individual investors report deferred gains and any inclusion events on their personal returns.14Internal Revenue Service. Instructions for Form 8996 – Qualified Opportunity Fund
- For a self-directed IRA holding leveraged property, file Form 990-T to report unrelated debt-financed income when gross UBTI reaches $1,000 or more.12Internal Revenue Service. Instructions for Form 990-T
For any 1031 exchange, assemble the adjusted basis of your relinquished property before closing: original purchase price, plus capital improvements made over the years, minus all depreciation claimed or allowable. You’ll also need the fair market value of the replacement property and both sets of closing statements. Your qualified intermediary will need these to structure the exchange and hold the proceeds. Intermediary fees for a standard forward exchange typically run between $500 and $1,800. Confirm the intermediary carries errors-and-omissions insurance and a fidelity bond before you hand over the escrow, because that money is often your largest asset’s proceeds.