Your operation qualifies as a farm for tax purposes if you cultivate land or raise and harvest an agricultural or horticultural commodity for profit, whether you own the land or work it as a tenant. That definition, set out in IRS Publication 225, reaches livestock, dairy, poultry, fish, fruit, and truck farms, along with plantations, ranches, ranges, orchards, groves, and nurseries growing ornamental plants.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide Meeting it opens the door to tax rules available almost nowhere else in the code. Failing to meet it, or meeting it but running the operation as a hobby, can mean paying tax on every dollar of income while deducting almost nothing.
What the IRS Counts as a Farm
The common thread across the definition is that you’re physically producing an agricultural or horticultural commodity, not buying and reselling one. Row crops, cattle, and dairy are the obvious cases. The scope also picks up activities people don’t always associate with farming: raising fish in managed ponds or tanks, operating a sod farm, growing ornamental trees in a nursery, and pasturing someone else’s livestock for a fee. Government payments tied to production, including conservation payments, livestock indemnity, and forage disaster assistance, are farm income too.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide
You don’t need to own the land. A tenant farmer who cultivates leased ground for profit meets the definition the same way an owner does.
Activities That Don’t Qualify
The definition covers the production phase and stops there. Processing agricultural products after harvest is not farming, even when you grew the raw materials yourself. Running a creamery, cannery, or similar processing facility falls outside, with a narrow exception for processing that’s minor or incidental to your main production activity.
Forestry and timber operations are explicitly excluded. If your only activity is growing or harvesting timber, you’re not in the business of farming. Standing timber held as an investment is a capital asset, with any gain or loss reported as a capital transaction. Christmas tree growers occupy a middle ground: planting and stump-culture costs for trees sold at more than six years old must be capitalized, but shearing, pruning, and other ongoing maintenance is a deductible business expense.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide
Renting farmland to someone else is not farming. Cash rent is reported on Schedule E as rental income. Crop-share arrangements split the difference: if you take a share of the crops or livestock and materially participate in production or management, the income is farm income on Schedule F and is subject to self-employment tax. Without material participation, crop-share rent goes on Form 4835 and stays outside self-employment tax.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide
Business or Hobby: The Test That Decides Whether Qualifying Matters
Fitting the definition of farming is necessary but not enough. To deduct farm losses against your wages, investment income, or other earnings, the operation has to be a trade or business run with genuine intent to make money. IRC Section 183 disallows deductions for activities not engaged in for profit, and the IRS applies it aggressively to farms that lose money year after year, especially those that look like a lifestyle rather than a livelihood.2Office of the Law Revision Counsel. 26 USC 183 – Activities Not Engaged in for Profit
The Nine-Factor Profit Test
Treasury Regulation 1.183-2 lists nine factors the IRS weighs to decide whether an activity is engaged in for profit. No single one controls; the analysis turns on the full picture.3GovInfo. 26 CFR 1.183-2 – Activity Not Engaged in for Profit
- Whether the activity is carried on in a businesslike manner, with accurate books, records, and adjustments to improve profitability.
- Your expertise, or your reliance on advisors with expertise.
- The time and effort you put into the operation.
- Whether the assets, particularly the land, may appreciate enough to produce an overall profit even if operations run at a loss.
- Your track record turning around similar or unrelated ventures.
- The history of income and losses from the activity.
- The amount of occasional profits, if any, relative to the capital invested.
- Your financial status, since substantial income from other sources that farm losses conveniently offset invites closer scrutiny.
- Elements of personal pleasure or recreation, which raise the bar on horse farms and similar operations more than on grain or hog operations.
The recordkeeping factor is where most hobby challenges are won or lost. The IRS expects invoices, receipts, bank statements, canceled checks, and records tracking when assets were acquired, how they’re depreciated, and how they were disposed of.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide A shoebox of receipts is not businesslike operation. A chart of accounts reconciled monthly is.
The Three-of-Five Safe Harbor
If your farm shows a profit in at least three of the last five consecutive tax years, the IRS presumes the activity is engaged in for profit. That presumption shifts the burden onto the IRS to prove you lack a profit motive, rather than leaving you to prove you have one.2Office of the Law Revision Counsel. 26 USC 183 – Activities Not Engaged in for Profit
Horse operations get a longer runway. If the activity consists mainly of breeding, training, showing, or racing horses, the presumption applies if you show a profit in two of the last seven consecutive tax years.2Office of the Law Revision Counsel. 26 USC 183 – Activities Not Engaged in for Profit The IRS targets horse farms more aggressively than most other agricultural operations, so timing profitable years around this window matters.
Missing the presumption doesn’t automatically make your farm a hobby. It just means you carry the burden of proving profit motive through the nine factors. Plenty of legitimate farms in start-up or expansion phases don’t hit three profitable years out of five.
What a Hobby Classification Costs
The consequences are severe, and they’ve gotten worse. Under IRC 183(b), you still report all gross income from the activity. Your deductions are limited to items allowable regardless of profit motive, like real estate taxes, plus other farm expenses only to the extent of farm income. Nothing offsets your wages or investment returns.2Office of the Law Revision Counsel. 26 USC 183 – Activities Not Engaged in for Profit
Those limited deductions historically fell into the miscellaneous itemized deductions subject to a 2% floor. The Tax Cuts and Jobs Act suspended that category starting in 2018, and the suspension has since been made permanent. In practice, a hobby farm’s feed, seed, fuel, and equipment costs are now completely nondeductible. You pay tax on the income and get nothing back for expenses. The gap between farm-as-business and farm-as-hobby has never been wider, which is why the qualification question deserves the attention it gets.
Where Farm Income Gets Reported
A sole proprietor or single-member LLC farming for profit reports income and expenses on Schedule F, attached to Form 1040. Income includes sales of livestock, produce, grains, cooperative distributions, and government agricultural payments. Deductible expenses include feed, seed, fertilizer, fuel, repairs, insurance, and hired labor. Net profit or loss flows into your adjusted gross income.4Internal Revenue Service. Instructions for Schedule F (Form 1040)
If you own farmland but don’t materially participate, and you receive crop or livestock shares from a tenant, you report on Form 4835. Cash rent goes on Schedule E. The distinction matters because Schedule F income is subject to self-employment tax while Form 4835 income is not.5Internal Revenue Service. Form 4835 – Farm Rental Income and Expenses
Schedule F net profit is subject to self-employment tax once net farm earnings reach $400, calculated on Schedule SE.6Internal Revenue Service. Instructions for Schedule SE (Form 1040)
The Tax Rules You Unlock by Qualifying
Once the operation clears both hurdles, meeting the definition and running as a business, the code opens up in ways that don’t apply to most other trades.
The Cash Method and Inventory Exemption
Most businesses above a revenue threshold must use accrual accounting. Farmers generally have the option to use the cash method, reporting income when received and deducting expenses when paid. This is where end-of-year tax planning happens: if a large payment is coming, you can time purchases of supplies or equipment to offset it in the same year.
Certain C corporations and partnerships with corporate partners engaged in farming are pushed onto accrual by IRC 447, though S corporations and C corporations meeting the gross receipts test under IRC 448(c) are exempt.7Office of the Law Revision Counsel. 26 USC 447 – Method of Accounting for Corporations Engaged in Farming Most family farms qualify for cash-method treatment without difficulty. Cash-method farmers are also not required to maintain inventories of livestock, produce, or supplies, which strips a significant layer of year-end bookkeeping out of the equation.
Prepaid Farm Supplies
Cash-method farmers can prepay feed, fertilizer, seed, and similar supplies and deduct them in the year of payment, with a ceiling: the prepaid deduction cannot exceed 50% of your other deductible farm expenses for the year. Any excess carries forward and comes off in the year you actually use the supplies.8Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide – Section: Prepaid Farm Supplies Two exceptions lift the ceiling: unusual circumstances that changed your business operations, or prepaid amounts under 50% of other deductible expenses across the preceding three years. Farmers who don’t routinely prepay large amounts fall into the second exception without any special planning.
Uniform Capitalization Election
Under the general rules, pre-productive-period costs for crops and animals, such as raising dairy heifers or developing an orchard before first harvest, must be capitalized and recovered over time. Small farmers can elect out of the uniform capitalization rules and deduct those costs as paid. The election is available to taxpayers not required to use the accrual method.9Office of the Law Revision Counsel. 26 USC 263A – Capitalization and Inclusion in Inventory Costs of Certain Expenses
Section 179 and Bonus Depreciation
Farm equipment, buildings, fencing, drainage tile, and other capital assets are recovered through depreciation, with two accelerated options that make first-year write-offs powerful. The Section 179 deduction lets you expense the full cost of qualifying property in the year placed in service. For 2025, the Section 179 maximum is $2,500,000, with a phase-out beginning when total qualifying property placed in service exceeds $4,000,000, both indexed annually.1Internal Revenue Service. Publication 225 (2025), Farmer’s Tax Guide Qualifying property includes tractors, combines, grain bins, livestock handling equipment, and single-purpose agricultural structures like greenhouses and confinement buildings.
Bonus depreciation is a separate first-year deduction that stacks with or substitutes for Section 179. Under the TCJA phase-down, bonus depreciation drops to 20% for property placed in service in 2026 and reaches 0% in 2027. Section 179 is the more durable tool for full first-year expensing as long as you stay within the dollar limits.
Farm Income Averaging
Farm income swings hard year to year. Schedule J lets you spread the tax on a high-income year across the three preceding years, potentially taxing that income at lower brackets. You choose how much current-year farm income to elect, one-third of that amount is added to taxable income in each of the three base years, and the IRS recalculates each base year’s tax with the added income to arrive at your tax on the elected farm income.10Internal Revenue Service. Instructions for Schedule J (Form 1040)
You don’t have to have been farming during the base years to use Schedule J. Elected farm income includes Schedule F net profit, gains from selling farm equipment used substantially in the business, and crop-share rental income from Form 4835. It does not include gains from selling farmland or development rights.10Internal Revenue Service. Instructions for Schedule J (Form 1040)
Two-Year Loss Carryback
Most businesses that generate a net operating loss can only carry it forward. Farmers get an exception: a farming loss can be carried back two years, generating a refund for taxes already paid in those prior years.11Office of the Law Revision Counsel. 26 USC 172 – Net Operating Loss Deduction
A “farming loss” for this purpose is the smaller of the net operating loss you’d have counting only farm-related income and deductions, or your total net operating loss for the year. The carryback is especially useful after a bad weather or disease year, because it converts the loss into cash through an amended return. You can elect to waive the carryback and carry the loss forward, but that election is irrevocable once made.11Office of the Law Revision Counsel. 26 USC 172 – Net Operating Loss Deduction
The Estimated Tax Break
Most self-employed taxpayers make quarterly estimated payments or face an underpayment penalty. Farmers get a better deal. If at least two-thirds of your gross income comes from farming in either the current or preceding tax year, you can skip estimated payments entirely by filing your return and paying all tax owed by March 1 of the following year. Alternatively, you can make a single estimated payment by January 15 and file by the normal April deadline.12Internal Revenue Service. Topic No. 416, Farming and Fishing Income
The two-thirds test is worth checking each year. It’s the same threshold that decides whether the farm rules apply to your estimated tax situation at all, and it can shift as off-farm income grows or the farm’s revenue changes.