How Long Do You Have to Reinvest Home Sale Money?

There is no deadline to reinvest the money from selling your home, because federal tax law no longer requires you to reinvest anything. Under Internal Revenue Code Section 121, a single filer can exclude up to $250,000 of gain from the sale of a primary residence, and a married couple filing jointly can exclude up to $500,000, without buying another home or doing anything specific with the proceeds.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The money is yours to spend, save, or invest however you choose. The only strings attached are ownership and use requirements that had to be met before the sale.

Where the Reinvestment Myth Comes From

The question keeps coming up because of a rule that no longer exists. Before 1997, IRC Section 1034 required homeowners to buy a replacement residence of equal or greater value within two years to defer capital gains from a sale.2Office of the Law Revision Counsel. 26 USC 1034 – Repealed That old rule created a chain of deferred taxes that followed a seller from one house to the next. Congress repealed it in 1997 and replaced it with the current Section 121 exclusion.

The change was substantive, not cosmetic. Under Section 1034, gain was deferred and eventually taxable. Under Section 121, excluded gain is simply gone for federal tax purposes. You owe nothing on the excluded portion regardless of what happens to the proceeds afterward. Pay off debt, fund a retirement account, buy a smaller home, buy a bigger home, rent for a decade, or leave the cash in savings. None of it affects your tax bill on the sale.

What You Actually Have to Do to Qualify

Instead of a reinvestment deadline, Section 121 imposes two tests you must have satisfied before closing. Both are measured during the five-year period ending on the date of sale.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence

  • Ownership test: You must have owned the home for at least two years during the five-year window. The two years don’t need to be consecutive.
  • Use test: You must have lived in the home as your primary residence for at least two years during the same five-year window.

The ownership and use periods can overlap, but they don’t have to. Someone who rented a house for three years, then bought it and lived in it for two more, could meet both tests. Utility bills, voter registration, and mailing addresses help establish that a home was your primary residence if the IRS asks.

There’s also a frequency rule. You cannot have claimed the Section 121 exclusion on another home sale within the two years before this one.3Internal Revenue Service. Topic No. 701, Sale of Your Home That prevents anyone from flipping through residences every year to shield gains repeatedly.

Partial Exclusions for Early Moves

If you have to sell before hitting two full years, you can still qualify for a reduced exclusion when the move was triggered by a change in employment, a health condition, or certain unforeseen circumstances.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The reduced amount is proportional: months you met the requirements divided by 24, multiplied by the $250,000 or $500,000 cap.5Internal Revenue Service. Publication 523, Selling Your Home

For a work-related move, your new workplace must be at least 50 miles farther from the old home than your previous workplace was. Health-related moves qualify when a doctor recommends a change of residence for diagnosis, treatment, or recovery. The IRS also recognizes several automatic safe harbors as unforeseen events: involuntary conversion of the home, divorce or legal separation, death of a qualifying occupant, loss of employment leading to unemployment compensation eligibility, and multiple births from the same pregnancy.

How Much Is Excluded: Single Filers, Couples, and Special Situations

The cap depends on your filing status and household situation on the date of the sale.

Single filers who meet the ownership and use tests exclude up to $250,000. Married couples filing jointly can exclude up to $500,000, but three conditions all have to be true: at least one spouse meets the ownership test, both spouses meet the use test, and neither spouse claimed the exclusion on a different home sale in the prior two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence If only one spouse meets the use test, the couple drops to the $250,000 single-filer limit.

Surviving Spouses

A surviving spouse can still claim the full $500,000 exclusion if the sale happens within two years of the other spouse’s death, the surviving spouse hasn’t remarried, and the ownership and use requirements were met at the time of death. After that two-year window closes, the surviving spouse filing as single is limited to $250,000.

Separately, the surviving spouse receives a stepped-up basis on the deceased spouse’s share of the home, reset to fair market value as of the date of death.6Internal Revenue Service. Basis of Assets In community property states, the entire property typically gets a full step-up. That basis adjustment alone can reduce or eliminate the taxable gain regardless of the exclusion.

Divorce

When a home is transferred between spouses as part of a divorce, the receiving spouse counts the other spouse’s ownership period toward the two-year ownership test.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence And if a divorce decree grants the home to one spouse, the spouse who moves out is still treated as using the home as a principal residence for the use test. The rule prevents a divorce from accidentally disqualifying someone who otherwise earned the exclusion.

What Happens If Your Gain Exceeds the Exclusion

Reinvesting doesn’t reduce what you owe on gain above the cap. If your gain exceeds $250,000 or $500,000, the excess is taxable no matter what you do with the money afterward.

Your gain is the difference between your adjusted basis and the amount realized from the sale, not the sale price itself. Adjusted basis starts with what you paid for the home, plus certain closing costs (title insurance, recording fees, transfer taxes, survey fees), plus the cost of capital improvements over the years.5Internal Revenue Service. Publication 523, Selling Your Home Improvements add value, extend useful life, or adapt the home to new use (a new roof, finished basement, added bathroom, central air). Routine repairs do not count. Amount realized is the sale price minus commissions, title insurance for the buyer, transfer taxes, attorney fees, and other selling costs.

Assuming you owned the home for more than a year, the taxable excess is taxed at long-term capital gains rates: 0%, 15%, or 20% depending on your taxable income. The 20% rate kicks in only above $545,500 for single filers or $613,700 for married couples filing jointly in 2026.

A 3.8% net investment income tax can apply on top. It kicks in when modified adjusted gross income exceeds $200,000 (single), $250,000 (married filing jointly), or $125,000 (married filing separately).7Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax Excluded Section 121 gain does not count as net investment income, but any taxable gain above the exclusion does.8Internal Revenue Service. Questions and Answers on the Net Investment Income Tax The combined effective rate on excess gain can run as high as 18.8%, or 23.8% at the top bracket.

If you ever claimed depreciation on the property (say, you rented it out or deducted a home office), depreciation taken after May 6, 1997 cannot be excluded under Section 121.5Internal Revenue Service. Publication 523, Selling Your Home It’s recaptured as unrecaptured Section 1250 gain, taxed at a maximum rate of 25%.

The One Scenario With an Actual Reinvestment Clock: 1031 Exchanges

People asking about reinvestment deadlines sometimes have Section 1031 like-kind exchanges in mind. A 1031 exchange does come with strict reinvestment timing: 45 days to identify a replacement property and 180 days to close on it. But Section 1031 does not apply to a primary residence. The IRS requires both properties in a 1031 exchange to be held for business or investment use.

There is a narrow overlap for a homeowner who converts a primary residence into a rental property, holds it long enough to establish genuine investment use, and then exchanges it. The reverse path works too: if you acquired an investment property through a 1031 exchange and later converted it to your primary residence, the Section 121 exclusion can be available, but you must own the property for at least five years after the exchange before selling.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence These conversion strategies involve real complexity and timing risk, and they aren’t something to attempt without professional guidance.

Reporting the Sale

If your entire gain fits within the exclusion and you did not receive a Form 1099-S from the closing agent, you may not need to report the sale at all.3Internal Revenue Service. Topic No. 701, Sale of Your Home The closing agent can skip issuing a 1099-S when the seller provides a written certification that the home is a principal residence and the full gain is excludable.9Internal Revenue Service. Instructions for Form 1099-S, Proceeds From Real Estate Transactions

You do have to report the sale when any of the following applies:

  • Your gain exceeds the $250,000 or $500,000 exclusion limit.
  • You received a Form 1099-S.
  • You’re claiming a partial exclusion due to a job change, health, or unforeseen circumstance.
  • Part of the home was used as a rental or was depreciated.

When reporting is required, the sale goes on Form 8949 and carries to Schedule D of your Form 1040.10Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets Depreciation recapture goes on Form 4797.11Internal Revenue Service. Instructions for Form 4797

One last boundary worth knowing. The Section 121 exclusion is federal only. Many states tax capital gains from a home sale under their own rules, and not every state follows the federal exclusion. Checking with your state tax authority before closing is worth the time.