Can I Have Livestock on My Property in Pennsylvania?

Yes, you can have livestock on your property in Pennsylvania if your local zoning classification allows it. Whether it does depends almost entirely on your municipality: agricultural and rural-residential zones generally permit farm animals, while residential zones in boroughs and cities often prohibit them or allow only limited numbers of small animals. Beyond zoning, you’ll need to follow local ordinances on setbacks and animal counts, state rules on manure and water quality, and Pennsylvania Department of Agriculture requirements for animal identification and disease reporting.

Check Your Zoning First

Pennsylvania’s Municipalities Planning Code lets each local government create zoning districts and decide what land uses are allowed in each one.1Pennsylvania General Assembly. Pennsylvania Municipalities Planning Code Your parcel’s classification controls whether livestock is permitted at all. The zoning office at your municipality, the municipal website, or the county planning commission can tell you which district you’re in.

Agricultural and rural-residential zones almost always permit livestock. The MPC also prevents zoning ordinances from restricting agricultural operations, or expansions of them, in geographic areas where agriculture has historically been the primary land use.2Pennsylvania General Assembly. Pennsylvania Municipalities Planning Code – Section 603 A municipality cannot zone farming out of long-standing agricultural areas.

That said, even agricultural zones usually impose density limits — a minimum acreage per animal, a cap on total animals, or different allowances for large and small species. These numbers vary dramatically from one township to the next, so the only reliable step is reading your own ordinance.

If Zoning Does Not Allow Livestock

You have two routes to ask for permission, and they are not interchangeable.

A conditional use is decided by the municipality’s governing body, like a board of supervisors or township council. It only works if “keeping of livestock” is already listed as a conditional use in your zone’s ordinance. You have to show your proposed use meets the ordinance’s criteria and won’t harm public health, safety, or welfare, and the governing body can attach conditions on animal counts, fencing, or hours.3PA Department of Community & Economic Development. Special Exceptions, Conditional Uses and Variances – Planning Series 7

A variance is harder. The zoning hearing board decides it, and the legal standard requires unique physical conditions of your property, such as an unusual shape or topography, that make strict application of the zoning rules unreasonable. You must also show you did not create the hardship and that the variance won’t change the neighborhood’s character.3PA Department of Community & Economic Development. Special Exceptions, Conditional Uses and Variances – Planning Series 7 Wanting to raise chickens is not a hardship. Boards deny variances often.

Deed Restrictions and HOA Rules

Permissive zoning doesn’t guarantee you can keep animals. If your property sits in a homeowners association or your deed contains restrictive covenants, those private documents may prohibit livestock outright and are enforceable in civil court. An HOA can fine you or seek an order requiring the animals removed. Your municipal zoning office will not know about these private restrictions, so review your deed and any HOA documents before you buy animals.

Local Ordinance Details: Setbacks, Numbers, Nuisance

Once zoning gives you a yes, the municipal ordinance tells you how far structures must sit from property lines, how many animals you can keep, and how to handle waste. Rules differ sharply between neighboring municipalities.

Setbacks are the most common pinch point. Some townships require livestock housing to be at least 100 feet from all property lines and 25 feet from public roads, with stricter distances of 300 feet or more near homes or in areas governed by nutrient management regulations.4Office of Attorney General. Letter Regarding Woodward Township Setbacks and NMA Preemption On a small lot, setbacks alone can make livestock impractical even when zoning permits them.

Expect noise and nuisance limits too. Roosters are frequently banned in residential areas even when hens are permitted. Municipalities may cap poultry by lot size, require enclosed coops, mandate fencing that keeps animals away from property lines, or require regular manure removal. Violations usually start with a warning and escalate to citations and fines.

Right to Farm Protection

Pennsylvania’s Right to Farm Act protects qualifying agricultural operations from private nuisance lawsuits brought by neighbors complaining about odors or noise. To qualify, the operation generally must have been established before surrounding non-agricultural uses moved in and must follow accepted agricultural practices. The Act does not override zoning, building codes, or environmental rules, and it does not apply to operations violating environmental or public health regulations.5Commonwealth of Pennsylvania. Right to Farm Law A longstanding farm near a new subdivision is protected. A new backyard setup in an established residential neighborhood is not.

Building a Barn, Coop, or Shelter

Any structure you build to house livestock is subject to Pennsylvania’s Uniform Construction Code.6Legal Information Institute (LII). Pennsylvania Code 34 – 401.1 – Definitions Smaller structures may qualify for simplified permits depending on your municipality, but larger barns and enclosed feeding areas often require engineered plans, inspections, and compliance with local setback rules. Talk to your municipal code enforcement office before you build.

When State Environmental Rules Kick In

Larger operations trigger additional state oversight under the Nutrient Management Act (Act 38). An operation becomes a Concentrated Animal Operation (CAO) when animal density exceeds two animal equivalent units per acre on an annualized basis and the operation has at least eight AEUs total. One AEU equals 1,000 pounds of live animal weight.7Commonwealth of Pennsylvania. Concentrated Animal Feeding Operations A single horse or cow is roughly one AEU. A dozen 150-pound goats total about 1.8 AEUs.

A CAO must develop and implement a nutrient management plan approved by the county conservation district before beginning manure operations. A Concentrated Animal Feeding Operation (CAFO) designation applies when a CAO exceeds 300 AEUs, any operation exceeds 1,000 AEUs, or the operation meets the federal large CAFO definition.7Commonwealth of Pennsylvania. Concentrated Animal Feeding Operations CAFOs must get an NPDES permit from the Department of Environmental Protection.8Cornell Law School. Pennsylvania Code 25 – 92a.29 – CAFO

Most backyard owners never reach these thresholds. But if you’re keeping several horses on a few acres, run the AEU math before adding more.

A separate rule covers soil disturbance. If your operation disturbs 5,000 square feet or more of soil, including heavy-use areas worn down to bare ground, you need a written Agricultural Erosion and Sediment Control Plan. Smaller operations still have to use best management practices to prevent accelerated erosion, but they don’t need a formal written plan.9Commonwealth of Pennsylvania. Agriculture Erosion and Sediment Control

Manure and Water Quality Rules Apply at Any Size

Even a few animals produce enough waste to trigger Pennsylvania’s pollution control rules. Under 25 Pa. Code § 91.36, no agricultural operation may discharge pollutants into state waters without a permit, which includes manure runoff reaching a creek, pond, or drainage ditch.

Manure storage facilities must be designed and maintained to prevent discharges during storms up to and including a 25-year, 24-hour rainfall event. For CAOs and CAFOs, manure cannot be mechanically spread within 100 feet of surface water unless a vegetated buffer of at least 35 feet is maintained between the application area and the waterway.10Pennsylvania Code and Bulletin. Pennsylvania Code 25 – 91.36 – Pollution Control and Prevention at Agricultural Operations DEP can act against any operation found violating these requirements, no matter the size. Composting, regular removal, and keeping animals back from stream banks are legal requirements, not just good practice.

Animal Identification and Disease Reporting

The Pennsylvania Department of Agriculture has broad authority over livestock health under the Domestic Animal Law. A veterinarian who finds a dangerous transmissible disease in your animals must report it immediately, and the department can quarantine infected, exposed, or suspected animals anywhere in the state, which means you cannot move, sell, or transport them until the quarantine lifts.11Commonwealth of Pennsylvania. Pennsylvania Domestic Animal Law – 3 Pa.C.S. 2301-2390

Owners can register unique identification marks, tattoos, brands, or microchips with the department. The recording fee is $25, and the registration must be renewed every five years for $5. Failure to pay by July 1 of the renewal year forfeits the identification on record.11Commonwealth of Pennsylvania. Pennsylvania Domestic Animal Law – 3 Pa.C.S. 2301-2390

Some species carry additional federal traceability requirements. All sheep and goats born in Pennsylvania must have an approved form of official individual identification before being transported off their birth premises. Swine shown at state-sponsored exhibitions require RFID tags. The state also runs a federal premises identification number program, which assigns a unique code to your property and is a prerequisite for buying official USDA identification tags.12U.S. Department of Agriculture – APHIS. Advancing Animal Disease Traceability Road Map for Pennsylvania

Animal Welfare Obligations

Pennsylvania’s animal cruelty law applies to livestock the same way it applies to pets. Under Title 18, willfully and maliciously killing, maiming, or disfiguring another person’s domestic animal is a second-degree misdemeanor.13Pennsylvania General Assembly. Pennsylvania Code Title 18 – Chapter 55 – Section 5511 A separate neglect provision makes it a crime to fail to provide adequate food, water, and shelter for any animal in your care.14Pennsylvania General Assembly. Pennsylvania Code Title 18 – Section 5532 – Neglect of Animal

Livestock neglect cases typically involve inadequate shelter in bad weather, no access to clean water, or visibly poor body condition. Humane officers and local police can investigate complaints and file charges, and convictions can bring fines, jail time, and forfeiture of the animals.

If Your Animals Get Loose or a Neighbor Complains

When livestock escapes and damages a neighbor’s property, Pennsylvania law doesn’t wait for a lawsuit. Under Title 44, Section 7159, the person who finds the trespassing animals notifies the township, borough, or ward constable, who impounds them. The owner can get the animals back by paying the damage, care costs, and constable’s fee within four days; otherwise the matter goes to a magisterial district judge, who appoints three local landowners to appraise the damage, and the animals can ultimately be sold to cover the costs.15Pennsylvania General Assembly. Pennsylvania Code Title 44 – Section 7159 Boarding and care fees accumulate daily, so the financial exposure grows fast.

Enforcement in general is split among several agencies. Zoning officers handle land-use violations. Municipal code enforcement handles ordinance breaches like fencing or waste problems. DEP handles water quality and manure discharges. Humane officers and police handle welfare complaints. Most investigations begin with a neighbor’s call.

For zoning violations, the MPC caps civil penalties at $500 per day of continuing violation, and officials typically issue a notice of violation first with time to fix the problem before fines start. The City of Erie, for example, gives a seven-day warning to remove prohibited farm animals before issuing citations.16City of Erie. Animal Enforcement Environmental violations are more serious: DEP can require you to develop and implement a nutrient management plan for abatement, pursue civil penalties under the Clean Streams Law, or in bad cases get a court order shutting the operation down until the damage is remediated.10Pennsylvania Code and Bulletin. Pennsylvania Code 25 – 91.36 – Pollution Control and Prevention at Agricultural Operations

Small operations are not invisible to regulators. One persistent neighbor complaint can bring inspectors from multiple agencies, and once that process starts, every deficiency gets documented. Read your zoning ordinance, your deed, and your HOA documents before you buy the first animal, and keep records of your manure management and animal identification once you do.