Income Tax

Deducting Farm Repairs and Maintenance

Learn how to tell a deductible repair from a capital improvement on farm buildings, fences, machinery and tile, with examples, records and planning tips.

Updated November 20, 2026 · 5 min read · Farm Income Tax Fundamentals

Ordinary repairs and maintenance on farm property are generally deductible in the year paid, under the cash method, while improvements that add value, extend useful life or adapt the property to a new use must be capitalized and depreciated. The line between the two is the most common source of confusion for farmers fixing barns, fences, tractors and drainage systems.

The distinction matters because a repair can reduce taxable income immediately, while an improvement is recovered over years. The IRS uses tests about betterment, restoration and adaptation. This guide explains those tests in plain language with farm examples. It is general information, not tax advice, and rules and safe harbors are updated, so check IRS Publication 225 and with a preparer.

Repairs versus improvements

A repair keeps property in ordinary working condition without materially adding to its value or prolonging its life. An improvement does one of three things: it betters the property by fixing a defect or materially increasing capacity or quality, restores it after a major breakdown or after you have already claimed a loss on it, or adapts it to a new or different use. Several smaller repairs done together as part of a larger project may be treated as an improvement as a whole.

ExampleUsually treated as
Patching a barn roofRepair
Replacing the whole roof with a higher-capacity structureImprovement
Changing tractor oil and filtersRepair
Rebuilding a combine engine to extend lifePossibly improvement
Replacing a few fence postsRepair
Building a new fence lineImprovement
Fixing a broken drainage tileRepair
Installing a new tile systemImprovement

Machinery maintenance

Routine servicing, parts and labor to keep a tractor, sprayer or combine running are normally deductible. Major overhauls that restore a machine after it is worn out or significantly increase its life may need capitalization. Keep service invoices that describe the work. If equipment was bought used and needs repairs to be put into service, those costs may be part of the asset's basis rather than a repair. See depreciation rules for farm equipment.

Buildings, fences and drainage

Painting, patching, replacing a few boards, repairing gutters and fixing doors are typical repairs. Rebuilding a barn, adding stalls or converting a shop to a dairy parlor are improvements. Fences and drainage have mixed treatment. Conservation structures such as terraces can sometimes be deducted as conservation expenses, discussed in farm tax deductions you might be missing. Always keep before and after photos and contractor descriptions.

Safe harbors that may help

The IRS offers safe harbor elections that let small taxpayers deduct qualifying building repairs and improvements up to limits set by IRS rules, and a de minimis safe harbor for small purchases under a per-item threshold set by the IRS, if you meet requirements and make the election on your return. The dollar thresholds are set by regulation and can change; check the eCFR and IRS guidance before relying on them. Your accounting policy should be written down and applied consistently.

A worked example

A hypothetical 280-acre dairy farm spends 3,600 dollars patching a roof, 2,200 dollars repairing milking equipment, 18,000 dollars replacing an entire barn floor with a new design that adds capacity, and 1,400 dollars for fence repairs. Repairs total 3,600 plus 2,200 plus 1,400, which is 7,200 dollars, deductible when paid under the cash method. The 18,000 dollar floor is an improvement and would be depreciated over the recovery period for that building class rather than deducted immediately. The farm's total outlay is 25,200 dollars, but only 7,200 dollars is deducted right away.

Documentation and timing

Keep invoices, work orders, photos and notes on why work was done. For larger jobs, a contractor's description of scope helps decide whether it was a repair. Timing matters for cash farmers: you can often accelerate repairs into this year if the work is done and paid for. However, do not prepay for work not yet done. Check how to deduct farm operating expenses and farm tax planning before year end.

Insurance proceeds and casualty repairs

If repairs follow a storm, fire or flood, insurance reimbursements may affect what is deductible and whether a casualty loss applies. See how weather disasters affect farm taxes and talk with your insurance agent. If your barn still leans like a tired cow, the tall tales at farm jokes at FARM.FM cover that situation well, though the IRS prefers receipts.

Keeping a repair file and avoiding disputes

A simple repair file prevents arguments later. For each significant job, keep the estimate, invoice, a short note on what was wrong and what was done, and photos before and after. For machinery, save the service report showing parts and labor. If a contractor bundles repairs and improvements on one invoice, ask for an itemized breakdown so each part can be treated correctly. Do the same for tenants and landlords: lease terms may say who pays for fence, roof and equipment repairs, and a landlord's repair is deducted by the landlord, not the tenant. See Publication 225 for more on rented property and depreciation guidance in Publication 946. Review related examples in operating expense deductions. An old barn that needs everything is a tax puzzle of its own, and the poetry at the poetry at FARM.FM honors such buildings kindly.

A final planning point is timing. Because a cash-method farm deducts repairs when paid, scheduling routine maintenance before year end can match expenses to a high-income year, while delaying it can help in a low-income year. Do not stretch the idea: work not yet performed generally cannot be deducted, and a repair that is part of a bigger project may have to be capitalized. Write a short maintenance plan each fall listing needed jobs, estimated costs and likely tax treatment, then review it with your preparer.

When to call a professional

A CPA or enrolled agent can classify large projects and apply safe harbors. A contractor can describe the work in plain terms. An insurance agent can address coverage questions. Bring invoices, photos, before and after descriptions, asset lists and your last return.

Frequently asked questions

Is paint a repair?

Painting to maintain a building is typically a repair, but painting as part of a major renovation may be capitalized.

Can I deduct my own labor?

No. You cannot deduct the value of your own labor, but you can deduct materials and hired labor.

What about repairs to rental property?

Repairs to rented farm property you own are generally deductible against rental income, using similar rules.

What if I am unsure?

When in doubt, document the work and ask your preparer. Consistent treatment each year is important.

Farm Home Office Deduction RulesPrevious articleFarm Fuel Tax Credits and RefundsNext article

Keep learning

Farm tax and legal rules change and differ by state. Confirm current details with a licensed attorney, a CPA or enrolled agent, and the agencies involved.

Browse the state directory for tax agencies, business filing offices, lawyer referral, labor and environmental agencies, mediation and Extension contacts near you.

General information only, not legal, tax or financial advice. No attorney-client or accountant-client relationship is created by reading this article. Facts, state law and tax rules change, so verify before you act.