Can you avoid capital gains on a home lived in one year then rented after a pay cut?

Bought my house in mid-2022, lived in it as my main home. Then my salary got cut pretty badly in late 2023 so I started renting it out to cover the mortgage and moved somewhere cheaper. Now I'm thinking about selling because the market is decent and I've got enough equity to actually clear some money. But I only lived there about 14-15 months before it became a rental. The 2-year ownership and use test for the main home exclusion—I know I don't meet the full 2 years of use. Is there any way to avoid capital gains on a home lived in one year then rented, or at least reduce what's owed? I've read something about a partial exclusion. Does a pay cut count for that?

34 comments

Lived in my place for 18 months before converting to rental, then sold it two years later. The partial exclusion saved me a lot. The rule is you can get a pro-rated version of the exclusion if you didn't meet the full test but the main reason for the sale was a change in workplace location, a health issue, or what the IRS calls an "unforeseeable event." A pay cut on its own is a gray area—it's not automatically listed, but it could qualify depending on how it's documented.

Sam T.

Author

Thanks, that's helpful. I still have my pay stub records from before and after the cut. Do you know what an "unforeseeable event" actually means in IRS terms or where that's defined?

I had almost the exact conversion situation—bought, lived there about a year, then rented. Before I filed I uploaded my documents to taxr.ai and had it walk through Publication 523's eligibility test line by line against my actual dates. It flagged that I'd need to calculate the partial exclusion using the fraction of months I satisfied the use test versus 24 months. The partial exclusion for a "qualifying" reason can really shrink the taxable gain. Worth checking Publication 523 on irs.gov—it has the full eligibility test and the partial exclusion steps.

Sam T.

Author

Good call on checking Publication 523. I'll look at the eligibility test closely. Did Taxr help you figure out whether your reason counted as qualifying?

The partial exclusion fraction is roughly: months you used it as your main home (up to 24) divided by 24, applied to the full exclusion amount. So 14 months of use gets you 14/24 of the exclusion. That's a meaningful reduction in what gets taxed, not zero. The key variable is whether your situation qualifies as a valid reason—without that, there's no partial exclusion if you haven't met the full test.

Is the fraction based on months of ownership, months of use, or whichever is shorter? I always get confused on that.

It's the shorter of months of ownership or months of use as your main residence, over 24. Since most people have both running together it ends up being months of use. Publication 523 has the worksheet.

Pay cut by itself is tricky. The IRS specifically lists "financial inability to pay housing expenses" as one type of unforeseeable event in the Publication 523 guidance, and an involuntary significant reduction in pay could potentially fall under that umbrella. Document everything: the date the pay was reduced, by how much as a percentage, and that it made the housing costs unmanageable. That paper trail matters if the IRS ever questions it.

Sam T.

Author

That's the detail I needed. I do have everything documented. My mortgage payment was over 50% of my new take-home after the cut, so there's a real case to make.

Don't overlook what happens to depreciation. While the place was rented you had to (or should have) depreciated it. When you sell, that depreciation gets "recaptured" and taxed even if the rest of the gain falls under the exclusion. The exclusion covers capital gain but not depreciation recapture. That's a separate calculation on Schedule D and Form 4797.

Sam T.

Author

Wait—I did not take depreciation because I wasn't sure I was doing it right. Does that change how the recapture works at sale?

Yes, and this matters a lot. The IRS recaptures depreciation you were allowed to take, not just what you actually took. So even if you skipped it, you may still owe recapture tax on what you should have claimed. You'd want to look at filing amended returns or using the "allowed or allowable" rule. This is one situation where talking to a CPA is genuinely worth it.

Rented my house for three years before selling and the depreciation recapture was the part that actually hurt. I ran my numbers through Taxr—uploaded the closing disclosure and rental records—and it listed out the unrecaptured Section 1250 gain separate from the regular capital gain so I could see exactly what was going to be taxed at what rate before I talked to my accountant. Made that meeting a lot faster. For the partial exclusion question, Publication 523 is the right place, specifically the section called "Does Your Home Qualify for a Partial Exclusion of Gain."

The Section 1250 recapture piece always gets people. Good reminder that the exclusion and the recapture are two completely different calculations.

To get the partial exclusion you have to actually meet one of the three qualifying reasons—workplace change, health, or unforeseeable event. If none of those apply the exclusion is simply not available because you didn't meet the full two-year use test. So the threshold question is whether your pay cut fits. If it does, the partial exclusion can still cover a substantial portion of the gain even at 14 months.

Sam T.

Author

Makes sense. I think "financial inability to pay housing expenses" is my strongest argument. I'll document it carefully.

Heads up on the Form 1099-S issue: if you received one at closing, you must report the sale on Form 8949 regardless of whether the full gain is excluded. You'd check box F in Part II (long-term), put code H in column (f) for the exclusion, and enter the excluded amount as a negative number in column (g). If you got no Form 1099-S and the gain is fully excluded after the partial exclusion math, you don't have to report it at all.

Sam T.

Author

I haven't sold yet so I don't know about the 1099-S, but good to know in advance. I'll watch for it at closing.

Something people miss: the 2-year ownership test and the 2-year use test are separate. You can satisfy one and not the other. For the partial exclusion the fraction applies to whichever test you fail. Since you bought in mid-2022 and are potentially selling now, your ownership period should be over 2 years, so you'd only be short on the use test—and the fraction would be based on that.

Good point. Ownership and use are tracked independently. You'd use the use-test fraction for the partial exclusion in that case.

What's the holding period situation for the capital gain part that isn't excluded? Since you've owned more than a year the gain is long-term, which means it goes in Part II of Form 8949 and flows to Schedule D at long-term rates. The unrecaptured Section 1250 depreciation has its own rate, which is different—your tax software or preparer handles that calculation separately.

Sam T.

Author

Good to know it's long-term. I bought mid-2022 so I'm past the one-year mark easily.

I dealt with a rental conversion sale and the interaction between the exclusion and depreciation recapture was confusing enough that I uploaded all my documents—original purchase settlement, the depreciation schedules, and the rental lease—to Taxr and had it check whether the numbers on each form matched each other. It caught that my cost basis was understated because I hadn't added purchase closing costs. The IRS page on Topic 409 and Publication 551 on basis are both worth reading before you finalize your numbers.

Sam T.

Author

Closing costs in basis—I hadn't thought about that. I'll dig up my original closing disclosure.

Just to clarify something from earlier in the thread: a commenter said you check box F for long-term. That's correct only when no Form 1099-B is involved. For a home sale that did generate a Form 1099-S, box F is correct (basis not reported to IRS in a home sale context). The key is that the box you check depends on whether the form was 1099-S or 1099-B and whether basis was reported to the IRS.

Fair clarification. For a home sale the 1099-S doesn't report basis to the IRS so box F applies in that scenario, which is consistent with what I said. The Form 8949 instructions confirm the box F / code H combination for a main home sold at a gain where you're claiming the exclusion.

Nobody mentioned the 1031 exchange restriction: if you acquired your home through a like-kind exchange within the five years before sale, it's not eligible for the exclusion at all. Probably not relevant here since you bought in 2022, but worth flagging in case the purchase was structured that way.

Thinking about timing: if you haven't sold yet, could you wait until you hit 24 months of use? You mentioned moving out in late 2023—if you moved out around October or November 2023, 24 months from when you first moved in would be sometime in 2024. If you moved back in temporarily that could reset the clock, but you'd need to actually use it as your main home, not just strategically park yourself there. The IRS looks at facts and circumstances for what counts as your main home.

Sam T.

Author

I moved in September 2022, moved out December 2023, so that's about 15 months. Hitting 24 would have required staying until September 2024—but I'd already rented it by then. Moving back in isn't realistic at this point.

Worth noting: the nonqualified use rule probably doesn't cut into your exclusion here. Time after the last date you used the home as your main home (within the 5-year period before the sale) isn't counted as "nonqualified use," so renting it out after you moved out doesn't by itself make part of the gain ineligible. Nonqualified use mainly hits periods (after 2008) when the home wasn't your main home before you lived in it. The depreciation from the rental years is still taxed separately. Publication 523 covers this under the nonqualified use rules.

This is an important point that often gets overlooked. The rental time after you moved out isn't a nonqualified use period, so it doesn't reduce the portion of gain that's eligible for the exclusion in the first place. It doesn't stack on top of the partial exclusion fraction issue.

Sam T.

Author

So the nonqualified use limitation doesn't hit my rental time after I moved out—it's the partial exclusion fraction plus the depreciation? That's still more complicated than I thought. I think I need a CPA or enrolled agent for the actual numbers at this point.

Pulling the thread back to the core answer: you likely can't fully avoid capital gains on a home lived in one year then rented, but you may be able to reduce them significantly. Partial exclusion if the pay cut qualifies as an unforeseeable event, long-term rates on what remains, and the depreciation recapture all interact. Getting an enrolled agent or CPA to run the actual numbers before you close is the right move given the complexity here.

Sam T.

Author

Thanks—this is where I've landed too. Partial exclusion if I can document the pay cut properly, then deal with the depreciation recapture with a professional before I actually sign anything.