Skip to main content

The Money Overview

Home sellers can shield $250,000 of profit from federal tax

A qualifying home seller can exclude as much as $250,000 of gain from federal taxable income, and many married couples filing jointly can exclude up to $500,000. The rule protects profit, not the entire sale price, and it does not automatically cover every property that a household owns. Its real value depends on three records: how long the home was owned and occupied, what the adjusted basis became, and whether another home-sale exclusion was used recently.

The two-out-of-five test opens the exclusion

IRS Topic 701, updated in June 2026, says a seller generally must meet both an ownership test and a use test. The home must have been owned and used as the main residence for at least 24 months during the five years ending on the sale date. The ownership and use periods do not have to be the same 24 months.

Under IRS Topic 701, either spouse can satisfy the ownership test for a married couple filing jointly, while both generally must satisfy the use test to claim the full $500,000 exclusion. A spouse who moved into a separately owned home only recently can therefore limit the joint amount even when the couple sells after the owner has held it for many years. Filing status and residence history work together.

A seller generally cannot use the exclusion if gain from another home sale was excluded during the two-year period before the current sale. That frequency limit follows the taxpayer, not the property. A rapidly downsizing household can satisfy the physical ownership and use test on a second home yet still lose part or all of the exclusion because the benefit was recently claimed elsewhere.


Free retirement updates: Want plain-English help keeping more of your money in retirement? The free Retirement Shield newsletter covers scams, benefits, and money many retirees may be owed, a couple times a week. Subscribe free.

Basis determines how much profit exists to shield

Federal gain is generally the amount realized from the sale minus adjusted basis and eligible selling expenses. Basis often begins with purchase price, then rises for capital improvements and falls for items such as depreciation. The IRS’s residence-sale guide points sellers to worksheets because a large check at closing is not the same as taxable profit.

A $700,000 sale of a home with $520,000 of adjusted basis and $40,000 of selling expenses produces a $140,000 gain before other adjustments. A qualifying single seller could exclude the entire amount. A different owner selling for the same price with a $250,000 basis would have a much larger gain, and the $250,000 exclusion could leave a taxable balance.

Capital improvements are different from repairs. A new roof, addition or permanent system upgrade may increase basis when it adds value, prolongs useful life or adapts the home to a new use. Routine maintenance generally does not. The IRS’s Publication 523 supplies detailed basis rules and worksheets, making decades-old invoices financially relevant when appreciation approaches the exclusion ceiling.

Depreciation claimed for rental or business use after May 6, 1997, generally cannot be erased by the home-sale exclusion. A retired owner who rented a room or converted the residence to an income property may have to recognize depreciation-related gain even after meeting the residence test. Nonqualified use can also reduce the excludable share under rules tied to when and how the property stopped serving as the main home.

Reporting rules can apply even when no tax is due

A seller who receives Form 1099-S generally must report the transaction, even when all gain is excludable. The IRS’s form page identifies it as the information return for proceeds from real estate transactions. A closing agent may omit the form only when specified certification requirements are met; the absence of tax does not itself remove every filing obligation.

Losses on a main home are personal and generally not deductible. The exclusion works asymmetrically: it can remove qualifying gain, but it does not turn a decline in value into a federal tax deduction. That difference matters when sellers mentally net a prior housing loss against a later gain; the tax code ordinarily treats the transactions separately.

Partial exclusions may be available when a seller fails the full two-year test because of work, health or certain unforeseen circumstances. The maximum is prorated using the qualifying period. A forced move after one year can therefore produce meaningful protection without reaching the headline amount, but the reason and dates determine eligibility rather than a general claim that the sale was necessary. The reduced maximum still applies to gain, not gross proceeds.

The $250,000 figure is most powerful when the paperwork proves the gain before the closing memory fades. Ownership and residence establish access; basis records establish how much of the access is needed. For long-held homes, the exclusion may cover decades of appreciation, but only the correctly calculated profit sits behind the shield. A sale price by itself cannot show whether the exclusion is sufficient or even necessary. The tax result ultimately depends on reconstructing the property’s financial history, not celebrating the size of the closing proceeds. That reconstruction turns a broad exclusion into a defensible return position. It also preserves evidence for an amended return or IRS inquiry long after the closing statement is filed away.

Disclosure: This article was prepared with AI assistance and reviewed against current Internal Revenue Service home-sale records.

More Financial Reading

Avatar photo

Daniel Harper

Daniel is a finance writer covering personal finance topics including budgeting, credit, and beginner investing. He began his career contributing to his Substack, where he covered consumer finance trends and practical money topics for everyday readers. Since then, he has written for a range of personal finance blogs and fintech platforms, focusing on clear, straightforward content that helps readers make more informed financial decisions.​