When you sell the home you live in, part or all of your profit may be tax-free. Many sellers have heard of the exclusion but are unsure whether they qualify, whether they still need to report the sale, or which papers to keep.
This guide walks through the IRS tests, the reporting rules and a simple record-keeping plan. It is based on IRS Tax Topic 701 and Publication 523, read on 16 November 2026. It is general information, not tax advice.
Quick answer
Short answer: According to IRS Topic 701 (as of 16 Nov 2026), if you have a capital gain from selling your main home, you may exclude up to $250,000 of it, or up to $500,000 if you file jointly with your spouse. In general you must have owned the home and lived in it for at least 24 months of the 5 years before the sale, and not have used the exclusion on another home in the previous 2 years.
The exclusion in brief
IRS Topic 701 says you may exclude up to $250,000 of gain, or up to $500,000 on a joint return. The exclusion applies to your main home, and Publication 523 sets out an eligibility test to see whether you can take the full amount.
Key figures (IRS, as of 16 Nov 2026)
- Maximum exclusion: $250,000, or $500,000 if married filing jointly (Topic 701).
- Ownership test: owned the home for at least 24 months of the 5 years before the sale.
- Use test: lived in it as your residence for at least 24 months of those 5 years.
- Look-back: generally, only one exclusion in any 2-year period (Publication 523).
- Form 1099-S: if you receive one, you must report the sale even if the gain is excludable.
- Records: Publication 523 says generally keep basis records until 3 years after the due date of the return for the year of sale.
The three tests in plain words
Ownership
Topic 701 says you meet the ownership test if you or your spouse owned the home for at least 24 months of the last 5 years before the sale. Publication 523 adds that on a joint return, only one spouse needs to meet it.
Use
You meet the use test if you lived in the home as your residence for at least 24 months of the previous 5 years. Publication 523 says those months can fall anywhere in the period and do not need to be one continuous block. On a joint return, both spouses must meet the use test for the higher limit.
Look-back
Publication 523 says you meet the look-back requirement if you did not sell another home in the 2 years before this sale, or if you did but did not exclude the gain on it.
| Likely straightforward | Check Publication 523 closely |
|---|---|
| Owned and lived in it 2 of the last 5 years | Short ownership or residence period |
| No other home sale excluded in 2 years | Another exclusion taken recently |
| Main home only | Part used for business or rental |
| Single owner or joint filers both living there | Divorce, death of a spouse or military duty |
Publication 523 lists exceptions, including for separated or divorced taxpayers, surviving spouses and some service members. Topic 701 notes that some people on qualified official extended duty may suspend the 5-year period. If any of these apply, read the relevant section or ask a tax professional.
Do you need to report the sale?
Topic 701 says you must report the sale if you receive Form 1099-S, even when the whole gain is excludable. You also must report it if you cannot exclude all of the gain.
When reporting is required, Topic 701 points to Form 8949 and Schedule D (Form 1040). Publication 523 has worksheets for working out your gain.
Records to keep
Your gain depends on your adjusted basis: broadly, what you paid plus certain improvements, minus certain adjustments. Publication 523 explains which items count.
A simple record-keeping plan
1
Keep your purchase papers: the closing statement from when you bought, including your closing costs.
2
Save improvement receipts: additions and upgrades that Publication 523 treats as part of basis.
3
Note your dates: when you bought, when you moved in and any time the home was rented out.
4
Keep your sale papers: the closing statement and any Form 1099-S.
5
Store everything safely until at least 3 years after the due date of the return for the year of sale, as Publication 523 generally advises.
Tip
Start a “house file” the day you buy. A single folder of receipts and statements saves hours when you sell.
Warning
This guide covers federal rules only. State taxes may differ. Figures and rules can change, so confirm on the IRS pages or with a tax professional before you file.
FAQ
Is all of my profit tax-free?
Not necessarily. The exclusion has limits, and any gain above it may be taxable. See Topic 701 and Publication 523.
Does this apply to a rental or second home?
The exclusion is for your main home. Mixed use has special rules in Publication 523.
I got a Form 1099-S. Do I have to report the sale?
Yes. Topic 701 says you must report it even if the gain is excludable.
Last checked: 16 November 2026, re-fetched against IRS Tax Topic 701 and Publication 523. Educational only, not tax, legal or financial advice.
This is one of the guides on our selling a home path for the US and Canada.
