The Section 1034 rollover rule was repealed in 1997 and no longer applies to any home sale. Under that former law, when you sold a principal residence at a gain and bought a replacement home of equal or greater value within the replacement window, you were required to defer the gain by reducing the basis of the new home by that amount. Congress replaced the rollover with the current Section 121 exclusion, but the old rule still reaches into the present in one important way: any gain you deferred back then permanently lowered the basis of the replacement property, and that reduced basis carries through every subsequent rollover to whatever home you own now.1Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain from Sale of Principal Residence
How the Rollover Worked
Section 1034 applied to sales of a principal residence before May 7, 1997. If you sold at a profit and bought or built a new principal residence within two years before or after the sale, the deferral was automatic. You did not elect it, and you could not opt out. If the conditions were met, the rollover happened.2GovInfo. 26 CFR 1.1034-1 – Sale or Exchange of Residence
The comparison ran between the new home’s purchase price and the “adjusted sales price” of the old one (the sale price minus selling expenses and qualifying fix-up costs). If the replacement cost at least as much as the adjusted sales price, the entire gain was deferred. If it cost less, tax was owed only on the shortfall. Either way, the mechanics worked by cutting the basis of the new home by the deferred amount. Buy a $200,000 replacement after deferring $60,000, and your basis in the new place started at $140,000.
Taxpayers reported each rollover on IRS Form 2119, Sale of Your Home, which tracked the deferred gain and calculated the reduced basis in the replacement property.3Internal Revenue Service. Form 2119 – Sale of Your Home Each successive rollover compounded the reduction. A homeowner who traded up three or four times could end up in a house with a tax basis tens or even hundreds of thousands of dollars below its purchase price.
Why the Old Rule Still Reaches Your Current Home
Every dollar of gain deferred under Section 1034 permanently reduced the basis of the replacement home by the same amount. That reduction carries forward through the entire chain of properties. If you rolled gains through one or more homes before 1997 and still live in a home from that chain, your adjusted basis today is lower than what you paid for it.
A simple walk-through: you bought your first home for $80,000 and sold it for $150,000, deferring $70,000 of gain. You then bought your current home for $220,000. Your starting basis in the current home was $150,000 ($220,000 minus the $70,000 deferred gain), not $220,000. If you now sell for $600,000 after selling costs, your realized gain is $450,000. A single filer applying the $250,000 Section 121 exclusion owes tax on $200,000, rather than the $130,000 you might expect if you looked only at what you paid for the current house.
The effect grows with each rollover in the chain. Homeowners who bought and sold multiple times before 1997 sometimes carry six-figure basis reductions that determine whether they owe nothing or face a substantial tax bill.
Calculating Your Adjusted Basis Today
Adjusted basis is more than purchase price minus deferred gain. Several categories of spending increase basis, and getting them right directly reduces the taxable portion of a future sale.
Start with the original purchase price of your current home. Add settlement and closing costs you paid at purchase: title insurance, recording fees, transfer taxes, survey fees, and legal fees tied to the purchase. Financing costs like mortgage insurance premiums and loan origination fees do not count.4Internal Revenue Service. Publication 523 (2025), Selling Your Home
Next, add capital improvements made while you owned the home. The IRS draws a firm line between improvements and repairs. Improvements add value, extend useful life, or adapt the home to a new use. Repairs maintain the home in its current condition. Replacing a roof is an improvement; patching a leak is a repair. Installing central air counts; servicing the existing unit does not.4Internal Revenue Service. Publication 523 (2025), Selling Your Home Common qualifying improvements include adding a bathroom or bedroom, building a deck or patio, installing a new heating system, replacing all the windows, finishing a basement, and major landscaping like retaining walls or a new driveway.
Finally, subtract any gain deferred under Section 1034 rollovers earlier in the chain, and subtract any depreciation you claimed on the home (for a home office, for example). What remains is your adjusted basis. Subtract that from the amount realized on the sale (sale price minus selling expenses) to get your gain.
Rebuilding Records When Form 2119 Is Long Gone
The practical difficulty with the old rollover system is documentation. Form 2119 has not been filed since the 1990s, and most homeowners no longer have their copies. Without them, proving how much gain was deferred, and proving what capital improvements have raised basis since, is a reconstruction job.
IRS guidance identifies several productive sources for rebuilding a basis history:
- Title and escrow companies often retain closing documents for decades and can supply copies showing the original purchase price and settlement costs.
- Mortgage lenders may have appraisals or other records reflecting the home’s cost and value at purchase.
- County assessor records establish assessed values and land-to-building ratios, useful for approximating a home’s value at the time of purchase.
- Old tax returns can be requested from the IRS on Form 4506-T. If Form 2119 was attached to a return, the transcript may contain the deferred gain and adjusted basis figures.
- Contractors sometimes retain invoices for major work, and banks that issued home improvement loans will have records of the loan amounts.
- Homeowner’s insurance policies typically list a building’s replacement value, which offers a starting point for establishing basis.
Courts have sometimes allowed reasonable estimates when records have been lost or destroyed, but only after the taxpayer first shows the expense actually occurred. You cannot guess a number with nothing behind it. If bank statements, photographs, or witness testimony establish that an improvement was made, a court may accept a reasonable estimate of what it cost. The threshold is proving the expense existed; some flexibility on the exact figure may follow.
The work is tedious, but for a long-time homeowner sitting on a large gain with a chain of rollovers behind them, it goes straight to the tax bill.
What Section 121 Does Now
Section 312 of the Taxpayer Relief Act of 1997 repealed Section 1034 and rewrote Section 121, effective for sales after May 6, 1997.6Congress.gov. Taxpayer Relief Act of 1997 (Public Law 105-34) Today you can exclude up to $250,000 of capital gain on the sale of your principal residence, or $500,000 for married couples filing jointly. These amounts are fixed by statute and are not adjusted for inflation.1Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain from Sale of Principal Residence
To claim the full exclusion, you must have owned the home for at least two years and used it as your main residence for at least two years during the five-year period ending on the sale date. The two years do not need to be continuous. The exclusion is available once every two years. For married couples claiming the $500,000 amount, at least one spouse must meet the ownership test, both must meet the use test, and neither can have used the exclusion on another sale within the prior two years.1Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain from Sale of Principal Residence
Gain above the exclusion is taxable and reported on Form 8949 with totals carried to Schedule D.7Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets You also must file Form 8949 if you received a Form 1099-S, even if the entire gain is excludable.4Internal Revenue Service. Publication 523 (2025), Selling Your Home
Prior Ownership Counts if Your Home Came From a Rollover
Section 121(g) gives owners of former rollover properties a useful break: time you owned and used the earlier home in the chain counts toward the two-year ownership and use tests on your current home.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain from Sale of Principal Residence The tacking runs through the entire chain of rollover properties, so a series of homes tied together by Section 1034 aggregates for exclusion purposes.
Partial Exclusion for Early Sales
If you sell before meeting the two-year requirement, you may still qualify for a prorated exclusion when the sale is triggered by a change in employment, a health condition, or certain unforeseen circumstances. Qualifying events include job relocation, death, divorce, multiple births from the same pregnancy, and becoming eligible for unemployment benefits, among others.4Internal Revenue Service. Publication 523 (2025), Selling Your Home The partial exclusion multiplies the $250,000 or $500,000 limit by the fraction of the two-year period you actually met. A single taxpayer who owned and lived in the home for 18 months before a qualifying job move could exclude up to $187,500 (18/24 × $250,000).1Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain from Sale of Principal Residence
Two Taxes That Can Bite Even After the Exclusion
Depreciation recapture applies if you claimed depreciation on any part of your home after May 6, 1997, typically for a home office or a rented portion. The Section 121 exclusion does not shelter the gain attributable to that depreciation, regardless of whether your total gain falls below the exclusion threshold.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain from Sale of Principal Residence The recaptured amount is taxed at a maximum rate of 25%, and it catches many sellers by surprise, particularly those who deducted a home office for years.
The 3.8% Net Investment Income Tax can apply to gain that exceeds the Section 121 exclusion if your modified adjusted gross income exceeds $250,000 (married filing jointly), $200,000 (single), or $125,000 (married filing separately). The NIIT does not touch the excluded portion of the gain, only the taxable portion above the exclusion that also pushes income over the threshold.9Internal Revenue Service. Net Investment Income Tax
For homeowners with a rollover chain behind them and a large gain ahead, a tax professional who works in real estate transactions can coordinate the document gathering and flag issues before the property is listed.