A 1034 exchange refers to the pre-1997 rollover rule under Internal Revenue Code Section 1034, which let homeowners postpone capital gains tax by buying a replacement primary residence of equal or greater value within a four-year window. The rule was repealed by the Taxpayer Relief Act of 1997 and replaced by the current Section 121 exclusion. It still matters today for one reason: any gain you deferred under the old rule is embedded in the cost basis of the home you own now, and it comes due when you sell.
How the Old Rollover Worked
Under Section 1034, selling your primary home and buying another one within a set window let you postpone paying tax on the profit. You never escaped the tax. You pushed it forward by reducing the new home’s cost basis by the deferred amount.
The replacement window ran from two years before the sale to two years after it.1Bloomberg Tax. 26 U.S.C. 1034 – Rollover of Gain on Sale of Principal Residence To defer all of the gain, the new home had to cost at least as much as the adjusted sales price of the old one. If you bought something cheaper, the shortfall was taxable right away. Both properties had to be your primary residence; investment properties and vacation homes did not qualify.
The practical result was a chain. Every sale-and-buy cycle piled more deferred gain into the basis of the next home. A homeowner who moved four or five times over several decades could be sitting on a very large embedded gain by the time they stopped buying replacement homes.
What Replaced Section 1034
The Taxpayer Relief Act of 1997 repealed Section 1034 for all home sales after May 6, 1997.1Bloomberg Tax. 26 U.S.C. 1034 – Rollover of Gain on Sale of Principal Residence The revised Section 121 took a fundamentally different approach: instead of forcing you to reinvest, it lets you exclude a large portion of your gain outright each time you sell a qualifying home. Tax on the excluded gain does not get deferred. It is gone.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Section 121 excludes up to $250,000 of gain for single filers and up to $500,000 for married couples filing jointly. Any gain above those limits is subject to capital gains tax.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
To claim the full exclusion, you need to pass two tests during the five-year period ending on the sale date. The ownership test requires you to have owned the home for at least two of those five years. The use test requires you to have lived in it as your primary residence for at least two of those five years. The 24 months don’t need to be consecutive.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
For the $500,000 joint limit, at least one spouse must meet the ownership test and both must meet the use test, and neither spouse can have claimed the exclusion on another home sale within the past two years. You can only use the full exclusion once every two years.2Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Why the Old 1034 Rule Still Affects Your Cost Basis
When you deferred gain under Section 1034, the IRS reduced the cost basis of your new home by the amount of the deferred gain. Say you bought a home for $300,000 but carried $50,000 of deferred gain from a prior sale. Your adjusted basis in the new home was $250,000, not $300,000. If you later sell that home for $550,000, your realized gain is $300,000. Not the $250,000 you might expect from looking at the purchase and sale prices alone.
Homeowners who moved several times under the old rules compounded this. Each rollover pushed more deferred gain into the next home’s basis. Someone who made four or five moves could easily have $100,000 or more of accumulated deferred gain baked into the basis of the home they own today.
The Section 121 exclusion absorbs this inflated gain for most sellers. If your total realized gain (including all the old deferred amounts) comes in under $250,000 single or $500,000 joint, you owe nothing. But in high-appreciation markets, longtime owners with pre-1997 rollover history can push past the exclusion and owe real money.
The record that documented each deferral was Form 2119, Sale of Your Home. A copy was filed with the tax return for each rollover sale before 1997, showing the deferred gain and the adjusted basis of the replacement home.3Internal Revenue Service. Form 2119 – Sale of Your Home That form is the paper trail you need now.
Reconstructing Your Basis When the Records Are Gone
Tracking down a Form 2119 from the early 1990s or earlier is where most people hit a wall. The IRS keeps copies of filed returns for only about seven years, and transcripts are available for a limited window.4Internal Revenue Service. Form 4506 – Request for Copy of Tax Return For a return filed in 1994, the IRS almost certainly no longer has it.
You still have options. The IRS recommends several sources for rebuilding a property’s cost basis when the originals are gone:5Internal Revenue Service. Reconstructing Records After a Natural Disaster or Casualty Loss
- Title and escrow companies that handled your earlier closings may still have records showing purchase prices and transaction costs.
- County assessor’s offices keep property tax records that can help establish what a home was worth at purchase or sale.
- Mortgage lenders may have appraisals or loan documents reflecting the original purchase price.
- Contractors and old home improvement loan records can substantiate capital improvements that add to basis.
- Appraisal firms or real estate professionals can pull comparable sales data for the relevant neighborhood and time period.
Capital improvements you made over the years add to basis and reduce your taxable gain. Renovated kitchens, added rooms, and new roofs count. Routine maintenance and repairs do not. Gather what you can, including written statements from people who saw the home before and after major work.5Internal Revenue Service. Reconstructing Records After a Natural Disaster or Casualty Loss
A CPA experienced in basis reconstruction is worth the cost. Getting the number wrong hurts either way. Understating basis means overpaying tax. Overstating it invites an audit.
Inherited Homes Break the Chain
If you inherited a home rather than bought it, the whole 1034 history is irrelevant. Under Section 1014, property acquired from a decedent gets a new cost basis equal to the fair market value at the date of death.6Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent The step-up wipes out any deferred gain that was embedded in the property, no matter how many rollovers the previous owner went through.
The dollar difference can be large. If your parent bought a home for $400,000 but carried $150,000 of deferred 1034 gain (adjusted basis of $250,000), and the home was worth $600,000 at their death, your basis as the heir is $600,000. Sell for $620,000, and your gain is $20,000. Not the $370,000 your parent would have faced.
What You Owe on Gain Above the Exclusion
When gain from a home sale exceeds the Section 121 exclusion, the excess is subject to federal capital gains tax. The rate depends on your taxable income. For 2026, most taxpayers pay 15% on long-term capital gains. The rate is 0% at the lowest income levels and 20% for the highest earners.
Two additional taxes can apply.
Depreciation recapture. If you claimed a home office deduction and took depreciation on part of the home after May 6, 1997, the Section 121 exclusion does not cover gain attributable to that depreciation.7eCFR. 26 CFR 1.121-1 – Exclusion of Gain From Sale or Exchange of a Principal Residence That slice is taxed as unrecaptured Section 1250 gain at a maximum rate of 25%, even if the rest of your gain is fully excluded.8Internal Revenue Service. Topic No. 409 – Capital Gains and Losses
Net investment income tax. A 3.8% surtax applies to net investment income, including taxable gain from a home sale, if your modified adjusted gross income exceeds $200,000 single or $250,000 joint. Gain excluded under Section 121 is not counted, but any taxable gain above the exclusion is.9Internal Revenue Service. Questions and Answers on the Net Investment Income Tax For a longtime owner selling a home in a strong market with decades of deferred 1034 gain sitting in the basis, this one is easy to miss and expensive to discover at filing time.