Capital gains tax selling home owned under two years at no profit — do I owe anything?

Bought my house in March 2023 and had to sell it this past September 2025 — job relocation, no choice. Owned it less than two years. I know the standard exclusion requires 24 months of ownership and residence, so I figured I'd owe capital gains tax on any profit. But here's the thing: after paying realtor commissions and closing costs, I actually came out slightly behind. Zero profit, maybe even a small loss. I've been reading about partial exclusions for job-related moves but I can't find anything that tells me clearly what happens when you sell at no gain at all. Do I still have to report this? My broker hasn't sent anything but I'm not sure if I'll get a 1099-S from the title company. And if I do get one, does that change what I file? I want to make sure I don't skip a form I'm supposed to submit.

40 comments

No gain means no capital gains tax, full stop. If you sold at a loss or broke even, there's no taxable gain to report — and losses on personal-use property like your main home aren't deductible anyway, so the loss doesn't help you on Schedule D either. The question that actually matters for your filing is whether you received a Form 1099-S from the title company. If you did, you're required to report the sale on Form 8949 even with zero taxable gain. You'd use Part II (long-term box F if it came on a 1099-S), enter the proceeds, your adjusted basis, and show the net result. If you have no gain after basis adjustments, you just show that.

Julia N.

Author

So the 1099-S is really the deciding factor here? If I don't get one and I have no gain, I can just not report it at all?

Exactly right. Publication 523 says if you didn't receive a Form 1099-S and your gain is fully excluded or you have no gain, you don't need to report the sale on your return at all.

Worth double-checking your adjusted basis before you assume there's truly no gain. Basis isn't just what you paid — it includes closing costs when you bought, capital improvements you made, etc. Some people think they broke even but their actual adjusted basis is lower than they think, which creates a small gain. Add up your purchase price plus buying closing costs plus any improvements, then subtract that from your net sale proceeds (after selling costs). That's your real number.

Julia N.

Author

Good point, I hadn't fully accounted for closing costs on the purchase side. Doing that math now.

Had almost this same situation last year — bought in late 2022, relocated and sold under two years later at basically a wash. I uploaded my HUD-1 settlement statements and my 1099-S to taxr.ai and Taxr pulled out the proceeds, figured the adjusted basis line by line including my purchase closing costs, and drafted the Form 8949 entry showing zero net gain. It also flagged that because I got a 1099-S I had to file the form even with no tax due. Saved me from skipping a required form. The partial exclusion for job relocation is real by the way — Publication 523 covers it — but if your gain is zero it's kind of moot since there's nothing to exclude anyway.

Julia N.

Author

Did it also check whether the partial exclusion calculation would have mattered if there had been a small gain?

Yes, it ran through that too. Showed me the fraction of the two-year period I'd owned and used the home, applied it to the full exclusion amount, and confirmed even a moderate gain would've been covered. But since my actual number was zero, it was academic.

One thing that trips people up: the holding period on a home sale for the exclusion test is different from the capital gains short-term/long-term cutoff. You owned it about 30 months before selling, so you'd be long-term for Schedule D purposes — wait, you said March 2023 to September 2025, that's about 30 months, so actually over two years. Did you mean you didn't meet the 24-month use and ownership test for the exclusion?

Julia N.

Author

You're right, I miscounted. I owned it roughly 30 months but I was renting it out for part of that period, so my personal-use residency is under 24 months. That's the issue, not the ownership length.

That changes things slightly. The exclusion has both an ownership test and a use test — you need 24 months of each within the 5-year window before the sale. Renting it out breaks the use test even if you owned it long enough.

Right, and with no gain it still doesn't matter for tax owed. But it's good to know the right reason you don't qualify for the full exclusion, in case you ever need to revisit the partial exclusion calculation.

Losses on a personal residence truly aren't deductible — I want to be clear on that because I've seen people on other forums claim they can claim the loss if the sale was forced by a job move. That is not correct. Publication 523 and Topic 409 both confirm it. A home is personal-use property and those losses don't go on Schedule D.

Does that apply even if part of the home was rented out? Like if you had a home office or rented a room?

If a portion of the home was used for business or rental, that portion could potentially generate a deductible loss on disposition, but it gets complicated — the basis has to be allocated. That's really a situation for a CPA or enrolled agent to work through, not something to DIY on a forum post.

The partial exclusion for job relocation is calculated as a fraction of the full two-year exclusion. You take the shorter of: how long you owned and used the home, or the time since you last excluded gain on another home sale — expressed as a fraction of 24 months — and multiply it by the full exclusion amount. For a single filer vs. married filing jointly the full amount differs, so the fraction applies to different bases. See Publication 523 for the exact worksheet.

Since you confirmed zero gain, here's the practical filing path: check whether a 1099-S was issued (the title company sometimes files it with the IRS even if they don't mail it to you promptly). If yes, report on Form 8949 Part II with box F checked, code H in column (f), and the excluded or zero gain handled in column (g). If no 1099-S, no filing needed for this sale.

Julia N.

Author

How do I find out if a 1099-S was filed with the IRS if I haven't received one in the mail yet?

You can check your IRS online account under 'tax records' — third-party information returns show up there once processed. Or just call the title company directly and ask if they issued one.

I keep seeing people assume the job-relocation partial exclusion is automatic. It's not — the sale has to be primarily because of a change in place of employment. You'd need to meet the IRS definition of qualifying reason. Publication 523 has the eligibility test and what counts as a qualifying reason. Worth reading that section even if your gain is zero, just so you understand what you'd have to show if the numbers were different.

Are there any situations where selling at a loss on a home creates any tax benefit at all? I know personal-use losses aren't deductible but just want to make sure there isn't some obscure carryover or anything.

No carryover, no offset, nothing. Personal-use property losses are dead on arrival — they don't carry forward to future years on Schedule D the way capital losses from investments do. That carryover only applies to investment losses.

What if you converted it to a rental before selling — does that change it?

Converting to rental before selling does change the analysis, but the basis for loss purposes is then the lower of your adjusted basis or the fair market value at the time of conversion. It gets complicated fast and you'd really want a CPA to work through the allocation if you went that route.

Used Taxr on my own closing disclosure and 1099-S last spring when I sold a home after 19 months — similar situation. It read through both documents, lined up the proceeds and basis figures, walked through the partial exclusion fraction for my health-related move, and put together a draft Form 8949 entry with the column (g) adjustment showing the excluded amount. It also noted exactly which box to check in Part II. Really helped me get the form right the first time. For the job-relocation partial exclusion the key variable Taxr flagged was how far the new work location was from the home. Under Publication 523 it doesn't matter whether my employer required the move or I chose to take a new job; the distance test is what counts for the qualifying reason.

Julia N.

Author

That qualifying-reason distinction is something I hadn't thought about. My company eliminated the position and offered me one in another city, so it wasn't voluntary. Does that clearly qualify?

That sounds like a solid qualifying reason. A move for a new work location counts whether it was employer-initiated or voluntary, as long as the new job is far enough away (at least 50 miles farther from the home than the old one). But since Publication 523 has the specific criteria, match your facts to that eligibility test before assuming.

Worth noting: if you end up with any taxable gain (say your basis math comes out lower than expected), the gain on a home you used for fewer than 24 months as a primary residence doesn't get the exclusion automatically. If you don't meet even the partial exclusion requirements, the full gain is taxable. Short-term vs. long-term depends on your holding period — and you said you're around 30 months so you'd be long-term for the gain.

I ran into the 1099-S question myself last year. I dropped my documents into Taxr and it checked my adjusted basis against the 1099-S proceeds, confirmed there was no gain after adding purchase-side closing costs, then prepared the Form 8949 line showing zero taxable gain with the correct box checked in Part II. It also flagged code H as what goes in column (f) since I had a home sale with excluded gain — even when that excluded amount happens to be zero, the code still applies. I hadn't realized that detail. For anyone unsure about their basis math, that step-by-step check is what mattered most for me.

Julia N.

Author

Does code H apply even when there's no actual exclusion being taken — like if the gain is literally zero before any exclusion?

From what I understand, code H goes on a home sale reported because of a 1099-S regardless of whether there's a gain to exclude. But double-check the Form 8949 instructions to confirm how they want it handled in a zero-gain scenario — the instructions have a specific section on the H code.

The settlement statement is your best friend here. HUD-1 or the Closing Disclosure from your purchase and sale both have the numbers you need to build adjusted basis. Don't just use the contract price — the buying-side closing costs that add to basis are listed right there.

Julia N.

Author

I have both closing disclosures. What exactly adds to basis on the purchase side vs. what doesn't?

Generally: title fees, recording fees, transfer taxes you paid as buyer, attorney fees related to the purchase, and inspection fees all add to basis. Points paid as a buyer (if not deducted), survey costs, same deal. Things like prepaid interest or homeowner's insurance escrow do not add to basis. Publication 551 has the full list of what's included.

Quick sanity check on the form mechanics: if you report on Form 8949, the totals flow to Schedule D. With zero gain, Schedule D just shows zeros for that transaction and there's nothing that changes your tax liability. The 8949 is basically just documenting the sale for IRS matching purposes when a 1099-S exists.

Does the title company always file a 1099-S with the IRS, or is it only in certain situations? I always assumed they had to file one on every real estate sale.

They don't have to file one in every case. There are exemptions — for example, when the seller certifies that the full gain is excluded under the main home rules. But if the title company isn't sure you qualify for a full exclusion, they typically file one anyway to be safe. Under-two-year situations are exactly the kind where they'd file rather than risk it.

That makes sense. So the safer assumption for the original poster is to find out whether one was filed rather than just assuming it wasn't.

If your adjusted basis math shows a small gain rather than zero — even a few hundred dollars — the partial exclusion for a qualifying job relocation can wipe it out entirely. The fraction of the two-year period you met, times the full exclusion amount for your filing status, is usually more than enough to cover a small gain on a short-term hold. Run the numbers before deciding you owe anything.

Julia N.

Author

That's reassuring. Even if my basis is slightly off and there's a small gain, the partial exclusion fraction would likely cover it given my situation. Good to know I'm not automatically on the hook just because I didn't hit 24 months.