The short answer
No. A section 1031 exchange needs the property you sell to be held for investment or business use, and a home you live in is neither, so what you buy with the proceeds does not matter. Your relief is the section 121 exclusion of up to $250,000 of gain, or $500,000 on a joint return, which does not require you to reinvest anything. Gain above the cap is taxed as capital gain in the year of sale. The routes that do reduce it are renting the home before you sell, a partial exclusion if you move early for a qualifying reason, and a qualified opportunity fund for the taxable excess.
At a glance
| 1031 for a home | Not available; a personal residence is not held for investment |
|---|---|
| Exclusion cap | $250,000 single, $500,000 married filing jointly |
| Tests | Owned and lived in as main home at least 2 of the 5 years before the sale |
| Reinvestment | Not required for the exclusion and not rewarded above it |
| 2026 15% band | Ends at $613,700 of taxable income joint, $545,500 single |
| Surtax | 3.8% on taxable home gain once MAGI passes $250,000 joint or $200,000 single |
| Rental's basis | What you pay for it; no gain carries over from the home |
The tax rule looks at what you sold, and a home fails the holding test
Publication 544 lists real property used for personal purposes, such as your home, among the property the like-kind rules do not cover. Rev. Proc. 2008-16 recites the long-standing position from Rev. Rul. 59-229 and the Tax Court's Moore decision that a residence is not held for investment, even if you expected it to appreciate.
Both ends of an exchange have to pass the test. A rental you buy would qualify as replacement property, but there is no relinquished investment property for it to replace, so no exchange exists.
The full treatment of why homes and second homes fall outside the rule is in can I 1031 my primary residence. This page deals with what happens to the money.
The exclusion is the homeowner's relief, and it does not depend on where the money goes
Topic 701 states the tests: you owned the home for at least 24 months and used it as your residence for at least 24 months in the five years before the sale, and generally you did not exclude gain on another home in the prior two years. Meet them and up to $250,000, or $500,000 for a joint return, of gain is excluded.
Nothing in section 121 asks you to buy another home or any other property. You can put the proceeds in a rental, a bank account or a business, and the excluded amount stays excluded.
The converse is also true. Gain above the cap is taxable no matter how much of the proceeds you reinvest, because there is no rollover rule for a home sale.
Worked example: an $800,000 gain leaves $300,000 taxable whatever you buy next
Hypothetical, round numbers. A married couple bought their home for $300,000, lived in it for twelve years and sell it in 2026 for $1,100,000, ignoring selling costs. The gain is $800,000; $500,000 is excluded and $300,000 is long-term capital gain.
Under Rev. Proc. 2025-32 the 15% rate runs to $613,700 of taxable income on a joint return, so with modest other income most of the $300,000 is taxed at 15%, roughly $45,000. The net investment income tax applies to the taxable home gain, not the excluded part, once modified AGI passes $250,000.
If the couple puts the full $1,100,000 into a fourplex the next week, the tax bill is the same, and the fourplex's basis is its purchase price. Run your own numbers with your CPA.
Three routes do reduce or delay the tax, and each must be in place before or soon after the sale
Rent it first. A home converted to a genuine rental becomes investment property, and Rev. Proc. 2005-14 lets you apply the exclusion first and a 1031 exchange to the rest, while you are still inside the two-of-five-year window. The timing is set out in the former-home guide, and the property-type view is in exchanging a former home.
Partial exclusion. Publication 523 allows a reduced exclusion if the main reason for selling early was a change in workplace, a health issue or an unforeseeable event.
Opportunity zone fund. Taxable gain on a home sale is capital gain, which Reg. section 1.1400Z2(a)-1 treats as eligible gain, generally invested within 180 days. A fund investment made in 2026 falls under the original rules, which bring the deferred gain back into income on December 31, 2026; the July 2025 tax act gives investments made after that date a rolling five-year deferral instead. Read opportunity zones for the mechanics, and weigh the fund's own illiquidity and investment risk against a deferral that may last only months.
Where an exchange or a fund changes the answer, and where it does not
If part of the property was a separate rental, such as one side of a duplex or a rented guest cottage, that part can be exchanged on its own; see the duplex split and the rented ADU.
A Delaware Statutory Trust interest does not help with home-sale cash, because the trust is replacement property and there is nothing to exchange from. It becomes relevant only after the home has genuinely become a rental.
Once you buy the rental, keep a clean basis record from day one: purchase price, closing costs, improvements and every year's depreciation. That rental can be exchanged later, and its own gain and depreciation will be deferrable then, which is the point at which a trust interest or another rental becomes a real option.
Related questions
Is there still a rule that lets me roll home-sale gain into a more expensive home?
Not under section 121, which is a capped exclusion with no reinvestment requirement. Gain above the cap is taxed whether or not you buy another house.
What if my gain is under $250,000 or $500,000?
Then the whole gain is excluded if you meet the tests, and you can buy a rental with all of it tax-free. You may still receive a Form 1099-S, in which case Topic 701 says the sale must be reported.
Can I sell my home on an installment note to spread the tax?
Topic 701 says a home sold with part of the price paid in later years is an installment sale, reported under the installment method unless you elect out, and the exclusion still applies. Tax on the taxable excess is then spread as payments arrive.
Does moving out and renting the home for a year make it exchangeable?
It can, if the rental is genuine and at fair rent, but there is no fixed safe harbor for a former principal residence. The holding-period question is covered in how long to hold before a 1031.
Can the taxable part of my home gain go into an opportunity zone fund?
The taxable excess over the exclusion is capital gain and is eligible gain under the regulation. The excluded part is not income at all, so there is nothing to defer on it.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. Section 1031
- 26 U.S.C. Section 121, exclusion of gain from sale of principal residence
- IRS Publication 544, Sales and Other Dispositions of Assets
- IRS, Rev. Proc. 2008-16, Internal Revenue Bulletin 2008-10
- IRS Topic 701, sale of your home
- IRS, Rev. Proc. 2025-32, 2026 inflation adjustments
- IRS, Questions and answers on the net investment income tax
- IRS, Rev. Proc. 2005-14, Internal Revenue Bulletin 2005-7
- IRS Publication 523, Selling Your Home
- Treas. Reg. Section 1.1400Z2(a)-1, eligible gain
- 26 U.S.C. Section 1400Z-2, opportunity zones
