Backyard Pig Laws in Virginia: What You Need to Know Before Getting a Pig
June 26, 2026
Virginia is a state where pig ownership sits in a genuinely complicated legal space. There is no single statewide ordinance that says “yes” or “no” to backyard pigs — instead, the answer depends on your county, your municipality, your zoning district, and sometimes even your neighborhood association. Getting this wrong can mean daily fines, a code enforcement visit, or being forced to rehome an animal you’ve already bonded with.
Whether you’re eyeing a Vietnamese Potbellied Pig as a companion animal or planning a small homestead operation, understanding the rules before you bring a pig home is the only way to protect yourself and your animal. This guide breaks down what Virginia state law says, how local governments classify pigs, what zoning and property requirements apply, and what permits or registrations you may need.
Important Note: Virginia does not have a unified statewide ordinance governing backyard pigs. Rules vary significantly by county and municipality. Always verify with your local zoning or planning department and animal control office before acquiring a pig.
Are Backyard Pigs Legal in Virginia?
The short answer is: it depends on where in Virginia you live. In Virginia, it is important to understand how the term “pet pig” is defined by the law. In general, a pet pig refers to any domesticated swine acquired for companionship rather than agricultural or commercial purposes — and since zoning laws differ among counties and municipalities within Virginia, you must check with your local government officials.
In rural and agriculturally zoned areas, keeping pigs is generally permitted and well-established. The challenge arises in suburban and urban settings, where local ordinances frequently restrict or outright ban swine on residential lots. Whether you can keep a pig in a residential area depends almost entirely on your local zoning and animal control ordinances. Some cities and counties welcome pot-bellied pigs as household pets; others ban all swine from residential zones outright. A third group allows pigs under strict conditions involving permits, weight limits, and housing standards.
Some Virginia towns take a hard line. Certain town ordinances make it unlawful for any person to keep or raise animals generally not considered domestic or household pets — including hogs and pigs — and any other creature that may reasonably be considered a farm animal or livestock. By contrast, cities like Chesapeake have carved out specific allowances for miniature breeds kept as pets. The bottom line: your zip code matters enormously.
If you’re also exploring other backyard animal laws in the region, see our guides on backyard chicken laws in Virginia and backyard chicken laws in West Virginia for comparison.
How Virginia Classifies Pigs — Livestock vs. Pet
Virginia state law draws a clear distinction between livestock and companion animals, and that classification has real consequences for pig owners. Under Virginia Code Title 3.2, “livestock” includes all domestic or domesticated porcine animals, as well as any other individual animal specifically raised for food or fiber, except companion animals. Pigs raised for food fall squarely into the livestock category.
Virginia’s statutory definition of “companion animal” covers domestic dogs, cats, nonhuman primates, guinea pigs, hamsters, rabbits not raised for human food or fiber, exotic or native animals, reptiles, and exotic or native birds. No agricultural animal or game species shall be considered a companion animal for the purposes of that chapter. Standard farm pigs are agricultural animals and therefore do not qualify as companion animals under state law.
This creates a legal gray zone for miniature or pet breeds. In Virginia, it is important to understand how the term “pet pig” is defined by the law. In general, a pet pig refers to any domesticated swine that is acquired for companionship rather than agricultural or commercial purposes. However, state law does not automatically reclassify a pig as a companion animal just because you intend it as a pet — local ordinances determine whether that distinction carries any practical weight in your jurisdiction.
Chesapeake offers one of the clearest examples of how a Virginia locality handles this split. Vietnamese Potbellied Pigs, Juliana Pigs, or veterinarian-certified similar breeds are not classified as swine under Chesapeake’s zoning ordinance. These pet pigs may be kept as a pet in a residential zoning district. Other Virginia cities have not made this distinction, meaning standard swine rules apply to all pigs regardless of breed or intended purpose.
State departments of agriculture regulate swine primarily to prevent disease outbreaks that could devastate commercial herds. These rules apply to all swine by species, and pet pigs are not exempt. Even if your city permits pet pigs, you must comply with your state’s requirements for swine ownership, which can include registration, herd marks, and disease monitoring.
Zoning and Property Requirements for Keeping Pigs in Virginia
Zoning is the primary legal tool Virginia localities use to control whether pigs can be kept on a given property. Agricultural (A) and rural residential (RR) zones almost universally allow livestock including pigs, often with no minimum lot size requirement. The restrictions tighten sharply as you move into suburban and urban residential districts.
Spotsylvania County illustrates how Virginia counties typically tier their rules by lot size. Residential and rural-residential zoned parcels under five acres are restricted to domestic laying hens only, with no livestock or other fowl permitted on lots under five acres. Parcels in certain rural zones have a five-acre minimum for livestock, while agricultural zones carry no minimum lot size for livestock at all. A similar tiered approach is common across the state.
Virginia’s Right to Farm Act (§ 3.2-300) provides some protections for agricultural operations, but local zoning ordinances heavily regulate livestock in residential areas. This means the Right to Farm Act is unlikely to protect a backyard pig operation on a standard suburban lot — it is designed to shield established agricultural operations from nuisance complaints, not to override residential zoning restrictions.
When pigs are permitted in residential zones, setback requirements typically apply. Regulations for the keeping of swine in localities like Chesapeake require the property owner to keep the facility and pen location in a sanitary manner, control vegetation, and follow feeding requirements. You will generally need to demonstrate that your pig’s housing does not create odor, runoff, or sanitation problems that affect neighboring properties.
Pro Tip: Search your county or city’s online municipal code for the terms “swine,” “livestock,” and “animals” to locate the specific sections that apply to your property. If the code is unclear, call your local zoning or planning department directly — before you bring a pig home.
For reference on how neighboring states handle similar livestock-in-residential-areas questions, see our coverage of backyard chicken laws in Kentucky and backyard chicken laws in Georgia.
Size, Weight, and Breed Restrictions in Virginia
When a Virginia locality does allow pigs in residential zones, it almost always attaches size, weight, or breed conditions to that permission. These restrictions exist to distinguish companion-style miniature pigs from full-size commercial swine, and they vary considerably from one jurisdiction to the next.
Chesapeake’s ordinance is among the most specific in the state. The Zoning Administrator requires a licensed veterinarian’s certification that any pig kept in a residential zoning district is a Vietnamese Potbellied Pig, Juliana Pig, or a breed of similar size, weight, and behavioral characteristics. Without that veterinary certification, the pig is treated as standard swine and subject to the city’s full swine ordinance, which applies commercial-livestock-style sanitation and feeding rules.
Virginia Beach has historically taken a stricter position. Virginia Beach law classifies pigs as “farm animals,” meaning pig owners cannot simply keep them in a standard residential setting. A proposed regulation in Virginia Beach would allow pigs weighing less than 150 pounds to be kept as pets, as long as they are vaccinated and microchipped — illustrating the type of weight-and-health-condition framework that localities consider when opening the door to pet pigs.
Nationally, this weight-threshold approach is the most common model. Many ordinances allow only miniature or pot-bellied pigs below a specified weight, often in the 100- to 150-pound range. It is worth noting that potbellied pigs, the most common pet pig breed, typically reach 70 to 150 pounds as adults, and some exceed 200 pounds without being overweight — and a pig may not reach its full adult size until age five. A pig that appears to meet a weight limit as a piglet may grow beyond it, so confirming the adult size of a specific animal with a veterinarian before purchase is essential.
Laws explicitly allowing companion pigs usually have restrictions based on height, weight, or the number of pigs a household may care for, which may be based on property size. Breed restrictions can also apply, and it is common for municipal codes to allow only certain breeds, such as Vietnamese Potbellied Pigs.
| Locality | Breed Allowed | Weight/Size Condition | Vet Certification Required |
|---|---|---|---|
| Chesapeake | Vietnamese Potbellied, Juliana, similar breeds | Similar size/weight to listed breeds | Yes |
| Virginia Beach (proposed) | Any breed | Under 150 lbs | Vaccination + microchip required |
| Most rural/AG-zoned areas | All breeds | No restriction | No (livestock rules apply) |
| Many suburban residential zones | Prohibited | N/A | N/A |
Permits, Licenses, and Registration Requirements in Virginia
Even when local zoning allows you to keep a pig, you are rarely free to simply bring one home without any paperwork. Permit and registration requirements operate at two levels in Virginia: state-level agricultural regulations and local zoning or animal control permits.
At the state level, the Virginia Department of Agriculture and Consumer Services (VDACS) oversees swine health and disease control. State departments of agriculture regulate swine primarily to prevent disease outbreaks. These rules apply to all swine by species, and pet pigs are not exempt. Even if your city permits pet pigs, you must comply with your state’s requirements for swine ownership, which can include registration, herd marks, and disease monitoring. Contact VDACS directly to confirm current swine identification and health certificate requirements before acquiring any pig.
At the local level, permit requirements differ widely. In Chesapeake, the process is clearly defined: a zoning permit issued by the zoning administration is required and must be renewed on an annual basis. This annual renewal model means your permission to keep a pig is not permanent — it can be reviewed, conditioned, or denied at renewal.
Some jurisdictions have no specific laws pertaining to keeping pigs as companions in residential areas, some prohibit them, and others allow them. In municipalities with “exotic animal” ordinances, pigs are sometimes defined as such, and caregivers must obtain a special permit and an extra insurance policy. Check whether your locality classifies any pig as an “exotic animal,” as this triggers a separate and often more demanding permitting track.
Violating a zoning ordinance can result in daily fines and a code enforcement investigation triggered by a single neighbor complaint. Getting the permit right from the start is far less costly than resolving a violation after the fact. For a broader look at how Virginia handles other animal-related regulations, see our guides on dog leash laws in Virginia and hunting laws in Virginia.
HOA and Neighborhood Restrictions on Backyard Pigs
Even if your county zoning allows pigs and you have the proper permits, a homeowners association can still prohibit them entirely. In Virginia, HOAs carry substantial independent authority over what residents can keep on their property.
Homeowners Associations in Virginia have significant authority under the Property Owners’ Association Act (§ 55.1-1800) to prohibit or restrict animals on member properties. This authority is contractual in nature — when you purchase a home in an HOA-governed community, you agree to be bound by the association’s covenants, conditions, and restrictions (CC&Rs).
HOAs are powerful because you sign a contract with them agreeing to their terms, and they can enforce them. Unlike a zoning ordinance, which requires a public process to change, an HOA’s rules can be enforced privately and often more quickly. A neighbor complaint to the HOA board can trigger a formal violation notice without any involvement from county or city authorities.
Before purchasing a pig, review your HOA’s CC&Rs in full. Look specifically for language covering “livestock,” “farm animals,” “swine,” or “animals other than domestic pets.” Because these rules are set at the municipal and county level, your neighbor one town over may face completely different restrictions than you do. Beyond local law, homeowners associations, landlord lease terms, and even federal fair housing rules can all affect your right to keep a pig at home.
If you rent rather than own, your lease agreement adds another layer. Most standard residential leases prohibit livestock, and a landlord can enforce that clause regardless of what local zoning permits. Always get explicit written permission from your landlord before acquiring a pig.
Key Insight: Zoning approval and HOA approval are separate hurdles. You need both. Receiving a zoning permit from your county does not override your HOA’s CC&Rs, and vice versa.
If you’re curious how backyard animal rules compare across states, our guides on backyard chicken laws in Texas, backyard chicken laws in Florida, and backyard chicken laws in New York provide useful context on how different states approach urban livestock regulation.
The rules around backyard pigs in Virginia reward preparation. Confirm your zoning district, review your HOA documents, contact VDACS about state swine health requirements, and check with your local animal control or planning office before you commit to ownership. Taking those steps upfront protects both you and your pig from a difficult situation down the road.