Skip to content
Animal of Things
Mammals · 13 mins read

Backyard Pig Laws in Massachusetts: Zoning, Permits, and What You Need to Know

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

Pigs are intelligent, personable animals, and interest in keeping them on residential property — whether as pets or small-scale livestock — has grown steadily across Massachusetts. But before you bring a pig home, the legal landscape here demands serious attention. Unlike dogs or cats, pigs sit at the intersection of animal control law, agricultural regulation, and local zoning, and the rules that apply to you depend almost entirely on where in the state you live.

This guide walks you through everything you need to know about backyard pig laws in Massachusetts: how the state classifies swine, what zoning and property requirements typically apply, whether breed or size restrictions exist, what permits you may need, and how HOA rules can affect your plans — even when local law is on your side.

Are Backyard Pigs Legal in Massachusetts?

The short answer is: it depends on your municipality. In Massachusetts, owning a pet pig is regulated by local ordinances and zoning bylaws. There is no single statewide law that either permits or prohibits backyard pigs for all residents. Instead, authority flows down to individual cities and towns, which set their own rules through zoning codes, Board of Health regulations, and general animal ordinances.

Some cities ban owning pigs as pets due to concerns over public health and safety. If you are interested in keeping a pet pig in Massachusetts, it is important to research your local laws thoroughly, as some areas may allow certain types or sizes of pigs while prohibiting others. Rural communities in Berkshire, Franklin, and Hampshire counties tend to be the most permissive, while densely populated cities like Boston, Worcester, and Springfield impose stricter controls or outright bans in residential zones.

The bottom line: pig-keeping in Massachusetts is not illegal statewide, but it is far from universally permitted. You must verify your specific municipality’s rules before acquiring any swine.

Pro Tip: Contact your town’s zoning or planning department and Board of Health separately — they each enforce different rules, and a pig that clears one hurdle may still fail the other. Get any approvals confirmed in writing.

How Massachusetts Classifies Pigs — Livestock vs. Pet

Understanding how Massachusetts classifies pigs is the most important first step, because classification determines which set of rules applies to you. At the state level, swine are treated as livestock — agricultural animals subject to oversight by the Massachusetts Department of Agricultural Resources (MDAR), not companion animal laws.

Cattle, swine, goats, sheep, llamas/camelids, horses and other equines must have valid health certificates issued by an accredited veterinarian within 30 days of import to Massachusetts. This applies to all swine — including potbellied pigs marketed as pets. All swine imported into Massachusetts, including pot-bellied pigs or other “pet” type, must be blood test negative to brucellosis within 30 days prior to importation unless coming directly from a validated brucellosis-free herd or state. The state makes no formal distinction between a 15-pound miniature pig and a 400-pound commercial hog when it comes to import health requirements.

Massachusetts takes a “list” approach to animal ownership. The state maintains an official exemption list under 321 CMR 9.02 that identifies domestic animals you can keep without any special permit. Common pets like dogs, cats, domestic rabbits, hamsters, guinea pigs, gerbils, and certain poultry all appear on the list. Llamas, alpacas, and domestic livestock are also included. Domestic swine fall within the livestock category on this list, meaning they are legally recognized as keepable animals — but still subject to agricultural and local regulations.

At the local level, some municipalities have carved out a secondary classification for miniature or potbellied pigs. Some areas distinguish between miniature or potbellied pigs and larger breeds typically considered livestock. These smaller pigs may be classified as domesticated pets rather than livestock due to their smaller size and suitability for indoor living environments. However, this local pet classification is not automatic or universal — you need to confirm with your specific city or town whether this distinction exists in their code.

Key Insight: Even if your town treats a miniature pig as a “pet” rather than livestock for local animal control purposes, Massachusetts state agricultural regulations still apply to that animal. Both layers of law operate simultaneously.

This dual-classification reality is similar to how other states handle the issue. If you want to see how a neighboring state approaches the livestock-versus-pet question for residential pig-keeping, the backyard chicken laws in Connecticut offer a useful comparison of how New England states delegate animal regulation to local jurisdictions.

Zoning and Property Requirements for Keeping Pigs in Massachusetts

Zoning is where most pig-keeping plans succeed or fail in Massachusetts. Your city or town may have zoning laws dictating whether or not you can keep livestock animals like pigs within residential areas. Most municipalities restrict swine to agricultural or rural residential zones, and keeping a pig on a standard suburban lot is often prohibited outright.

Property size requirements are common and can be substantial. In Lexington, for example, the Board of Health requires all persons who wish to maintain any large animal — including swine — to obtain a permit, and a minimum of two acres is required to obtain that permit. Many other Massachusetts towns apply similar acreage thresholds, though the specific minimums vary widely.

Setback requirements — the minimum distance a pig enclosure must be from property lines, neighboring homes, and public roads — are another consistent feature of local pig regulations. In Lexington, pens or enclosures for more than two swine cannot be located within 150 feet of any public or private way. Smaller setbacks may apply to single-pig situations, but you should expect your local Board of Health to impose some distance requirement regardless of herd size.

Sanitation standards are also baked into most local pig ordinances. In pens, swine must be fed from non-wooden troughs kept clean and in good repair. If the swine are not in pens, they must be fed from platforms at least one foot from the ground, with the air space underneath kept clear and clean. Food must never be given to swine from the ground or allowed to accumulate around the platform or trough. These sanitation rules exist primarily to prevent odor, pest attraction, and disease — all concerns that local Boards of Health take seriously in residential settings.

Towns like South Hadley require a Stable and Livestock Permit from the Board of Health before keeping any livestock on residential property, with owners required to keep barns, stables, and yards clean and dispose of manure in a manner that does not affect public health. All animal carcasses must be disposed of in a sanitary manner by burial or delivery to a rendering company within 24 hours.

For a broader sense of how Massachusetts municipalities regulate backyard animals, the backyard chicken laws in Massachusetts illustrate the same local-first regulatory model — where state oversight sets a baseline and towns fill in the details.

Size, Weight, and Breed Restrictions in Massachusetts

Massachusetts does not impose a statewide weight or breed restriction on pigs. However, local ordinances frequently do, and the restrictions vary considerably from town to town. Ordinances that permit pet pigs typically impose restrictions based on weight, shoulder height, the number of pigs per household, or the size of the property. You might see a local code that allows one pig under a certain weight on a property with a minimum lot size, while still classifying the animal as swine for all other regulatory purposes.

The most common local approach distinguishes miniature or potbellied pigs from standard commercial breeds. Potbellied pigs (Sus scrofa domesticus) — the breed most commonly kept as pets — are generally more likely to receive favorable treatment under local codes because of their smaller adult size, typically ranging from 50 to 150 pounds depending on genetics and diet. Standard farm breeds like Yorkshire, Duroc, or Hampshire pigs can reach 600 pounds or more and are almost universally restricted to agricultural zones.

Some towns use a flat weight cap as the dividing line. Any building, enclosure, or premises where regulated animals of more than 20 pounds, other than house pets, are kept may trigger a piggery or large animal permit requirement under certain local codes. This means even a small potbellied pig that exceeds a local weight threshold could require the same permitting process as a full-sized farm pig.

Important Note: “Teacup” or “micro” pigs are frequently marketed as staying very small, but many grow to 50–100 pounds or more. Before relying on a local weight limit to justify keeping a pig, verify the breed’s realistic adult weight range with a veterinarian or reputable breeder — not just the seller’s claims.

The number of pigs you can keep is also often capped locally. The presence of two or more pigs or piglets requires a piggery permit from the Board of Health in Lexington, for example. Many other towns apply similar thresholds, treating a multi-pig household as a piggery subject to stricter oversight than a single-animal situation.

Permits, Licenses, and Registration Requirements in Massachusetts

Permit requirements for pig-keeping in Massachusetts operate at multiple levels simultaneously: state agricultural oversight, local Board of Health permitting, and in some cases zoning board approval. You may need to satisfy all three before your pig is legally on your property.

At the state level, MDAR’s Division of Animal Health oversees livestock health and disease traceability. For interstate movements, all swine must be individually identified with official identification unless the swine are kept as a group and are moved as a group direct to slaughter using a group lot ID. Official Certificates of Veterinary Inspection (CVIs) are required for animals exhibited in Massachusetts and/or moving interstate.

MDAR also conducts annual barn inspections of properties housing livestock. Municipal Animal Inspectors, annually appointed by the Director of Animal Health, conduct annual barn inspections between September and December, inspecting livestock, poultry, and horses — including potbellied pigs. If you keep a pig in Massachusetts, expect periodic inspection visits from your municipal animal inspector, regardless of whether you are raising the animal commercially or as a pet.

At the local level, most towns require a Board of Health permit before you can keep swine. Depending on your location, you may be required to obtain permits or licenses before bringing home a pet pig. Failure to do so could result in fines or other penalties. The application process typically involves submitting a site plan showing enclosure placement, setbacks, and property boundaries. Some towns also require a property inspection before the permit is issued.

The table below summarizes the typical permit requirements you may encounter across Massachusetts municipalities:

RequirementIssuing AuthorityTypical Trigger
Board of Health Livestock PermitLocal Board of HealthAny swine on residential property
Piggery PermitLocal Board of HealthTwo or more pigs (varies by town)
Zoning Special Permit or VarianceLocal Zoning BoardNon-agricultural zone; large lot requirement not met
Health Certificate (CVI)Accredited veterinarian / MDARImporting pig from out of state
Brucellosis TestAccredited veterinarianAll swine imported into Massachusetts
Annual Barn InspectionMunicipal Animal Inspector (MDAR)Any property housing livestock, including potbellied pigs

To reach MDAR’s Division of Animal Health for questions about swine entry permits or health certificates, call (617) 626-1795 for entry permits for swine. For questions about your specific town’s Board of Health permit process, contact your town clerk or health department directly.

If you are navigating the Massachusetts permitting landscape for other backyard animals, the beekeeping laws in Massachusetts and dog leash laws in Massachusetts offer additional context on how the state structures local animal regulation more broadly.

HOA and Neighborhood Restrictions on Backyard Pigs

Even when local zoning and your Board of Health permit pigs on your property, a homeowners association (HOA) can independently prohibit them. HOA rules are governed by the association’s declaration, bylaws, and any rules and regulations adopted by its board — and these private contracts can be more restrictive than local law without violating any legal standard.

Most HOA governing documents include a broad prohibition on “livestock,” “farm animals,” or “animals other than common household pets.” Because pigs are classified as livestock under Massachusetts state law, they typically fall squarely within these prohibitions, even if you are keeping a 30-pound potbellied pig as an indoor companion animal. The HOA does not need to explicitly name pigs — the livestock or farm animal language is usually sufficient.

Violating a zoning ordinance can result in daily fines, a code enforcement investigation triggered by a single neighbor complaint, and a legal order to remove the animal from your property. The same logic applies to HOA violations: a single complaint from a neighbor is often enough to trigger enforcement, and HOA boards generally have broad authority to fine members and demand removal of prohibited animals.

There is one important exception worth knowing. This protection can apply against landlords, HOAs, and even local governments enforcing zoning bans when a pig qualifies as an assistance animal under the Fair Housing Act. If a pig has been prescribed as an emotional support animal (ESA) by a licensed mental health professional, federal fair housing law may require an HOA to make a reasonable accommodation — even if its rules otherwise prohibit animals of that type. This is a narrow exception, not a loophole, and it applies only to ESAs with proper documentation.

Before purchasing a pig in any HOA community, take these steps:

  • Read your HOA’s Declaration of Covenants, Conditions, and Restrictions (CC&Rs) in full, searching for terms like “livestock,” “swine,” “farm animals,” and “pets.”
  • Review any separately adopted rules and regulations, which can be amended more easily than the CC&Rs and may address animals specifically.
  • Submit a written request to the HOA board asking for a formal determination on whether your intended pig would be permitted.
  • If you believe you qualify for a reasonable accommodation under the Fair Housing Act, consult a Massachusetts attorney before proceeding — the process requires specific documentation and formal requests.

Important Note: Verbal assurances from an HOA board member or property manager carry no legal weight. Always get any approval — or denial — in writing before bringing a pig onto an HOA-governed property.

Understanding how HOAs interact with local animal laws is relevant for other backyard animals too. If you are exploring what Massachusetts allows more broadly, the roadkill laws in Massachusetts and guides on backyard chickens in Massachusetts cover how the same local-versus-private-restriction dynamic plays out for other species.

Pig-keeping in Massachusetts is legal in the right circumstances, but those circumstances are narrower than many prospective owners expect. The combination of state agricultural oversight, local Board of Health permitting, zoning restrictions, and HOA rules means you need to clear multiple independent hurdles before your pig is legally at home. Do the research in advance — verify your zoning district, contact your Board of Health, review any HOA documents, and get every approval in writing. Taking those steps before you fall in love with a piglet will save you considerable trouble later.

More articles that match your interests

Spread the love for animals! 🐾

Leave a Reply

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