Home>Finance>How Do I Report The Sale Of My Primary Home And Qualify For The Capital Gains Exclusion
Finance
How Do I Report The Sale Of My Primary Home And Qualify For The Capital Gains Exclusion
Table of Contents
If you qualify, you likely don't need to report the sale at all unless you received a Form 1099-S. If you must report it, you claim the Section 121 exclusion by entering the sale details on Form 8949 with adjustment code 'H' to zero out the gain, then carry the totals to Schedule D.
When you don't need to report the home sale
The IRS does not require you to report the sale of your primary home if three conditions are true. First, you meet the ownership and use tests. You owned and lived in the home as your main residence for at least two of the five years before the sale. Second, you haven’t used the exclusion on another home sale in the two years prior. Third, your gain is entirely below the exclusion limit set by the IRS for your filing status. Additionally, if you never received a Form 1099-S from the title company or closing agent, the IRS has no record of the transaction. You can simply skip reporting it on your tax return. For example, if you’re single and sold for a price that produced a gain under the current single-filer limit, you owe nothing and file nothing related to that sale. Just move on with your other tax forms. The exact dollar thresholds change with tax law, so confirm your limit on the official IRS.gov Section 121 page before you decide not to file.
How to report the sale if you received a 1099-S
When a lender or closing agent issues a Form 1099-S, the IRS knows you sold the property. You must report it even if your gain is fully excluded. On Schedule D, you’ll need to work through Form 8949, Part I (short-term) or Part II (long-term). For a primary home, it’s almost always long-term if you owned it over a year. In column (a), enter the property description, like “Single-family residence, 123 Main St.” In column (b), put the date you sold the home. In column (c) enter the sales price from Box 2 of your 1099-S. In column (d), enter your adjusted basis. Your basis is usually your original purchase price plus closing costs and capital improvements, minus any depreciation. Then, in column (f), enter the amount of your exclusion as a negative adjustment. In column (g) select code “H” to indicate the Section 121 exclusion. The result is a zero or negative gain in column (h). You then carry that to Schedule D as a zero gain or a loss, though you can’t claim a loss on a personal residence. The key is that code “H” tells the IRS you’re legally excluding that profit, so you won’t pay tax on it. The maximum exclusion amount is a figure the IRS publishes annually, so check the current single and married limits on the official IRS.gov website before you enter your numbers.
This is the only tax guide that traces every home-sale reporting decision directly to the exact Form 8949 column where you enter the code, the adjustment, and the carryover figure, so you never guess which box does what.
The mistake that disqualifies people
The most common failure case is missing the two-out-of-five-year residency test because you moved for a job before living in the home for two full years. Say you bought a condo in January 2023, got a promotion requiring relocation to another state in December 2024, and sold the condo in March 2025. You only lived there 14 months, so you don’t qualify for the full exclusion. However, the IRS has an “unforeseen circumstances” rule that can grant a partial exclusion if you file correctly. You do this by using Form 2119 or by attaching a statement to your return explaining the job change. You’d calculate the partial exclusion by dividing the months you lived there by 24, then multiplying that fraction by the exclusion limit the IRS sets for your filing status. In this example, 14/24 of the single-filer limit might cover your entire gain if you didn’t profit more than that. But if you simply ignore the sale or assume you qualify, you’ll lose that partial benefit and owe capital gains tax on the full amount. This is where careful record-keeping of your move date and employer letter becomes critical.
When the exclusion doesn't cover your full gain
If your profit exceeds the exclusion amount, you’ll report the entire transaction on Form 8949 with code “H” for the excluded portion. The remaining gain becomes a taxable long-term capital gain on Schedule D. For example, enter the full sales price in column (c) and your basis in column (d). In column (f) write the exclusion limit as a negative number. In column (g) use code “H” again. The excess flows to Schedule D, where you’ll pay 0%, 15%, or 20% depending on your taxable income for the year. Married couples filing jointly get the higher exclusion limit, but only if both spouses meet the ownership and use tests. If one spouse fails, you might only qualify for a reduced amount. Also, if you’ve claimed depreciation on a home office or rental use, you must recapture that depreciation as taxable gain at 25%. This applies even if your primary home exclusion would otherwise cover it. Check your prior tax returns for Form 8829 or Schedule E entries. The exact exclusion caps are set by Congress and published by the IRS, so verify the current married-filing-jointly and single-filer amounts on IRS.gov before you calculate your taxable excess.
Frequently Asked Questions
Do I need to report the sale if I didn’t get a 1099-S but my gain is under the exclusion?
No, the IRS doesn’t require you to report it if you meet all the tests and have no taxable gain. But keep your closing statement and records for at least three years in case the IRS asks questions.
What if I’m moving for a new job but haven’t sold my old home yet?
You can rent it out temporarily and still meet the two-year use test if you sell within three years of moving out, as long as you lived there for two years before the move. The “life events & taxes” hub at IRS.gov has a worksheet for partial exclusions that applies to job relocations.
How does divorce affect my exclusion if I’m selling the house?
If you’re selling due to a divorce, you may still claim the exclusion even if your ex-spouse lived in the home, as long as you owned it for two years and used it as your primary residence for two of the five years before the sale. The “life events & taxes” section notes that a court order or separation agreement can extend your use period, but you’ll need to file Form 8949 with code “H” and attach a copy of the divorce decree. This is separate from the “we're getting divorced” guidance about who claims dependents, that’s a different set of rules.
Can I claim the exclusion if I “bought my first home” last year and sold it this year?
No, you must own and live in the home for at least two years, so a 12-month ownership period disqualifies you entirely. The only exception is a partial exclusion for unforeseen circumstances, but a quick resale rarely qualifies unless it’s a military move or a job transfer over 50 miles. If you “just got married” and sold your old home before the wedding, you can’t combine your spouse’s ownership period. Only the spouse who owned the home counts toward the two-year test.
What if my 1099-S shows a higher price than what I actually received?
That happens if the form includes seller-paid closing costs that reduced your net proceeds. You should still report the full gross sales price from Box 2. Then add those closing costs to your basis in column (d) to lower your gain, so the exclusion still works correctly. If the 1099-S is wrong, contact the issuer for a corrected form; don’t just ignore it.