Keeping Farm Animals as Pets in Virginia: Zoning, Permits, and Property Rules
July 22, 2026
Virginia has a long agricultural tradition, and the state’s legal framework reflects that — but keeping farm animals as pets on your property is not as simple as buying a goat and calling it a companion animal. The rules that govern whether you can legally keep chickens, pigs, horses, or cattle depend on a layered system of state law, local zoning, and in some cases, private deed restrictions.
Whether you live on five rural acres in Fauquier County or a suburban lot in Fairfax, the answer to “Can I keep farm animals here?” almost always starts with your zoning classification. This guide walks you through the key rules at every level so you can make an informed decision before you bring any animals home.
Important Note: Virginia does not operate a single statewide zoning code. Each county and independent city adopts its own ordinance, which means rules that apply in one jurisdiction may be completely different in another. Always verify with your local planning or zoning office before acquiring any farm animals.
Which Farm Animals Can You Keep as Pets in Virginia
Virginia law draws a clear line between companion animals and farm animals. Under Virginia Code § 3.2-6500, “companion animal” covers domestic dogs, cats, rabbits, guinea pigs, hamsters, and similar animals — but agricultural animals are explicitly excluded from that definition. That distinction matters because farm animals fall under a separate regulatory framework entirely.
Farm animals are broadly defined as those commonly associated with a farm or performing work in an agricultural setting, and the category includes members of the equine family (horses, mules), bovine family (cows, bulls), sheep, poultry (chickens, turkeys), fowl (ducks, geese), swine (including Vietnamese pot-bellied pigs), goats, bees, ratitae such as ostriches and emus, farm-raised cervidae, llamas, and alpacas.
This is a broader list than most people expect. A miniature pig, for example, is legally classified as swine — not a household pet — which means it falls under the same livestock rules as a full-sized hog. Virginia recognizes goats as livestock under state law, classifying them alongside cattle, sheep, and swine in the state’s agricultural statutes. The same principle applies across the board: the word “pet” carries no special legal weight when your local zoning code references “livestock” or “farm animals.”
If you are interested in the full range of animals you can legally own in the state, the exotic pets legal in Virginia guide covers non-livestock species separately. For a broader look at the animals native to the Commonwealth, see this overview of animals that are native to Virginia.
Zoning and Property Requirements in Virginia
Your zoning classification is the single most important factor in determining whether you can keep farm animals on your property. Virginia does not run a single unified zoning code — each county and independent city adopts its own zoning ordinance, which means the district that permits livestock in Roanoke County may prohibit it in Fairfax County.
In agricultural and rural zones, farm animals are almost universally permitted without special approval. These areas are designed for farming and livestock keeping, and local ordinances typically list farm animals explicitly as allowed uses. If your property carries an agricultural designation, you are in the most favorable legal position for keeping animals of any kind.
Rural residential zones present more variation. Some Virginia counties permit farm animals on rural residential lots above a minimum acreage threshold — commonly one to five acres — while others require a special use permit or conditional use permit even for small numbers of animals. Standard residential zones (R-1, R-2, and similar) are the most restrictive, and many prohibit livestock entirely or limit you to backyard poultry only.
Virginia is considered one of the better states for keeping farm animals legally, and its zoning laws make it possible to do so nearly anywhere — including on the edge of town and in some urban areas. However, regular residential, commercial, and industrial zoning are the hardest zones in which to legally keep livestock.
Pro Tip: Before you purchase property with the intent to keep farm animals, look up the parcel’s zoning classification through your county’s GIS mapping tool. Many Virginia counties, including Spotsylvania, offer interactive online maps where you can enter an address and pull the zoning layer directly.
Lot Size and Number Limits for Farm Animals in Virginia
Virginia does not set a statewide cap on how many farm animals you can own. Number limits, when they exist, are set at the local level and tied directly to zoning classification and property size. Understanding both dimensions — how many animals your zone allows and how much land is required per animal — is essential before you build your herd or flock.
In agricultural zones, stocking limits are generally flexible. There is no limit to the amount of livestock you may keep on agricultural or rural residential land in Virginia. However, the owners of the animals are liable for damages caused by the livestock and may be fined if animals roam free.
Suburban and residential zones apply stricter acreage-based formulas. In Fairfax County, livestock and fowl may only be kept on lots that are two acres or greater, and the ratio cannot exceed one animal unit per one acre. The keeping of livestock or fowl is permitted on lots of at least two acres, with horses (including ponies, mules, burros, and donkeys) less than six months old, livestock less than one year old, and fowl less than two months old excluded from the count.
For poultry specifically, the variation across counties is significant. In Spotsylvania County’s residential districts, the number of chickens allowed is based on the size of the property, up to a total of six chickens. Residential and rural residential parcels under five acres in Spotsylvania are limited to domestic laying hens only — no roosters, livestock, or other fowl are allowed on lots under five acres.
| Zoning Type | Typical Lot Minimum | Animal Limits | Examples |
|---|---|---|---|
| Agricultural (A-2, A-3, RA) | No minimum in most counties | No fixed cap; stocking density applies | All livestock and fowl permitted |
| Rural Residential (RR, RU) | 1–5 acres (varies by county) | Varies; hens often limited to 6 | Laying hens, small livestock on larger lots |
| Suburban Residential (R-1, R-2) | 2+ acres for any livestock (Fairfax) | 1 animal unit per acre; hens only in some counties | Chickens, possibly small goats on large lots |
| Urban/Town Residential | Varies; often prohibits livestock | Often hens only, 4–6 max; no roosters | Backyard chickens where permitted |
For those interested in starting a backyard poultry operation specifically, this guide to starting a backyard poultry farming business covers practical considerations alongside the legal framework.
Permit and Registration Requirements in Virginia
Virginia does not require a general statewide permit simply to own or keep farm animals. The permit picture, however, is more complicated once you factor in local rules and the structures needed to house your animals.
In Spotsylvania County, no permit is needed to keep animals themselves, but a farm exempt structure permit may be needed for any enclosures or associated structures. This distinction — between keeping the animal and building its shelter — is common across Virginia jurisdictions. You may be able to keep six hens without any paperwork, but the coop you build for them could trigger a building permit requirement.
Sheds and similar structures that are 256 square feet or larger require a building permit and potentially an environmental codes review. Buildings such as silos and pole barns used solely for agricultural or farm use are considered “farm exempt structures,” and are permitted in agricultural and rural zoning districts. A property must be at least two acres if the structure is used for non-livestock-related agricultural purposes, and at least five acres if used for livestock-related purposes.
At the state level, Virginia’s Department of Agriculture and Consumer Services (VDACS) and the State Veterinarian oversee animal health rather than ownership permits. Virginia gives the State Veterinarian broad authority to inspect animal facilities, and that authority is not limited to commercial operations — the State Veterinarian has the power to inspect any business premises where animals are housed or kept, including boarding establishments and kennels, at any reasonable time.
Beekeeping carries its own registration layer. If you plan to keep bees alongside other farm animals, the beekeeping laws in Virginia article covers state registration requirements, hive placement rules, and how local ordinances interact with state apiary law. In Fairfax County, for example, the keeping of four or fewer honeybee hives is permitted on any lot, and more than four hives are allowed on lots of 10,000 square feet or larger.
Pro Tip: Even if your county does not require a permit to keep the animals themselves, check whether your HOA’s CC&Rs ban livestock or farm animals. HOA restrictions are private contracts that run with the land and can prohibit farm animals regardless of what the county zoning code allows.
Housing, Setback, and Sanitation Rules in Virginia
Once you know you can keep farm animals on your property, you need to meet the rules governing how and where you house them. These requirements come from three sources: state law, local zoning ordinances, and nuisance law.
At the state level, Virginia Code Title 3.2, Chapter 60 governs livestock and poultry sanitation. Any person who operates premises where livestock or poultry are repeatedly assembled must maintain those premises in a sanitary condition as directed by the State Veterinarian, must obey all orders regarding handling of animals affected with contagious or infectious disease, and must clean and disinfect premises or vehicles when ordered to do so.
Setbacks — the required distances between animal structures and property lines or neighboring dwellings — are set locally. Virginia counties show wide variation:
- Some rural Virginia counties require a 10-foot setback from property lines, with general livestock sanitation standards applying and a prohibition on creating a public nuisance.
- Other localities require a 15-foot setback from property lines and a 20-foot setback from a neighbor’s dwelling, with restrictions to single-family detached lots and a ban on on-site slaughtering.
- Locations like Virginia Beach require a specific permit and a 25-foot dwelling setback for poultry.
Sanitation standards are consistently required across jurisdictions, even when specific setbacks differ. Many county codes require that owners maintain clean and dry housing for birds, prevent noise and odors from affecting nearby residences, and ensure animals do not run at large. Manure management is a particular focus: some codes specifically require that owners prevent runoff from manure and must not create a public health hazard or nuisance.
In unincorporated counties, flock limits are often unrestricted, provided you adhere to Virginia Code § 3.2-6002 regarding the sanitary disposal of dead poultry.
Animals with multiple stomachs — like cattle, goats, sheep, and llamas — produce significant manure volumes that require active management. Understanding the biology behind animals with multiple stomachs can help you plan appropriate waste-handling infrastructure before local code enforcement becomes an issue.
County and City Ordinances That May Override State Rules in Virginia
State law sets the floor for animal ownership rules in Virginia, but local governments have broad authority to layer additional restrictions on top of it. Virginia does not ban farm animal ownership outright for any resident, but it also does not override local zoning authority. Virginia gives localities broad power to regulate land use, which means a county or municipality can effectively prohibit certain animals in residential zones even though state law permits them as livestock.
The practical result is that two neighboring counties can have dramatically different rules. Loudoun County, Fauquier County, and Augusta County each have distinct approaches, so you cannot assume that what applies in one jurisdiction applies in another. Richmond, Arlington, and Alexandria — as independent cities — each operate under their own animal ordinances that may be far more restrictive than surrounding counties.
HOA rules add another private layer. HOA governing documents — the Declaration of Covenants, Conditions, and Restrictions (CC&Rs), bylaws, and rules and regulations — are private contracts that run with the land. When you purchased your home, you agreed to be bound by them. An HOA that bans “livestock,” “farm animals,” or specific species in its CC&Rs can enforce that ban regardless of what the county zoning code says.
Whether you can legally keep a pet farm animal depends on where you live, and the answer involves checking at least three separate layers of rules: local zoning ordinances, state agriculture regulations, and any private restrictions from your HOA or landlord. All three layers must permit the animals before you can legally keep them — clearing two out of three is not enough.
Some Virginia localities have moved in a more permissive direction for small-scale poultry. Spotsylvania County no longer requires chicken coop permits, effective May 27, 2025. Changes like this happen at the local level and are not always well-publicized, which is why checking directly with your local planning office is essential rather than relying on older sources.
For context on how Virginia handles other animal-related restrictions, the venomous animals in Virginia guide and the endangered animals in Virginia overview both illustrate the layered state and federal protections that apply to different species categories.
Right-to-Farm Laws and How They Apply to Pet Farm Animals in Virginia
Virginia’s Right to Farm Act, codified at Title 3.2, Chapter 3 of the Code of Virginia, is one of the state’s most important protections for agricultural operations — but it does not apply equally to everyone who keeps farm animals as pets.
Virginia’s Right to Farm Act is intended to protect farmers from nuisance suits if they follow the law and best management practices. The Act limits local government from requiring restrictive zoning practices and special permits for farms, and protects responsible agricultural operators from baseless nuisance claims.
The core protection under the Act is nuisance immunity. No agricultural operation or any of its appurtenances shall be or become a nuisance, private or public, if such operations are conducted in substantial compliance with applicable best management practices and applicable laws and regulations. No action shall be brought against any agricultural operation the existence of which was known or reasonably knowable when that person’s use or occupancy of their property began.
The Act also constrains what local governments can require. No locality shall adopt any ordinance that requires a special exception or special use permit for any production agriculture or silviculture activity in an area zoned as an agricultural district. Localities may adopt setback requirements, minimum area requirements, and other requirements, but no locality shall enact zoning ordinances that would unreasonably restrict or regulate farm structures or farming practices in an agricultural district unless such restrictions bear a relationship to the health, safety, and general welfare of citizens.
The critical limitation for pet farm animal owners is this: the Act’s strongest protections apply to bona fide agricultural operations in agriculturally zoned areas. An “agricultural operation” under Virginia law means any operation devoted to the bona fide production of crops, animals, or fowl, including meat, dairy, and poultry products, and also includes any operation devoted to the housing of livestock as defined in § 3.2-6500. If you are keeping a few goats purely as companion animals on a residentially zoned lot, you are unlikely to qualify as an agricultural operation and the Act’s nuisance protections may not shield you.
Key Insight: The Right to Farm Act protects established agricultural operations from nuisance complaints by neighbors who move in after the farm already exists. If you start keeping farm animals in a residential neighborhood and a neighbor complains about noise or odor, the Act is unlikely to protect you unless your property is agriculturally zoned and you are operating in compliance with best management practices.
Neighbors of agricultural operations are generally required to tolerate the realities of farm activities, including increased noise during planting and harvest seasons and odors associated with livestock and manure management. Conflicts may arise when residential areas expand into traditionally agricultural regions, and the law often leans in favor of the farming community.
For those who want to keep farm animals but are unsure whether their situation qualifies for Right to Farm protections, consulting a Virginia agricultural attorney or contacting the Virginia Farm Bureau’s Right to Farm guidance is a practical first step. You can also review the full text of the Act at the Virginia Law Information System.
If you are exploring farm animals as pets more broadly — including which species make good companions and which present challenges — the farm animals overview and the worst animals to keep as pets guide offer useful perspective before you commit to any species. And if you are relocating to Virginia with existing animals, the guide to keeping pets safe when flying them to a new home covers transport logistics worth knowing in advance.
Virginia’s rules reward preparation. The state’s agricultural heritage means the legal framework is generally favorable to farm animal owners — but only when you are in the right zone, on the right amount of land, and in compliance with the right local ordinance. Checking those three things before you acquire any animals is the most practical step you can take.