If you’re sitting on an appreciated asset and want to keep the IRS from taking a chunk of the gain the moment you sell, federal tax law offers four main capital gains tax deferral strategies: a Section 1031 like-kind exchange, a Qualified Opportunity Fund investment, a charitable remainder trust, and an installment sale. Each one postpones tax under different rules, works for different asset types, and offers a different route out. Two of them can even convert the deferral into permanent tax savings if you plan the exit right.
Section 1031 Like-Kind Exchanges
The 1031 exchange is the workhorse for real estate investors. Sell an investment or business-use real property, reinvest the proceeds into another piece of real property, and you can defer the entire capital gain indefinitely.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Since 2018, this treatment applies only to real property. Personal property, equipment, vehicles, artwork, and cryptocurrency no longer qualify.
You never touch the cash. A qualified intermediary holds the sale proceeds in escrow between the two legs of the transaction. Taking control of the funds, even briefly, can disqualify the entire exchange and make the full gain immediately taxable.2Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 Your real estate agent, attorney, accountant, or anyone who has worked for you in those roles within the past two years cannot serve as the intermediary.
Two deadlines govern every exchange, and missing either one kills the deferral:
- 45-day identification period: You must identify potential replacement properties in writing within 45 calendar days after closing the sale of the property you gave up.
- 180-day exchange period: You must close on the replacement property within 180 calendar days of the sale, or by the due date of your tax return (including extensions) for the year of the sale, whichever comes first.
Both clocks start on the sale closing date, so the 45-day window runs inside the 180-day window, not after it.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The IRS has occasionally extended these deadlines for taxpayers affected by federally declared disasters. Absent disaster relief, they are absolute.
To defer the full gain, the replacement property’s purchase price must equal or exceed the net sale price of the property you sold, and the debt on the replacement must equal or exceed the debt relieved on the old one. Come up short on either count and the difference is treated as “boot,” triggering immediate taxable gain up to that amount. The same applies if you receive any cash or non-real-property assets as part of the exchange.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
One point worth understanding before you start: a 1031 exchange doesn’t eliminate your gain. It carries forward. Every dollar of deferred gain and accumulated depreciation from the old property attaches to the replacement property’s basis. When you eventually sell for cash without exchanging again, the whole backlog becomes taxable at once.
A Passive Route: Delaware Statutory Trusts
Not every investor wants to personally manage a replacement property. Under IRS Revenue Ruling 2004-86, an interest in a properly structured Delaware Statutory Trust qualifies as real property for 1031 purposes, so you can exchange a hands-on rental for a fractional interest in a professionally managed portfolio and still defer the gain.3Internal Revenue Service. Revenue Ruling 2004-86 – Delaware Statutory Trusts and Section 1031 The trade-off is rigidity: the trustee has no power to change the investment, so if the property underperforms, the trust can’t adapt. DSTs are useful for investors nearing retirement who want out of active management, or for smaller exchangors spreading equity across multiple properties. Minimums for 1031 participants typically start around $100,000, and sponsors keep pre-packaged inventory ready to close inside the 45- and 180-day windows.
Qualified Opportunity Funds
A Qualified Opportunity Fund accepts capital gains from nearly any asset type, including stocks, bonds, and real estate, along with Section 1231 gains from business property.4Internal Revenue Service. Invest in a Qualified Opportunity Fund You put the gain into the fund within 180 days of realizing it, and the fund deploys capital in designated low-income census tracts called Opportunity Zones. One advantage over a 1031: only the gain portion needs to go in, not the whole sale proceeds, so you can pocket your original cost basis immediately.5Office of the Law Revision Counsel. 26 USC 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones
For 2026, the deferral picture is blunt. Any gain previously deferred into a QOF must be recognized on the earlier of the date you sell the fund interest or December 31, 2026.6Internal Revenue Service. Opportunity Zones Frequently Asked Questions Anyone who invested deferred gains in a QOF over the past several years will owe tax on those gains this year, whether or not they sell. No new deferral elections can be made for sales occurring after December 31, 2026.5Office of the Law Revision Counsel. 26 USC 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones Legislative proposals to extend that deadline have been introduced but have not been enacted as of early 2026.
The long-term payoff is a separate benefit: hold the QOF interest for at least ten years and you can elect to step up its basis to fair market value on sale. All appreciation inside the fund escapes federal capital gains tax permanently.4Internal Revenue Service. Invest in a Qualified Opportunity Fund That’s what still makes a QOF worth a look now, even after the deferral window has closed. Putting capital in today buys a ten-year tax-free growth wrapper on any future appreciation.
If your gain flowed through from a partnership or S corporation, the 180-day clock can start on the last day of the entity’s tax year rather than the date the underlying sale closed, which gives you extra time to find a fund.4Internal Revenue Service. Invest in a Qualified Opportunity Fund The deferral election goes on Form 8997, which tracks your QOF investments and deferred gains each year.7Internal Revenue Service. About Form 8997, Initial and Annual Statement of Qualified Opportunity Fund Investments
Charitable Remainder Trusts
A charitable remainder trust takes highly appreciated assets, sells them inside the trust with no immediate capital gains tax, and pays you an income stream for life or a fixed term up to 20 years. Whatever remains at the end goes to the charity you named. You also get an upfront income tax deduction for the present value of the charitable remainder interest.
The trust comes in two common formats. A charitable remainder annuity trust pays a fixed dollar amount each year based on the initial contribution. A charitable remainder unitrust pays a fixed percentage of the trust’s value recomputed annually. Either way, the annual payout must be between 5% and 50%, and the projected remainder for charity must be at least 10% of the initial contribution value.8Office of the Law Revision Counsel. 26 USC 664 – Charitable Remainder Trusts
The gain doesn’t vanish. It flows out to you gradually through distributions under a four-tier ordering system. Each payment is first ordinary income to the extent the trust has current or accumulated ordinary income. Once that layer is exhausted, distributions are taxed as capital gains. After that, other income (including tax-exempt income). Only when all income categories are fully distributed does the payment become a tax-free return of principal.9Internal Revenue Service. Charitable Remainder Trusts
A large one-time gain gets recognized in smaller annual pieces, which can keep you in lower brackets than a lump-sum sale would. A CRT works best when you have charitable intent anyway, because the remainder ultimately leaves your estate. It isn’t a pure deferral play. For someone holding a concentrated stock position or a low-basis property they don’t want to manage, though, the combination of immediate deduction, deferred gain recognition, and lifetime income can beat selling outright.
Installment Sales
An installment sale spreads a capital gain over the years you actually receive payment. Any sale where at least one payment arrives after the close of the tax year qualifies.10Office of the Law Revision Counsel. 26 USC 453 – Installment Method You calculate a gross profit ratio (total gain divided by total contract price) and apply it to each principal payment to find the taxable portion. Report it on Form 6252 for the sale year and every year you receive payments.11Internal Revenue Service. About Form 6252, Installment Sale Income
This isn’t a reinvestment strategy. You’re matching the tax bill to your cash flow, which keeps you from owing a large tax payment in a year on money you haven’t received yet. For sellers financing the buyer directly, it’s a natural fit.
Some property is locked out of installment treatment:
- Dealer property and inventory: If the asset would be classified as inventory or you’re a dealer selling to customers in the ordinary course of business, you recognize the full gain in the year of sale.
- Publicly traded securities: Stocks and other securities traded on established markets cannot use the installment method; all payments are treated as received in the disposition year.
Both exclusions come from the same statute section. Even for qualifying property, depreciation recapture doesn’t get spread out. Any gain attributable to prior depreciation deductions under Sections 1245 or 1250 must be recognized entirely in the year of sale, regardless of when payments arrive. Only gain in excess of recapture gets spread over the installment period.10Office of the Law Revision Counsel. 26 USC 453 – Installment Method
Interest Charge on Large Installment Obligations
Larger installment sales carry a cost most sellers don’t anticipate. If the sale price exceeds $150,000 and the total face amount of all your outstanding installment obligations from that year exceeds $5 million at year-end, the IRS imposes an interest charge on the deferred tax liability. The charge applies to the portion of your obligations above the $5 million threshold, at the federal underpayment rate.12GovInfo. 26 USC 453A – Special Rules for Nondealers That effectively converts the deferral into an interest-bearing loan from the government.
Related-Party Sales
Selling to a family member or related entity on the installment method invites extra scrutiny. If the related buyer resells the property within two years, you must recognize the remaining deferred gain as if you had received those proceeds yourself at the time of the resale. The rule blocks families from using a straw-buyer arrangement to accelerate cash while keeping the seller’s gain deferred.13Internal Revenue Service. Publication 537 – Installment Sales The two-year trigger doesn’t apply to involuntary conversions or sales where the IRS is satisfied that tax avoidance wasn’t a principal purpose.
The 3.8% Surtax on Deferred Gains
Deferral moves the gain to a different year; it doesn’t change how the gain is classified. When deferred capital gains finally hit your return, whether from a QOF inclusion event, a broken 1031 chain, or installment payments, they count as net investment income. If your modified adjusted gross income exceeds certain thresholds, you owe an additional 3.8% surtax on top of the regular capital gains rate.14Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax
The thresholds are $250,000 for married couples filing jointly, $125,000 for married filing separately, and $200,000 for single filers.15Internal Revenue Service. Topic No. 559, Net Investment Income Tax They are not indexed for inflation, so more taxpayers cross them each year. For QOF investors facing the mandatory 2026 recognition event, the surtax on top of the regular 15% or 20% capital gains rate can push the effective rate above 23% if income exceeds the threshold. Bunching deductions or timing other income in the recognition year can soften the hit.
Turning Deferral Into Permanent Savings
Every deferral strategy eventually reaches a point where the tax bill comes due, unless you plan the exit carefully. Two paths convert temporary deferral into permanent savings.
For 1031 exchange chains, the classic approach is holding the final replacement property until death. Property acquired from a decedent receives a basis equal to its fair market value on the date of death.16Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent That step-up wipes out the entire accumulated deferred gain from every prior exchange. Heirs inherit at current market value and can sell the next day with little or no capital gains tax. Estate planners sometimes call this “swap till you drop.” It works.
For QOF investments, the permanent exclusion works differently. Instead of waiting for death, you hold the interest at least ten years and elect to step up basis to fair market value on sale. All appreciation inside the fund from the date of your investment forward is excluded from federal income tax.6Internal Revenue Service. Opportunity Zones Frequently Asked Questions You still owe tax on the original deferred gain in 2026, but the growth escapes entirely.
Charitable remainder trusts don’t offer a step-up at death. The remainder goes to charity when the trust term ends or the income beneficiary dies, so there’s no inherited asset to step up. The upfront deduction and the income stream are the payoff. Installment obligations, by contrast, are generally treated as income in respect of a decedent, so heirs pick up the remaining gain as payments come in, with no step-up to erase it. The only deferral strategies that genuinely zero out the tax bill are the 1031 chain held until death and the QOF ten-year exclusion.