2026 Home Sale Tax Basics: IRS Section 121 Exclusion, Gain Calculation, and Records
For many older homeowners, selling a long-time residence can create a large gain on paper. Federal tax law may allow you to exclude part or all of that gain under IRS Section 121. This is not a senior-only benefit: the same core rules apply regardless of age. The key question is whether the property was your main home and whether you meet the ownership, residence, and timing tests.
1. The Section 121 Home Sale Exclusion
If you have a gain from selling your main home, you may be able to exclude up to $250,000 of gain from federal income tax. A married couple filing a joint return may be able to exclude up to $500,000.
The exclusion applies to gain, not the full sale price. Your gain is generally calculated as:
Selling price − selling expenses − adjusted basis = gain or loss
Your adjusted basis may include the original purchase price, certain closing costs, and qualifying capital improvements such as a new roof, kitchen renovation, addition, deck, or HVAC system. Routine maintenance and ordinary repairs generally do not increase basis.
2. The 2-Out-of-5-Year Rule
To qualify for the maximum exclusion, you generally must meet three requirements during the five-year period ending on the sale date.
| Requirement | General Rule |
|---|---|
| Ownership test | You owned the home for at least 24 months during the five years before the sale. |
| Use test | You lived in the home as your main home for at least 24 months during the same five-year period. |
| Look-back rule | You generally did not claim a home-sale exclusion for another property during the two years before this sale. |
The ownership and use periods do not have to be consecutive and do not need to be the same two-year period. Short temporary absences, such as vacations, generally count as time living in the home.
3. Rules for Married Couples
A married couple filing jointly may qualify for the $500,000 exclusion when:
- At least one spouse meets the ownership test.
- Both spouses separately meet the use test.
- Neither spouse claimed the exclusion on another home during the prior two years.
Taxpayers who file as Married Filing Separately cannot use the $500,000 joint exclusion. Each spouse may potentially qualify for up to $250,000 based on that spouse’s own ownership, use, and timing requirements.
4. A Special Rule That Can Help Some Seniors
If you become physically or mentally unable to care for yourself and move to a licensed care facility, time in that facility may count toward the two-year use test. Generally, you must have used the home as your main residence for at least 12 months during the five years before the sale.
This rule can be important for homeowners who move from their residence into assisted living, a nursing home, or another licensed care facility before selling the property.
5. When You Sell Before Two Years
Selling before meeting the full two-year requirement does not always eliminate the exclusion. You may qualify for a reduced exclusion when the primary reason for the sale is a work-related move, a health-related move, or an unforeseen event.
Examples can include moving for medical care, becoming unable to maintain the home because of a serious change in circumstances, divorce or legal separation, unemployment, or certain casualty events. The reduced exclusion is based on the shortest applicable ownership, use, or timing period.
6. Important Limits to Know
- Second homes and investment property: The exclusion generally applies only to your main home, not a vacation home or rental property.
- Rental and business use: Depreciation claimed or allowable after May 6, 1997 generally cannot be excluded and may be taxable.
- Inherited homes: An inherited home may receive a basis adjustment to its date-of-death value. That can reduce gain even if you do not qualify for the Section 121 exclusion.
- State taxes: State income-tax treatment can differ from the federal rule.
- Losses: A loss from the sale of a personal main home is generally not deductible.
7. Frequently Asked Questions
Do I need to buy another home after selling?
No. Section 121 does not require you to purchase a replacement home or reinvest your sale proceeds to claim the exclusion.
Can I use the exclusion more than once?
Yes. There is no lifetime limit, but you generally cannot claim the exclusion more than once during a two-year period.
Can I count split periods of residence?
Yes. For example, you may live in the home for one year, leave temporarily, then return for another year. The total residence time can meet the 24-month requirement if it falls within the five-year look-back period.
What records should I keep?
Keep purchase documents, closing statements, records of capital improvements, mortgage payoff records, and sale documents. For main-home proof, retain tax returns, driver’s-license records, voter registration, insurance records, and utility bills when relevant.
Do I report the sale if I receive Form 1099-S?
Yes. If you receive Form 1099-S, you generally must report the sale even when all gain is excludable. You may also need to report the sale when part of the gain is taxable.
Sources
- IRS Publication 523: Selling Your Home
- IRS Topic No. 701: Sale of Your Home
- IRS: Sale of Residence Tax Tips
Last reviewed: July 7, 2026
Disclaimer: This article provides general educational information and is not tax, legal, or financial advice. Home-sale tax calculations can be affected by improvements, depreciation, rental use, inheritance, divorce, prior exclusions, state tax law, and other facts. Consult a qualified tax professional for advice on your own sale.
Comments