Keeping Farm Animals as Pets in North Carolina: What You Need to Know First
June 30, 2026
North Carolina has a long agricultural tradition, and that heritage means the state treats farm animals differently than most other pets. Whether you want a pair of backyard chickens, a miniature pig, or a small herd of goats, the rules you need to follow depend far less on state law and far more on where your property sits on a map.
Unlike states with a single statewide livestock code, North Carolina spreads authority across multiple layers of government. That means the rules in Raleigh, a rural Wake County parcel, and a small mountain town can look completely different — even when those properties are only a few miles apart. Getting familiar with the legal framework before you bring any animal home will save you from costly violations, forced removals, and neighbor disputes.
Which Farm Animals Can You Keep as Pets in North Carolina
North Carolina does not have a statewide law that governs private ownership of most farm animals. The state has no statewide rules governing the private ownership of goats or similar livestock, meaning goat and livestock ownership is entirely legal at the state level — but whether you can actually keep those animals on your property depends entirely on where you live. The same principle applies to chickens, pigs, sheep, horses, ducks, and rabbits.
The most commonly kept farm animals as pets in North Carolina include:
- Chickens and ducks — the most widely permitted in urban and suburban zones, subject to hen-only rules and flock caps in many cities
- Miniature and pygmy goats — allowed in some cities under strict conditions, prohibited in others entirely
- Miniature pigs — treated separately from standard swine in several local codes; some towns permit purebred pot-bellied pigs as household pets
- Rabbits — classified as small farm animals in some ordinances but generally treated more like conventional pets
- Horses, ponies, and donkeys — typically restricted to agricultural or rural residential zones with minimum acreage requirements
- Sheep and standard goats — usually limited to agricultural zones or larger rural lots
Instead of relying on a single statewide law that clearly defines which animals can or cannot be kept, North Carolina spreads authority across multiple layers of government. State agencies regulate native wildlife, importation, and public exhibition, while cities and counties play the largest role in deciding what private individuals may own. If you want to keep a broader range of farm animals, understanding that layered system is the first step.
One important distinction: some towns prohibit keeping any livestock within their limits entirely. For those purposes, livestock typically includes horses, mules, cows, pigs, hogs, goats, sheep, and all other animals that are kept primarily for productive or useful purposes rather than as pets. That definition matters because it can affect whether your miniature pig or pygmy goat is treated as livestock or a companion animal under local rules.
Pro Tip: Before purchasing any farm animal, look up your property’s exact zoning designation using your county or city GIS portal. That single piece of information tells you which section of the local ordinance applies to your situation.
Zoning and Property Requirements in North Carolina
Zoning is the single most important legal factor determining whether you can keep farm animals on your property in North Carolina. Agricultural zones generally allow livestock ownership with few restrictions. Residential zones are a different story — many municipalities either prohibit livestock in residential areas or allow only limited numbers of smaller breeds under specific conditions.
The authority to regulate agricultural activities is one of the few significant differences between city and county land use regulatory authority in North Carolina. Cities have broad authority to regulate a wide range of agricultural activities. Counties, by contrast, must follow the state’s bona fide farm exemption framework, which limits how much they can restrict genuine agricultural operations outside city limits.
Property located within county limits — not city limits — generally has the least amount of restrictions with regard to animals. There are very few restrictions on what residents can own, though there may be restrictions on whether residents can have livestock for commercial use. If your property sits inside a city or town boundary, expect stricter rules.
Even within a single city, different zoning designations can produce different rules for the same type of animal. In Cary, for example, whether you can keep chickens depends on what zone you are in — specific zoning districts allow chickens without a permit, but most districts require an Accessory Use Permit.
HOA rules add another layer on top of local ordinances. Even if your city or county places no hard cap on the number of pets you may own, private agreements — particularly HOA covenants — can impose stricter limits that are fully enforceable under North Carolina law. Homeowners’ associations almost always restrict the animals homeowners can own, and homeowners must follow the HOA regardless of what local ordinances allow. Beyond numerical caps, HOAs frequently prohibit farm animals of any kind.
Lot Size and Number Limits for Farm Animals in North Carolina
There is no statewide cap on how many farm animals you can own in North Carolina. The number you are allowed to keep depends entirely on local ordinances and the size of your property. Some cities specify a maximum number of animals. Others tie limits to lot acreage rather than a flat number, and still others use a combination of both approaches.
Here is how several major North Carolina jurisdictions handle number limits for common farm animals:
| Jurisdiction | Chickens | Goats | Horses / Large Livestock |
|---|---|---|---|
| Raleigh | Up to 6 hens; roosters prohibited in residential zones | Up to 2 pygmy/miniature goats on lots under 0.5 acres; bucks prohibited | Agricultural zones only |
| Charlotte | Permitted with zoning permit; no hard cap in R-1 and rural districts on lots over 1 acre | Subject to livestock permit requirements | Rural/agricultural districts only |
| Surf City | Up to 10 chickens on mainland lots over 1 acre | Prohibited within town limits | Prohibited within town limits |
| Unincorporated County Land | Generally few restrictions; varies by county | Generally permitted; no statewide cap | Permitted; acreage-based limits may apply |
Raleigh’s City Council approved legislation permitting residents to keep up to two pygmy goats on lots measuring less than half an acre. Bucks are not permitted within city limits, and housing setback rules apply. In contrast, Wake County municipality Apex prohibits keeping livestock, including goats, within city limits entirely.
North Carolina has no statewide cap on backyard poultry, but the North Carolina Department of Agriculture and Consumer Services mandates NCFarmID registration for all flock owners — including backyard keepers — to monitor for Highly Pathogenic Avian Influenza. While state law is permissive, specific flock sizes, rooster prohibitions, and coop setbacks are strictly governed by individual city and county ordinances. Urban centers typically limit hens to between 5 and 20 with mandatory permits, whereas rural areas often benefit from right-to-farm protections.
For larger animals like horses and cattle, lot size requirements become more significant. Horses, mules, ponies, cows, sheep, goats, and other livestock — including poultry — are subject to setback restrictions in many towns. In some jurisdictions it is unlawful to house or stable any horse, mule, pony, cow, sheep, or goat within 150 feet of any dwelling, school, church, restaurant, or retail establishment.
Permit and Registration Requirements in North Carolina
Permit and registration requirements in North Carolina operate on two levels: state-mandated registration programs and locally required permits. You may need to satisfy both, depending on your animal and your location.
At the state level, the North Carolina Department of Agriculture and Consumer Services (NCDA&CS) runs the NCFarmID program. NCFarmID registration is mandatory for all flocks regardless of acreage. This applies even to small backyard keepers with just a few hens, and it is separate from any local permit your city or county may require. Any person who keeps poultry or small farm animals must, in addition to complying with local ordinances, comply with any and all applicable federal, state, and local standards, regulations, and laws — including registration requirements of the North Carolina Department of Agriculture and Consumer Services.
At the local level, permit requirements vary widely:
- Raleigh: A Backyard Hen Permit ($15) is required before housing birds.
- Charlotte: Charlotte does not impose a hard cap on the number of dogs or cats you may own, but it does require a permit if you want to keep livestock or chickens. The three-or-more pet permit costs a one-time fee of $40 and is designed to ensure the noise and smell from the animals does not bother neighbors.
- Cary: Most zoning districts require an Accessory Use Permit for chickens.
- Charlotte coop structure: While a specific chicken permit is not always required for small flocks, you must obtain a zoning permit for the coop structure itself to ensure it meets the 25-foot setback requirement.
If you are bringing farm animals into North Carolina from another state, additional health documentation is required. Dairy sheep and goats over six months of age that are sexually intact and imported from out of state must have a negative brucellosis test within 30 days prior to import. All imports over six months of age must also have a negative tuberculosis test within 60 days prior to import, unless they originate from a certified and accredited herd.
Pro Tip: Contact your county planning department and your local animal control office separately. They enforce different sets of rules, and a permit from one does not substitute for compliance with the other.
Housing, Setback, and Sanitation Rules in North Carolina
Even when local ordinances allow you to keep farm animals, they almost always attach specific requirements for how those animals must be housed, how far structures must sit from property lines, and how waste must be managed. Failing to meet these conditions can result in a nuisance finding even if the animals themselves are permitted.
Setback rules — the minimum distance an animal enclosure must sit from property lines, neighboring homes, or other structures — are among the most commonly enforced requirements. A common baseline in North Carolina is a 15-foot setback from property lines for structures housing animals. However, that figure varies significantly by jurisdiction:
- Charlotte: Any animal house must be 25 feet from property lines.
- Walnut Cove: It is unlawful to house horses, mules, ponies, cows, sheep, goats, or other livestock within 150 feet of any dwelling, school, church, restaurant, grocery store, or retail establishment, or within 100 feet of a septic tank or private water supply.
- Raleigh backyard hens: Coops must be set back 20 feet from property lines and 50 feet from any neighboring dwelling.
Sanitation rules are equally strict. All yards, premises, sheds, coops, and similar structures occupied by chickens or other fowl are deemed a nuisance if not cleaned regularly and kept in a sanitary condition at all times. For miniature pigs, some ordinances go further. Any outside area occupied by a miniature pig must be regularly sanitized and kept free of waste, and no such area is allowed to become muddy or unsanitary.
Structural standards also apply to animal housing. Best management practices must be applied in using and maintaining structures for livestock, including stables, so as to eliminate or minimize nuisances and adverse impacts to the maximum extent possible. Most North Carolina towns exempt structures under 144 square feet from building permits, but nearly all require a zoning review for placement.
Keep in mind that bona fide farms are not exempt from local environmental-health requirements. Even if your property qualifies for the bona fide farm exemption from zoning, you still need to meet applicable sanitation and environmental health standards enforced by the county health department.
County and City Ordinances That May Override State Rules in North Carolina
One of the most important things to understand about keeping farm animals in North Carolina is that local ordinances frequently set rules that are stricter — and sometimes more permissive — than anything at the state level. In practice, local governments have the final say on most animal ownership questions in North Carolina. Counties and municipalities have broad authority to regulate animals within their jurisdictions, and many have adopted ordinances addressing livestock and exotic species.
This decentralized system creates flexibility, but it also creates uncertainty. An animal that is legal in one part of the state may be prohibited a few miles away. That is why checking both your county ordinance and your city or town ordinance is essential — they can differ significantly even for the same property.
A few real-world examples illustrate the range:
- Raleigh permits up to two miniature goats on small residential lots; neighboring Apex bans all livestock within city limits.
- Surf City prohibits horses, mules, cows, pigs, hogs, goats, and sheep within town limits but carves out an exception for up to 10 chickens on mainland lots over one acre.
- Some towns permit miniature Vietnamese pot-bellied pigs as household pets under specific conditions, while standard swine are banned entirely in residential zones of those same towns.
Municipal zoning codes are generally unfavorable to production agriculture, with bans on commercial raising of livestock and limitations on residential accessory structures. However, any bona fide farm outside of the town or city geographic limit — although within the extraterritorial jurisdiction — may operate free of the municipal zoning restrictions.
The same patchwork approach applies to beekeeping, which is regulated at the local level across North Carolina’s 100 counties. If you plan to keep multiple species of farm animals, you will need to check each species separately, since a single ordinance may permit chickens but ban goats on the same residential lot. You can also review which animals tend to create the most legal and practical complications before committing to a particular species.
Important Note: City and county ordinances change. An ordinance that permitted chickens when your neighbor got hers may have been amended since then. Always verify the current version of any local ordinance through your city or county’s official code portal before purchasing animals.
Right-to-Farm Laws and How They Apply to Pet Farm Animals in North Carolina
North Carolina’s Right to Farm Act and its related bona fide farm zoning exemption are two of the most misunderstood protections in the state. Many people assume these laws shield any property with a few animals from neighbor complaints or local restrictions. In practice, the protections are narrower and more specific than that.
The basic idea of the farm exemption is simple: the county government ought not be telling the farmer when to plow her field, where to build her barn, or how many cattle to graze in the pasture. This principle was part of the original state law authorizing land use zoning in North Carolina counties. The current framework is codified at G.S. 160D-903.
The original county zoning exemption for farming was straightforward: county zoning may not affect bona fide farms, but use of farm property for nonfarm purposes is subject to county zoning. That basic rule still holds today, but the definition of what qualifies as a bona fide farm has been refined significantly over the years.
State law now provides that production of any one of four items is sufficient to establish that a property is being used for bona fide farm purposes: (1) a farm sales tax certificate; (2) eligibility for present use value property taxation; (3) a Schedule F for federal income taxes; or (4) a forest management plan. If you can produce one of these documents, your property has strong grounds for the county zoning exemption.
However, there is a critical limitation that affects most people keeping farm animals as pets rather than as part of a commercial operation:
The NC Right to Farm Act (GS 106-701) primarily protects established, commercial bona fide farms from nuisance lawsuits. Most residential backyard flocks do not meet the income or acreage requirements to qualify as a bona fide farm. Therefore, a residential flock is subject to local municipal nuisance laws regarding odor, noise, and fly control, even if the city technically allows chickens.
The bona fide farm exemption also applies only within county jurisdiction, not inside city limits. The bona fide farm zoning exemption may only exist in the county, outside of the municipal boundary — this applies even within a municipality’s extraterritorial jurisdiction. If your property sits inside a city or town boundary, the exemption does not protect you from municipal zoning rules, regardless of how many animals you keep or how much agricultural income you generate.
The bona fide farm exemption only serves to exempt practices involved in farm or forestry production use of the parcel. The exemption does not cover non-farm uses. For activities that fall outside the statutory definition of agriculture, such uses may be prohibited if they violate the zoning area where the farm is located.
For those whose properties do qualify, the protections are meaningful. These protections can shield qualifying agricultural operations from certain county zoning restrictions and nuisance complaints. If your property qualifies as a bona fide farm, you may have more flexibility. NC State Extension’s Farm Law publication on right-to-farm basics and the NC State Farm Law resource on neighbor complaints both offer detailed guidance on qualifying and documenting your status.
The UNC School of Government’s overview of agricultural uses and zoning provides additional case law context for understanding how courts have interpreted the bona fide farm boundary in practice. And if you are navigating the rules around specific wildlife species on your property, the guide to dangerous animals in North Carolina and the overview of North Carolina’s endangered species offer useful context on what the state additionally protects.
The bottom line: if you are keeping a handful of chickens, goats, or pigs primarily as companion animals on a residential lot, the Right to Farm Act likely does not apply to your situation. Your first line of protection — and your first obligation — is compliance with your local zoning ordinance and any permit requirements your city or county imposes. Start there, verify your zoning designation, pull the current local code, and contact your county planning department before any animals arrive on your property.