If you sold your home before hitting the two-year ownership and use mark, you can still take a partial home sale exclusion when the sale was primarily driven by a health issue, a qualifying job change, or an unforeseen circumstance beyond your control. The full break under Internal Revenue Code Section 121 shields up to $250,000 of gain for single filers and $500,000 for married couples filing jointly; the reduced version scales that ceiling down based on how much of the two-year period you actually completed.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Each of the three qualifying categories has a “safe harbor” that automatically satisfies the requirement when specific conditions are met.2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements
How Much Gain You Can Exclude
The reduced ceiling is a fraction of the full amount. The denominator is always 24 months (or 730 days). The numerator is the shortest of three periods:3Internal Revenue Service. Publication 523 (2025), Selling Your Home
- How long you lived in the home during the five years before the sale
- How long you owned the home before the sale
- How much time has passed since you last claimed a Section 121 exclusion on a different home
That third period surprises people. If you used the full exclusion on a prior home 14 months ago, your numerator caps at 14 months, even if you owned and lived in the current home for longer.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
A quick example. A single filer buys a house, lives there 12 months, and sells for a qualifying job move. The fraction is 12/24, or 0.5. The reduced exclusion is $250,000 × 0.5 = $125,000. Any gain above $125,000 is taxable.
Joint filers don’t just double one spouse’s number. Each spouse runs the calculation independently, then the two results are added. If only one spouse meets a safe harbor, only that spouse’s share counts toward the reduced amount.3Internal Revenue Service. Publication 523 (2025), Selling Your Home
Health-Related Sales
You qualify if the primary reason for the sale was to obtain, provide, or facilitate medical care for a disease, illness, or injury. A written recommendation from a physician that you change residences for health reasons creates an automatic presumption that the sale qualifies.2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements
The safe harbor covers moves tied to the health of a broad group, not just you. For health-related sales, “qualified individual” reaches parents, grandparents, children, siblings, in-laws, aunts, uncles, nieces, and nephews, as well as your spouse, a co-owner, or anyone whose primary home is the residence being sold.3Internal Revenue Service. Publication 523 (2025), Selling Your Home Selling to move closer to a parent in a nursing facility, or to reach a specialist treating your child, fits.
The condition doesn’t have to be new. If you bought the house already aware of a diagnosis but later needed to relocate because it worsened, you still qualify. The test is what drove the sale, not when the condition began.
Job-Related Sales
The employment safe harbor turns on a distance test. Your sale qualifies if a qualified individual’s new workplace is at least 50 miles farther from the home being sold than the old workplace was. Without a prior job, the new workplace just needs to be at least 50 miles from the home.2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements
The measurement catches people off guard. It’s the increase in commute distance, not the total commute. An old office 35 miles away and a new office 72 miles away is only a 37-mile jump, which falls short. An unemployed homeowner who takes a job 54 miles from the house passes automatically.
“Employment” here includes starting with a new employer, being transferred by a current one, and beginning or continuing self-employment.2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements The change has to occur while you own and live in the home. There’s no rigid deadline for how quickly you must sell afterward, but selling “not long after” the event weighs in your favor under the broader facts-and-circumstances review.3Internal Revenue Service. Publication 523 (2025), Selling Your Home
Unforeseen Circumstances
This category covers events you couldn’t reasonably have anticipated before buying and moving in. The regulation lists specific triggers that qualify automatically:2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements
- Involuntary conversion of the home (condemnation, eminent domain, government seizure)
- A natural or man-made disaster, act of terrorism, or act of war that damages the home
- Death of a qualified individual
- A qualified individual becoming eligible for unemployment compensation
- A change in employment or self-employment status that leaves the household unable to pay basic living expenses
- Divorce or legal separation under a court decree
- A single pregnancy resulting in two or more children
The regulation is explicit that preferring a different home, or having your finances improve, does not qualify. The sale has to be primarily driven by the event, not by choice or opportunity.
When Your Event Isn’t on the List
Events outside the automatic list can still qualify, but under a subjective review. The IRS weighs how close in time the sale was to the event, whether the home became materially unsuitable, whether your ability to maintain the property was materially impaired, and whether the event was genuinely beyond what you could have predicted when you moved in.2eCFR. 26 CFR 1.121-3 – Reduced Maximum Exclusion for Taxpayers Failing to Meet Certain Requirements
A neighbor dispute won’t clear the bar. A sudden and severe change in neighborhood safety, or a family emergency not enumerated in the safe harbors, might. The closer your event resembles the automatic qualifiers in severity and unpredictability, the stronger the case.
If You Already Used the Exclusion Recently
The normal rule bars Section 121 if you claimed it on another home sale within the past two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The partial exclusion is an exception. When a qualifying health event, job change, or unforeseen circumstance forces a second sale, you can still take a reduced amount. Time since the prior sale then becomes one of the three periods in the fraction, and it’s often the shortest one.
Tax on Gain Above the Exclusion
Gain above your reduced exclusion is treated as long-term capital gain if you owned the home for more than a year. For 2026, federal rates are 0%, 15%, or 20% depending on taxable income. Single filers pay 0% while taxable income stays below $49,450, 15% between that threshold and $545,500, and 20% above $545,500. Joint filers reach the 15% bracket at $98,900 and the 20% bracket at $613,700.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Higher earners also owe the 3.8% net investment income tax on the smaller of net investment income or the amount their modified adjusted gross income exceeds $200,000 (single) or $250,000 (joint).5Internal Revenue Service. Topic No. 559, Net Investment Income Tax A large taxable gain can push you over those thresholds, so the effective rate on the non-excluded portion can reach 23.8%.
Depreciation Recapture
If you ever claimed depreciation on part of the home, such as a home office or a rental room, the Section 121 exclusion does not cover that piece. You owe tax on the depreciated amount regardless of whether the rest of your gain fits inside the exclusion. Recaptured depreciation is taxed at a maximum rate of 25% and reported on Form 4797.3Internal Revenue Service. Publication 523 (2025), Selling Your Home Even if you were entitled to depreciation deductions and never took them, the IRS still reduces your basis by the amount you could have deducted.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Paperwork to Keep
Claiming a reduced exclusion means holding two sets of records: the sale itself, and the evidence that you qualify.
For the sale, keep the Form 1099-S showing gross proceeds, the closing statement, and receipts for improvements that raise your cost basis. Publication 523 includes worksheets that walk through adjusted basis and the exclusion amount.3Internal Revenue Service. Publication 523 (2025), Selling Your Home
For the safe harbor, the evidence tracks the trigger. A physician’s written recommendation carries the most weight for health moves. A job offer letter or transfer notice with the new work address establishes the employment safe harbor. For unforeseen circumstances, save whatever corroborates the event: a divorce decree, a death certificate, unemployment compensation records, insurance documentation for a casualty. The IRS generally has three years to audit, extending to six if income was underreported by more than 25%, so keep everything at least that long.6Internal Revenue Service. Time IRS Can Assess Tax
How to Report It
The sale goes on Form 8949, Sales and Other Dispositions of Capital Assets. Enter the transaction details as you would for any capital asset, put Code H in column (f) to flag the partial exclusion, and enter the excluded gain in column (g) as a negative number in parentheses. That’s the adjustment that reduces the taxable portion.7Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets
Totals from Form 8949 flow to Schedule D, where the final capital gains tax is calculated after the exclusion is applied.8Internal Revenue Service. Form 8949 – Sales and Other Dispositions of Capital Assets Depreciation recapture, if any, is reported separately on Form 4797. Filing the forms incorrectly won’t change what you owe, but it usually produces an IRS notice asking you to explain the numbers.