Form 4797 - Sale of Rental Home and Land - Depreciable and Nondepreciable
1

If you disposed of both depreciable property and other property (for example, a building and land) in the same transaction and realized a gain, you must allocate the amount realized between the two types of property based on their respective fair market values (FMVs) to figure the part of the gain to be recaptured as ordinary income because of depreciation. The disposition of each type of property is reported separately in the appropriate part of Form 4797 (for example, for property held more than 1 year, report the sale of a building in Part III and land in Part I).

For more information, refer to the IRS Form 4797, Sale of Business Property, Instructions.