Skip to content

Analytics

Google Analytics and Google Ads stay off until you allow analytics. Essential sign-in and saved-property storage work either way.

You can change this choice at any time using Cookie preferences in the footer. Privacy Policy

MarkMyProperty

United States property guide

United States tax exclusion on a main-home sale

IRS Publication 523, for use in preparing 2025 returns, lets you exclude the first 250,000 dollars of gain on your main home, or 500,000 dollars if you are married and file jointly, when you meet the eligibility test. You can’t deduct a loss on that sale. A free /mark listing does not pay the tax. This is not a closing-cost page.

By MMYP TECHNOLOGIES (OPC) PRIVATE LIMITED, operator of MarkMyProperty. Head office: Delhi NCR, India. Updated . This page does not score listings.

Coverage: United States. IRS Publication 523 (2025), Selling Your Home, for use in preparing 2025 returns, read on 12 November 2026. A closing-cost budget is a different record. The publication does not print a 2026 return edition on this page.

The exclusion Publication 523 prints for 2025 returns

A free /mark listing does not pay the tax. Publishing on /mark is an advertisement. It does not file the return, and it does not pay the tax on a sale.

Publication 523 (2025) says it is for use in preparing 2025 returns. If you meet certain conditions, you may exclude the first 250,000 dollars of gain from the sale of your home. The exclusion is increased to 500,000 dollars for a married couple filing jointly. The maximum exclusion requires the eligibility test. You may take the exclusion, whether maximum or partial, only on the sale of your main home. You can’t deduct this loss, but you don’t need to pay any tax on the money you received from selling your home. This is not a closing-cost page. The publication does not print a 2026 return edition on this page.

  • Publish the sale on MarkMyProperty’s free /mark flow. That listing does not pay the income tax.
  • Read the maximum exclusion as 250,000 dollars, or 500,000 dollars for a married couple filing jointly, when the eligibility test is met.
  • Count at least 24 months of ownership in the 5 years before the sale, and 24 months, meaning 730 days, of residence.
  • Take the exclusion only once during a 2-year period.

Ownership, residence, and the look-back

You meet the ownership requirement if you owned the home for at least 24 months out of the last 5 years leading up to the date of sale. For a married couple filing jointly, only one spouse has to meet the ownership requirement. You meet the residence requirement if you owned the home and used it as your residence for at least 24 months of the previous 5 years. Those 24 months can fall anywhere within the 5-year period, and they do not have to be a single block of time. The publication requires a total of 24 months, which it states as 730 days. Each spouse must meet the residence requirement individually for a married couple filing jointly to get the full exclusion.

You meet the look-back requirement if you did not sell another home during the 2-year period before the date of sale, or if you sold another home in that period but did not take an exclusion of the gain. You may take the exclusion only once during a 2-year period. If you do not meet the eligibility test, the publication says you may still qualify for a partial exclusion when the main reason for the sale was a change in workplace location, a health issue, or an unforeseeable event. Worksheet 1 takes the shortest of the residence during the 5 years before the sale, the ownership before the sale, and the time since the last sale of a home for which the exclusion was taken. It divides that period by 730 days or by 24 months, then multiplies the result by 250,000 dollars. For a joint return it repeats those steps for the spouse and adds the two results.

IRS Publication 523 (2025), quoted above, and IRS Tax Topic 701, Sale of your home, last reviewed or updated 9 November 2026, are different documents. Topic 701 calls the ownership test at least 24 months, which that page also calls 2 years, out of the last 5 years before the sale, and says the two tests can fall in different 2-year periods. If you receive Form 1099-S, you must report the sale even if the gain can be excluded. A qualified official extended duty in the Uniformed Services, the Foreign Service, or the intelligence community can suspend the five-year test for up to 10 years. Topic 701 calls the duty qualified when it is more than 90 days, or for an indefinite period, at a station at least 50 miles from the main home, or in government housing under government orders. Topic 701 does not print a partial-exclusion fraction.

Sources and further reading

Frequently asked questions

Does the free listing pay the United States home-sale tax?

A free /mark listing does not pay the tax.

Is this a closing-cost page?

This is not a closing-cost page.

Can you deduct a loss on the sale of your main home?

You can’t deduct this loss, but you don’t need to pay any tax on the money you received from selling your home.

Continue with these guides and tools