How to Report Depreciation Recapture on Form 4797

Where the sale of a rental actually lands on your tax return.

Illustration for How to Report Depreciation Recapture on Form 4797

Form 4797 is the starting point

The sale of business or rental real estate is reported on Form 4797, Sales of Business Property, not directly on Schedule D. Part III of the form handles the gain and separates the depreciation-recapture portion from the rest.

How the gain splits

Part III calculates your total gain, then routes the unrecaptured Section 1250 amount to the 28%/25% worksheet and the remaining long-term gain to Schedule D. The recapture piece is taxed at up to 25%; the rest at your capital gains rate.

Keep your depreciation schedule

You'll need the total depreciation claimed over the years — from your prior returns or your accountant's depreciation schedule — to compute recapture correctly. Estimate the amount first so nothing surprises you at filing.

The three parts of Form 4797, and which you use

Form 4797 has three main parts, and knowing which applies avoids the most common filing errors. Part I reports Section 1231 gains and losses on business property held more than one year — but for depreciable real estate with a gain, you generally start in Part III, and the net result is carried back to Part I. Part II handles ordinary gains and losses, including property held one year or less. Part III is the workhorse for depreciable real estate sold at a gain: it computes the total gain and splits out the recapture.

The reason the sale doesn't go straight to Schedule D is that Section 1231 property gets favorable treatment — net gains are taxed as long-term capital gain, but net losses are fully deductible as ordinary losses. Form 4797 is the mechanism that sorts this out.

Walking through Part III line by line

In Part III you enter the property description, the gross sales price (line 20), the cost or other basis plus improvements (line 21), the depreciation allowed or allowable (line 22), and the resulting adjusted basis (line 23 = line 21 − line 22). The total gain (line 24) is the sales price minus adjusted basis.

For real property (Section 1250), line 26 computes the recapture. Because most buildings placed in service after 1986 use straight-line depreciation, there's typically no "additional depreciation" to recapture as ordinary income under §1250 — instead the depreciation portion becomes unrecaptured Section 1250 gain, which is not separated on Form 4797 itself but is captured on a worksheet and taxed at up to 25%. The gain then flows to Part I, and from there to Schedule D.

A worked example of the flow

You sell a rental for $520,000. Original cost plus improvements was $400,000; you claimed $90,000 of depreciation, so adjusted basis is $310,000. Selling costs of $30,000 reduce the amount realized to $490,000. Total gain (Part III) is $180,000.

Of that, $90,000 is unrecaptured Section 1250 gain (the depreciation you took), taxed at up to 25%; the other $90,000 is regular long-term capital gain at 0/15/20%. The $180,000 net Section 1231 gain moves from Part III to Part I, then to Schedule D. When you fill out the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions, you enter that $90,000, and the Schedule D Tax Worksheet applies the 25% cap to it.

Where the numbers land on your 1040

The chain is: Form 4797 → Schedule D → Form 1040. The net long-term capital gain from Schedule D lands on your 1040, and the tax is computed on the Schedule D Tax Worksheet (not the regular tax tables) so the 25% recapture rate and 0/15/20% rates are applied correctly. If your income is high enough, you'll also complete Form 8960 for the 3.8% Net Investment Income Tax on the gain. Any state return picks up the same gain, usually without the federal 25% cap.

Special situations that change the reporting

Several scenarios route differently. An installment sale uses Form 6252 to spread the capital-gain portion across years — but Section 1250 recapture is generally reported in full in the year of sale, even if you receive the cash later. A property sold at a loss has no recapture and the loss flows as an ordinary Section 1231 loss (often via Part I). Property with cost-segregated Section 1245 components (appliances, fixtures) recaptures the depreciation on those pieces as ordinary income, reported in Part III lines for 1245 property. A 1031 exchange defers the gain and is reported on Form 8824 instead, with any boot recognized carrying to Form 4797.

Documentation and common mistakes

Keep the closing statement, your original purchase documents, records of every capital improvement, and — most importantly — the cumulative depreciation schedule. The single most common error is understating depreciation on line 22: the IRS taxes recapture on depreciation allowed or allowable, so even depreciation you forgot to claim is recaptured. If you never depreciated the property, file Form 3115 to catch up before selling rather than losing the deductions and still owing recapture. Other frequent mistakes: reporting the sale directly on Schedule D (skipping 4797), forgetting to add back selling costs to reduce the amount realized, and omitting Form 8960 when income exceeds the NIIT thresholds.

Section 1231 netting: why the form protects you

Form 4797 exists largely to deliver the best of both worlds on business property. Under IRC § 1231, if your net result across all business-property sales for the year is a gain, it's treated as long-term capital gain (favorable rates); if it's a net loss, it's treated as an ordinary loss (fully deductible against any income, not capped at the $3,000 capital-loss limit). Part I of the form performs this netting.

One wrinkle to know: the Section 1231 five-year lookback rule (line 8) requires you to recharacterize current-year 1231 gain as ordinary income to the extent you deducted net 1231 losses in the prior five years. It prevents taxpayers from timing losses as ordinary and gains as capital. If you've had business-property losses recently, check this line carefully or your capital-gain treatment may be partly clawed back.

Reporting a sale with both 1245 and 1250 property

A single rental sale often involves two recapture regimes at once. The building shell is Section 1250 real property (unrecaptured 1250 gain, up to 25%). But if a cost segregation study carved out appliances, carpeting, or specialty systems as Section 1245 personal property, the depreciation on those pieces is recaptured as ordinary income at your full rate.

On Form 4797 you allocate the sale price across the components and complete the 1245 lines (around line 25) for the personal property and the 1250 lines (around line 26) for the real property. The 1245 ordinary recapture flows to Part II as ordinary income; the 1250 portion feeds the unrecaptured 1250 gain worksheet. Your depreciation schedule should already track these components separately, which is why keeping the cost-segregation report matters at sale time.

Partial dispositions and improvements sold with the building

If you replaced a roof or HVAC system during ownership and made a partial disposition election to write off the old component, that retired asset was already removed from your depreciation schedule — so it doesn't appear again at final sale. Conversely, capital improvements you added and never fully depreciated increase your basis on line 21, reducing gain. Make sure every improvement is captured: forgetting a $40,000 kitchen renovation overstates your gain and your tax. The cleaner your asset-by-asset records, the more accurately Form 4797 splits ordinary recapture, 1250 gain, and capital gain.

Step-by-step summary of the filing chain

Put it together: (1) gather your closing statement, purchase records, improvement receipts, and cumulative depreciation schedule; (2) complete Form 4797 Part III to compute total gain and separate 1245 and 1250 recapture; (3) carry the net Section 1231 result through Part I; (4) move the long-term capital gain to Schedule D; (5) complete the Unrecaptured Section 1250 Gain Worksheet so the 25% rate applies to the depreciation slice; (6) if income is high, file Form 8960 for the 3.8% NIIT; (7) report any installment terms on Form 6252 or a like-kind exchange on Form 8824; (8) carry the totals to Form 1040. Estimate the numbers first with the depreciation recapture calculator so filing simply confirms what you already expected.

Should you file it yourself or hire a pro?

A straightforward rental sale — one property, straight-line 1250 depreciation, no cost segregation, no installment terms — is well within reach of good tax software, which walks Form 4797 and the unrecaptured 1250 worksheet for you. Consider a CPA or enrolled agent when the return gets complicated: a sale with 1245 cost-segregation components, an installment sale (Form 6252), a 1031 exchange (Form 8824), a partial disposition history, multiple properties triggering the Section 1231 five-year lookback, or a large enough gain to bring in NIIT and state complexity. The cost of professional help is usually small next to the tax at stake, and the biggest filing errors — understating depreciation, misclassifying 1245 versus 1250, or skipping Form 4797 entirely — are exactly the ones a pro is paid to catch. Whichever route you choose, reconcile the return against your own estimate first.

How state returns pick up the sale

Every state with an income tax requires you to report the sale, but the mechanics vary. Most states start with federal adjusted gross income — so the sale's gain flows through automatically — but they may apply their own depreciation rules and their own capital-gains rates. California, for example, treats all capital gain as ordinary income with no preferential rate and no 25% cap on the recapture slice; New York does the same. A handful of states have their own depreciation schedules that diverged from federal MACRS years ago, which means your state adjusted basis can differ from your federal adjusted basis, and the state gain can differ from the federal gain.

States that track federal depreciation closely — and most do — generally reach the same gain number. But states that required different useful lives or that conformed late to bonus depreciation provisions may have a lower state basis (more depreciation taken earlier under state rules) and therefore a higher state gain. Check your state's conformity date if you claimed large bonus-depreciation deductions in prior years. Report the sale on your state return using the state's form equivalent to Form 4797 (or on a state schedule that picks up the federal Form 4797 numbers directly), and verify whether your state's capital-gains treatment reduces the tax at all.

After the sale: records to keep and the audit trail

The statute of limitations for an IRS audit is generally three years from the filing date, but it extends to six years if you omit more than 25% of gross income — a large sale easily hits that threshold. Some states have their own, longer periods. Keep the closing disclosure, all prior Form 4562 filings, the cost-segregation report if you had one, records of every capital improvement, and a copy of the filed Form 4797 and Schedule D permanently, or at minimum until the longer of the federal and state statutes expires after your final return for the year of sale.

If the IRS opens an examination of a prior year when you claimed the depreciation, the gain computation in the sale year flows from that earlier depreciation, so the records overlap across years. A clean chain — purchase to improvement to annual depreciation to sale — is the difference between a routine response to an examiner and a costly reconstruction. Keep the documents; the tax from the sale already came out of your pocket, so letting an avoidable audit recalculate it against you is pure waste.

Using tax software to complete Form 4797

Major tax software packages — TurboTax, H&R Block, TaxAct — all handle Form 4797, but they only produce the right answer if you give them the right inputs. The key entry points are the cost or other basis (purchase price plus capital improvements and capitalized closing costs), the depreciation allowed or allowable (the total from all prior Form 4562 filings plus the sale-year partial deduction), and the gross sale price (the contract price before selling costs, which you enter separately as a reduction). Most software walks you through a guided interview — watch for the screen that asks about prior depreciation, because underreporting here is the single costliest error investors make.

After entering the data, print or view the completed Form 4797 and verify the numbers manually: the total gain on line 24 should equal the amount realized minus your adjusted basis; the Section 1250 recapture on line 26 should be zero if you used straight-line depreciation throughout (as most residential rentals do); and the net gain should flow to Schedule D. If any number surprises you, reconcile before you file. Most software allows field overrides — but if an override feels necessary, it usually signals a data-entry error rather than a software bug. Investigate first, override last.

IRS notices commonly triggered by Form 4797 errors

The most common post-filing problem is a CP2000 notice proposing additional tax. These are generated automatically when the IRS's copies of information returns — including the 1099-S from the settlement agent — don't match what you reported. If the gross proceeds on your 1099-S don't equal the sale price on Form 4797, a notice almost certainly follows. Verify that the gross sale price you enter matches the 1099-S exactly; if the closing agent reported a different number, attach a reconciliation statement to your return explaining the difference.

Two other frequent triggers: a mismatch between the depreciation you entered on Form 4797 and the cumulative depreciation shown on prior Form 4562 filings, and a property that carried over from a prior-year Section 1231 net loss, triggering the five-year lookback on line 8 that recharacterizes current-year gain as ordinary income. Tax software handles the lookback automatically — but only if you entered prior-year 1231 losses correctly in earlier returns. If you're using new software or preparing your own return for the first time, pull all prior returns and verify the line 8 calculation before filing.

Reporting a sale in a partnership, S corporation, or LLC

When rental property is held in a partnership or S corporation, the entity files Form 4797 on its business return (Form 1065 or Form 1120-S), not the owner's 1040. The character of the gain — ordinary recapture, Section 1231 gain — is determined at the entity level and flows to each owner's Schedule K-1 in the boxes for ordinary income, Section 1231 gains, and unrecaptured Section 1250 gain. Each owner then carries those K-1 amounts to their individual return.

The complication is basis. Each partner's or shareholder's outside basis controls how much of the allocated gain can actually be recognized and whether any of it is sheltered by suspended losses. Inside basis (the entity's adjusted basis in the property) and outside basis (each owner's stake in the entity) can diverge, especially after special allocations, guaranteed payments, or if owners acquired interests at different prices. Before reporting a rental sale on a K-1, the entity's tax advisor should reconcile both levels. Individual owners who receive a large K-1 gain allocation should confirm the allocation against their outside basis — if the gain exceeds basis, they must still report it, but the allocation may not withstand scrutiny without documentation in the operating agreement.

Amending Form 4797 after the filing date

If you discover an error after filing — understated depreciation, wrong basis, omitted cost-segregation components — file Form 1040-X to amend the return and correct the Form 4797 figures. The corrected numbers flow through to Schedule D and back to your 1040. You generally have three years from the original filing deadline (or two years from the date you paid the tax, if later) to claim a refund through an amendment. The IRS has the same three years to assess additional tax — extended to six years if you omitted more than 25% of gross income, which a large sale easily triggers.

If the error was that you overclaimed depreciation in prior years (understating your adjusted basis and the resulting gain), the IRS can adjust both the prior years within the statute and the Form 4797 in the sale year. If you underclaimed depreciation (missed deductions in prior years), you generally cannot simply amend those prior returns after three years — the proper fix is Form 3115 (Change in Accounting Method), which corrects the missed depreciation all at once in the current year. Because a Form 3115 adjustment can create a large catch-up deduction or income item in one year, the timing and bracket implications deserve careful analysis. Review both the amendment and Form 3115 options with a tax professional before deciding which to file.

The Section 1231 five-year lookback rule: prior losses that recharacterize current gains

If you recorded net Section 1231 losses in any of the five tax years preceding the current sale, IRC §1231(c) requires you to recharacterize current-year Section 1231 gains as ordinary income — up to the amount of those prior unrecaptured losses. Line 8 of Form 4797 Part I is where you enter non-recaptured prior-year Section 1231 losses. The rule closes a loophole that would let taxpayers strategically time losses to be ordinary (fully deductible against any income) while allowing gains to enjoy capital treatment.

In practice, if you sold a rental at a loss in a prior year and deducted that loss as an ordinary Section 1231 loss, part of your current gain is clawed back into ordinary income. The recharacterized amount is taxed at your full marginal rate, not at the 0/15/20% capital-gain rates. This lookback interacts with the five-year period only — losses from six or more years ago do not trigger it. Most tax software handles the lookback automatically from prior-year Form 4797 data, but investors switching software or preparing their own returns for the first time should manually verify line 8 before filing.

Foreclosure, deed-in-lieu, and short sale: how they report on Form 4797

When a lender forecloses or accepts a deed-in-lieu, the transaction is treated as a deemed sale for tax purposes. You are treated as having sold the property for the outstanding mortgage balance (on a recourse loan, the amount of debt discharged is capped at fair market value; on a nonrecourse debt, you are treated as receiving the full debt balance even if FMV is lower). The gain or loss is computed the same way as any other sale: amount realized minus adjusted basis, with recapture flowing through Form 4797.

A short sale — where the lender accepts less than the full mortgage payoff — similarly results in a deemed disposition for tax purposes. The amount realized is the sale price actually received; the amount by which the forgiven debt exceeds FMV may generate cancellation-of-debt (COD) income reported on Form 1099-C, which is ordinary income reported separately from the Form 4797 gain or loss. Key point: recapture on a rental foreclosure is still recapture — the lender's forgiveness of debt does not reduce the depreciation recapture you owe, because the recapture is computed against your adjusted basis, not the forgiven amount. If you have a large accumulated depreciation schedule on a foreclosed property, the recapture exposure survives the loss event.

Selling a partial interest: Form 4797 for co-ownership dispositions

When you own a fraction of a rental property — as a tenant-in-common, through a partnership interest, or in any other fractional arrangement — and you sell only your share, you report your proportionate gain on Form 4797 based on your share of the adjusted basis and the price received. If the property is held in a partnership or LLC taxed as a partnership, the entity computes the gain on its Form 1065, and the result flows to each partner's Schedule K-1; each partner then reports their share on their individual Form 4797.

The complication is that a sale of a partnership interest — rather than the underlying real estate — is generally a capital transaction taxed at capital-gain rates, except to the extent the gain is attributable to the partnership's hot assets under IRC §751, which include any depreciation recapture embedded in the partnership's real estate. That §751 gain is recharacterized as ordinary income, effectively capturing the recapture that would have applied if the partnership had sold the real estate directly. Investors selling a partnership interest rather than the real property itself need to confirm whether §751 applies and how to report it — the K-1 should include this detail, but verifying with a tax professional is advisable for a large interest sale.

Sale of a mixed primary-residence-plus-rental: separating Form 4797 from Schedule D

When a property served as both your primary residence and a rental — whether simultaneously (a duplex where you live in one unit and rent the other) or sequentially (you converted your home to a rental before selling) — the tax treatment splits across two forms. The personal-use portion of the gain is eligible for the Section 121 exclusion ($250,000 single / $500,000 joint), reported on Form 8949 and Schedule D. The rental portion of the gain — including depreciation recapture on the portion used for rental — flows through Form 4797.

For a duplex where you lived in Unit A and rented Unit B, you allocate the sale price, your basis, and the depreciation between the units (typically by square footage). Unit A's gain may be excluded under Section 121; Unit B's gain is fully taxable and includes recapture. For a sequentially converted property, the calculation is different: only the portion of gain attributable to the non-qualifying period (when it was a rental) and any depreciation claimed must be reported on Form 4797 and cannot benefit from the Section 121 exclusion. Depreciation recapture is always taxable regardless of the exclusion — the exclusion does not shelter it. Allocate carefully and keep records of the placed-in-service date, rental period, and all depreciation taken.

Capital improvements that reduce your Form 4797 taxable gain

Every dollar you spent on capital improvements during ownership increases your adjusted basis and directly reduces the gain on Form 4797 — not as a deduction, but as a reduction of the amount realized minus adjusted basis. A $30,000 kitchen renovation, a $15,000 roof replacement, and a $12,000 HVAC system each increase your adjusted basis, lowering what you report on Form 4797 Part III, line 21. Over a long hold period, these amounts can add up to $100,000 or more, cutting a potentially large tax bill.

The catch: you must have records. The IRS requires you to substantiate your basis, and the burden of proof is on you. For a property held 15 years, reconstruction of improvement costs from memory — or from vague bank statements — rarely produces an accurate number and will not survive an examination. Keep the original contractor invoices, permits, and payment records for every capital improvement, organized by year. When you sell, hand your accountant a clean list of the original purchase price, closing costs, and cumulative improvements, and your adjusted basis on Form 4797 will be defensible.

Pre-sale tax planning: what to review before your closing date

Form 4797 is more forgiving to prepare when the underlying math has been estimated before closing, not assembled from scratch after. At least 30 to 60 days before your sale closes, pull together: (1) your original purchase closing disclosure and the purchase price allocation between land and building; (2) a complete schedule of capital improvements, with dates and amounts; (3) every Form 4562 you filed during ownership showing annual depreciation; (4) any cost segregation report if you had one, including the breakdown between Section 1245 and Section 1250 assets; and (5) the rough sale price and expected selling costs from your listing agreement.

With these five inputs you can compute a close estimate of your total gain, the Section 1250 recapture slice, any Section 1245 ordinary recapture from cost-segregated components, and the long-term capital gain remainder — before the closing statement arrives. This estimate lets you plan for the tax payment (the IRS generally expects estimated taxes paid in the quarter of the sale), decide whether a 1031 exchange still makes sense at the current price, and brief your accountant without a scramble in April. Use the depreciation recapture calculator to run this estimate with your specific numbers.

Quick-reference guide: which IRS form for which event

A sale of rental real estate can trigger several forms depending on the deal structure. Form 4797 is the starting point for any sale of business or rental property and is required for every such disposition. Schedule D receives the net Section 1231 capital gain from Form 4797 and also reports any gain from personal-use property. Unrecaptured Section 1250 Gain Worksheet (in the Schedule D instructions) applies the 25% cap to the depreciation-recapture slice.

Form 6252 is required for installment sales of business property where you receive at least one payment after the year of sale; it allocates each year's receipt between return of basis, capital gain, and ordinary recapture. Form 8824 replaces Form 4797 when the transaction is a qualifying 1031 like-kind exchange — Form 8824 computes realized gain, recognized gain (if any boot was received), and the carryover basis in the replacement property. Form 8960 adds the 3.8% Net Investment Income Tax on top of the gain if your modified adjusted gross income exceeds $200,000 (single) or $250,000 (MFJ). Understanding which combination applies to your transaction — often two or three forms simultaneously — prevents the most common filing omission errors.

After you file: records to keep and how long to keep them

The IRS statute of limitations for audit is generally three years from the filing date, but it extends to six years if more than 25% of gross income is omitted — a common threshold for a large real estate sale. The practical recommendation: keep Form 4797, the complete closing disclosure, improvement records, all Form 4562 depreciation schedules, and cost segregation reports permanently, not just until the audit window closes. Here is why: if you ever sold via an installment note, installment payments may continue for years, and the depreciation records from the original sale tie directly to the gain you are recognizing each year. A 1031 exchange defers but does not eliminate the gain — your replacement property carries the old basis forward, and you will need the original depreciation records from the relinquished property when you eventually sell the replacement.

State returns have their own, sometimes longer, statutes. California's statute is four years from the filing date; New York's is three years from the later of filing or due date, with extensions in some circumstances. If you held property in a state with an estate or inheritance tax, records of real property basis may be needed for estate purposes decades after your sale. One practical system: scan every document at closing into a labeled PDF folder (address, year of acquisition, year of sale) and store it in cloud backup. Paper records in a filing cabinet work too — but the redundancy of both, for the tax foundation of a multi-hundred-thousand-dollar asset, is worth the ten minutes it takes.

How tax software handles Form 4797 for rental sales

Most major tax software programs — TurboTax, H&R Block, TaxAct, and professional-grade tools like Lacerte and Drake — have guided interview flows for entering a rental property sale. The software will ask for the property address, purchase date, original cost, land value, total depreciation taken, selling price, and selling expenses. It then auto-populates Form 4797 and routes the gain to Schedule D and the Unrecaptured Section 1250 Gain Worksheet.

A few common pitfalls with tax software: First, the software often asks for total accumulated depreciation and may not distinguish between regular MACRS depreciation and bonus depreciation taken on cost-segregated components. If you had a cost segregation study, you need to manually enter the Section 1245 (equipment-class) depreciation separately from the Section 1250 (building) depreciation — otherwise the software may miscalculate the ordinary income recapture. Second, if you purchased the rental through a partnership, LLC, or S-corp and received a K-1, the sale details typically feed through the entity's return first; what shows on your personal return is the flow-through gain from the K-1, not a direct Form 4797 entry. Third, the software may ask whether you used the property for personal purposes — rental property held exclusively as a rental is a 'business/investment' property, not mixed-use. Always review the finished Form 4797 against your own estimates before filing.

State Form 4797 equivalents and conformity issues

Every state with an income tax requires you to report the same real estate sale that appears on your federal return, but the mechanics differ by state. Most states that start their income calculation from federal adjusted gross income (or federal taxable income) automatically incorporate your federal Form 4797 gain through conformity — no separate state form required, because the gain flows through Schedule D and into AGI. States in this category include New York, Illinois, and most of the Sun Belt.

Several states require or allow a separate depreciation schedule that may differ from federal: California uses California-specific depreciation for assets placed in service before certain years, so California gain can differ from federal gain even on the same property. Pennsylvania does not recognize installment sales the same way the federal government does and requires you to report the entire gain in the year of sale unless you meet specific criteria. Massachusetts has unusual rules on capital gain rates that depend on the holding period. If you sold rental property in a state where you are not a resident, you typically must also file a nonresident return in that state and pay tax on the gain allocable to in-state property — the federal Form 4797 gain is the starting point, but the state may apply its own rate. Confirm the specific reporting form and any state-level depreciation addbacks with a tax professional or your state's department of revenue before filing.

Penalties for filing Form 4797 incorrectly or omitting it

Omitting Form 4797 entirely on the return of a rental property sale is one of the more common and costly errors the IRS catches through automated matching. The IRS receives the settlement statement information from title companies via Form 1099-S, and when a large proceeds figure appears on a 1099-S with no corresponding Form 4797 or Schedule D entry, the discrepancy typically triggers a CP2000 notice — an automated underreporter notice — proposing additional tax plus interest and possibly a 20% accuracy-related penalty.

The accuracy-related penalty under IRC Section 6662 is 20% of the underpaid tax attributable to the omission or misstatement. On a $100,000 gain taxed at 25% ($25,000 of tax), a 20% penalty adds $5,000. Interest accrues at the federal short-term rate plus 3 percentage points from the original due date. The combined cost of a missed Form 4797 can easily exceed 30% of the unreported tax by the time the IRS assesses it. The fix if you forgot: file an amended return (Form 1040-X) promptly, paying any additional tax with interest. The voluntary disclosure before the IRS contacts you avoids the accuracy-related penalty in most cases. If the IRS has already sent a notice, respond with the complete Form 4797 data and a penalty-abatement request citing reasonable cause if applicable.

Cost-segregated property: completing Part III for Section 1245 assets

When a cost segregation study allocated some of the building's cost to shorter-life property — personal property (5- and 7-year assets), land improvements (15-year assets), or other Section 1245 property — those assets have a separate Form 4797 entry from the building itself. The building (Section 1250 property) goes in Part III lines for real property. The cost-segregated Section 1245 components have their own Part III entries, and the entire depreciation taken on those components is recaptured as ordinary income (not the 25%-capped unrecaptured Section 1250 gain — true ordinary income at your marginal rate).

The practical implication: if you took bonus depreciation on $80,000 of cost-segregated 5-year property and have a gain at sale, that $80,000 of depreciation is ordinary recapture in the year of sale, potentially pushing you into a higher bracket. For a large cost segregation on a commercial building, the total ordinary income recapture from Section 1245 assets can be $50,000–$500,000 or more. Your cost segregation provider should give you a report organized by asset class that maps directly to the Form 4797 entries. Use their report rather than trying to reconstruct the allocations from memory — the IRS expects the sale-year Form 4797 to reconcile back to the depreciation schedules from prior years. If the numbers don't add up cleanly, the discrepancy is worth investigating before filing. Run the numbers with the depreciation recapture calculator to see how much ordinary income versus 25%-rate gain your sale produces.

What to do when depreciation records are incomplete or unavailable

Investors who inherited a rental property, purchased one that changed hands multiple times, or simply lost their records face a genuine challenge when selling: they cannot complete Form 4797 accurately without knowing the depreciation taken. The IRS rule is 'allowed or allowable' — you are taxed on depreciation that was allowed (actually taken) or allowable (should have been taken under the correct method), whichever is greater. You cannot avoid recapture by simply not claiming depreciation.

Reconstructing a missing depreciation schedule starts with the original tax returns. The IRS can provide transcripts of previously filed returns through Form 4506-T; these show the depreciation deductions claimed. If older returns are unavailable, you can reconstruct the schedule using the purchase price, the original land-building allocation, and the appropriate MACRS percentages for each year of ownership. A licensed CPA or enrolled agent with experience in real estate can do this reconstruction; it is not guesswork, because the MACRS percentages are fixed by law. If the property was acquired before 1987 (pre-MACRS), ACRS rules apply and the reconstruction is more complex. The bottom line: if you inherited or acquired a rental with no depreciation records, get a professional to reconstruct the schedule before you file the year-of-sale return. Filing with an incorrect (usually too low) depreciation figure creates risk from both sides — underreported recapture if the true accumulated depreciation is higher, and an overreported gain if you double-count.

Selling at a loss: how Form 4797 handles a below-basis disposal

If you sell rental property for less than your adjusted basis, line 24 of Form 4797 Part III produces a negative number — a loss rather than a gain. For Section 1231 property held more than a year, that loss flows to Part I, where it is netted against all other Section 1231 gains and losses for the year. If the net result is a net loss, it converts to a fully deductible ordinary loss under IRC Section 1231(a)(2) — not a capital loss. This is the favorable asymmetry of Section 1231 property: gains enjoy capital rates, but net losses are fully deductible against wages, interest, or any other income, with no annual dollar cap.

There is no recapture on a below-basis sale because recapture only arises when a gain exists. If you sell for $170,000 and your adjusted basis is $190,000, the $20,000 Section 1231 loss passes through Part III and Part I with no depreciation recapture and no unrecaptured Section 1250 gain. The only nuance: the Section 1231 five-year lookback rule on Part I line 8 can recharacterize some current-year net gain as ordinary income if you had net Section 1231 losses in any of the prior five years — but this applies only to gain years. A net loss year on Part I is simply an ordinary loss year.

1031 exchange with boot: how recognized gain flows through Form 4797

In a 1031 like-kind exchange where the investor receives cash, net debt relief, or other non-like-kind property (collectively called boot), the exchange is only partially tax-deferred. The recognized gain — the lesser of total realized gain or total boot — must be reported in the year of the exchange. Reporting starts with Form 8824 (Like-Kind Exchanges), which computes the realized gain, the recognized gain, and the carryover basis in the replacement property.

The recognized gain from Form 8824 flows to Form 4797 for the recapture portion and to Schedule D for remaining capital gain. Critically, depreciation recapture is fully recognized in the year of the exchange before other gain — Congress treats recapture as the first dollars of recognized gain. If your Section 1245 ordinary recapture would be $40,000 but your boot was only $15,000, you recognize only $15,000, but it is all ordinary income. The carryover basis in the replacement property (Form 8824 line 25) becomes the new depreciation base, carrying the deferred gain embedded in the lower basis forward to the eventual taxable sale.

Vacation home converted to rental: allocating Form 4797 and Schedule D

When a home that served first as your primary residence and then as a rental is sold, the tax treatment splits across two forms. The personal-use gain may be eligible for the Section 121 exclusion ($250,000 single / $500,000 married filing jointly) and is reported on Form 8949 and Schedule D. The rental-use gain — including all depreciation claimed during the rental period — flows through Form 4797.

The allocation is based on the ratio of rental months to total ownership months after May 6, 1997. If you owned the home for 10 years and rented it for 4 years, roughly 40% of the non-depreciation gain is attributable to the rental period and passes through Form 4797. The depreciation you claimed is fully recaptured as unrecaptured Section 1250 gain regardless of the Section 121 exclusion — the exclusion specifically does not shield accumulated depreciation. Report the rental-period gain and recapture on Form 4797 Part III; the excluded personal-use portion goes on Form 8949 with code 'H'. Many sellers of converted homes are surprised to find they still owe tax on several years of accumulated depreciation even after the exclusion. Estimate the recapture amount before closing using the depreciation recapture calculator.

How to read your closing disclosure for Form 4797 inputs

The Closing Disclosure (the standardized settlement statement required since October 2015 under TRID) is the single most useful document for assembling Form 4797 inputs when you sell a rental property. Page 1 of the Closing Disclosure shows the sale price and cash-to-close figures; the seller-side detail on page 3 lists every selling cost that reduces your amount realized. Commissions, title search and insurance, escrow fees, deed preparation, transfer taxes paid by the seller, and recording fees are all listed as deductions from the sale price. Total those seller costs and subtract them from the contract price to compute your amount realized — the starting figure for Form 4797 Part III line 20.

Separately, your adjusted basis calculation requires the original purchase price (from your own prior Closing Disclosure or HUD-1), plus capital improvements added during ownership, minus all depreciation allowed or allowable. Depreciation figures come from your Schedule E and Form 4562 filings; the Closing Disclosure does not show basis. Compare the amount realized against your adjusted basis to determine whether you have a gain, a loss, or a break-even sale. One practical note: if you made substantial improvements in the year of sale (a new roof placed in service and then sold within the same year), those improvements increase your basis but may also be depreciable assets subject to recapture — you may need to recognize depreciation on improvements placed in service only briefly before the sale.

When a rental sale straddles two tax years

Real estate closings near December 31 raise the question of which tax year to report the gain. The rule is straightforward: the gain is recognized in the year the property is sold, meaning the closing date — the date title passes and you receive (or are entitled to receive) the proceeds. If you close on December 31, the gain belongs in that tax year; if you close on January 2, it belongs in the following year. Unlike some financial transactions, real estate closings do not have a settlement-date-vs.-trade-date distinction — closing is both the trade and the settlement.

For sellers who want to defer recognition to the following year, a voluntary extension of the closing date until January can shift the entire gain. Be cautious about constructive receipt: if sale proceeds are deposited into a controlled escrow before year-end but you have an unconditional right to access them, the IRS can argue you constructively received the funds in the earlier year. An installment sale structure (Form 6252) is the more reliable deferral tool — it spreads both the principal gain and the installment payments across multiple tax years. However, depreciation recapture must be fully recognized in the year of sale even under an installment sale. Consulting a tax professional before a year-end closing is worthwhile if the tax year of the gain makes a material difference to your liability.

Separating land from building on Form 4797

Land and the building that sits on it have different tax treatment on a rental sale because land is not depreciable under any MACRS schedule — its adjusted basis at sale equals the original allocated land value. When you complete Form 4797 Part III, the gain attributable to land is pure Section 1231 gain — there is no depreciation to recapture on land, and the unrecaptured Section 1250 gain (taxed at up to 25%) does not apply to land.

To correctly separate land from building on the closing statement, use the original land-building allocation from when you purchased the property. Common sources include the county tax assessor's land vs. improvement ratio, an appraisal at the time of purchase, or the purchase contract if it allocated value separately. If your county assessor puts 20% of value on land and 80% on improvements, and you sell for $500,000, $100,000 is allocated to land (capital gain only) and $400,000 to the building (subject to recapture on the depreciation component). Correctly separating land avoids overstating the depreciable-asset portion and paying unnecessary 25% recapture tax on what is really capital-rate gain.

How prior suspended passive losses interact with the gain on Form 4797

Rental properties are almost always passive activities under IRC Section 469, meaning losses generated in years when your income exceeded the $25,000 rental allowance phase-out — or when you were not a qualifying real estate professional — were suspended and carried forward on Form 8582. These suspended losses sit unused year after year.

When you sell the rental property in a fully taxable disposition, IRC Section 469(g)(1) releases all suspended passive losses attributable to that activity in the year of sale. The released losses are deductible in full — they appear through Form 8582 as an ordinary deduction, not on Form 4797 itself. The practical effect on your 1040: the gain reported on Form 4797 flows up to your return while the released passive losses offset it at the Schedule E or Form 8582 level. If you have $80,000 of accumulated suspended passive losses and report a $120,000 gain on Form 4797, the net taxable impact is roughly $40,000. The released losses do not change the character of the Form 4797 gain — the depreciation recapture portion remains taxed at ordinary rates, and the Section 1231 capital gain portion retains its preferential rate.

Multi-property portfolios: netting Section 1231 gains and losses across properties on Form 4797

When you sell multiple properties in the same tax year, all Section 1231 gains and losses from business and rental real estate are netted together in Part I of Form 4797 before flowing to Schedule D. This netting can produce significant tax benefits: a gain on one property can be offset by a loss on another, reducing the total Section 1231 gain that eventually reaches Schedule D.

The netting happens after each property's recapture is computed separately in Part III. Property A might have $120,000 of net Section 1231 gain (after recapture), and Property B might have a $45,000 Section 1231 loss, resulting in a net $75,000 Section 1231 gain flowing to Schedule D rather than $120,000. However, the recapture on Property A is unaffected by Property B's loss — recapture is computed property-by-property and is not reduced by losses from other properties. Investors selling multiple properties in the same year should run the netting calculation early in tax planning: sometimes accelerating the sale of a loss property into the same calendar year as a gain property can reduce the overall tax significantly.

Reading the Closing Disclosure line-by-line to build your Form 4797 inputs

Every Form 4797 computation starts with three numbers you need to get right: the amount realized, the adjusted basis, and the depreciation allowed or allowable. The closing disclosure is your primary source for the first number. Page 3 of the closing disclosure (seller-side summary) lists every selling cost: real estate commission, title insurance the seller is paying, transfer taxes, attorney fees, recording fees, settlement charges, and prorated property taxes. Subtract all of those seller costs from the gross sale price to arrive at your amount realized.

A common error is using the 1099-S gross proceeds as the Form 4797 line 20 entry and then separately deducting selling costs — this is incorrect; line 20 (selling price) should match the gross proceeds, and selling costs are part of your adjusted basis computation or reduce your amount realized. The IRS reconciles Form 4797 to the 1099-S gross proceeds, so entering the gross proceeds on line 20 and then subtracting selling costs as part of cost/basis on line 21 achieves the correct result without a mismatch. Review the Closing Disclosure alongside the 1099-S before entering data in tax software — if the two figures differ (for example, because the settlement agent included real estate taxes in gross proceeds), attach a reconciliation statement to your return.

Frequently asked questions

What form reports depreciation recapture?

IRS Form 4797, Part III, for real estate; the amounts then flow to Schedule D and the tax worksheets.

Is recapture on Schedule D?

The sale starts on Form 4797; the long-term gain portion carries to Schedule D, while recapture is taxed via the 25% worksheet.

Which part of Form 4797 do I use for a rental sale at a gain?

Part III computes the gain and splits out the recapture for depreciable real estate. The net Section 1231 gain then carries to Part I and on to Schedule D.

How do I report an installment sale of a rental?

Use Form 6252 to spread the capital-gain portion over the years you receive payments, but report the Section 1250 depreciation recapture in full in the year of sale.

What if I never claimed depreciation on my rental?

You still owe recapture on depreciation 'allowed or allowable.' File Form 3115 to catch up the missed depreciation in the current year so you get the deductions instead of only the tax bill.

If I claimed 100% bonus depreciation on personal property, is all the gain ordinary income on sale?

Up to the amount of depreciation claimed. Section 1245 recapture equals the lesser of depreciation allowed or allowable and the gain on those assets. If the gain exceeds the depreciation claimed, the excess is Section 1231 long-term capital gain. If the gain is less than the depreciation claimed, all of the gain is ordinary income.

Does the state follow the federal Form 4797 gain calculation?

Not always. States that decouple from federal bonus depreciation — California, New Jersey, Illinois, and others — require a separate state depreciation schedule with a higher adjusted basis, producing a lower state gain. Keep parallel state depreciation records from the year you place the property in service.

Sources

Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.

Related