Livestock Zoning Laws in Massachusetts: What Property Owners Need to Know
August 7, 2026
Keeping livestock in Massachusetts is more than a lifestyle choice — it involves navigating a layered system of state statutes, local zoning bylaws, and board of health regulations that vary significantly from one town to the next. Whether you want to raise cattle on a rural parcel in Worcester County or keep a few goats on a suburban lot in Plymouth, the rules that govern what you can do depend almost entirely on where your property sits and how it is zoned.
Massachusetts gives cities and towns wide authority to write their own zoning rules, which means there is no single statewide answer to questions like “how many animals can I keep?” or “how far must my barn be from the property line?” What does exist at the state level is a framework of protections that limits how far local governments can go in restricting legitimate agricultural activity. Understanding both layers — state law and local bylaws — is essential before you bring a single animal onto your land.
Pro Tip: Before purchasing property for livestock, request a copy of the town’s full zoning bylaw and board of health regulations, not just the zoning map. The map tells you the district; the bylaw tells you what that district actually allows.
How Livestock Zoning Works in Massachusetts
Massachusetts operates under a home-rule model for land use. Cities and towns are permitted by the state legislature to pass laws and regulations to govern local matters, and these ordinances and bylaws apply only to the city or town in which they are adopted. For livestock owners, this means the rules in Northampton can look completely different from those in Acushnet, even though both towns sit within the same state.
At the state level, the primary statute governing zoning and agriculture is Massachusetts General Laws Chapter 40A, Section 3, which provides that no zoning ordinance or bylaw shall prohibit, unreasonably regulate, or require a special permit for the use of land for the primary purpose of commercial agriculture. This protection — sometimes called the “agricultural exemption” — is a significant shield for qualifying farmers, but it does not apply to every property owner who wants to keep animals.
The state’s definition of agriculture under MGL Chapter 128, Section 1A includes the raising of livestock including horses, the keeping of horses as a commercial enterprise, the keeping and raising of poultry, swine, cattle and other domesticated animals used for food purposes, bees, and fur-bearing animals. This broad definition means that many types of livestock operations can potentially qualify for state-level protections, provided the operation meets the acreage and commercial thresholds the statute requires.
For non-commercial or hobby livestock operations, local zoning bylaws control almost everything. Towns classify land into districts and assign permitted uses to each. Whether your animals are allowed, restricted, or prohibited outright depends on which district your parcel falls in and what the local bylaw says about livestock within that district. You should also be aware that the livestock fence laws in Massachusetts interact closely with zoning rules, particularly when it comes to enclosing animals near property lines.
Which Zones Allow Livestock in Massachusetts
Massachusetts towns typically organize land into residential, agricultural, business, and industrial districts, though the exact names and number of districts differ by municipality. Livestock is most commonly permitted by right — meaning without a special permit — in agricultural (A) and rural residential (RR or RA) districts. In denser residential zones, livestock is often restricted or prohibited entirely.
In many communities, agricultural use is a permitted use in residential districts only when the lot meets a minimum acreage threshold. Some towns allow small-scale poultry or a limited number of animals in standard residential zones, while others require a special permit or a variance before any livestock can be kept outside of a formally designated agricultural district. In several Massachusetts cities, livestock and poultry keeping is generally prohibited in most zones, with petitions and efforts ongoing as of 2025 to 2026 to allow changes.
Urban areas present the most restrictions. In Lowell, livestock keeping is generally not allowed in city limits under current ordinances. Rural and semi-rural towns in central and western Massachusetts, by contrast, tend to allow livestock more broadly across multiple zoning districts. Towns like Monterey in Berkshire County and Pembroke in Plymouth County have adopted local right-to-farm bylaws that actively encourage agricultural use. You can also review how backyard chicken laws in Massachusetts apply in your area, since poultry rules often signal how a town treats livestock more broadly.
If your property sits in a Business Village or commercial district, livestock is almost always prohibited as an incompatible use. Industrial districts follow the same pattern. The practical rule of thumb: the more rural and less dense your zoning district, the more likely livestock is permitted — but you must verify this with your town’s actual bylaw, not assumptions based on what neighboring properties do.
Minimum Lot Size and Animal Density Rules in Massachusetts
State law sets a baseline for when the commercial agricultural exemption kicks in. Under MGL Chapter 40A, Section 3, commercial agricultural activities may be limited to parcels of five acres or more, or to parcels of two acres or more if the sale of products from the agricultural use on the parcel annually generates at least $1,000 per acre based on gross sales dollars. Land divided by a public or private way or a waterway is construed as one parcel for these purposes.
Below those thresholds, local zoning bylaws set the rules. Most Massachusetts towns that allow residential livestock impose their own minimum lot size requirements, and these vary considerably. A common pattern in suburban towns is to require at least one acre per large animal (cattle, horses, llamas) and smaller minimums for poultry or small ruminants like goats and sheep. Some towns use a sliding scale: a certain number of animals per acre up to a cap, after which additional animals require a special permit or are prohibited.
Important Note: No single statewide animal-density formula applies to non-commercial livestock in Massachusetts. Your town’s board of health regulations and zoning bylaw are the controlling documents. Contact your local zoning enforcement officer for the specific numbers that apply to your parcel.
Board of health regulations layer on top of zoning. Towns like Pembroke have adopted detailed livestock regulations that govern how many animals can be kept relative to lot size, how waste must be managed, and how animal food must be stored. Any livestock or fowl raised for sale to the public at large is considered a commercial “specialty slaughterer” and is subject to numerous state regulations, as well as routine and unannounced inspections by the Town Health Inspector. If you plan to sell meat, eggs, or dairy products from your property, expect an additional layer of regulatory scrutiny beyond basic zoning compliance. For related context on how local animal regulations are structured, see how beekeeping laws in Massachusetts handle density and lot-size requirements at the local level.
Setback Requirements for Livestock in Massachusetts
Setback rules determine how far your animal housing, pasture structures, and manure storage areas must sit from property lines, neighboring dwellings, and your own home. Like lot-size rules, setbacks in Massachusetts are set locally, and they differ significantly between towns.
A widely used model in Massachusetts towns requires livestock structures to maintain a minimum distance from neighboring residences. In Pembroke, for example, all buildings, fences, or other structures constructed for the keeping of livestock must comply with existing building and zoning regulations and must be maintained at least 50 feet from the homeowner’s dwelling and at least 50 feet from neighbors’ dwellings, except chicken coops, which must be more than 25 feet from the homeowner’s dwelling or as required by zoning regulations, whichever is greater.
The town of Acushnet uses a similar 50-foot buffer from residentially zoned properties for agricultural structures. These numbers reflect a common pattern across the state, but they are not universal. Some towns set setbacks from property lines rather than from neighboring structures, while others apply different distances depending on the type of animal or the size of the operation.
Manure storage and composting areas often carry their own setback requirements, separate from the setbacks applied to animal housing. If you plan to spread manure on your land, state environmental regulations under the Massachusetts Department of Environmental Protection may also apply, particularly near wetlands or waterways. Always check both the zoning bylaw and the board of health regulations for setback requirements — they may not match, and the stricter standard will control.
| Structure Type | Common Setback (from neighbor’s dwelling) | Common Setback (from property line) |
|---|---|---|
| Livestock barn / shelter | 50 ft. (common in many towns) | Varies; often 25–50 ft. |
| Chicken coop | 25 ft. minimum (Pembroke model) | Varies by town bylaw |
| Pasture fencing | Generally no setback required | May follow standard property-line rules |
| Manure storage | Often 100–150 ft. from wells / waterways | Check local board of health regs |
Right to Farm Protections in Massachusetts
Massachusetts has a meaningful Right to Farm framework built from several interlocking statutes. The core protection comes from Massachusetts’s Right-to-Farm law, which centers on protecting agriculture and farming at large from nuisance suits over matters that impact neighboring property, like noise or pollution.
The statute’s definition of farming and agriculture ranges from cultivation and tillage to dairying, aquaculture, livestock, horses, lumbering, and forestry operations. The act protects people and entities as well as their related and subsidiary forms from nuisance lawsuits, so long as they are conducting an ordinary aspect of a farming operation or ancillary or related activity, and the farm has been in operation for more than one year.
A key protection for livestock owners specifically comes through MGL Chapter 111, Section 125A. Under that section, the odor from the normal maintenance of livestock or the spreading of manure upon agricultural and horticultural or farming lands, or noise from livestock or farm equipment used in normal, generally acceptable farming procedures, shall not be deemed to constitute a nuisance. This means a neighbor cannot successfully sue you for the smell of your barn or the sound of your animals, provided your operation follows generally accepted agricultural practices.
However, the Right to Farm law has clear limits. Local governments through their boards of health retain some authority to determine that a farm or operation is a nuisance. If odors or noises are part of “normal maintenance” or generally accepted farming practices, these boards cannot declare the operations nuisances — but operations that deviate from accepted practices do not receive this protection.
Many Massachusetts towns have also adopted local Right to Farm bylaws that go beyond the state statute. These local bylaws typically state that agricultural activities may occur on holidays, weekdays, and weekends by night or day and shall include the attendant incidental noise, odors, dust, and fumes associated with normally accepted agricultural practices, and that whatever impact may be caused to others through the normal practice of agriculture is more than offset by the benefits of farming to the neighborhood, community, and society in general. Check with your Massachusetts Agricultural Commission to see whether your town has adopted one of these local bylaws, as it can provide additional protection against neighbor complaints.
Key Insight: Right to Farm protections apply to farms that have been in operation for more than one year and follow generally accepted agricultural practices. Starting your operation in compliance with all local rules from day one builds the foundation for these protections to apply.
HOA and Deed Restrictions That Override Zoning in Massachusetts
Even if your property is zoned to allow livestock, private restrictions can still block you. Homeowners association (HOA) rules and deed restrictions are private contractual agreements that run with the land, and they operate independently of zoning law. A town cannot enforce an HOA rule, but the HOA — or any party with standing under the deed — can enforce it through civil litigation.
Deed restrictions are particularly common in Massachusetts subdivisions developed after the mid-20th century. These restrictions may explicitly prohibit keeping livestock, farm animals, or any animals beyond household pets. Unlike zoning bylaws, deed restrictions do not expire when a town rezones an area, and they are not affected by state agricultural exemptions. The Right to Farm statute does not override a private deed restriction.
HOA covenants in planned communities and condominium developments often go further, prohibiting not just livestock but also structures like sheds or fences that would be necessary to house animals. Before assuming that an agriculturally zoned property is clear for livestock, you should:
- Search the property’s chain of title at the Registry of Deeds for any recorded restrictions or covenants.
- Request a copy of any HOA declaration, rules, and regulations if the property sits in a planned development.
- Ask your real estate attorney to review any restrictions for language that could affect animal keeping.
- Contact the HOA board directly to confirm current enforcement policies.
If a deed restriction conflicts with what zoning allows, the restriction wins as a private matter between property owners. This is one of the most common surprises for buyers who check zoning but skip the title search. For additional context on how private restrictions interact with animal-related uses, see how kennel zoning laws in Massachusetts handle the same tension between public zoning and private covenants.
How to Check If Your Property Is Zoned for Livestock in Massachusetts
Verifying your property’s zoning status for livestock takes more than a quick online search. Because Massachusetts zoning is entirely local, you need to go directly to the source — your town’s zoning bylaw and the relevant local officials. Here is a practical process to follow:
- Identify your zoning district. Start with your town’s online GIS mapping tool or zoning map, available on most municipal websites. This tells you which district your parcel falls in — for example, Agricultural (A), Rural Residential (RR), or Residential A (RA).
- Read the full zoning bylaw for your district. Massachusetts provides a collection of links to city and town ordinances and bylaws that are available online through Mass.gov. Find your town’s bylaw and look at the schedule of use regulations for your district. Livestock will be listed as permitted by right, permitted by special permit, or not permitted.
- Check the board of health regulations. Many towns have separate livestock regulations issued by the board of health that set density, setback, and sanitation rules on top of zoning. Request these from your town health department.
- Contact the zoning enforcement officer. Call or email your town’s building or zoning department and ask directly whether livestock is allowed on your specific parcel and what permits or approvals you need.
- Search for deed restrictions. Visit or contact the Registry of Deeds for your county and search the property’s title history for any recorded restrictions, covenants, or easements that could affect animal keeping.
- Consult your local Agricultural Commission. Massachusetts agricultural commissions represent the farming community, encourage the pursuit of agriculture, and promote agriculture-based economic opportunities. They preserve, revitalize, and sustain communities’ agricultural businesses and lands. Your local AgCom can point you to town-specific resources and may be able to help you navigate the permit process.
If you are considering a property purchase specifically for livestock, complete this verification process before closing — not after. Zoning can be changed, variances can be denied, and deed restrictions can be impossible to remove without unanimous consent from all affected parties. Doing your homework upfront saves significant time and money.
For related reading on how Massachusetts regulates other animal-keeping activities, you may find it useful to review the dog leash laws in Massachusetts and the rules around neighbors’ cats in your yard in Massachusetts, both of which reflect how the state balances private property rights with community standards for animal management.
Pro Tip: When you speak with your town’s zoning enforcement officer, ask specifically whether livestock structures require a building permit in addition to zoning approval. Many towns require both, and skipping the building permit step can create compliance problems even when your livestock use is fully allowed under zoning.
Livestock zoning in Massachusetts rewards property owners who do their research. The state’s framework gives towns broad authority to regulate animal keeping, but it also provides real protections for established agricultural operations that follow accepted practices. By understanding which district your land sits in, what your local bylaw and board of health regulations require, and whether any private restrictions apply, you can move forward with confidence — and avoid the costly mistakes that come from assuming zoning alone tells the whole story.