Skip to content

Federal housing law

Form 4797 — Sales of Business Property

Federal housing law as enacted — verbatim and citable.

Edition
2026-10-03
Last updated
2026-10-04
Jurisdiction
United States

Official source: IRS Forms, Instructions & Publications (https://www.irs.gov/pub/irs-pdf/f4797.pdf), retrieved 2026-10-03. U.S. Government work (17 U.S.C. § 105).


Form

4797

Department of the Treasury Internal Revenue Service

Exceptions & meaning →

Sales of Business Property

(Also Involuntary Conversions and Recapture Amounts

Under Sections 179 and 280F(b)(2))

OMB No. 1545-0184

Exceptions & meaning →

2025 — Attachment Sequence No

Attachment Sequence No. 27

Attach to your tax return. Go to www.irs.gov/Form4797 for instructions and the latest information.

Name(s) shown on return Identifying number

1a Enter the gross proceeds from sales or exchanges reported to you for 2025 on Form(s) 1099-B or 1099-S (or substitute statement) that you are including on line 2, 10, or 20. See instructions . . . . . . . . . . 1a

b Enter the total amount of gain that you are including on lines 2, 10, and 24 due to the partial dispositions of MACRS assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1b

c Enter the total amount of loss that you are including on lines 2 and 10 due to the partial dispositions of MACRS assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1c Part I Sales or Exchanges of Property Used in a Trade or Business and Involuntary Conversions From Other Than Casualty or Theft—Most Property Held More Than 1 Year (see instructions)

Form 4797 (2025) Page 2 Part III Gain From Disposition of Property Under Sections 1245, 1250, 1252, 1254, and 1255 (see instructions)

19 (a) Description of section 1245, 1250, 1252, 1254, or 1255 property: (b) Date acquired
(mo., day, yr.)
(c) Date sold
(mo., day, yr.)
A A A A
B B B B
C C C C
D D D D
These columns relate to the properties on lines 19A through 19D. These columns relate to the properties on lines 19A through 19D. Property A Property B Property C Property D
20
Gross sales price (Note:See line 1a before completing.) .
21
Cost or other basis plus expense of sale .
.
.
.
.
22
Depreciation (or depletion) allowed or allowable
.
.
23
Adjusted basis. Subtract line 22 from line 21.
.
.
.
24
Total gain. Subtract line 23 from line 20 .
.
.
.
.
20
20
Gross sales price (Note:See line 1a before completing.) .
21
Cost or other basis plus expense of sale .
.
.
.
.
22
Depreciation (or depletion) allowed or allowable
.
.
23
Adjusted basis. Subtract line 22 from line 21.
.
.
.
24
Total gain. Subtract line 23 from line 20 .
.
.
.
.
21
20
Gross sales price (Note:See line 1a before completing.) .
21
Cost or other basis plus expense of sale .
.
.
.
.
22
Depreciation (or depletion) allowed or allowable
.
.
23
Adjusted basis. Subtract line 22 from line 21.
.
.
.
24
Total gain. Subtract line 23 from line 20 .
.
.
.
.
22
20
Gross sales price (Note:See line 1a before completing.) .
21
Cost or other basis plus expense of sale .
.
.
.
.
22
Depreciation (or depletion) allowed or allowable
.
.
23
Adjusted basis. Subtract line 22 from line 21.
.
.
.
24
Total gain. Subtract line 23 from line 20 .
.
.
.
.
23
20
Gross sales price (Note:See line 1a before completing.) .
21
Cost or other basis plus expense of sale .
.
.
.
.
22
Depreciation (or depletion) allowed or allowable
.
.
23
Adjusted basis. Subtract line 22 from line 21.
.
.
.
24
Total gain. Subtract line 23 from line 20 .
.
.
.
.
24
25
If section 1245 property:
a
Depreciation allowed or allowable from line 22 .
.
.
b
Enter thesmallerof line 24 or 25a
.
.
.
.
.
.
25a
25
If section 1245 property:
a
Depreciation allowed or allowable from line 22 .
.
.
b
Enter thesmallerof line 24 or 25a
.
.
.
.
.
.
25b
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26a
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26b
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26c
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26d
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26e
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26f
26
If section 1250 property:If straight line depreciation was used, enter
-0- on line 26g, except for a corporation subject to section 291.
a
Additional depreciation after 1975. See instructions
.
b
Applicable percentage multiplied by the
smaller
of line
24 or line 26a. See instructions
.
.
.
.
.
.
.
c
Subtract line 26a from line 24. If residential rental property
orline 24 isn’t more than line 26a, skip lines 26d and 26e
d
Additional depreciation after 1969 and before 1976
.
e
Enter thesmallerof line 26c or 26d
.
.
.
.
.
.
f
Section 291 amount (corporations only) .
.
.
.
.
g
Add lines 26b, 26e, and 26f
.
.
.
.
.
.
.
.
26g
27
If section 1252 property:Skip this section if you didn’t
dispose of farmland or if this form is being completed
for a partnership.
a
Soil, water, and land clearing expenses
.
.
.
.
.
b
Line 27a multiplied by applicable percentage. See instructions
c
Enter the
smaller
of line 24 or 27b
.
.
.
.
.
.
27a
27
If section 1252 property:Skip this section if you didn’t
dispose of farmland or if this form is being completed
for a partnership.
a
Soil, water, and land clearing expenses
.
.
.
.
.
b
Line 27a multiplied by applicable percentage. See instructions
c
Enter the
smaller
of line 24 or 27b
.
.
.
.
.
.
27b
27
If section 1252 property:Skip this section if you didn’t
dispose of farmland or if this form is being completed
for a partnership.
a
Soil, water, and land clearing expenses
.
.
.
.
.
b
Line 27a multiplied by applicable percentage. See instructions
c
Enter the
smaller
of line 24 or 27b
.
.
.
.
.
.
27c
28
If section 1254 property:
a
Intangible drilling and development costs, expenditures
for development of mines and other natural deposits,
mining exploration costs, and depletion. See instructions
b
Enter thesmallerof line 24 or 28a
.
.
.
.
.
.
28a
28
If section 1254 property:
a
Intangible drilling and development costs, expenditures
for development of mines and other natural deposits,
mining exploration costs, and depletion. See instructions
b
Enter thesmallerof line 24 or 28a
.
.
.
.
.
.
28b
29
If section 1255 property:
a
Applicable percentage of payments excluded from
income under section 126. See instructions .
.
.
.
b
Enter thesmallerof line 24 or 29a. See instructions
.
29a
29
If section 1255 property:
a
Applicable percentage of payments excluded from
income under section 126. See instructions .
.
.
.
b
Enter thesmallerof line 24 or 29a. See instructions
.
29b

30 Total gains for all properties. Add property columns A through D, line 24 . . . . . . . . . . . . . 30 31 Add property columns A through D, lines 25b, 26g, 27c, 28b, and 29b. Enter here and on line 13 . . . . . . 31

32 Subtract line 31 from line 30. Enter the portion from casualty or theft on Form 4684, line 33. Enter the portion from other than casualty or theft on Form 4797, line 6 . . . . . . . . . . . . . . . . . . . . 32 Part IV Recapture Amounts Under Sections 179 and 280F(b)(2) When Business Use Drops to 50% or Less (see instructions)

(a) Section

(b) Section 179 280F(b)(2)

280F(b)(2)

33 Section 179 expense deduction or depreciation allowable in prior years . . . . . . . 33 34 Recomputed depreciation. See instructions . . . . . . . . . . . . . . . . 34 35 Recapture amount. Subtract line 34 from line 33. See the instructions for where to report . . 35

Form 4797 (2025)

Exceptions & meaning →

GoCodebook provides public access, search, citation, multilingual explanation, and practical interpretation of legally adopted building regulations. It is not a substitute for the official ICC or California code publications.