Guide verification
What we verified in “Taxes when you sell your home and FIRPTA withholding”
This page is the guide’s verification record. Every statement with a rule, a figure or a date appears with the official source behind it, the exact place inside that source and the day we checked it. If a rule changes, we update the guide, this list and the date.
27 checked statements Verified on October 29, 2026 14 official sources
Statements and where we checked them
The statements with rules, figures or dates, with the exact place in the source and the date we checked them.
-
According to the IRS, if you have a capital gain from the sale of your main home, you may qualify to exclude up to $250,000 of that gain from your income, or up to $500,000 if you file a joint return with your spouse; if you receive an informational document such as Form 1099-S, you must report the sale even if the gain is excludable; and you must also report it if you cannot exclude all of the gain, using Schedule D and Form 8949.
-
According to the IRS, to qualify you must meet both the ownership test and the use test: you owned the home for at least 24 months (2 years) out of the last 5 years leading up to the date of sale, and you used it as a residence for at least 24 months of those 5 years; the two tests can be met during different 2-year periods, but both within the 5-year period ending on the date of sale; on a joint return, either spouse may meet the ownership test but both must meet the use test; generally you are not eligible if you excluded the gain from another home during the two years before the sale; and if you or your spouse are on qualified official extended duty in the Uniformed Services, the Foreign Service or the intelligence community, you may elect to suspend the five-year test period for up to 10 years.
-
By statute, gross income does not include gain from the sale of property if, during the 5-year period ending on the date of sale, the taxpayer owned and used the property as a principal residence for periods aggregating 2 years or more; the excluded gain may not exceed $250,000 (with a $500,000 limitation for certain joint returns); and the exclusion applies to only one sale every 2 years.
-
According to IRS Publication 523, the exclusion, whether maximum or partial, applies only to the sale of your principal residence, meaning your main home; an individual has only one main home at a time; if you own or live in more than one, a facts-and-circumstances test applies in which the most important factor is where you spend the most time, and the address on your federal and state tax returns also counts; and a single-family home, a condominium, a cooperative apartment, a mobile home and a houseboat each may be a main home.
-
According to Publication 523, the 24 months of residence (730 days) can fall anywhere within the 5-year period and do not have to be a single block of time; unlike the ownership requirement, on a joint return each spouse must meet the residence requirement individually to get the full exclusion; and the exclusion may be taken only once during a 2-year period.
-
According to Publication 523, if you do not meet the Eligibility Test you may still qualify for a partial exclusion if the main reason for the sale was a change in workplace location, a health issue or an unforeseeable event; a work-related move includes a new job in a work location at least 50 miles farther from the home than the old work location; and unforeseeable events include giving birth to two or more children from the same pregnancy, becoming eligible for unemployment compensation, and becoming unable to pay basic living expenses for the household because of a change in employment status.
-
According to Worksheet 1 of Publication 523, the partial exclusion is figured by taking the shortest of three periods (your time of residence in the 5 years before the sale, your time of ownership, or the time since the last sale on which you took the exclusion), dividing it by 730 if you count days or 24 if you count months, and multiplying the result by $250,000; on a joint return you repeat the steps for your spouse and add the two results.
-
According to Publication 523, if you are a surviving spouse who has not remarried at the time of sale, you may include any time your late spouse owned and lived in the home, even if without you, to meet the ownership and residence requirements; you may raise the exclusion from $250,000 to $500,000 if you meet all of these conditions: you sell within 2 years of your spouse's death, you have not remarried at the time of sale, neither of you took the exclusion on another home sold less than 2 years before, and you meet the 2-year ownership and residence requirements (counting your late spouse's time); and if the home was transferred to you by a spouse or ex-spouse, you count the time that person owned it as your own, but you must meet the residence requirement on your own.
-
According to Publication 523, to figure gain or loss you need the selling price, the amount realized and the adjusted basis: subtract selling expenses (such as the commission you pay your agent) from the selling price to get the amount realized; subtract from that the adjusted basis, which starts with what you paid for the home and rises with the cost of additions and improvements, to get your gain or loss; if the number is negative you sold at a loss, which you cannot deduct, but you owe no tax on the money you received; and it is wise to keep basis records until 3 years after the due date of the return for the year you sold.
-
According to Publication 523, you need to report the sale if you have taxable gain you cannot fully exclude, if you received a Form 1099-S (in which case you report it on Form 8949 even with no taxable gain) or if you choose to report the gain; if none of those three is true, you do not need to report the sale on your return; gain that cannot be excluded is reported on Form 8949 and Schedule D; if you have taxable gain, you may have to increase your withholding or make estimated tax payments; and a nonresident or resident alien without an SSN who is not eligible for one may be issued an ITIN, which is requested with Form W-7.
-
According to the Instructions for Form 1099-S, the form is generally filed by the person responsible for closing the transaction, who is the person listed as the settlement agent on the Closing Disclosure; that person must request your taxpayer identification number (TIN) no later than closing, on Form W-9 for U.S. persons (including resident aliens); if they file the 1099-S, they must furnish you a statement; and they may skip filing on the sale of a residence for $250,000 or less ($500,000 if the certification says the seller is married) when the seller gives a written certification, signed under penalties of perjury, that the home is the seller's principal residence and that the full gain is excludable, although they are not required to obtain that certification.
-
By statute, the exclusion does not apply to the portion of the gain allocated to periods of nonqualified use: periods after January 1, 2009 during which the property was not the principal residence of the taxpayer or the taxpayer's spouse, with exceptions such as the part of the 5-year period that comes after the last date the property was used as the principal residence.
-
According to Publication 523, the exclusion does not apply to gain from depreciation adjustments attributable to periods after May 6, 1997, and if you did not deduct depreciation you must decrease your basis by the amount you could have deducted; if the part used for business or rental is within the home, such as a rented spare bedroom, you do not need to allocate gain between the business part and the part used as a home.
-
According to the IRS's FIRPTA FAQs, the section 121 exclusion may apply to a nonresident alien who sells a U.S. personal residence; the NRA must meet the eligibility test; the maximum excludable gain on Form 1040-NR is $250,000; and because withholding on the amount realized could exceed the maximum tax on the sale, an NRA may request a withholding certificate from the IRS to provide to the buyer.
-
According to the IRS, if your debt is forgiven or discharged for less than the amount owed, in general the canceled amount is taxable and you must report it on your return for the year the cancellation occurred; for a debt secured by property, cancellation may occur due to foreclosure, voluntary transfer of the property to the lender, abandonment or a mortgage modification; the creditor may send you a Form 1099-C, and you should contact the creditor if it has incorrect information; if the creditor keeps trying to collect after the 1099-C, the debt may not have been canceled; the law provides exceptions in which the discharged amount is not considered canceled debt; and if you received a Form 1099-A (Acquisition or Abandonment of Secured Property), the IRS refers you to its Topic 432.
-
According to IRS Publication 4681, qualified principal residence indebtedness is any mortgage you took out to buy, build or substantially improve your main home, secured by that home; such canceled debt could be excluded from income for discharges before January 1, 2026, up to a maximum of $750,000 ($375,000 if married filing separately), but it cannot be excluded for discharges completed or discharge agreements entered into after December 31, 2025; the insolvency exclusion applies to the extent the total of your liabilities exceeded the fair market value of all your assets immediately before the cancellation, and is claimed on Form 982 by checking the box on line 1b.
-
According to Publication 523, if you went through a mortgage workout, foreclosure or other process in which a lender forgave or canceled mortgage debt on your home, you must generally report the forgiven amount as income on your return; but if you had a written agreement for the forgiveness of the debt in place before January 1, 2026, you may be able to exclude the forgiven amount from your income.
-
According to Publication 523, if you financed the home under a federally subsidized program (loans from tax-exempt qualified mortgage bonds or loans with mortgage credit certificates) in the 9 years leading up to the sale, you may have to pay back (recapture) part of the benefit when you sell or transfer the home, by increasing your tax for the year of sale; you may owe this recapture tax even if you can exclude your gain; it is figured on Form 8828, which you must file whether you sold at a loss or a gain; and if you had a loss, you pay back none of the subsidy.
-
According to the IRS, the disposition of a U.S. real property interest by a foreign person is subject to FIRPTA income tax withholding; persons buying from a foreign person, certain purchasers' agents and settlement officers are required to withhold 15% of the amount realized; in most cases the buyer is the withholding agent, must find out whether the seller is a foreign person and, if it fails to withhold, may be held liable for the tax; the amount realized is the sum of the cash paid, the fair market value of other property transferred and any liability assumed by the buyer or to which the property is subject; and if the property is owned by a foreign person and another person, the amount realized is allocated by each owner's capital contribution, spouses are treated as having contributed 50% each, and it cannot be allocated entirely to the U.S. spouse.
-
According to the IRS, for FIRPTA a foreign person is a nonresident alien individual, a foreign corporation that has not elected to be treated as a domestic corporation, a foreign partnership, a foreign trust or a foreign estate; it does not include a resident alien individual.
-
According to the IRS, FIRPTA withholding is generally not required, provided notification requirements are met, when the buyer acquires the property for use as a residence and the amount realized (sales price) is not more than $300,000, as long as the buyer or a family member has definite plans to reside there for at least 50% of the days the property is used during each of the first two 12-month periods, not counting days it is vacant, and the buyer is an individual; when the seller gives the buyer a certification, under penalties of perjury, that the seller is not a foreign person, with the seller's name, U.S. taxpayer identification number and home address; when the buyer receives a withholding certificate from the IRS that excuses withholding; or when the amount realized is zero; and a withholding agent is personally liable for the full amount of tax required to be withheld, plus penalties and interest.
-
By statute, on the disposition of a U.S. real property interest by a foreign person, the transferee must deduct and withhold a tax equal to 15 percent of the amount realized; it does not apply if the transferor furnishes an affidavit, under penalty of perjury, stating the transferor's U.S. taxpayer identification number and that the transferor is not a foreign person, nor when the transferee acquires the property for use as a residence and the amount realized does not exceed $300,000; if the property is acquired as a residence and the amount realized does not exceed $1,000,000, the rate drops to 10 percent; and the withholding may not exceed the transferor's maximum tax liability, which the IRS determines at the request of the transferor or transferee.
-
According to the IRS, the amount that must be withheld can be adjusted by a withholding certificate issued by the IRS; the buyer, the buyer's agent or the seller may request one; the IRS generally acts within 90 days after receipt of a complete application including the taxpayer identification numbers of all parties; a seller who applies must notify the buyer in writing, on the day of or the day before the transfer, that the certificate has been applied for; and it may be issued, for example, because the withholding would be more than the seller's maximum tax liability or because all gain is exempt from U.S. tax.
-
According to the IRS, the buyer reports and pays the withholding on Forms 8288 and 8288-A, generally by the 20th day after the date of the disposition; if an application for a withholding certificate (Form 8288-B) was submitted on or before the date of the disposition and is still pending, the tax must still be withheld, but it is reported and paid within 20 days after the IRS mails the certificate or notice of denial; the IRS stamps copy B of Form 8288-A and sends it to the seller, who must file a U.S. income tax return with that copy to receive credit for the tax withheld; the stamped copy is not provided if the form lacks the seller's TIN; and a seller without a TIN who is eligible for an ITIN can apply by attaching Form 8288-B to Form W-7.
-
According to the IRS's FIRPTA FAQs, a foreign person with no other valid reason cannot request an ITIN before entering into a contract to sell, and the IRS will deny such an application; as soon as there is a legally binding sales contract, the person may request it with Form W-7 under Exception 4; the IRS normally acts on a withholding certificate application within 90 days of receiving all necessary information; and if the ITIN is requested at the same time as the certificate, the ITIN request is processed within 10 days of receipt.
-
According to the IRS, the VITA and TCE programs offer free basic tax return preparation to qualified individuals; many sites serve people who generally make about $70,244 or less, people with disabilities and limited-English-speaking taxpayers, although each site may set its own limit; volunteer training includes maintaining the privacy and confidentiality of taxpayer information; and you find a site with the IRS locator tool or by calling 800-906-9887.
-
According to the IRS, Low Income Taxpayer Clinics (LITCs) assist low-income individuals who have a tax dispute with the IRS and provide education to people who speak English as a second language; they can represent you before the IRS or in court on audits, appeals and collection matters; services are free or for a small fee; and they are completely independent of the IRS.
Sources
Each source on one line: who publishes it, its title, its address and the date we read it.
- 1. IRS · Topic no. 701, Sale of your home · irs.gov · Accessed October 29, 2026
- 2. IRS · Publication 523, Selling Your Home · irs.gov · Accessed October 29, 2026
- 3. U.S. Congress (U.S. Code, text at Cornell LII) · 26 U.S.C. §121, Exclusion of gain from sale of principal residence · law.cornell.edu · Accessed October 29, 2026
- 4. IRS · Instructions for Form 1099-S, Proceeds From Real Estate Transactions · irs.gov · Accessed October 29, 2026
- 5. IRS · Topic no. 431, Canceled debt – Is it taxable or not? · irs.gov · Accessed October 29, 2026
- 6. IRS · Publication 4681, Canceled Debts, Foreclosures, Repossessions, and Abandonments · irs.gov · Accessed October 29, 2026
- 7. IRS · FIRPTA withholding · irs.gov · Accessed October 29, 2026
- 8. IRS · Definitions of terms and procedures unique to FIRPTA · irs.gov · Accessed October 29, 2026
- 9. IRS · Exceptions from FIRPTA withholding · irs.gov · Accessed October 29, 2026
- 10. U.S. Congress (U.S. Code, text at Cornell LII) · 26 U.S.C. §1445, Withholding of tax on dispositions of United States real property interests · law.cornell.edu · Accessed October 29, 2026
- 11. IRS · Withholding certificates · irs.gov · Accessed October 29, 2026
- 12. IRS · Reporting and paying tax on U.S. real property interests · irs.gov · Accessed October 29, 2026
- 13. IRS · Free tax return preparation for qualifying taxpayers (VITA and TCE) · irs.gov · Accessed October 29, 2026
- 14. IRS (Taxpayer Advocate Service) · Low Income Taxpayer Clinics · irs.gov · Accessed October 29, 2026