What Is Unrecognized Gain? Deferral, Basis, and Reporting

An unrecognized gain is the portion of profit from selling or exchanging an asset that a specific provision of the Internal Revenue Code lets you leave off your current tax return. The profit is real and the tax code acknowledges it happened, but recognition — the moment the gain hits your return and generates a tax bill — gets postponed. In most cases the deferred tax is preserved by lowering the cost basis of whatever asset you acquire next, so the IRS still collects when you eventually cash out. A few provisions go further and erase the gain permanently.

Realized, Recognized, Unrecognized

Three words do most of the work here, and they aren’t interchangeable.

Your realized gain is the raw economic profit: what you sold the asset for, minus your adjusted basis. Adjusted basis usually means what you paid, plus improvements, minus depreciation. Sell a rental you bought for $400,000 (after $50,000 of depreciation) for $750,000, and the realized gain is $400,000.

Your recognized gain is the piece of that realized gain you actually have to report and pay tax on this year. For ordinary sales, realized and recognized are the same number.

Your unrecognized gain is the slice a non-recognition provision lets you skip for now. It happened, it counted economically, and it will usually resurface later. Only a handful of rules — the primary residence exclusion is the main one — wipe the gain out for good rather than just deferring it.

How Basis Carries the Deferred Tax

Every deferral rule works through the same lever: substituted basis. When you receive replacement property in a non-recognition transaction, that new asset does not take a basis equal to its market value. It takes the basis of whatever you gave up, adjusted for any cash or non-like-kind property (called “boot”) that changed hands. The gap between your basis and the property’s market value is exactly the unrecognized gain, sitting in the asset and waiting.

An example makes it concrete. You exchange a rental with an adjusted basis of $150,000 for a replacement property worth $600,000 in a qualifying like-kind exchange with no boot. Your realized gain is $450,000. Your recognized gain is zero. Your basis in the new property is $150,000, not $600,000.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment

That low basis has real consequences. Annual depreciation on the replacement runs from $150,000, not $600,000, so your write-offs shrink. And when you sell in a taxable transaction, gain is measured from that $150,000 floor. A later sale at $700,000 produces $550,000 of recognized gain: the original $450,000 plus $100,000 of new appreciation. The deferred tax rides along in the basis until something forces it out.

Where Unrecognized Gain Shows Up

Several provisions let you defer or exclude gain, and each has its own conditions.

Sale of a Primary Residence

If you owned and used a home as your principal residence for at least two of the five years before the sale, Section 121 lets you exclude up to $250,000 of gain, or $500,000 for married couples filing jointly (both spouses meeting the use test, at least one meeting the ownership test).2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence This one is a true exclusion, not a deferral. Gain under the cap disappears from the tax base entirely. Gain above the cap is fully recognized in the year of sale. You don’t have to buy another home, and you can use the exclusion again on a later sale so long as you haven’t used it in the prior two years.

Like-Kind Exchanges of Real Property

Section 1031 lets you swap real property held for business or investment for other real property of like kind, deferring the entire gain.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Since 2018, only real property qualifies; equipment, vehicles, artwork, and other personal or intangible property no longer do.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips The rules are strict: you have 45 days after transferring your old property to identify replacements and 180 days (or the return due date, whichever is earlier) to close. Miss either deadline and the gain is fully taxable. If you receive cash or debt relief in addition to the replacement property, you recognize gain up to the boot amount.

Involuntary Conversions

When property is destroyed, stolen, or condemned and the insurance or condemnation proceeds exceed your basis, you have a realized gain you didn’t ask for. Section 1033 lets you defer it by reinvesting the proceeds in property similar or related in service or use to what you lost.4Office of the Law Revision Counsel. 26 USC 1033 – Involuntary Conversions The replacement window is generally two years after the close of the first tax year in which any gain is realized, extended to three years for real property condemned for public use. Condemned business or investment real property qualifies under the looser like-kind standard rather than the similar-or-related-use test.

Transfers to a Controlled Corporation

When you transfer appreciated property to a corporation in exchange for its stock and you (alone or with other transferors) control the corporation immediately after, Section 351 defers the gain.5Office of the Law Revision Counsel. 26 USC 351 – Transfer to Corporation Controlled by Transferor Control means at least 80% of the combined voting power and at least 80% of each other class of stock.6Internal Revenue Service. Revenue Ruling 2003-51 The corporation takes a carryover basis, and boot triggers recognition up to the boot amount. A trap worth flagging: if the corporation assumes liabilities on the property that exceed your basis in the transferred assets, the excess is recognized as gain.7Office of the Law Revision Counsel. 26 USC 357 – Assumption of Liability This bites people who transfer heavily mortgaged real estate.

Qualified Opportunity Zone Investments

Section 1400Z-2 layers two benefits for capital gains reinvested in a qualified opportunity fund. The original gain is deferred at the time of investment. Then, if you hold the opportunity zone investment for at least 10 years, you can elect to step up your basis to fair market value on sale, making post-acquisition appreciation tax-free.8Office of the Law Revision Counsel. 26 USC 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones For gains invested before the end of 2026, the deferred original gain must be recognized no later than December 31, 2026, whether or not you’ve sold. A recent amendment changed the trigger for investments made after that date to five years from the investment date rather than a fixed calendar deadline.

When Deferred Gain Becomes Taxable

Deferral is a delay, not a pardon. Several events force the gain back into view.

You Sell the Replacement Property

The everyday trigger is a plain taxable sale of whatever you rolled into. Because the substituted basis is low, that final sale captures the original deferred gain plus any new appreciation, all at once, at whatever rates apply in that year.

You Miss a Deadline or a Requirement

Fail the 45-day identification rule in a 1031 exchange, blow the two- or three-year window on an involuntary conversion, lose control status in a Section 351 transfer, and the full realized gain becomes taxable in the year it should have been recognized. There’s no partial credit.

You Trigger a Constructive Sale

You can force recognition without formally selling. Section 1259 treats certain hedges on appreciated financial positions — a short sale against an identical position, or an offsetting derivative — as constructive sales, recognizing gain as if you sold at fair market value on that date.9Office of the Law Revision Counsel. 26 USC 1259 – Constructive Sales Treatment for Appreciated Financial Positions The rule stops investors from locking in economic gain through hedging while claiming they never technically sold.

You Give the Property Away

A gift of appreciated property during your lifetime does not eliminate the deferred gain. The recipient takes your basis, so they inherit the embedded tax liability along with the asset.10eCFR. 26 CFR 1.1015-1 – Basis of Property Acquired by Gift When they sell, they pay the tax you deferred.

When Deferred Gain Disappears

Two situations make deferral permanent.

The first is the Section 121 exclusion on a primary residence, discussed above: gain under the threshold is simply gone.

The second is death. Inherited assets generally get a new basis equal to fair market value at the date of death, so any unrecognized gain built into the substituted basis effectively vanishes. This is why investors sometimes chain 1031 exchanges for decades: heirs receive the properties with a stepped-up basis, and the deferred tax is never paid. One narrow exception exists to prevent gaming the rule. If you gift appreciated property to someone who dies within one year and it passes back to you as an inheritance, you don’t get the step-up; your basis stays what it was in the decedent’s hands immediately before death.11Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent

You Still Have to File

Deferral does not mean silence on your return. The IRS requires you to document the transaction and calculate the deferred amount even when no tax is due right now. Like-kind exchanges are reported on Form 8824, which captures the details of the exchange, the gain deferred, any boot, and the basis of the replacement.12Internal Revenue Service. About Form 8824, Like-Kind Exchanges Boot that triggers partial recognition may also flow to Form 4797 or Form 6252 depending on the property and payment terms.13Internal Revenue Service. Instructions for Form 8824 Involuntary conversion deferrals are elected by statement attached to your return. Section 351 transfers require both the transferor and the corporation to report the exchange and the basis of transferred assets.

Records matter more than most people expect. When you finally sell in a taxable transaction, your gain is calculated from a basis that may reflect a chain of exchanges going back years. Investors who chain 1031 exchanges over decades sometimes lose track of the original basis, and reconstructing it at the moment of sale is where deferral planning most often goes wrong.