Partial home sale exclusion after moving out to care for ailing parent — does it apply here?

Sold my house last year after living in it for about 14 months. I moved out because my mother had a serious health event and I needed to be at her place full time. Ended up selling my house several months later. I know the standard exclusion requires 24 months of ownership and residence in the 5 years before the sale, and I clearly didn't hit that. But I've read there's a partial home sale exclusion after moving out to care for an ailing parent that might still let me exclude part of the gain. My gain is not tiny. I got a Form 1099-S at closing so I know I have to report it regardless. Just not sure how to calculate what portion I can actually exclude and how to report it correctly on Form 8949. Has anyone actually done this?

31 comments

Publication 523 covers this directly. There's a partial exclusion available when the main reason for the sale was a health issue, and caring for a parent with a serious condition can qualify. The IRS looks at whether a physician recommended the move or the change in residence was to get or give medical care. You'd want documentation — a doctor's letter or records showing the medical necessity — before you rely on this.

Sofia P.

Author

I do have a doctor's letter. My mother's physician documented that she needed in-person daily care and that I was the person providing it. That's what made me think this might qualify in the first place.

Form 8949 Part II is where this goes since it's your main home. Because you received Form 1099-S you have to report it even if the whole gain ends up excluded. Check box F in Part II (basis not reported, long-term), enter your proceeds in column (d), your adjusted basis in column (e), use code H in column (f), and put the excluded portion as a negative number in column (g). Whatever taxable gain remains flows to Schedule D.

Sofia P.

Author

This is the mechanical part I was most confused about. So even if I exclude everything, it still goes on Form 8949 with code H and the full excluded amount as a negative in column (g)? The net in column (h) would just be zero or the remaining taxable portion?

Exactly. If the exclusion covers everything, column (h) is zero and nothing taxable flows to Schedule D. If only part qualifies under the partial exclusion, column (h) shows the remaining gain and that carries to Schedule D line 10.

The partial exclusion calculation is a fraction of the full exclusion. You take the number of days (or months) you actually used it as your main residence during the 5-year lookback and divide by 730 days (or 24 months). That fraction times the maximum exclusion amount gives your ceiling. Publication 523 has a worksheet that walks through it step by step — I'd go there rather than trying to reconstruct the math from scratch.

The fraction is correct but worth flagging: the ceiling is the maximum exclusion for your filing status. The instructions and Publication 523 define the maximum — don't just pull a number from somewhere, let the worksheet do it based on your status.

Sofia P.

Author

14 months out of 24 is the fraction I'd be using then. So my exclusion ceiling is 14/24 of the maximum for a single filer. Good to know there's an actual worksheet rather than freestyling the calculation.

Publication 523's eligibility test, specifically Steps 1 through 4, is where you confirm whether the health exception applies before you calculate anything. I went through something close to this — moved out early to help with a family medical situation — and uploaded my closing disclosure and the relevant pages from Publication 523 to taxr.ai. It mapped my actual residence days against the worksheet, flagged which lines of Form 8949 needed entries, and drafted the column (g) adjustment so I could review it before my preparer finalized the return. Worth doing before you commit to a number.

Sofia P.

Author

A pre-filing review against my own documents is what I've been missing. I'll run through the eligibility steps in Publication 523 first and then do what you did with the documents.

One thing that matters: the health exception requires that the primary reason for the sale was the health issue, not just that a health issue existed. If you can show you moved out specifically to provide care — and that the sale followed from that — you're in better shape. A physician's recommendation or documentation is what the IRS looks to under Publication 523.

Worth adding: the documentation should ideally connect the sale to the medical need, not just the move. If you can show that maintaining the property while living elsewhere long-term wasn't feasible and the medical situation drove the decision, that strengthens the position.

Did you own the home the full period? Ownership is a separate test from residence under the eligibility rules. For the partial exclusion on health grounds, Publication 523 says only one spouse needs to meet ownership but each must meet the residence requirement for a joint return. Since you mentioned single-filer math, just confirming you owned it those 14 months too.

Sofia P.

Author

Yes, owned it the whole time — bought and sold it myself, no joint ownership. So ownership isn't the issue, it's purely the residence duration that keeps me from the full exclusion.

Form 1099-S in box 2 shows your gross proceeds. Make sure your adjusted basis accounts for closing costs when you bought, any improvements made while you owned it, and selling costs. Those all adjust your gain downward before you even apply the exclusion. Missing basis adjustments are the most common reason people overpay on a home sale.

Sofia P.

Author

I kept all the records from purchase — closing disclosure, contractor receipts for the kitchen rework. Good reminder to add those to the basis before I run the exclusion calculation.

The 5-year lookback window matters too. Your 14 months of residence has to fall within the 5 years before the sale date, which in your case it clearly does since you just sold it. But if you had bought it longer ago and rented it out before moving in, the analysis would be different. Flagging it because some people miss that the clock is a lookback, not a lifetime total.

Schedule D line 10 is where any taxable gain from the home sale lands after Form 8949 flows through. I had a partial exclusion situation a couple of years back — different reason, job relocation — and before filing I had Taxr read through my Form 8949 draft and the Schedule D entries. It caught that I'd put the excluded amount as a positive in column (g) instead of a negative, which would have inflated my reported gain. Saved me an amended return.

Sofia P.

Author

Putting it as a positive instead of negative is exactly the kind of error I'd make. Good catch. I'll be careful — negative number in column (g) for the excluded portion, confirmed.

Column (g) sign errors are really common on home sale entries. Negative means it's reducing your gain. A positive would read as an additional gain on top of what's in column (h). The Form 8949 instructions are explicit about this for code H entries.

Worth knowing: if the gain even after the partial exclusion is zero or negative (i.e., you sold at a loss), losses on a personal residence are not deductible. Publication 523 is clear on that. The exclusion only matters if you have a gain to shelter.

Sofia P.

Author

There is definitely a gain — I bought at a low point and even 14 months later there's appreciation. So the exclusion matters. No loss scenario here.

Form 8949 instructions for 2025 say digital asset transactions use the new G through L boxes, not C or F. Just flagging because a home sale long-term goes in box F (Form 1099-S, basis not reported to IRS) and I've seen people get confused about which box to use since the new boxes were added.

If the taxable gain after your partial exclusion is meaningful, it may be worth having an enrolled agent or CPA review before you file. The health exception is real and legitimate, but the IRS does scrutinize home sale exclusion claims and having your documentation — the physician letter, the timeline, the basis workup — organized and reviewed professionally is worth it at that dollar level.

Sofia P.

Author

Definitely leaning toward having a CPA review the final return. The partial exclusion calculation and the Form 8949 entries together are more moving parts than I want to submit without a second set of eyes.

Publication 551 is useful for reconstructing your adjusted basis if you're not sure you've captured everything — it covers what additions and subtractions apply to a home's basis. Improvements add to it, casualty losses and certain credits subtract from it. Run through that alongside Publication 523's worksheet.

Publication 551 basis rules and Publication 523 gain calculation are designed to work together. Getting the basis right before applying the exclusion fraction is the step people skip and then the exclusion looks wrong when it isn't.

The 1099-S box 2 gross proceeds number is what goes in column (d) of Form 8949 — that's a hard rule per the Form 8949 instructions, even if the actual net proceeds after selling costs differ. Selling costs go into basis adjustments, not a reduction to proceeds.

Correct, and this trips people up. Proceeds in column (d) are gross from the 1099-S. The selling expenses get added to your adjusted basis in column (e), not subtracted from column (d). Different lines, same effect on the net gain.

Coming back to the documentation point: Publication 523 under "Does Your Home Qualify for a Partial Exclusion of Gain" lists the health exception and says a physician's recommendation that you reside in a different location for health reasons — including giving care — supports the claim. Keep the letter with your tax records for at least three years after filing.

Sofia P.

Author

Three years minimum for the records, noted. The doctor's letter already describes the medical necessity and my role as the primary caregiver, so I think that covers what Publication 523 is looking for.