All articles 6 min read

Recapturing Depreciation: Home Sale Taxes (2025 IRS Guide)

This guide covers “Recapturing Depreciation” within home sale taxes. The following material presents the IRS treatment of this topic, including the qualifications, exceptions, and examples in the source section. Read the rules alongside the facts of your own situation before deciding what to report, deduct, or document.

Adapted from Publication 523 (2025), Selling Your Home, published by the Internal Revenue Service. This guide retains the source edition’s years, amounts, deadlines, and examples. It is guidance for that edition, not a statement that the same figures apply to every tax year.

Recapturing Depreciation

If you were entitled to take depreciation deductions because you used your home for business purposes or as rental property, you cannot exclude the part of your gain equal to any depreciation allowed or allowable as a deduction for periods after May 6, 1997. However, If you used all of your home for business or rental, you may also have to pay back (“recapture”) some or all of the depreciation you were entitled to take on your property. “Recapturing” depreciation means you must include it as ordinary income on your tax return. See Additional Depreciation in Pub. 544 for more information about depreciation recapture.

See Determine any depreciation amounts you may need to recapture, later, for more detail.

Example.

Cartier owned and used a house as a main home from 2017 through 2020. On January 1, 2021, Cartier moved to another state. Cartier rented the home from that date until April 30, 2023, when Cartier sold it. During the 5-year period ending on the date of sale (May 1, 2018–April 30, 2023), Cartier owned and lived in the house for more than 2 years. Because the period of nonqualified use doesn’t include any part of the 5-year period after the last date Cartier lived in the home, there is no period of nonqualified use. Because Cartier met the ownership and use tests, Cartier can exclude gain up to $250,000. However, Cartier can’t exclude the part of the gain equal to the depreciation Cartier claimed or could have claimed for renting the house.

Worksheet 3 is used to help you figure taxable gain on the sale or exchange of your home (if any) and how to report it.

Tip:

If you completed “Business or Rental” and “Home” versions of your gain/loss worksheet, as described in Property Used Partly for Business or Rental, earlier, complete Worksheet 3 only for the “Home” version.

Worksheet 3. Determine if You Have Taxable Gain

If you completed “Business or Rental” and “Home” versions of your gain/loss worksheet, as described in Property Used Partly for Business or Rental, earlier, complete Worksheet 3 only for the “Home” version. However, the section 121 exclusion is reduced to the extent of any depreciation adjustments in connection with the business use of your residence. Worksheet 2 allocated a separate portion of the property used for Business or Rental, if any, to figure the amount of gain potentially excluded under section 121. Worksheet 3 helps you figure how much of the gain calculated in Worksheet 2 will be excluded under section 121 based, in part, on whether you, your spouse, or a former spouse used the entire property as your principal residence or for another purpose, for example, for rental use or as a second home or a vacation home.

Section A. Depreciation. Determine your net gain. Complete this section only if you used all or part of your home for business or rental purposes between May 7, 1997, and the date of sale. Otherwise, skip to Section B.
Step 1 Enter your gain from line 7 of Worksheet 2 _____
Step 2 List the total of all depreciation deductions that you took or could have taken for the use of all or part of your home for business or rental purposes between May 7, 1997, and the date of sale. _____
Step 3 Subtract the sum of Step 2 from the amount listed in Section A, Step 1. This is your net gain _____
Section B. Determine your nonqualified use gain. Complete this section only if the following apply: a) During the time you owned the property there were periods of nonqualified use when neither you nor your spouse (or your former spouse) used the entire property as your main home; b) the periods of nonqualified use occurred after 2008; c) the periods of nonqualified use occurred before the last day the entire property was used as your or your spouse’s (or your former spouse) main home prior to the date of sale. Do not include any period of nonqualified use that occurred after the last day that you or your spouse (or former spouse) used the entire property as your main home during the 5-year period prior to the date of sale.* Otherwise, skip to Section C.
*Note: If the period of nonuse was 1) for an aggregate of 2 years or less and due to a change in employment, a health condition, or other “unforeseen circumstance” described in Does Your Home Qualify for a Partial Exclusion of Gain, earlier; or 2) for 10 years or less and due to a “stop the clock” exception for certain military, intelligence, and Peace Corps personnel described in Service, Intelligence, and Peace Corps Personnel, earlier, then you may skip Section B.
Step 1 Enter the amount from Section A, Step 3, or, if you skipped Section A, your gain from line 7 of Worksheet 2, earlier _____
Step 2 Enter the total number of days after 2008 and before the date of sale that neither you nor your spouse (or former spouse) used the entire home as a main residence. Do not include any days that occurred after the last day that you or your spouse (or former spouse) used the entire property as your main home during the 5-year period prior to the date of sale. This number is your nonuse days _____
Step 3 Enter the total number of days you owned your home (counting all days, not just days after 2008). This number is your number of days owned _____
Step 4 Divide the nonuse days by the days owned. This number is your nonresidence factor _____
Step 5 Multiply the decimal from Section B, Step 4, by the amount listed in Section B, Step 1. This number is your nonqualified use gain _____
Section C. Determine your gain that is eligible for exclusion.
IF... THEN your gain that is eligible for exclusion is …
you skipped Sections A & B the amount of your gain from line 7 of Worksheet 2.
you completed Section A but skipped Section B your net gain from Section A, Step 3.
you completed Section B but skipped Section A the amount from Section B, Step 1, less your nonqualified use gain from Section B, Step 5.
you completed Sections A & B your net gain from Section A, Step 3, less your nonqualified use gain from Section B, Step 5.
Your gain that is eligible for exclusion is $ _______________
Section D. Determine if you have taxable gain.
IF... THEN …
your gain that is eligible for exclusion from Section C is less than or equal to your exclusion limit from Worksheet 1, Section C your gain that is eligible for exclusion from your income is not to be reported on your tax return. The Reporting Your Home Sale section only applies to your nonqualified use gain. However, you may need to complete Form 8949 if Form 1099-S was received. See Reporting Gain or Loss on Your Home Sale, later.
your gain that is eligible for exclusion from Section C is greater than your exclusion limit from Worksheet 1, Section C some of your gain isn’t excludable, and you may owe tax on it. See Reporting Your Home Sale for instructions on how to report the gain on your tax return.

Using the guidance

Keep the documents that establish the dates, amounts, and circumstances described above. References to other chapters, forms, worksheets, or earlier and later sections refer to the linked IRS publication. Check the full publication and its updates before relying on a rule for a different tax year or a situation not addressed here.

Sources and further reading

The cited U.S. government text is in the public domain. Source accessed October 28, 2026. Fynoptic has organized this material for educational use and is independent of, and not endorsed by, the IRS.