IRS Form 4797, Reporting Gain: If there is any taxable gain that needs to be recognized, it will be documented on either IRS Form 4797 or Schedule D, depending on the nature of the relinquished property. It is imperative to allocate your taxable gain among different categories, including ordinary income depreciation recapture, unrecaptured Section 1250 taxable gain, Section 1231 taxable gain, and capital gain.