Skip to content
Animal of Things
Mammals · 13 mins read

Backyard Pig Laws in Maryland: What You Need to Know Before You Buy

Backyard Pig Laws in Maryland
Spread the love for animals! 🐾

Maryland is home to a growing number of residents who want to raise pigs — whether as farm animals, companions, or small-scale livestock. Before you bring one home, though, you need to understand that the rules governing backyard pigs in Maryland are layered, locally driven, and far more complex than those for a dog or cat.

Unlike a simple statewide yes-or-no answer, pig ownership in Maryland depends on your county’s zoning classification, your lot size, any applicable permits, and whether your neighborhood has an HOA with its own restrictions. This guide walks you through each of those layers so you can make an informed decision before you commit.

Are Backyard Pigs Legal in Maryland?

In the state of Maryland, owning a pet pig is legal — but there are certain restrictions depending on where you reside. Maryland does not maintain a statewide ban on pigs the way it does for certain exotic and dangerous animals. Miniature and pot-bellied pigs are permitted for ownership in Maryland; the state’s list of prohibited pets under MD. Code Ann., Criminal Law § 10-621 covers foxes, skunks, raccoons, bears, alligators, wild cats, wolves, nonhuman primates, and various venomous reptiles — but not domestic swine.

That said, state-level legality is only the first hurdle. Whether you can legally keep a pet pig 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. Clearing all three layers is what actually makes pig ownership legal at your specific address.

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. Maryland falls squarely into this fragmented pattern — your county’s rules are the deciding factor.

Pro Tip: Before purchasing a pig, contact your county’s planning and zoning office and your local animal control department. Get any permission in writing — a verbal “yes” from a county employee is not a legal safeguard.

How Maryland Classifies Pigs — Livestock vs. Pet

Maryland does not have a single statewide classification that labels all pigs as either livestock or pets. Instead, classification is handled at the county level, and the distinction carries real legal weight — it determines which zoning districts allow your animal, what permits apply, and what housing standards you must meet.

Montgomery County’s animal code, for example, defines livestock to include horses, cattle, sheep, goats, and swine, along with domesticated rabbits and hares and commercially raised fur-bearing animals. Under that definition, even a small pot-bellied pig kept as a companion animal is still legally swine — and therefore subject to livestock regulations rather than pet rules.

Some areas distinguish between miniature or pot-bellied pigs and larger breeds typically considered livestock, with smaller pigs potentially classified as domesticated pets rather than farm animals. However, this distinction is the exception rather than the rule in Maryland. Most counties default to treating all swine as livestock unless their code specifically carves out an exception for miniature breeds.

State departments of agriculture regulate swine primarily to prevent disease outbreaks that could devastate commercial herds — and these rules apply to all swine by species, with pet pigs receiving no exemption. That means even a single house pig triggers the same disease-control framework as a commercial operation. The Maryland Department of Agriculture (MDA) maintains several regulatory chapters specifically governing swine health, including rules on swine importation, brucellosis validation, and infectious disease control under Title 15, Subtitle 11 of the Code of Maryland Regulations.

If you want your pig to be treated as a pet rather than livestock, you need to find a county ordinance that explicitly uses that language. Check your county’s animal control code on Municode or your county’s official website, and search specifically for the terms “swine,” “potbellied pig,” and “miniature pig.”

Zoning and Property Requirements for Keeping Pigs in Maryland

County and city regulations carry specific zoning restrictions that heavily limit pig ownership within some counties. Agricultural and rural zones are generally the most permissive, while suburban and urban residential zones are where most people run into problems. Residential zones are typically separated from agricultural zones for reasons related to noise, odor, and public health.

Charles County offers a concrete example of how Maryland counties handle this. In Charles County, you are permitted to have farm animals — including pigs — on property less than 5 acres, provided that large animals such as horses, cattle, pigs, goats, and sheep require a minimum of two acres of land with a maximum of one animal per acre. On a property larger than 5 acres, livestock is permitted in all zones, provided that areas of animal confinement less than one acre, manure storage, or feed storage must be a minimum distance of 75 feet from any public street or highway and no closer than 250 feet from any existing residential dwelling on an adjoining parcel.

Montgomery County takes a stricter approach in its denser residential zones, where swine are classified alongside other livestock and generally prohibited outside of agricultural districts. You should verify your specific zoning district directly with the Montgomery County Animal Services Division before assuming pigs are permitted on your property.

Key Insight: Even if your county allows pigs in your zoning district, setback requirements for pig housing from property lines and neighboring dwellings are common. Always ask your county planning office for the specific setback distances that apply to your lot.

Because these rules are set at the municipal and county level, your neighbor one town over may face completely different restrictions than you do. Cities within a county sometimes maintain their own ordinances that differ from the surrounding county rules — so always verify at both the county and municipal levels before moving forward. If you want to see how this same county-by-county dynamic plays out for a different backyard animal, the Maryland backyard chicken laws guide covers all 23 counties in detail.

Size, Weight, and Breed Restrictions in Maryland

Maryland has no statewide size or weight cap on pigs. Any breed-specific or weight-based restrictions come entirely from local ordinances, and they vary significantly from one jurisdiction to the next. Most residential zones in the United States classify all swine as livestock and prohibit them outright, though a growing number of municipalities have carved out exceptions for smaller pigs. Maryland is no different — where exceptions exist, they tend to favor miniature and pot-bellied breeds.

Pot-bellied pigs (Sus scrofa domesticus) are the breed most commonly associated with residential pig keeping. They typically weigh between 100 and 200 pounds at maturity, though some lines marketed as “teacup” or “micro” pigs can be significantly smaller. If your county’s ordinance allows pigs only under a specific weight threshold, you need documented evidence of your pig’s expected adult weight — not just its current size as a piglet.

Standard farm breeds such as Duroc, Hampshire, or Yorkshire are almost universally prohibited in residential and suburban zones across Maryland. These animals can exceed 600 pounds at maturity and are simply incompatible with the land requirements and setback rules that apply to most residential properties. If you live on a large agriculturally zoned parcel, the breed restrictions are far less likely to apply — but you should still confirm this with your county planning office.

Pig TypeTypical Adult WeightResidential Zone Viability in MD
Pot-bellied / Miniature60–200 lbsPossible in some counties with permits
Juliana (Painted Miniature)20–65 lbsBest chance in counties with weight-based exceptions
Standard Farm Breeds (Duroc, Hampshire, etc.)400–700 lbsGenerally prohibited in residential zones
Feral / Wild BoarVaries widelyProhibited statewide

One important note: “teacup” and “micro” pig labels are not regulated terms in Maryland or anywhere else in the United States. Sellers sometimes use these terms to market piglets that will grow much larger than advertised. If a county ordinance specifies a weight limit, you are responsible for compliance regardless of what a breeder told you about adult size.

Permits, Licenses, and Registration Requirements in Maryland

Even if your zoning district allows pigs, you are likely to face at least one — and possibly several — registration or permit requirements before your pig is legally on your property. These requirements operate at both the state and local levels.

At the state level, the Maryland Department of Agriculture is the primary regulatory body for swine. The MDA’s animal health regulations under Title 15, Subtitle 11 include specific chapters on swine importation, disease control, and premises registration for swine operations. These include Chapter 15.11.05 on swine imported into Maryland, Chapter 15.11.06 on swine herd validation for brucellosis, Chapter 15.11.07 on control and eradication of infectious diseases of swine, and Chapter 15.11.13, which requires a license to feed garbage to swine when it is heat-treated at its source. Even a single backyard pig can fall under these disease-prevention frameworks.

Even where local law allows pigs, you will likely face permit requirements, health certifications, and insurance complications that don’t apply to dogs or cats. At the local level, requirements vary by county. Some counties require a specific animal-keeping permit or livestock permit for any swine on residential property. Others handle it through their general animal control licensing process. A few rural counties impose no additional permit beyond MDA compliance, but this is less common in Maryland’s suburban jurisdictions.

  • MDA Premises Registration: Contact the Maryland Department of Agriculture to determine whether your swine operation — even a single pet pig — requires premises registration under state animal health rules.
  • County Animal Control Permit: Check with your county’s animal control or planning and zoning office for any local livestock or special-use permit requirements.
  • Health Certificate for Imported Swine: If you are bringing a pig into Maryland from another state, state regulations govern health certification requirements for swine crossing state lines.
  • Garbage Feeding License: Maryland requires a license to feed garbage to swine when it is heat-treated at its source — relevant if you plan to feed kitchen scraps.

Important Note: The MDA’s animal health requirements for swine are disease-prevention measures, not optional guidelines. Failure to comply can result in fines and mandatory removal of your animals. Contact the MDA Animal Health Program directly to confirm which requirements apply to your situation before acquiring a pig.

In addition to adhering to local laws, pet pig owners may also need to obtain licenses or permits. Some owners may be able to obtain permits or exemptions allowing them to keep a pet pig within city limits, with exceptions sometimes available based on the size of the breed or if the pig serves as an emotional support animal or therapy animal. However, an emotional support animal designation does not override local zoning laws — it only creates a potential accommodation obligation for landlords and HOAs under federal fair housing rules.

For comparison, Maryland’s approach to livestock registration mirrors what it does for backyard poultry. If you keep chickens, you already know that MDA registration is mandatory statewide regardless of flock size. The same principle applies to swine — state-level oversight exists independent of whatever your county requires. You can see how other states handle similar registration frameworks by reviewing the Texas backyard chicken laws or the Kentucky backyard chicken laws for regional comparison.

HOA and Neighborhood Restrictions on Backyard Pigs in Maryland

Even if your county zoning allows pigs and you have secured all required permits, your homeowners association may still prohibit them entirely. In Maryland, HOAs operate under their own governing documents — known as Covenants, Conditions, and Restrictions (CC&Rs) — and these private rules can be stricter than local ordinances. Even if pigs are legal in your county and city, your homeowners association may prohibit them entirely. HOAs in Maryland can enforce rules that are stricter than local ordinances. Always review your CC&Rs before purchasing an animal or building any housing structure.

Some have conflicting ordinances — the city says it’s acceptable, but the county does not, or the homeowners association doesn’t want a pig in their neighborhood. And what an HOA says can and will impact what you’re able to do, because HOAs are powerful — you sign a contract with them agreeing to their terms, and they can enforce them.

Most Maryland HOA CC&Rs include a blanket prohibition on “livestock” or “farm animals” in residential communities. Because pigs are classified as swine — and swine are nearly universally treated as livestock — your HOA almost certainly prohibits them unless the CC&Rs specifically allow miniature or pet pigs. Do not assume that a general “pets allowed” clause covers a pig.

If you believe your pig qualifies as an emotional support animal or assistance animal, federal fair housing rules may provide some protection. An ESA designation may require your landlord or HOA to make a reasonable accommodation on their own pet rules. However, it does not override municipal zoning laws — if your city bans swine, an ESA letter does not give you a zoning exemption. The distinction between a zoning ban and an HOA restriction matters enormously: fair housing accommodation requests apply to HOAs and landlords, not to local government zoning codes.

A housing provider can still deny an accommodation request if the specific animal poses a direct threat to health or safety, or would cause substantial physical damage that no additional accommodation could prevent. But a blanket “no livestock” policy, standing alone, does not automatically override a valid accommodation request. If you plan to pursue this route, consult an attorney familiar with Maryland fair housing law before moving forward.

Before buying a pig, take these steps to check HOA compliance:

  1. Pull your full CC&R document and search for “livestock,” “swine,” “pig,” “farm animal,” and “miniature pig.”
  2. Contact your HOA board or management company in writing and ask specifically whether pot-bellied or miniature pigs are permitted.
  3. Get any approval in writing — verbal permission from an HOA representative is not enforceable.
  4. If your CC&Rs are ambiguous, ask the HOA to clarify in writing before you purchase the animal.
  5. If you have a documented disability, consult a fair housing attorney about whether an ESA accommodation request is appropriate for your situation.

The HOA layer is the one most people overlook — and it’s often the one that results in forced rehoming of an animal the owner has already bonded with. Treat it as seriously as the zoning check. The same advice applies to anyone researching backyard animals in neighboring states; you can review how HOA and zoning conflicts play out for poultry owners in the Delaware backyard chicken laws guide or the Virginia backyard chicken laws guide for additional regional context.

Maryland’s pig laws reward preparation. The residents who successfully keep backyard pigs in this state are the ones who checked every layer — zoning, state agriculture rules, local permits, and HOA documents — before the pig ever arrived. Skip any one of those steps, and you risk fines, mandatory removal, or a difficult situation for an animal that had no say in the matter.

Discover additional related articles

Spread the love for animals! 🐾

Leave a Reply

Your email address will not be published. Required fields are marked *