Livestock Law

Livestock Facility Siting Laws

Where a barn, feedlot, poultry house or dairy may be built is controlled by zoning, setbacks, permits, environmental rules and sometimes state siting laws, so site selection should come before design or financing.

Updated November 20, 2026 · 5 min read · Livestock and Animal Law

Siting a livestock facility is a legal question before it is an engineering one. Local zoning decides whether the use is allowed at all, setback rules decide how far buildings and manure storage must be from homes, wells, streams and property lines, and environmental permits may apply once the animal count passes certain thresholds. In some states, a state siting law or a county livestock ordinance adds a layered review with public notice and sometimes public hearings.

The best strategy is to check the rules before buying land, signing a contract with an integrator, ordering buildings or applying for a loan. This guide describes the typical types of rules and a due diligence checklist. State and local law vary enormously, so confirm details with your county zoning office, state agriculture and environmental agencies, and a local attorney.

The main kinds of siting rules

Type of ruleWhat it controlsWho enforces
ZoningWhether livestock use is permitted, conditional or prohibited in a districtCounty or municipality
Setbacks and separation distancesDistance from homes, schools, wells, water bodies, roads and property linesLocal and state agencies
State siting lawsStandards or approval for larger operations in some statesState agency or county under state law
Environmental permitsManure storage, discharge, air and stormwaterState environmental agency and EPA
Building and fire codesStructures, electrical, fire safetyLocal building department
Water and drainage rulesWells, floodplain, drainage, wetlandsState and local agencies

For larger operations, read concentrated animal feeding operation rules and CAFO permit requirements.

Zoning and conditional use

Agricultural zoning often allows livestock, but not always at every scale. Some districts limit animal numbers per acre, require special permits for large operations or prohibit certain species near residential areas. A "conditional use" or "special exception" generally requires an application, notice to neighbors and a hearing, with approval conditions on odor control, lighting, traffic and landscaping. Ask the zoning office for the current ordinance and for written confirmation of what applies to your parcel. See how to legally keep farm animals in town for smaller-scale rules.

Setbacks and separation distances

Setback rules measure from buildings, manure storage, lagoons or feeding areas to features such as:

  • neighboring homes and schools
  • public roads and property lines
  • wells, streams, lakes and wetlands
  • floodplains and drainage ways

These distances differ by location and size of operation, and some are measured from the property line while others are from the residence of the neighbor. The National Agricultural Law Center tracks how states handle siting and right-to-farm questions. Do not rely on neighbors' recollections or old maps. Obtain a survey and have the setbacks plotted. See buffer zone requirements and wetland regulations and permits.

Environmental review and permits

Even where zoning allows a facility, environmental rules may require a permit before construction or operation. Manure storage design, stormwater controls and nutrient management plans are common subjects; see manure management regulations, livestock manure regulations and environmental impact assessments. The EPA agriculture page and your state environmental agency explain the permit pathways. Federal conservation programs may also impose conditions if you use cost-share funds; see the NRCS site.

Neighbors, odor and right to farm

Neighbors often raise concerns about odor, flies, noise, traffic and property values. Many states have right-to-farm laws that protect established agricultural operations from some nuisance claims, but those protections are limited: they often require that the operation was there first, follows laws and is not negligent, and a new or significantly expanded facility may not qualify. Do not assume protection. See odor complaints and resolving neighbor disputes.

Early outreach helps. Meet with neighbors, share your plans and respond to concerns before a public hearing. Good-faith design choices such as vegetative buffers, covered storage or placement of buildings away from homes can reduce disputes.

Contract growers and lenders

If a company or integrator contracts with you to raise animals, it may require specific siting and facility standards, and your lender may require permits before funding. Make your due diligence a condition in the contract or loan documents. See contract farming agreements and land contracts with contingencies. If you are buying land, add a contingency that the purchase closes only if you obtain required permits.

A due diligence checklist

  1. Confirm the parcel's zoning and whether the use is permitted, conditional or prohibited.
  2. Get the current setback ordinance and plot setbacks on a survey.
  3. Ask whether a state or county livestock siting law applies at your size.
  4. Identify wells, streams, wetlands, floodplains and drainage.
  5. Check for easements, deed restrictions and utility lines; see deed restrictions.
  6. Talk to the environmental agency about permits and plan design.
  7. Call the building department about building and fire codes.
  8. Meet neighbors early and record their concerns.
  9. Review insurance and lender requirements.
  10. Build the timeline for hearings, appeals and construction.

Worked example

A hypothetical farmer with 80 acres wants to build two new poultry houses. The local zoning allows agriculture, but the county requires a conditional use permit for poultry houses above a certain size, and the state requires a setback from streams. The farmer orders a survey and finds that the preferred building location is too close to a creek, so the houses move 150 feet farther away, and the land contract is amended to close only after the permit is issued. The permit hearing includes neighbors' odor concerns, and the farmer presents a plan with buffers and manure handling. Careful sequencing saved money that would have gone into the wrong location.

Common mistakes

  • Buying land before checking zoning
  • Ordering buildings before permits
  • Ignoring neighbors until the hearing
  • Misreading a setback measurement
  • Assuming right-to-farm will solve every dispute

Sometimes the hardest part of a new barn is the folding chairs at the public hearing; FARM.FM News and FARM.FM rural life cover how communities argue and make up over such projects.

When to call a professional

Call a land use or agricultural attorney for zoning applications and appeals. A licensed surveyor locates setbacks, and an engineer designs manure storage and drainage. Contact your county planning office and state environmental agency early. A lender and insurance agent can say what they will require. Bring parcel numbers, site plans, species and numbers, and drafts of any contracts.

Frequently asked questions

Can a county ban livestock facilities entirely?

In many states counties may regulate or limit them through zoning, though state law may restrict how far local rules can go. Ask a land use attorney about your state.

Does right to farm protect a new barn?

Often not fully. Protections frequently apply to established operations and require compliance with laws. A new or expanded facility may need to meet permits and siting standards first.

Who measures setbacks?

Usually a licensed surveyor does, and the local zoning office confirms what counts as the measuring point. Obtain written guidance.

Do I need a permit for a small number of animals?

Often local zoning and building rules still apply, even if environmental permits do not. Check with the county before you build.

How to Register a Farm Animal BusinessPrevious articleLegal Guide to Farm Animal LeasesNext 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.