If you sold your home and qualify for the full principal residence exclusion, and no Form 1099-S was issued at closing, you generally do not need to report the sale on your tax return at all. If a 1099-S was issued, or your gain exceeded the exclusion, or you don’t qualify for it, you report the sale on Form 8949 and carry the totals to Schedule D. That is how to report the sale of your home on a tax return in almost every case, and the rest of the work is figuring out which of those two paths applies and running the numbers.
Do You Have to Report the Sale at All
The principal residence exclusion under Section 121 lets a single filer shelter up to $250,000 of gain, and a married couple filing jointly up to $500,000.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence If your gain fits inside that limit and the closing agent didn’t issue you a Form 1099-S, the IRS doesn’t need to hear about the sale.2Internal Revenue Service. Important Tax Reminders for People Selling a Home
The 1099-S can be skipped when the sale price is $250,000 or less ($500,000 if the seller certifies they’re married), the home was the seller’s principal residence, and the seller provides written certification that the full gain is excludable.3Internal Revenue Service. Instructions for Form 1099-S (04/2025) Many closing agents issue one anyway. Check your closing packet.
You must report the sale if any of these are true:
- You received a Form 1099-S.
- Your gain exceeds the exclusion.
- You don’t qualify for the exclusion, either because you didn’t meet the ownership and use tests or because you already used the exclusion within the prior two years.
- Part of the home was used for business or rental and you have depreciation to recapture.
If a 1099-S went to the IRS and nothing shows up on your return, expect a notice treating the entire gross proceeds as taxable. Reporting the sale and showing the exclusion, even when the net tax is zero, is the way to avoid that.
Figure Out Your Gain First
Before any form gets filled out, you need two numbers: your adjusted basis in the home and the amount you realized from the sale. Amount realized minus adjusted basis is your gain (or loss).
Adjusted Basis
Start with what you paid for the home, including buyer-side settlement charges from the original purchase such as title insurance premiums, recording fees, and transfer taxes.4Office of the Law Revision Counsel. 26 USC 1011 – Adjusted Basis for Determining Gain or Loss Add the cost of capital improvements. Subtract any depreciation you claimed, or were entitled to claim, if part of the home was ever rented or used for business.
Capital improvements add value, extend the home’s useful life, or adapt it to a different use. A new roof, a kitchen remodel, a finished basement. Routine repairs like patching drywall or replacing a faucet don’t count and don’t affect basis.5Internal Revenue Service. Publication 523 (2025), Selling Your Home A $30,000 kitchen renovation raises your basis by $30,000 and directly reduces your taxable gain; the same $30,000 spent on maintenance doesn’t.
The depreciation adjustment catches people. If you ever rented the property or claimed a home office deduction, you have to reduce basis by the depreciation that was allowable, whether or not you actually took it. Skipping the deduction in past years doesn’t spare you the basis reduction at sale.
Amount Realized
Amount realized is the sale price minus selling expenses. Real estate commissions, advertising costs, and legal fees tied to the transaction all count.5Internal Revenue Service. Publication 523 (2025), Selling Your Home Your closing disclosure itemizes them. Subtract from the gross sale price to get the amount realized, then subtract adjusted basis to get your gain.
Apply the Exclusion
The Section 121 exclusion is $250,000 for single filers and $500,000 for joint filers.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence To claim the full amount, you have to pass two tests during the five-year window ending on the sale date: you owned the home for at least two of those five years, and you used it as your principal residence for at least two of those five years.5Internal Revenue Service. Publication 523 (2025), Selling Your Home The two ownership years and the two use years don’t need to overlap, and neither needs to be continuous.6Internal Revenue Service. Topic No. 701, Sale of Your Home
For a joint $500,000 exclusion, at least one spouse must meet the ownership test, both spouses must meet the use test, and neither can have used the exclusion on another sale within the prior two years.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
A reduced exclusion is available if you fell short of two years because of a change in employment, a health condition, or another unforeseen event. The reduced amount is proportional: months of qualifying time divided by 24, multiplied by $250,000 or $500,000. A single filer who lived in the home 12 months before an unexpected job move could exclude up to $125,000.5Internal Revenue Service. Publication 523 (2025), Selling Your Home
Special situations touch the exclusion in ways worth flagging so you don’t miss them. A surviving spouse can claim the full $500,000 within two years of the other spouse’s death, if not remarried. Divorce rules let you count your former spouse’s ownership time and treat the home as your residence during periods a decree gave your ex the right to live there. Members of the uniformed services, the Foreign Service, the intelligence community, and Peace Corps volunteers can suspend the five-year lookback for up to 10 years during qualified extended duty, stretching the window to as much as 15 years. And if the home was used for something other than a principal residence at times after January 1, 2009, gain allocated to those non-qualified periods is taxable even if the rest fits under the limit.5Internal Revenue Service. Publication 523 (2025), Selling Your Home
Form 8949 and Schedule D: The Actual Reporting
When the sale has to be reported, it goes on Form 8949 (Sales and Other Dispositions of Capital Assets), and the totals flow to Schedule D (Capital Gains and Losses).7Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets
Filling Out Form 8949
The home sale belongs in Part II (long-term). Check box F if a 1099-S was issued. Enter the date you acquired the home, the date you sold it, the gross sale price (from the 1099-S or your closing disclosure), and your adjusted basis.
Claim the exclusion through the adjustment columns. Enter code “H” in column f and record the excluded amount as a negative number in column g.8Internal Revenue Service. Form 8949 Codes Selling expenses that didn’t already reduce the sale price on your 1099-S get folded into that same negative adjustment. The IRS instructions give this example: a married couple selling for $320,000, with a $100,000 basis and $20,000 in unreported selling expenses, enters a negative $220,000 adjustment (the $200,000 exclusion plus the $20,000 in expenses), producing a net gain of zero.9Internal Revenue Service. Instructions for Form 8949 (2025)
Schedule D
The Form 8949 totals move to Schedule D, where they mix with your other capital gains and losses for the year. If the exclusion wiped out the gain, the net entry from the sale is zero and you owe nothing on it. Any remaining gain is treated as long-term and taxed at 0%, 15%, or 20% depending on your total taxable income.10Internal Revenue Service. Topic No. 409, Capital Gains and Losses
If You Sold at a Loss
A loss on the sale of your personal home is not deductible. The IRS treats the home you live in as personal-use property, and losses on personal-use property don’t offset other income or capital gains, and don’t feed into the $3,000 annual capital loss deduction that applies to investment assets.11Internal Revenue Service. What If I Sell My Home for a Loss? If you sold for less than your adjusted basis, there’s nothing to report and no tax benefit to claim.
When the Gain Exceeds the Exclusion
Any gain above $250,000 or $500,000 is a long-term capital gain on Schedule D. Two extras can also apply.
The 3.8% Net Investment Income Tax hits the taxable portion of the gain if your modified adjusted gross income is above $200,000 (single or head of household), $250,000 (married filing jointly), or $125,000 (married filing separately). The excluded portion doesn’t count.12Internal Revenue Service. Questions and Answers on the Net Investment Income Tax The thresholds don’t adjust for inflation.13Congress.gov. The 3.8% Net Investment Income Tax – Overview, Data, and Policy If it applies, calculate it on Form 8960.
If part of the home was ever used for business or rental, the depreciation you claimed (or should have claimed) comes back as unrecaptured Section 1250 gain, taxed at up to 25%.14Internal Revenue Service. Treasury Decision 8836 – Section 1(h) Capital Gains Rate The exclusion does not cover that recapture piece.
Special Cases That Change the Forms
Some home sales don’t follow the straight Form 8949 path.
Inherited home. Your basis is stepped up to the property’s fair market value on the date of the previous owner’s death, not what they paid for it.15Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent The gain is automatically treated as long-term regardless of how long you held it.16Internal Revenue Service. Instructions for Schedule D (Form 1041) Report on Form 8949 and Schedule D. The Section 121 exclusion only applies if you actually moved in and met the ownership and use tests yourself after inheriting.
Installment sale. If you carried financing and the buyer is paying you across more than one tax year, you report only the gain tied to the payments received each year, on Form 6252, in the year of sale and every year a payment comes in. Interest is reported separately as ordinary income. You can elect out and report the full gain in the year of sale on Schedule D and Form 8949, so long as you do so by the return due date (with extensions).17Internal Revenue Service. Topic No. 705, Installment Sales The Section 121 exclusion still reduces the total gain before you calculate the installment pieces.
Rental property. A property held out for rent is not a principal residence for these purposes and the Section 121 exclusion doesn’t apply to it. Report the sale on Form 4797 (Sales of Business Property), which splits the gain into the depreciation recapture piece (taxed at up to 25%) and the remaining long-term capital gain (which flows to Schedule D).18Internal Revenue Service. About Form 4797, Sales of Business Property19Internal Revenue Service. Instructions for Form 4797 (2025) A second home or vacation property that was never rented and never depreciated skips Form 4797 and reports on Form 8949 and Schedule D like a stock sale, but without the Section 121 exclusion.
Keep the Records
Hold the closing statement from the purchase, receipts for every capital improvement, and any depreciation schedules until at least three years after the due date of the return for the year you sold.5Internal Revenue Service. Publication 523 (2025), Selling Your Home Longer is better. A kitchen receipt from 2015 supports the basis on a 2026 sale, and losing it means a higher taxable gain with no way to prove otherwise.